2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libsigc++ 2.9.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.9.2'
595 PACKAGE_STRING='libsigc++ 2.9.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.9.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.9.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.9.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.9.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++-2.0'
3130 SIGCXX_VERSION='2.9.2'
3132 SIGCXX_API_VERSION='2.0'
3134 SIGCXX_MAJOR_VERSION=2
3137 $as_echo "#define SIGCXX_MAJOR_VERSION 2" >>confdefs.h
3139 SIGCXX_MINOR_VERSION=9
3142 $as_echo "#define SIGCXX_MINOR_VERSION 9" >>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_cxx11_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++11 features by default" >&5
3867 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
3868 if ${ax_cv_cxx_compile_cxx11+:} false; then :
3869 $as_echo_n "(cached) " >&6
3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3874 template <typename T>
3877 static_assert(sizeof(int) <= sizeof(T), "not big enough");
3883 struct Child : public Base {
3884 virtual void f() override {}
3887 typedef check<check<bool>> right_angle_brackets;
3892 typedef check<int> check_type;
3894 check_type&& cr = static_cast<check_type&&>(c);
3898 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3899 struct use_l { use_l() { l(); } };
3901 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3902 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3903 namespace test_template_alias_sfinae {
3906 template<typename T>
3907 using member = typename T::member_type;
3909 template<typename T>
3912 template<typename T>
3913 void func(member<T>*) {}
3923 if ac_fn_cxx_try_compile "$LINENO"; then :
3924 ax_cv_cxx_compile_cxx11=yes
3926 ax_cv_cxx_compile_cxx11=no
3928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
3931 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
3932 if test x$ax_cv_cxx_compile_cxx11 = xyes; then
3938 if test x$ac_success = xno; then
3939 for switch in -std=c++11 -std=c++0x +std=c++11; do
3940 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
3942 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
3943 if eval \${$cachevar+:} false; then :
3944 $as_echo_n "(cached) " >&6
3946 ac_save_CXXFLAGS="$CXXFLAGS"
3947 CXXFLAGS="$CXXFLAGS $switch"
3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3951 template <typename T>
3954 static_assert(sizeof(int) <= sizeof(T), "not big enough");
3960 struct Child : public Base {
3961 virtual void f() override {}
3964 typedef check<check<bool>> right_angle_brackets;
3969 typedef check<int> check_type;
3971 check_type&& cr = static_cast<check_type&&>(c);
3975 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3976 struct use_l { use_l() { l(); } };
3978 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3979 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3980 namespace test_template_alias_sfinae {
3983 template<typename T>
3984 using member = typename T::member_type;
3986 template<typename T>
3989 template<typename T>
3990 void func(member<T>*) {}
4000 if ac_fn_cxx_try_compile "$LINENO"; then :
4005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006 CXXFLAGS="$ac_save_CXXFLAGS"
4008 eval ac_res=\$$cachevar
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4010 $as_echo "$ac_res" >&6; }
4011 if eval test x\$$cachevar = xyes; then
4012 CXXFLAGS="$CXXFLAGS $switch"
4019 ac_cpp='$CPP $CPPFLAGS'
4020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4024 if test x$ax_cxx_compile_cxx11_required = xtrue; then
4025 if test x$ac_success = xno; then
4026 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
4029 if test x$ac_success = xno; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
4032 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
4036 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
4044 # Check whether --enable-static was given.
4045 if test "${enable_static+set}" = set; then :
4046 enableval=$enable_static; p=${PACKAGE-default}
4048 yes) enable_static=yes ;;
4049 no) enable_static=no ;;
4052 # Look at the argument we got. We use all the common list separators.
4053 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4054 for pkg in $enableval; do
4056 if test "X$pkg" = "X$p"; then
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4078 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4083 macro_version='2.4.2'
4084 macro_revision='1.3337'
4098 ltmain="$ac_aux_dir/ltmain.sh"
4100 # Make sure we can run config.sub.
4101 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4102 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4105 $as_echo_n "checking build system type... " >&6; }
4106 if ${ac_cv_build+:} false; then :
4107 $as_echo_n "(cached) " >&6
4109 ac_build_alias=$build_alias
4110 test "x$ac_build_alias" = x &&
4111 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4112 test "x$ac_build_alias" = x &&
4113 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4114 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4115 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4119 $as_echo "$ac_cv_build" >&6; }
4120 case $ac_cv_build in
4122 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4125 ac_save_IFS=$IFS; IFS='-'
4131 # Remember, the first character of IFS is used to create $*,
4132 # except with old shells:
4135 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4139 $as_echo_n "checking host system type... " >&6; }
4140 if ${ac_cv_host+:} false; then :
4141 $as_echo_n "(cached) " >&6
4143 if test "x$host_alias" = x; then
4144 ac_cv_host=$ac_cv_build
4146 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4147 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4152 $as_echo "$ac_cv_host" >&6; }
4155 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4158 ac_save_IFS=$IFS; IFS='-'
4164 # Remember, the first character of IFS is used to create $*,
4165 # except with old shells:
4168 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4171 # Backslashify metacharacters that are still active within
4172 # double-quoted strings.
4173 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4175 # Same as above, but do not quote variable references.
4176 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4178 # Sed substitution to delay expansion of an escaped shell variable in a
4179 # double_quote_subst'ed string.
4180 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4182 # Sed substitution to delay expansion of an escaped single quote.
4183 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4185 # Sed substitution to avoid accidental globbing in evaled expressions
4186 no_glob_subst='s/\*/\\\*/g'
4188 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4189 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4190 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4193 $as_echo_n "checking how to print strings... " >&6; }
4194 # Test print first, because it will be a builtin if present.
4195 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4196 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4198 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4201 # Use this function as a fallback that always works.
4202 func_fallback_echo ()
4204 eval 'cat <<_LTECHO_EOF
4208 ECHO='func_fallback_echo'
4211 # func_echo_all arg...
4212 # Invoke $ECHO with all args, space-separated.
4219 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4220 $as_echo "printf" >&6; } ;;
4221 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4222 $as_echo "print -r" >&6; } ;;
4223 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4224 $as_echo "cat" >&6; } ;;
4241 ac_cpp='$CPP $CPPFLAGS'
4242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4245 if test -n "$ac_tool_prefix"; then
4246 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4247 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if ${ac_cv_prog_CC+:} false; then :
4251 $as_echo_n "(cached) " >&6
4253 if test -n "$CC"; then
4254 ac_cv_prog_CC="$CC" # Let the user override the test.
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir=.
4261 for ac_exec_ext in '' $ac_executable_extensions; do
4262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4263 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274 if test -n "$CC"; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4276 $as_echo "$CC" >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279 $as_echo "no" >&6; }
4284 if test -z "$ac_cv_prog_CC"; then
4286 # Extract the first word of "gcc", so it can be a program name with args.
4287 set dummy gcc; ac_word=$2
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4289 $as_echo_n "checking for $ac_word... " >&6; }
4290 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4291 $as_echo_n "(cached) " >&6
4293 if test -n "$ac_ct_CC"; then
4294 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 test -z "$as_dir" && as_dir=.
4301 for ac_exec_ext in '' $ac_executable_extensions; do
4302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4303 ac_cv_prog_ac_ct_CC="gcc"
4304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4313 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4314 if test -n "$ac_ct_CC"; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4316 $as_echo "$ac_ct_CC" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4322 if test "x$ac_ct_CC" = x; then
4325 case $cross_compiling:$ac_tool_warned in
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4329 ac_tool_warned=yes ;;
4337 if test -z "$CC"; then
4338 if test -n "$ac_tool_prefix"; then
4339 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4340 set dummy ${ac_tool_prefix}cc; ac_word=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if ${ac_cv_prog_CC+:} false; then :
4344 $as_echo_n "(cached) " >&6
4346 if test -n "$CC"; then
4347 ac_cv_prog_CC="$CC" # Let the user override the test.
4349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir=.
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4356 ac_cv_prog_CC="${ac_tool_prefix}cc"
4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 if test -n "$CC"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4369 $as_echo "$CC" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4378 if test -z "$CC"; then
4379 # Extract the first word of "cc", so it can be a program name with args.
4380 set dummy cc; ac_word=$2
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382 $as_echo_n "checking for $ac_word... " >&6; }
4383 if ${ac_cv_prog_CC+:} false; then :
4384 $as_echo_n "(cached) " >&6
4386 if test -n "$CC"; then
4387 ac_cv_prog_CC="$CC" # Let the user override the test.
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 test -z "$as_dir" && as_dir=.
4395 for ac_exec_ext in '' $ac_executable_extensions; do
4396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4397 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4398 ac_prog_rejected=yes
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 if test $ac_prog_rejected = yes; then
4410 # We found a bogon in the path, so make sure we never use it.
4411 set dummy $ac_cv_prog_CC
4413 if test $# != 0; then
4414 # We chose a different compiler from the bogus one.
4415 # However, it has the same basename, so the bogon will be chosen
4416 # first if we set CC to just the basename; use the full file name.
4418 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4424 if test -n "$CC"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4426 $as_echo "$CC" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4434 if test -z "$CC"; then
4435 if test -n "$ac_tool_prefix"; then
4436 for ac_prog in cl.exe
4438 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4439 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441 $as_echo_n "checking for $ac_word... " >&6; }
4442 if ${ac_cv_prog_CC+:} false; then :
4443 $as_echo_n "(cached) " >&6
4445 if test -n "$CC"; then
4446 ac_cv_prog_CC="$CC" # Let the user override the test.
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 if test -n "$CC"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4468 $as_echo "$CC" >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4475 test -n "$CC" && break
4478 if test -z "$CC"; then
4480 for ac_prog in cl.exe
4482 # Extract the first word of "$ac_prog", so it can be a program name with args.
4483 set dummy $ac_prog; ac_word=$2
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485 $as_echo_n "checking for $ac_word... " >&6; }
4486 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4487 $as_echo_n "(cached) " >&6
4489 if test -n "$ac_ct_CC"; then
4490 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496 test -z "$as_dir" && as_dir=.
4497 for ac_exec_ext in '' $ac_executable_extensions; do
4498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4499 ac_cv_prog_ac_ct_CC="$ac_prog"
4500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4510 if test -n "$ac_ct_CC"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4512 $as_echo "$ac_ct_CC" >&6; }
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4519 test -n "$ac_ct_CC" && break
4522 if test "x$ac_ct_CC" = x; then
4525 case $cross_compiling:$ac_tool_warned in
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4529 ac_tool_warned=yes ;;
4538 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4540 as_fn_error $? "no acceptable C compiler found in \$PATH
4541 See \`config.log' for more details" "$LINENO" 5; }
4543 # Provide some information about the compiler.
4544 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4547 for ac_option in --version -v -V -qversion; do
4548 { { ac_try="$ac_compiler $ac_option >&5"
4550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4551 *) ac_try_echo=$ac_try;;
4553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4554 $as_echo "$ac_try_echo"; } >&5
4555 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4557 if test -s conftest.err; then
4559 ... rest of stderr output deleted ...
4560 10q' conftest.err >conftest.er1
4561 cat conftest.er1 >&5
4563 rm -f conftest.er1 conftest.err
4564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4565 test $ac_status = 0; }
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4569 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4570 if ${ac_cv_c_compiler_gnu+:} false; then :
4571 $as_echo_n "(cached) " >&6
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4587 if ac_fn_c_try_compile "$LINENO"; then :
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4597 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4598 if test $ac_compiler_gnu = yes; then
4603 ac_test_CFLAGS=${CFLAGS+set}
4604 ac_save_CFLAGS=$CFLAGS
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4606 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4607 if ${ac_cv_prog_cc_g+:} false; then :
4608 $as_echo_n "(cached) " >&6
4610 ac_save_c_werror_flag=$ac_c_werror_flag
4611 ac_c_werror_flag=yes
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4625 if ac_fn_c_try_compile "$LINENO"; then :
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4640 if ac_fn_c_try_compile "$LINENO"; then :
4643 ac_c_werror_flag=$ac_save_c_werror_flag
4645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 /* end confdefs.h. */
4656 if ac_fn_c_try_compile "$LINENO"; then :
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 ac_c_werror_flag=$ac_save_c_werror_flag
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4667 $as_echo "$ac_cv_prog_cc_g" >&6; }
4668 if test "$ac_test_CFLAGS" = set; then
4669 CFLAGS=$ac_save_CFLAGS
4670 elif test $ac_cv_prog_cc_g = yes; then
4671 if test "$GCC" = yes; then
4677 if test "$GCC" = yes; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4684 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4685 if ${ac_cv_prog_cc_c89+:} false; then :
4686 $as_echo_n "(cached) " >&6
4688 ac_cv_prog_cc_c89=no
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4695 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4696 struct buf { int x; };
4697 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4698 static char *e (p, i)
4704 static char *f (char * (*g) (char **, int), char **p, ...)
4709 s = g (p, va_arg (v,int));
4714 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4715 function prototypes and stuff, but not '\xHH' hex character constants.
4716 These don't provoke an error unfortunately, instead are silently treated
4717 as 'x'. The following induces an error, until -std is added to get
4718 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4719 array size at least. It's necessary to write '\x00'==0 to get something
4720 that's true only with -std. */
4721 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4723 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4724 inside strings and character constants. */
4726 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4728 int test (int i, double x);
4729 struct s1 {int (*f) (int a);};
4730 struct s2 {int (*f) (double a);};
4731 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4737 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4742 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4743 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4745 CC="$ac_save_CC $ac_arg"
4746 if ac_fn_c_try_compile "$LINENO"; then :
4747 ac_cv_prog_cc_c89=$ac_arg
4749 rm -f core conftest.err conftest.$ac_objext
4750 test "x$ac_cv_prog_cc_c89" != "xno" && break
4752 rm -f conftest.$ac_ext
4757 case "x$ac_cv_prog_cc_c89" in
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4760 $as_echo "none needed" >&6; } ;;
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4763 $as_echo "unsupported" >&6; } ;;
4765 CC="$CC $ac_cv_prog_cc_c89"
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4767 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4769 if test "x$ac_cv_prog_cc_c89" != xno; then :
4774 ac_cpp='$CPP $CPPFLAGS'
4775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4780 ac_cpp='$CPP $CPPFLAGS'
4781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4785 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4786 if ${am_cv_prog_cc_c_o+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4800 # Make sure it works both with $CC and with simple cc.
4801 # Following AC_PROG_CC_C_O, we do the test twice because some
4802 # compilers refuse to overwrite an existing .o file with -o,
4803 # though they will create one.
4804 am_cv_prog_cc_c_o=yes
4806 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4807 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } \
4811 && test -f conftest2.$ac_objext; then
4814 am_cv_prog_cc_c_o=no
4818 rm -f core conftest*
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4822 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4823 if test "$am_cv_prog_cc_c_o" != yes; then
4824 # Losing compiler, so override with the script.
4825 # FIXME: It is wrong to rewrite CC.
4826 # But if we don't then we get into trouble of one sort or another.
4827 # A longer-term fix would be to have automake use am__CC in this case,
4828 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4829 CC="$am_aux_dir/compile $CC"
4832 ac_cpp='$CPP $CPPFLAGS'
4833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4838 depcc="$CC" am_compiler_list=
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4841 $as_echo_n "checking dependency style of $depcc... " >&6; }
4842 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4846 # We make a subdir and do the tests there. Otherwise we can end up
4847 # making bogus files that we don't know about and never remove. For
4848 # instance it was reported that on HP-UX the gcc test will end up
4849 # making a dummy file named 'D' -- because '-MD' means "put the output
4853 # Copy depcomp to subdir because otherwise we won't find it if we're
4854 # using a relative directory.
4855 cp "$am_depcomp" conftest.dir
4857 # We will build objects and dependencies in a subdirectory because
4858 # it helps to detect inapplicable dependency modes. For instance
4859 # both Tru64's cc and ICC support -MD to output dependencies as a
4860 # side effect of compilation, but ICC will put the dependencies in
4861 # the current directory while Tru64 will put them in the object
4865 am_cv_CC_dependencies_compiler_type=none
4866 if test "$am_compiler_list" = ""; then
4867 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4870 case " $depcc " in #(
4871 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4874 for depmode in $am_compiler_list; do
4875 # Setup a source with many dependencies, because some compilers
4876 # like to wrap large dependency lists on column 80 (with \), and
4877 # we should not choose a depcomp mode which is confused by this.
4879 # We need to recreate these files for each test, as the compiler may
4880 # overwrite some of them when testing with obscure command lines.
4881 # This happens at least with the AIX C compiler.
4883 for i in 1 2 3 4 5 6; do
4884 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4885 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4886 # Solaris 10 /bin/sh.
4887 echo '/* dummy */' > sub/conftst$i.h
4889 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4891 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4892 # mode. It turns out that the SunPro C++ compiler does not properly
4893 # handle '-M -o', and we need to detect this. Also, some Intel
4894 # versions had trouble with output in subdirs.
4895 am__obj=sub/conftest.${OBJEXT-o}
4896 am__minus_obj="-o $am__obj"
4899 # This depmode causes a compiler race in universal mode.
4900 test "$am__universal" = false || continue
4903 # After this tag, mechanisms are not by side-effect, so they'll
4904 # only be used when explicitly requested.
4905 if test "x$enable_dependency_tracking" = xyes; then
4911 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4912 # This compiler won't grok '-c -o', but also, the minuso test has
4913 # not run yet. These depmodes are late enough in the game, and
4914 # so weak that their functioning should not be impacted.
4915 am__obj=conftest.${OBJEXT-o}
4920 if depmode=$depmode \
4921 source=sub/conftest.c object=$am__obj \
4922 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4923 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4924 >/dev/null 2>conftest.err &&
4925 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4926 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4927 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4928 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4929 # icc doesn't choke on unknown options, it will just issue warnings
4930 # or remarks (even with -Werror). So we grep stderr for any message
4931 # that says an option was ignored or not supported.
4932 # When given -MP, icc 7.0 and 7.1 complain thusly:
4933 # icc: Command line warning: ignoring option '-M'; no argument required
4934 # The diagnosis changed in icc 8.0:
4935 # icc: Command line remark: option '-MP' not supported
4936 if (grep 'ignoring option' conftest.err ||
4937 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4938 am_cv_CC_dependencies_compiler_type=$depmode
4947 am_cv_CC_dependencies_compiler_type=none
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4952 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4953 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4956 test "x$enable_dependency_tracking" != xno \
4957 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4959 am__fastdepCC_FALSE='#'
4961 am__fastdepCC_TRUE='#'
4962 am__fastdepCC_FALSE=
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4967 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4968 if ${ac_cv_path_SED+:} false; then :
4969 $as_echo_n "(cached) " >&6
4971 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4972 for ac_i in 1 2 3 4 5 6 7; do
4973 ac_script="$ac_script$as_nl$ac_script"
4975 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4976 { ac_script=; unset ac_script;}
4977 if test -z "$SED"; then
4978 ac_path_SED_found=false
4979 # Loop through the user's path and test for each of PROGNAME-LIST
4980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 test -z "$as_dir" && as_dir=.
4985 for ac_prog in sed gsed; do
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4988 as_fn_executable_p "$ac_path_SED" || continue
4989 # Check for GNU ac_path_SED and select it if it is found.
4990 # Check for GNU $ac_path_SED
4991 case `"$ac_path_SED" --version 2>&1` in
4993 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4996 $as_echo_n 0123456789 >"conftest.in"
4999 cat "conftest.in" "conftest.in" >"conftest.tmp"
5000 mv "conftest.tmp" "conftest.in"
5001 cp "conftest.in" "conftest.nl"
5002 $as_echo '' >> "conftest.nl"
5003 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5004 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5005 as_fn_arith $ac_count + 1 && ac_count=$as_val
5006 if test $ac_count -gt ${ac_path_SED_max-0}; then
5007 # Best one so far, save it but keep looking for a better one
5008 ac_cv_path_SED="$ac_path_SED"
5009 ac_path_SED_max=$ac_count
5011 # 10*(2^10) chars as input seems more than enough
5012 test $ac_count -gt 10 && break
5014 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5017 $ac_path_SED_found && break 3
5022 if test -z "$ac_cv_path_SED"; then
5023 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5031 $as_echo "$ac_cv_path_SED" >&6; }
5032 SED="$ac_cv_path_SED"
5035 test -z "$SED" && SED=sed
5036 Xsed="$SED -e 1s/^X//"
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5049 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5050 if ${ac_cv_path_GREP+:} false; then :
5051 $as_echo_n "(cached) " >&6
5053 if test -z "$GREP"; then
5054 ac_path_GREP_found=false
5055 # Loop through the user's path and test for each of PROGNAME-LIST
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5060 test -z "$as_dir" && as_dir=.
5061 for ac_prog in grep ggrep; do
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5064 as_fn_executable_p "$ac_path_GREP" || continue
5065 # Check for GNU ac_path_GREP and select it if it is found.
5066 # Check for GNU $ac_path_GREP
5067 case `"$ac_path_GREP" --version 2>&1` in
5069 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5072 $as_echo_n 0123456789 >"conftest.in"
5075 cat "conftest.in" "conftest.in" >"conftest.tmp"
5076 mv "conftest.tmp" "conftest.in"
5077 cp "conftest.in" "conftest.nl"
5078 $as_echo 'GREP' >> "conftest.nl"
5079 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5080 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5081 as_fn_arith $ac_count + 1 && ac_count=$as_val
5082 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5083 # Best one so far, save it but keep looking for a better one
5084 ac_cv_path_GREP="$ac_path_GREP"
5085 ac_path_GREP_max=$ac_count
5087 # 10*(2^10) chars as input seems more than enough
5088 test $ac_count -gt 10 && break
5090 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5093 $ac_path_GREP_found && break 3
5098 if test -z "$ac_cv_path_GREP"; then
5099 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5102 ac_cv_path_GREP=$GREP
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5107 $as_echo "$ac_cv_path_GREP" >&6; }
5108 GREP="$ac_cv_path_GREP"
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5112 $as_echo_n "checking for egrep... " >&6; }
5113 if ${ac_cv_path_EGREP+:} false; then :
5114 $as_echo_n "(cached) " >&6
5116 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5117 then ac_cv_path_EGREP="$GREP -E"
5119 if test -z "$EGREP"; then
5120 ac_path_EGREP_found=false
5121 # Loop through the user's path and test for each of PROGNAME-LIST
5122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5126 test -z "$as_dir" && as_dir=.
5127 for ac_prog in egrep; do
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5130 as_fn_executable_p "$ac_path_EGREP" || continue
5131 # Check for GNU ac_path_EGREP and select it if it is found.
5132 # Check for GNU $ac_path_EGREP
5133 case `"$ac_path_EGREP" --version 2>&1` in
5135 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5138 $as_echo_n 0123456789 >"conftest.in"
5141 cat "conftest.in" "conftest.in" >"conftest.tmp"
5142 mv "conftest.tmp" "conftest.in"
5143 cp "conftest.in" "conftest.nl"
5144 $as_echo 'EGREP' >> "conftest.nl"
5145 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5146 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5147 as_fn_arith $ac_count + 1 && ac_count=$as_val
5148 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5149 # Best one so far, save it but keep looking for a better one
5150 ac_cv_path_EGREP="$ac_path_EGREP"
5151 ac_path_EGREP_max=$ac_count
5153 # 10*(2^10) chars as input seems more than enough
5154 test $ac_count -gt 10 && break
5156 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5159 $ac_path_EGREP_found && break 3
5164 if test -z "$ac_cv_path_EGREP"; then
5165 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5168 ac_cv_path_EGREP=$EGREP
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5174 $as_echo "$ac_cv_path_EGREP" >&6; }
5175 EGREP="$ac_cv_path_EGREP"
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5179 $as_echo_n "checking for fgrep... " >&6; }
5180 if ${ac_cv_path_FGREP+:} false; then :
5181 $as_echo_n "(cached) " >&6
5183 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5184 then ac_cv_path_FGREP="$GREP -F"
5186 if test -z "$FGREP"; then
5187 ac_path_FGREP_found=false
5188 # Loop through the user's path and test for each of PROGNAME-LIST
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5193 test -z "$as_dir" && as_dir=.
5194 for ac_prog in fgrep; do
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5197 as_fn_executable_p "$ac_path_FGREP" || continue
5198 # Check for GNU ac_path_FGREP and select it if it is found.
5199 # Check for GNU $ac_path_FGREP
5200 case `"$ac_path_FGREP" --version 2>&1` in
5202 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5205 $as_echo_n 0123456789 >"conftest.in"
5208 cat "conftest.in" "conftest.in" >"conftest.tmp"
5209 mv "conftest.tmp" "conftest.in"
5210 cp "conftest.in" "conftest.nl"
5211 $as_echo 'FGREP' >> "conftest.nl"
5212 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5213 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5214 as_fn_arith $ac_count + 1 && ac_count=$as_val
5215 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5216 # Best one so far, save it but keep looking for a better one
5217 ac_cv_path_FGREP="$ac_path_FGREP"
5218 ac_path_FGREP_max=$ac_count
5220 # 10*(2^10) chars as input seems more than enough
5221 test $ac_count -gt 10 && break
5223 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5226 $ac_path_FGREP_found && break 3
5231 if test -z "$ac_cv_path_FGREP"; then
5232 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5235 ac_cv_path_FGREP=$FGREP
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5241 $as_echo "$ac_cv_path_FGREP" >&6; }
5242 FGREP="$ac_cv_path_FGREP"
5245 test -z "$GREP" && GREP=grep
5265 # Check whether --with-gnu-ld was given.
5266 if test "${with_gnu_ld+set}" = set; then :
5267 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5273 if test "$GCC" = yes; then
5274 # Check if gcc -print-prog-name=ld gives a path.
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5276 $as_echo_n "checking for ld used by $CC... " >&6; }
5279 # gcc leaves a trailing carriage return which upsets mingw
5280 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5282 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5285 # Accept absolute paths.
5287 re_direlt='/[^/][^/]*/\.\./'
5288 # Canonicalize the pathname of ld
5289 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5290 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5291 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5293 test -z "$LD" && LD="$ac_prog"
5296 # If it fails, then pretend we aren't using GCC.
5300 # If it is relative, then search for the first ld in PATH.
5304 elif test "$with_gnu_ld" = yes; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5306 $as_echo_n "checking for GNU ld... " >&6; }
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5309 $as_echo_n "checking for non-GNU ld... " >&6; }
5311 if ${lt_cv_path_LD+:} false; then :
5312 $as_echo_n "(cached) " >&6
5314 if test -z "$LD"; then
5315 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5316 for ac_dir in $PATH; do
5318 test -z "$ac_dir" && ac_dir=.
5319 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5320 lt_cv_path_LD="$ac_dir/$ac_prog"
5321 # Check to see if the program is GNU ld. I'd rather use --version,
5322 # but apparently some variants of GNU ld only accept -v.
5323 # Break only if it was the GNU/non-GNU ld that we prefer.
5324 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5325 *GNU* | *'with BFD'*)
5326 test "$with_gnu_ld" != no && break
5329 test "$with_gnu_ld" != yes && break
5336 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5341 if test -n "$LD"; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5343 $as_echo "$LD" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 $as_echo "no" >&6; }
5348 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5350 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5351 if ${lt_cv_prog_gnu_ld+:} false; then :
5352 $as_echo_n "(cached) " >&6
5354 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5355 case `$LD -v 2>&1 </dev/null` in
5356 *GNU* | *'with BFD'*)
5357 lt_cv_prog_gnu_ld=yes
5360 lt_cv_prog_gnu_ld=no
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5365 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5366 with_gnu_ld=$lt_cv_prog_gnu_ld
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5377 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5378 if ${lt_cv_path_NM+:} false; then :
5379 $as_echo_n "(cached) " >&6
5381 if test -n "$NM"; then
5382 # Let the user override the test.
5385 lt_nm_to_check="${ac_tool_prefix}nm"
5386 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5387 lt_nm_to_check="$lt_nm_to_check nm"
5389 for lt_tmp_nm in $lt_nm_to_check; do
5390 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5391 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5393 test -z "$ac_dir" && ac_dir=.
5394 tmp_nm="$ac_dir/$lt_tmp_nm"
5395 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5396 # Check to see if the nm accepts a BSD-compat flag.
5397 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5398 # nm: unknown option "B" ignored
5399 # Tru64's nm complains that /dev/null is an invalid object file
5400 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5401 */dev/null* | *'Invalid file or object type'*)
5402 lt_cv_path_NM="$tmp_nm -B"
5406 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5408 lt_cv_path_NM="$tmp_nm -p"
5412 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5413 continue # so that we can try to find one that supports BSD flags
5422 : ${lt_cv_path_NM=no}
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5426 $as_echo "$lt_cv_path_NM" >&6; }
5427 if test "$lt_cv_path_NM" != "no"; then
5430 # Didn't find any BSD compatible name lister, look for dumpbin.
5431 if test -n "$DUMPBIN"; then :
5432 # Let the user override the test.
5434 if test -n "$ac_tool_prefix"; then
5435 for ac_prog in dumpbin "link -dump"
5437 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5438 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if ${ac_cv_prog_DUMPBIN+:} false; then :
5442 $as_echo_n "(cached) " >&6
5444 if test -n "$DUMPBIN"; then
5445 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5454 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 DUMPBIN=$ac_cv_prog_DUMPBIN
5465 if test -n "$DUMPBIN"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5467 $as_echo "$DUMPBIN" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5474 test -n "$DUMPBIN" && break
5477 if test -z "$DUMPBIN"; then
5478 ac_ct_DUMPBIN=$DUMPBIN
5479 for ac_prog in dumpbin "link -dump"
5481 # Extract the first word of "$ac_prog", so it can be a program name with args.
5482 set dummy $ac_prog; ac_word=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5486 $as_echo_n "(cached) " >&6
5488 if test -n "$ac_ct_DUMPBIN"; then
5489 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir=.
5496 for ac_exec_ext in '' $ac_executable_extensions; do
5497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5498 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5509 if test -n "$ac_ct_DUMPBIN"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5511 $as_echo "$ac_ct_DUMPBIN" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5518 test -n "$ac_ct_DUMPBIN" && break
5521 if test "x$ac_ct_DUMPBIN" = x; then
5524 case $cross_compiling:$ac_tool_warned in
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5528 ac_tool_warned=yes ;;
5530 DUMPBIN=$ac_ct_DUMPBIN
5534 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5536 DUMPBIN="$DUMPBIN -symbols"
5544 if test "$DUMPBIN" != ":"; then
5548 test -z "$NM" && NM=nm
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5556 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5557 if ${lt_cv_nm_interface+:} false; then :
5558 $as_echo_n "(cached) " >&6
5560 lt_cv_nm_interface="BSD nm"
5561 echo "int some_variable = 0;" > conftest.$ac_ext
5562 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5563 (eval "$ac_compile" 2>conftest.err)
5564 cat conftest.err >&5
5565 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5566 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5567 cat conftest.err >&5
5568 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5569 cat conftest.out >&5
5570 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5571 lt_cv_nm_interface="MS dumpbin"
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5576 $as_echo "$lt_cv_nm_interface" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5579 $as_echo_n "checking whether ln -s works... " >&6; }
5581 if test "$LN_S" = "ln -s"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5583 $as_echo "yes" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5586 $as_echo "no, using $LN_S" >&6; }
5589 # find the maximum length of command line arguments
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5591 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5592 if ${lt_cv_sys_max_cmd_len+:} false; then :
5593 $as_echo_n "(cached) " >&6
5600 # On DJGPP, this test can blow up pretty badly due to problems in libc
5601 # (any single argument exceeding 2000 bytes causes a buffer overrun
5602 # during glob expansion). Even if it were fixed, the result of this
5603 # check would be larger than it should be.
5604 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5608 # Under GNU Hurd, this test is not required because there is
5609 # no limit to the length of command line arguments.
5610 # Libtool will interpret -1 as no limit whatsoever
5611 lt_cv_sys_max_cmd_len=-1;
5614 cygwin* | mingw* | cegcc*)
5615 # On Win9x/ME, this test blows up -- it succeeds, but takes
5616 # about 5 minutes as the teststring grows exponentially.
5617 # Worse, since 9x/ME are not pre-emptively multitasking,
5618 # you end up with a "frozen" computer, even though with patience
5619 # the test eventually succeeds (with a max line length of 256k).
5620 # Instead, let's just punt: use the minimum linelength reported by
5621 # all of the supported platforms: 8192 (on NT/2K/XP).
5622 lt_cv_sys_max_cmd_len=8192;
5626 # On MiNT this can take a long time and run out of memory.
5627 lt_cv_sys_max_cmd_len=8192;
5631 # On AmigaOS with pdksh, this test takes hours, literally.
5632 # So we just punt and use a minimum line length of 8192.
5633 lt_cv_sys_max_cmd_len=8192;
5636 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5637 # This has been around since 386BSD, at least. Likely further.
5638 if test -x /sbin/sysctl; then
5639 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5640 elif test -x /usr/sbin/sysctl; then
5641 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5643 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5645 # And add a safety zone
5646 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5647 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5651 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5652 lt_cv_sys_max_cmd_len=196608
5656 # The test takes a long time on OS/2.
5657 lt_cv_sys_max_cmd_len=8192
5661 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5662 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5663 # nice to cause kernel panics so lets avoid the loop below.
5664 # First set a reasonable default.
5665 lt_cv_sys_max_cmd_len=16384
5667 if test -x /sbin/sysconfig; then
5668 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5669 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5674 lt_cv_sys_max_cmd_len=102400
5676 sysv5* | sco5v6* | sysv4.2uw2*)
5677 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5678 if test -n "$kargmax"; then
5679 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5681 lt_cv_sys_max_cmd_len=32768
5685 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5686 if test -n "$lt_cv_sys_max_cmd_len" && \
5687 test undefined != "$lt_cv_sys_max_cmd_len"; then
5688 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5689 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5691 # Make teststring a little bigger before we do anything with it.
5692 # a 1K string should be a reasonable start.
5693 for i in 1 2 3 4 5 6 7 8 ; do
5694 teststring=$teststring$teststring
5696 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5697 # If test is not a shell built-in, we'll probably end up computing a
5698 # maximum length that is only half of the actual maximum length, but
5700 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5701 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5702 test $i != 17 # 1/2 MB should be enough
5705 teststring=$teststring$teststring
5707 # Only check the string length outside the loop.
5708 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5710 # Add a significant safety factor because C++ compilers can tack on
5711 # massive amounts of additional arguments before passing them to the
5712 # linker. It appears as though 1/2 is a usable value.
5713 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5720 if test -n $lt_cv_sys_max_cmd_len ; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5722 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5725 $as_echo "none" >&6; }
5727 max_cmd_len=$lt_cv_sys_max_cmd_len
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5739 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5740 # Try some XSI features
5743 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5745 && eval 'test $(( 1 + 1 )) -eq 2 \
5746 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5749 $as_echo "$xsi_shell" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5753 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5755 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5757 && lt_shell_append=yes
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5759 $as_echo "$lt_shell_append" >&6; }
5762 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5772 # test EBCDIC or ASCII
5773 case `echo X|tr X '\101'` in
5774 A) # ASCII based system
5775 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5776 lt_SP2NL='tr \040 \012'
5777 lt_NL2SP='tr \015\012 \040\040'
5779 *) # EBCDIC based system
5780 lt_SP2NL='tr \100 \n'
5781 lt_NL2SP='tr \r\n \100\100'
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5794 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5795 if ${lt_cv_to_host_file_cmd+:} false; then :
5796 $as_echo_n "(cached) " >&6
5801 *-*-mingw* ) # actually msys
5802 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5805 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5807 * ) # otherwise, assume *nix
5808 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5814 *-*-mingw* ) # actually msys
5815 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5818 lt_cv_to_host_file_cmd=func_convert_file_noop
5820 * ) # otherwise, assume *nix
5821 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5825 * ) # unhandled hosts (and "normal" native builds)
5826 lt_cv_to_host_file_cmd=func_convert_file_noop
5832 to_host_file_cmd=$lt_cv_to_host_file_cmd
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5834 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5841 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5842 if ${lt_cv_to_tool_file_cmd+:} false; then :
5843 $as_echo_n "(cached) " >&6
5845 #assume ordinary cross tools, or native build.
5846 lt_cv_to_tool_file_cmd=func_convert_file_noop
5850 *-*-mingw* ) # actually msys
5851 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5859 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5861 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5868 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5869 if ${lt_cv_ld_reload_flag+:} false; then :
5870 $as_echo_n "(cached) " >&6
5872 lt_cv_ld_reload_flag='-r'
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5875 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5876 reload_flag=$lt_cv_ld_reload_flag
5877 case $reload_flag in
5879 *) reload_flag=" $reload_flag" ;;
5881 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5883 cygwin* | mingw* | pw32* | cegcc*)
5884 if test "$GCC" != yes; then
5889 if test "$GCC" = yes; then
5890 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5892 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5905 if test -n "$ac_tool_prefix"; then
5906 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5907 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_OBJDUMP+:} false; then :
5911 $as_echo_n "(cached) " >&6
5913 if test -n "$OBJDUMP"; then
5914 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir=.
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 OBJDUMP=$ac_cv_prog_OBJDUMP
5934 if test -n "$OBJDUMP"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5936 $as_echo "$OBJDUMP" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5944 if test -z "$ac_cv_prog_OBJDUMP"; then
5945 ac_ct_OBJDUMP=$OBJDUMP
5946 # Extract the first word of "objdump", so it can be a program name with args.
5947 set dummy objdump; ac_word=$2
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949 $as_echo_n "checking for $ac_word... " >&6; }
5950 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5951 $as_echo_n "(cached) " >&6
5953 if test -n "$ac_ct_OBJDUMP"; then
5954 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960 test -z "$as_dir" && as_dir=.
5961 for ac_exec_ext in '' $ac_executable_extensions; do
5962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5974 if test -n "$ac_ct_OBJDUMP"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5976 $as_echo "$ac_ct_OBJDUMP" >&6; }
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5982 if test "x$ac_ct_OBJDUMP" = x; then
5985 case $cross_compiling:$ac_tool_warned in
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5989 ac_tool_warned=yes ;;
5991 OBJDUMP=$ac_ct_OBJDUMP
5994 OBJDUMP="$ac_cv_prog_OBJDUMP"
5997 test -z "$OBJDUMP" && OBJDUMP=objdump
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6005 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6006 if ${lt_cv_deplibs_check_method+:} false; then :
6007 $as_echo_n "(cached) " >&6
6009 lt_cv_file_magic_cmd='$MAGIC_CMD'
6010 lt_cv_file_magic_test_file=
6011 lt_cv_deplibs_check_method='unknown'
6012 # Need to set the preceding variable on all platforms that support
6013 # interlibrary dependencies.
6014 # 'none' -- dependencies not supported.
6015 # `unknown' -- same as none, but documents that we really don't know.
6016 # 'pass_all' -- all dependencies passed with no checks.
6017 # 'test_compile' -- check by making test program.
6018 # 'file_magic [[regex]]' -- check by looking for files in library path
6019 # which responds to the $file_magic_cmd with a given extended regex.
6020 # If you have `file' or equivalent on your system and you're not sure
6021 # whether `pass_all' will *always* work, you probably want this one.
6025 lt_cv_deplibs_check_method=pass_all
6029 lt_cv_deplibs_check_method=pass_all
6033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6034 lt_cv_file_magic_cmd='/usr/bin/file -L'
6035 lt_cv_file_magic_test_file=/shlib/libc.so
6039 # func_win32_libid is a shell function defined in ltmain.sh
6040 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6041 lt_cv_file_magic_cmd='func_win32_libid'
6045 # Base MSYS/MinGW do not provide the 'file' command needed by
6046 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6047 # unless we find 'file', for example because we are cross-compiling.
6048 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6049 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6050 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6051 lt_cv_file_magic_cmd='func_win32_libid'
6053 # Keep this pattern in sync with the one in func_win32_libid.
6054 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6055 lt_cv_file_magic_cmd='$OBJDUMP -f'
6060 # use the weaker test based on 'objdump'. See mingw*.
6061 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6062 lt_cv_file_magic_cmd='$OBJDUMP -f'
6065 darwin* | rhapsody*)
6066 lt_cv_deplibs_check_method=pass_all
6069 freebsd* | dragonfly*)
6070 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6073 # Not sure whether the presence of OpenBSD here was a mistake.
6074 # Let's accept both of them until this is cleared up.
6075 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6076 lt_cv_file_magic_cmd=/usr/bin/file
6077 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6081 lt_cv_deplibs_check_method=pass_all
6086 lt_cv_deplibs_check_method=pass_all
6089 hpux10.20* | hpux11*)
6090 lt_cv_file_magic_cmd=/usr/bin/file
6093 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6094 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6097 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]'
6098 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6101 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6102 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6108 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6109 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6112 irix5* | irix6* | nonstopux*)
6114 *-32|*"-32 ") libmagic=32-bit;;
6115 *-n32|*"-n32 ") libmagic=N32;;
6116 *-64|*"-64 ") libmagic=64-bit;;
6117 *) libmagic=never-match;;
6119 lt_cv_deplibs_check_method=pass_all
6122 # This must be glibc/ELF.
6123 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6124 lt_cv_deplibs_check_method=pass_all
6127 netbsd* | netbsdelf*-gnu)
6128 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6129 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6131 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6137 lt_cv_file_magic_cmd=/usr/bin/file
6138 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6142 lt_cv_deplibs_check_method=pass_all
6146 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6147 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6149 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6153 osf3* | osf4* | osf5*)
6154 lt_cv_deplibs_check_method=pass_all
6158 lt_cv_deplibs_check_method=pass_all
6162 lt_cv_deplibs_check_method=pass_all
6165 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6166 lt_cv_deplibs_check_method=pass_all
6170 case $host_vendor in
6172 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]'
6173 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6176 lt_cv_deplibs_check_method=pass_all
6179 lt_cv_file_magic_cmd='/bin/file'
6180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6183 lt_cv_file_magic_cmd='/bin/file'
6184 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6185 lt_cv_file_magic_test_file=/lib/libc.so
6188 lt_cv_deplibs_check_method=pass_all
6191 lt_cv_deplibs_check_method=pass_all
6197 lt_cv_deplibs_check_method=pass_all
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6203 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6207 if test "$build" = "$host"; then
6210 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6213 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6219 file_magic_cmd=$lt_cv_file_magic_cmd
6220 deplibs_check_method=$lt_cv_deplibs_check_method
6221 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6244 if test -n "$ac_tool_prefix"; then
6245 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6246 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6248 $as_echo_n "checking for $ac_word... " >&6; }
6249 if ${ac_cv_prog_DLLTOOL+:} false; then :
6250 $as_echo_n "(cached) " >&6
6252 if test -n "$DLLTOOL"; then
6253 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 test -z "$as_dir" && as_dir=.
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6262 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6272 DLLTOOL=$ac_cv_prog_DLLTOOL
6273 if test -n "$DLLTOOL"; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6275 $as_echo "$DLLTOOL" >&6; }
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278 $as_echo "no" >&6; }
6283 if test -z "$ac_cv_prog_DLLTOOL"; then
6284 ac_ct_DLLTOOL=$DLLTOOL
6285 # Extract the first word of "dlltool", so it can be a program name with args.
6286 set dummy dlltool; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288 $as_echo_n "checking for $ac_word... " >&6; }
6289 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6290 $as_echo_n "(cached) " >&6
6292 if test -n "$ac_ct_DLLTOOL"; then
6293 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6312 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6313 if test -n "$ac_ct_DLLTOOL"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6315 $as_echo "$ac_ct_DLLTOOL" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6321 if test "x$ac_ct_DLLTOOL" = x; then
6324 case $cross_compiling:$ac_tool_warned in
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6328 ac_tool_warned=yes ;;
6330 DLLTOOL=$ac_ct_DLLTOOL
6333 DLLTOOL="$ac_cv_prog_DLLTOOL"
6336 test -z "$DLLTOOL" && DLLTOOL=dlltool
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6345 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6346 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6347 $as_echo_n "(cached) " >&6
6349 lt_cv_sharedlib_from_linklib_cmd='unknown'
6352 cygwin* | mingw* | pw32* | cegcc*)
6353 # two different shell functions defined in ltmain.sh
6354 # decide which to use based on capabilities of $DLLTOOL
6355 case `$DLLTOOL --help 2>&1` in
6356 *--identify-strict*)
6357 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6360 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6365 # fallback: assume linklib IS sharedlib
6366 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6372 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6373 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6374 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6383 if test -n "$ac_tool_prefix"; then
6386 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6387 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6389 $as_echo_n "checking for $ac_word... " >&6; }
6390 if ${ac_cv_prog_AR+:} false; then :
6391 $as_echo_n "(cached) " >&6
6393 if test -n "$AR"; then
6394 ac_cv_prog_AR="$AR" # Let the user override the test.
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400 test -z "$as_dir" && as_dir=.
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414 if test -n "$AR"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6416 $as_echo "$AR" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419 $as_echo "no" >&6; }
6423 test -n "$AR" && break
6426 if test -z "$AR"; then
6430 # Extract the first word of "$ac_prog", so it can be a program name with args.
6431 set dummy $ac_prog; ac_word=$2
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433 $as_echo_n "checking for $ac_word... " >&6; }
6434 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6435 $as_echo_n "(cached) " >&6
6437 if test -n "$ac_ct_AR"; then
6438 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6447 ac_cv_prog_ac_ct_AR="$ac_prog"
6448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6458 if test -n "$ac_ct_AR"; then
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6460 $as_echo "$ac_ct_AR" >&6; }
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6467 test -n "$ac_ct_AR" && break
6470 if test "x$ac_ct_AR" = x; then
6473 case $cross_compiling:$ac_tool_warned in
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6477 ac_tool_warned=yes ;;
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6497 $as_echo_n "checking for archiver @FILE support... " >&6; }
6498 if ${lt_cv_ar_at_file+:} false; then :
6499 $as_echo_n "(cached) " >&6
6502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6503 /* end confdefs.h. */
6513 if ac_fn_c_try_compile "$LINENO"; then :
6514 echo conftest.$ac_objext > conftest.lst
6515 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6516 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6517 (eval $lt_ar_try) 2>&5
6519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6520 test $ac_status = 0; }
6521 if test "$ac_status" -eq 0; then
6522 # Ensure the archiver fails upon bogus file names.
6523 rm -f conftest.$ac_objext libconftest.a
6524 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6525 (eval $lt_ar_try) 2>&5
6527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6528 test $ac_status = 0; }
6529 if test "$ac_status" -ne 0; then
6533 rm -f conftest.* libconftest.a
6536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6540 $as_echo "$lt_cv_ar_at_file" >&6; }
6542 if test "x$lt_cv_ar_at_file" = xno; then
6545 archiver_list_spec=$lt_cv_ar_at_file
6554 if test -n "$ac_tool_prefix"; then
6555 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6556 set dummy ${ac_tool_prefix}strip; ac_word=$2
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558 $as_echo_n "checking for $ac_word... " >&6; }
6559 if ${ac_cv_prog_STRIP+:} false; then :
6560 $as_echo_n "(cached) " >&6
6562 if test -n "$STRIP"; then
6563 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569 test -z "$as_dir" && as_dir=.
6570 for ac_exec_ext in '' $ac_executable_extensions; do
6571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6572 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6582 STRIP=$ac_cv_prog_STRIP
6583 if test -n "$STRIP"; then
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6585 $as_echo "$STRIP" >&6; }
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; }
6593 if test -z "$ac_cv_prog_STRIP"; then
6595 # Extract the first word of "strip", so it can be a program name with args.
6596 set dummy strip; ac_word=$2
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6598 $as_echo_n "checking for $ac_word... " >&6; }
6599 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6600 $as_echo_n "(cached) " >&6
6602 if test -n "$ac_ct_STRIP"; then
6603 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6609 test -z "$as_dir" && as_dir=.
6610 for ac_exec_ext in '' $ac_executable_extensions; do
6611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6612 ac_cv_prog_ac_ct_STRIP="strip"
6613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6623 if test -n "$ac_ct_STRIP"; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6625 $as_echo "$ac_ct_STRIP" >&6; }
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6628 $as_echo "no" >&6; }
6631 if test "x$ac_ct_STRIP" = x; then
6634 case $cross_compiling:$ac_tool_warned in
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6638 ac_tool_warned=yes ;;
6643 STRIP="$ac_cv_prog_STRIP"
6646 test -z "$STRIP" && STRIP=:
6653 if test -n "$ac_tool_prefix"; then
6654 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6655 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_RANLIB+:} false; then :
6659 $as_echo_n "(cached) " >&6
6661 if test -n "$RANLIB"; then
6662 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 RANLIB=$ac_cv_prog_RANLIB
6682 if test -n "$RANLIB"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6684 $as_echo "$RANLIB" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6692 if test -z "$ac_cv_prog_RANLIB"; then
6693 ac_ct_RANLIB=$RANLIB
6694 # Extract the first word of "ranlib", so it can be a program name with args.
6695 set dummy ranlib; ac_word=$2
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697 $as_echo_n "checking for $ac_word... " >&6; }
6698 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6699 $as_echo_n "(cached) " >&6
6701 if test -n "$ac_ct_RANLIB"; then
6702 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir=.
6709 for ac_exec_ext in '' $ac_executable_extensions; do
6710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6711 ac_cv_prog_ac_ct_RANLIB="ranlib"
6712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6722 if test -n "$ac_ct_RANLIB"; then
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6724 $as_echo "$ac_ct_RANLIB" >&6; }
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727 $as_echo "no" >&6; }
6730 if test "x$ac_ct_RANLIB" = x; then
6733 case $cross_compiling:$ac_tool_warned in
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737 ac_tool_warned=yes ;;
6739 RANLIB=$ac_ct_RANLIB
6742 RANLIB="$ac_cv_prog_RANLIB"
6745 test -z "$RANLIB" && RANLIB=:
6752 # Determine commands to create old-style static archives.
6753 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6754 old_postinstall_cmds='chmod 644 $oldlib'
6755 old_postuninstall_cmds=
6757 if test -n "$RANLIB"; then
6760 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6763 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6766 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6771 lock_old_archive_extraction=yes ;;
6773 lock_old_archive_extraction=no ;;
6814 # If no C compiler was specified, use CC.
6817 # If no C compiler flags were specified, use CFLAGS.
6818 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6820 # Allow CC to be a program name with arguments.
6824 # Check for command to grab the raw symbol name followed by C symbol from nm.
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6826 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6827 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6828 $as_echo_n "(cached) " >&6
6831 # These are sane defaults that work on at least a few old systems.
6832 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6834 # Character class describing NM global symbol codes.
6835 symcode='[BCDEGRST]'
6837 # Regexp to match symbols that can be accessed directly from C.
6838 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6840 # Define system-specific variables.
6845 cygwin* | mingw* | pw32* | cegcc*)
6846 symcode='[ABCDGISTW]'
6849 if test "$host_cpu" = ia64; then
6850 symcode='[ABCDEGRST]'
6854 symcode='[BCDEGRST]'
6857 symcode='[BCDEGQRST]'
6868 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6876 # If we're using GNU nm, then use its standard symbol codes.
6877 case `$NM -V 2>&1` in
6878 *GNU* | *'with BFD'*)
6879 symcode='[ABCDGIRSTW]' ;;
6882 # Transform an extracted symbol line into a proper C declaration.
6883 # Some systems (esp. on ia64) link data and code symbols differently,
6884 # so use this general approach.
6885 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6887 # Transform an extracted symbol line into symbol name and symbol address
6888 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6889 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'"
6891 # Handle CRLF in mingw tool chain
6895 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6899 # Try without a prefix underscore, then with it.
6900 for ac_symprfx in "" "_"; do
6902 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6903 symxfrm="\\1 $ac_symprfx\\2 \\2"
6905 # Write the raw and C identifiers.
6906 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6907 # Fake it for dumpbin and say T for any non-static function
6908 # and D for any global variable.
6909 # Also find C++ and __fastcall symbols from MSVC++,
6910 # which start with @ or ?.
6911 lt_cv_sys_global_symbol_pipe="$AWK '"\
6912 " {last_section=section; section=\$ 3};"\
6913 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6914 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6915 " \$ 0!~/External *\|/{next};"\
6916 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6917 " {if(hide[section]) next};"\
6918 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6919 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6920 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6921 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6922 " ' prfx=^$ac_symprfx"
6924 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6926 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6928 # Check to see that the pipe works correctly.
6932 cat > conftest.$ac_ext <<_LT_EOF
6937 void nm_test_func(void);
6938 void nm_test_func(void){}
6942 int main(){nm_test_var='a';nm_test_func();return(0);}
6945 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6946 (eval $ac_compile) 2>&5
6948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6949 test $ac_status = 0; }; then
6950 # Now try to grab the symbols.
6952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6953 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6956 test $ac_status = 0; } && test -s "$nlist"; then
6957 # Try sorting and uniquifying the output.
6958 if sort "$nlist" | uniq > "$nlist"T; then
6959 mv -f "$nlist"T "$nlist"
6964 # Make sure that we snagged all the symbols we need.
6965 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6966 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6967 cat <<_LT_EOF > conftest.$ac_ext
6968 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6969 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6970 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6971 relocations are performed -- see ld's documentation on pseudo-relocs. */
6972 # define LT_DLSYM_CONST
6973 #elif defined(__osf__)
6974 /* This system does not cope well with relocations in const data. */
6975 # define LT_DLSYM_CONST
6977 # define LT_DLSYM_CONST const
6985 # Now generate the symbol file.
6986 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6988 cat <<_LT_EOF >> conftest.$ac_ext
6990 /* The mapping between symbol names and symbols. */
6991 LT_DLSYM_CONST struct {
6995 lt__PROGRAM__LTX_preloaded_symbols[] =
6997 { "@PROGRAM@", (void *) 0 },
6999 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7000 cat <<\_LT_EOF >> conftest.$ac_ext
7004 /* This works around a problem in FreeBSD linker */
7005 #ifdef FREEBSD_WORKAROUND
7006 static const void *lt_preloaded_setup() {
7007 return lt__PROGRAM__LTX_preloaded_symbols;
7015 # Now try linking the two files.
7016 mv conftest.$ac_objext conftstm.$ac_objext
7017 lt_globsym_save_LIBS=$LIBS
7018 lt_globsym_save_CFLAGS=$CFLAGS
7019 LIBS="conftstm.$ac_objext"
7020 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7022 (eval $ac_link) 2>&5
7024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7025 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7028 LIBS=$lt_globsym_save_LIBS
7029 CFLAGS=$lt_globsym_save_CFLAGS
7031 echo "cannot find nm_test_func in $nlist" >&5
7034 echo "cannot find nm_test_var in $nlist" >&5
7037 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7040 echo "$progname: failed program was:" >&5
7041 cat conftest.$ac_ext >&5
7043 rm -rf conftest* conftst*
7045 # Do not use the global_symbol_pipe unless it works.
7046 if test "$pipe_works" = yes; then
7049 lt_cv_sys_global_symbol_pipe=
7055 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7056 lt_cv_sys_global_symbol_to_cdecl=
7058 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7060 $as_echo "failed" >&6; }
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7063 $as_echo "ok" >&6; }
7066 # Response file support.
7067 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7068 nm_file_list_spec='@'
7069 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7070 nm_file_list_spec='@'
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7100 $as_echo_n "checking for sysroot... " >&6; }
7102 # Check whether --with-sysroot was given.
7103 if test "${with_sysroot+set}" = set; then :
7104 withval=$with_sysroot;
7111 case ${with_sysroot} in #(
7113 if test "$GCC" = yes; then
7114 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7118 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7124 $as_echo "${with_sysroot}" >&6; }
7125 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7130 $as_echo "${lt_sysroot:-no}" >&6; }
7136 # Check whether --enable-libtool-lock was given.
7137 if test "${enable_libtool_lock+set}" = set; then :
7138 enableval=$enable_libtool_lock;
7141 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7143 # Some flags need to be propagated to the compiler or linker for good
7147 # Find out which ABI we are using.
7148 echo 'int i;' > conftest.$ac_ext
7149 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7150 (eval $ac_compile) 2>&5
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153 test $ac_status = 0; }; then
7154 case `/usr/bin/file conftest.$ac_objext` in
7166 # Find out which ABI we are using.
7167 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169 (eval $ac_compile) 2>&5
7171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7172 test $ac_status = 0; }; then
7173 if test "$lt_cv_prog_gnu_ld" = yes; then
7174 case `/usr/bin/file conftest.$ac_objext` in
7176 LD="${LD-ld} -melf32bsmip"
7179 LD="${LD-ld} -melf32bmipn32"
7182 LD="${LD-ld} -melf64bmip"
7186 case `/usr/bin/file conftest.$ac_objext` in
7202 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7203 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7204 # Find out which ABI we are using.
7205 echo 'int i;' > conftest.$ac_ext
7206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7207 (eval $ac_compile) 2>&5
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7210 test $ac_status = 0; }; then
7211 case `/usr/bin/file conftest.o` in
7214 x86_64-*kfreebsd*-gnu)
7215 LD="${LD-ld} -m elf_i386_fbsd"
7218 case `/usr/bin/file conftest.o` in
7220 LD="${LD-ld} -m elf32_x86_64"
7223 LD="${LD-ld} -m elf_i386"
7228 LD="${LD-ld} -m elf32lppclinux"
7231 LD="${LD-ld} -m elf32ppclinux"
7234 LD="${LD-ld} -m elf_s390"
7237 LD="${LD-ld} -m elf32_sparc"
7243 x86_64-*kfreebsd*-gnu)
7244 LD="${LD-ld} -m elf_x86_64_fbsd"
7247 LD="${LD-ld} -m elf_x86_64"
7250 LD="${LD-ld} -m elf64lppc"
7253 LD="${LD-ld} -m elf64ppc"
7255 s390*-*linux*|s390*-*tpf*)
7256 LD="${LD-ld} -m elf64_s390"
7259 LD="${LD-ld} -m elf64_sparc"
7269 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7270 SAVE_CFLAGS="$CFLAGS"
7271 CFLAGS="$CFLAGS -belf"
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7273 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7274 if ${lt_cv_cc_needs_belf+:} false; then :
7275 $as_echo_n "(cached) " >&6
7278 ac_cpp='$CPP $CPPFLAGS'
7279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7284 /* end confdefs.h. */
7294 if ac_fn_c_try_link "$LINENO"; then :
7295 lt_cv_cc_needs_belf=yes
7297 lt_cv_cc_needs_belf=no
7299 rm -f core conftest.err conftest.$ac_objext \
7300 conftest$ac_exeext conftest.$ac_ext
7302 ac_cpp='$CPP $CPPFLAGS'
7303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7309 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7310 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7311 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7312 CFLAGS="$SAVE_CFLAGS"
7316 # Find out which ABI we are using.
7317 echo 'int i;' > conftest.$ac_ext
7318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7319 (eval $ac_compile) 2>&5
7321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7322 test $ac_status = 0; }; then
7323 case `/usr/bin/file conftest.o` in
7325 case $lt_cv_prog_gnu_ld in
7329 LD="${LD-ld} -m elf_x86_64"
7332 LD="${LD-ld} -m elf64_sparc"
7335 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7336 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7341 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7353 need_locks="$enable_libtool_lock"
7355 if test -n "$ac_tool_prefix"; then
7356 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7357 set dummy ${ac_tool_prefix}mt; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7361 $as_echo_n "(cached) " >&6
7363 if test -n "$MANIFEST_TOOL"; then
7364 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7384 if test -n "$MANIFEST_TOOL"; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7386 $as_echo "$MANIFEST_TOOL" >&6; }
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7394 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7395 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7396 # Extract the first word of "mt", so it can be a program name with args.
7397 set dummy mt; ac_word=$2
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399 $as_echo_n "checking for $ac_word... " >&6; }
7400 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7401 $as_echo_n "(cached) " >&6
7403 if test -n "$ac_ct_MANIFEST_TOOL"; then
7404 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 test -z "$as_dir" && as_dir=.
7411 for ac_exec_ext in '' $ac_executable_extensions; do
7412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7413 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7423 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7424 if test -n "$ac_ct_MANIFEST_TOOL"; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7426 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7429 $as_echo "no" >&6; }
7432 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7435 case $cross_compiling:$ac_tool_warned in
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7439 ac_tool_warned=yes ;;
7441 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7444 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7447 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7449 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7450 if ${lt_cv_path_mainfest_tool+:} false; then :
7451 $as_echo_n "(cached) " >&6
7453 lt_cv_path_mainfest_tool=no
7454 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7455 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7456 cat conftest.err >&5
7457 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7458 lt_cv_path_mainfest_tool=yes
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7463 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7464 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7474 rhapsody* | darwin*)
7475 if test -n "$ac_tool_prefix"; then
7476 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7477 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7479 $as_echo_n "checking for $ac_word... " >&6; }
7480 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7481 $as_echo_n "(cached) " >&6
7483 if test -n "$DSYMUTIL"; then
7484 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir=.
7491 for ac_exec_ext in '' $ac_executable_extensions; do
7492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7493 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7503 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7504 if test -n "$DSYMUTIL"; then
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7506 $as_echo "$DSYMUTIL" >&6; }
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509 $as_echo "no" >&6; }
7514 if test -z "$ac_cv_prog_DSYMUTIL"; then
7515 ac_ct_DSYMUTIL=$DSYMUTIL
7516 # Extract the first word of "dsymutil", so it can be a program name with args.
7517 set dummy dsymutil; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7521 $as_echo_n "(cached) " >&6
7523 if test -n "$ac_ct_DSYMUTIL"; then
7524 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 test -z "$as_dir" && as_dir=.
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7533 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7544 if test -n "$ac_ct_DSYMUTIL"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7546 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7552 if test "x$ac_ct_DSYMUTIL" = x; then
7555 case $cross_compiling:$ac_tool_warned in
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7559 ac_tool_warned=yes ;;
7561 DSYMUTIL=$ac_ct_DSYMUTIL
7564 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7567 if test -n "$ac_tool_prefix"; then
7568 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7569 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 $as_echo_n "checking for $ac_word... " >&6; }
7572 if ${ac_cv_prog_NMEDIT+:} false; then :
7573 $as_echo_n "(cached) " >&6
7575 if test -n "$NMEDIT"; then
7576 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 test -z "$as_dir" && as_dir=.
7583 for ac_exec_ext in '' $ac_executable_extensions; do
7584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7585 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7595 NMEDIT=$ac_cv_prog_NMEDIT
7596 if test -n "$NMEDIT"; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7598 $as_echo "$NMEDIT" >&6; }
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7601 $as_echo "no" >&6; }
7606 if test -z "$ac_cv_prog_NMEDIT"; then
7607 ac_ct_NMEDIT=$NMEDIT
7608 # Extract the first word of "nmedit", so it can be a program name with args.
7609 set dummy nmedit; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7613 $as_echo_n "(cached) " >&6
7615 if test -n "$ac_ct_NMEDIT"; then
7616 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7625 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7636 if test -n "$ac_ct_NMEDIT"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7638 $as_echo "$ac_ct_NMEDIT" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7644 if test "x$ac_ct_NMEDIT" = x; then
7647 case $cross_compiling:$ac_tool_warned in
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7651 ac_tool_warned=yes ;;
7653 NMEDIT=$ac_ct_NMEDIT
7656 NMEDIT="$ac_cv_prog_NMEDIT"
7659 if test -n "$ac_tool_prefix"; then
7660 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7661 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7663 $as_echo_n "checking for $ac_word... " >&6; }
7664 if ${ac_cv_prog_LIPO+:} false; then :
7665 $as_echo_n "(cached) " >&6
7667 if test -n "$LIPO"; then
7668 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 test -z "$as_dir" && as_dir=.
7675 for ac_exec_ext in '' $ac_executable_extensions; do
7676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7677 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7687 LIPO=$ac_cv_prog_LIPO
7688 if test -n "$LIPO"; then
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7690 $as_echo "$LIPO" >&6; }
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7693 $as_echo "no" >&6; }
7698 if test -z "$ac_cv_prog_LIPO"; then
7700 # Extract the first word of "lipo", so it can be a program name with args.
7701 set dummy lipo; ac_word=$2
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7703 $as_echo_n "checking for $ac_word... " >&6; }
7704 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7705 $as_echo_n "(cached) " >&6
7707 if test -n "$ac_ct_LIPO"; then
7708 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7714 test -z "$as_dir" && as_dir=.
7715 for ac_exec_ext in '' $ac_executable_extensions; do
7716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7717 ac_cv_prog_ac_ct_LIPO="lipo"
7718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7727 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7728 if test -n "$ac_ct_LIPO"; then
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7730 $as_echo "$ac_ct_LIPO" >&6; }
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7733 $as_echo "no" >&6; }
7736 if test "x$ac_ct_LIPO" = x; then
7739 case $cross_compiling:$ac_tool_warned in
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7743 ac_tool_warned=yes ;;
7748 LIPO="$ac_cv_prog_LIPO"
7751 if test -n "$ac_tool_prefix"; then
7752 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7753 set dummy ${ac_tool_prefix}otool; ac_word=$2
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7755 $as_echo_n "checking for $ac_word... " >&6; }
7756 if ${ac_cv_prog_OTOOL+:} false; then :
7757 $as_echo_n "(cached) " >&6
7759 if test -n "$OTOOL"; then
7760 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 test -z "$as_dir" && as_dir=.
7767 for ac_exec_ext in '' $ac_executable_extensions; do
7768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7769 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 OTOOL=$ac_cv_prog_OTOOL
7780 if test -n "$OTOOL"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7782 $as_echo "$OTOOL" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7785 $as_echo "no" >&6; }
7790 if test -z "$ac_cv_prog_OTOOL"; then
7792 # Extract the first word of "otool", so it can be a program name with args.
7793 set dummy otool; ac_word=$2
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7795 $as_echo_n "checking for $ac_word... " >&6; }
7796 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7797 $as_echo_n "(cached) " >&6
7799 if test -n "$ac_ct_OTOOL"; then
7800 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir=.
7807 for ac_exec_ext in '' $ac_executable_extensions; do
7808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7809 ac_cv_prog_ac_ct_OTOOL="otool"
7810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7819 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7820 if test -n "$ac_ct_OTOOL"; then
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7822 $as_echo "$ac_ct_OTOOL" >&6; }
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7825 $as_echo "no" >&6; }
7828 if test "x$ac_ct_OTOOL" = x; then
7831 case $cross_compiling:$ac_tool_warned in
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7835 ac_tool_warned=yes ;;
7840 OTOOL="$ac_cv_prog_OTOOL"
7843 if test -n "$ac_tool_prefix"; then
7844 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7845 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7847 $as_echo_n "checking for $ac_word... " >&6; }
7848 if ${ac_cv_prog_OTOOL64+:} false; then :
7849 $as_echo_n "(cached) " >&6
7851 if test -n "$OTOOL64"; then
7852 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 test -z "$as_dir" && as_dir=.
7859 for ac_exec_ext in '' $ac_executable_extensions; do
7860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7861 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 OTOOL64=$ac_cv_prog_OTOOL64
7872 if test -n "$OTOOL64"; then
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7874 $as_echo "$OTOOL64" >&6; }
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7877 $as_echo "no" >&6; }
7882 if test -z "$ac_cv_prog_OTOOL64"; then
7883 ac_ct_OTOOL64=$OTOOL64
7884 # Extract the first word of "otool64", so it can be a program name with args.
7885 set dummy otool64; ac_word=$2
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7887 $as_echo_n "checking for $ac_word... " >&6; }
7888 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7889 $as_echo_n "(cached) " >&6
7891 if test -n "$ac_ct_OTOOL64"; then
7892 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898 test -z "$as_dir" && as_dir=.
7899 for ac_exec_ext in '' $ac_executable_extensions; do
7900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7901 ac_cv_prog_ac_ct_OTOOL64="otool64"
7902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7911 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7912 if test -n "$ac_ct_OTOOL64"; then
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7914 $as_echo "$ac_ct_OTOOL64" >&6; }
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917 $as_echo "no" >&6; }
7920 if test "x$ac_ct_OTOOL64" = x; then
7923 case $cross_compiling:$ac_tool_warned in
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7927 ac_tool_warned=yes ;;
7929 OTOOL64=$ac_ct_OTOOL64
7932 OTOOL64="$ac_cv_prog_OTOOL64"
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7962 $as_echo_n "checking for -single_module linker flag... " >&6; }
7963 if ${lt_cv_apple_cc_single_mod+:} false; then :
7964 $as_echo_n "(cached) " >&6
7966 lt_cv_apple_cc_single_mod=no
7967 if test -z "${LT_MULTI_MODULE}"; then
7968 # By default we will add the -single_module flag. You can override
7969 # by either setting the environment variable LT_MULTI_MODULE
7970 # non-empty at configure time, or by adding -multi_module to the
7972 rm -rf libconftest.dylib*
7973 echo "int foo(void){return 1;}" > conftest.c
7974 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7975 -dynamiclib -Wl,-single_module conftest.c" >&5
7976 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7977 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7979 # If there is a non-empty error log, and "single_module"
7980 # appears in it, assume the flag caused a linker warning
7981 if test -s conftest.err && $GREP single_module conftest.err; then
7982 cat conftest.err >&5
7983 # Otherwise, if the output was created with a 0 exit code from
7984 # the compiler, it worked.
7985 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7986 lt_cv_apple_cc_single_mod=yes
7988 cat conftest.err >&5
7990 rm -rf libconftest.dylib*
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7995 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7998 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7999 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8000 $as_echo_n "(cached) " >&6
8002 lt_cv_ld_exported_symbols_list=no
8003 save_LDFLAGS=$LDFLAGS
8004 echo "_main" > conftest.sym
8005 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8007 /* end confdefs.h. */
8017 if ac_fn_c_try_link "$LINENO"; then :
8018 lt_cv_ld_exported_symbols_list=yes
8020 lt_cv_ld_exported_symbols_list=no
8022 rm -f core conftest.err conftest.$ac_objext \
8023 conftest$ac_exeext conftest.$ac_ext
8024 LDFLAGS="$save_LDFLAGS"
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8028 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8031 $as_echo_n "checking for -force_load linker flag... " >&6; }
8032 if ${lt_cv_ld_force_load+:} false; then :
8033 $as_echo_n "(cached) " >&6
8035 lt_cv_ld_force_load=no
8036 cat > conftest.c << _LT_EOF
8037 int forced_loaded() { return 2;}
8039 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8040 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8041 echo "$AR cru libconftest.a conftest.o" >&5
8042 $AR cru libconftest.a conftest.o 2>&5
8043 echo "$RANLIB libconftest.a" >&5
8044 $RANLIB libconftest.a 2>&5
8045 cat > conftest.c << _LT_EOF
8046 int main() { return 0;}
8048 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8049 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8051 if test -s conftest.err && $GREP force_load conftest.err; then
8052 cat conftest.err >&5
8053 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8054 lt_cv_ld_force_load=yes
8056 cat conftest.err >&5
8058 rm -f conftest.err libconftest.a conftest conftest.c
8059 rm -rf conftest.dSYM
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8063 $as_echo "$lt_cv_ld_force_load" >&6; }
8065 rhapsody* | darwin1.[012])
8066 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8068 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8069 darwin*) # darwin 5.x on
8070 # if running on 10.5 or later, the deployment target defaults
8071 # to the OS version, if on x86, and 10.4, the deployment
8072 # target defaults to 10.4. Don't you love it?
8073 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8074 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8075 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8077 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8079 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8083 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8084 _lt_dar_single_mod='$single_module'
8086 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8087 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8089 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8091 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8092 _lt_dsymutil='~$DSYMUTIL $lib || :'
8100 ac_cpp='$CPP $CPPFLAGS'
8101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8105 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8106 # On Suns, sometimes $CPP names a directory.
8107 if test -n "$CPP" && test -d "$CPP"; then
8110 if test -z "$CPP"; then
8111 if ${ac_cv_prog_CPP+:} false; then :
8112 $as_echo_n "(cached) " >&6
8114 # Double quotes because CPP needs to be expanded
8115 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8118 for ac_c_preproc_warn_flag in '' yes
8120 # Use a header file that comes with gcc, so configuring glibc
8121 # with a fresh cross-compiler works.
8122 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8123 # <limits.h> exists even on freestanding compilers.
8124 # On the NeXT, cc -E runs the code through the compiler's parser,
8125 # not just through cpp. "Syntax error" is here to catch this case.
8126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8127 /* end confdefs.h. */
8129 # include <limits.h>
8131 # include <assert.h>
8135 if ac_fn_c_try_cpp "$LINENO"; then :
8138 # Broken: fails on valid input.
8141 rm -f conftest.err conftest.i conftest.$ac_ext
8143 # OK, works on sane cases. Now check whether nonexistent headers
8144 # can be detected and how.
8145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8147 #include <ac_nonexistent.h>
8149 if ac_fn_c_try_cpp "$LINENO"; then :
8150 # Broken: success on invalid input.
8153 # Passes both tests.
8157 rm -f conftest.err conftest.i conftest.$ac_ext
8160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8161 rm -f conftest.i conftest.err conftest.$ac_ext
8162 if $ac_preproc_ok; then :
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8175 $as_echo "$CPP" >&6; }
8177 for ac_c_preproc_warn_flag in '' yes
8179 # Use a header file that comes with gcc, so configuring glibc
8180 # with a fresh cross-compiler works.
8181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8182 # <limits.h> exists even on freestanding compilers.
8183 # On the NeXT, cc -E runs the code through the compiler's parser,
8184 # not just through cpp. "Syntax error" is here to catch this case.
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8188 # include <limits.h>
8190 # include <assert.h>
8194 if ac_fn_c_try_cpp "$LINENO"; then :
8197 # Broken: fails on valid input.
8200 rm -f conftest.err conftest.i conftest.$ac_ext
8202 # OK, works on sane cases. Now check whether nonexistent headers
8203 # can be detected and how.
8204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8206 #include <ac_nonexistent.h>
8208 if ac_fn_c_try_cpp "$LINENO"; then :
8209 # Broken: success on invalid input.
8212 # Passes both tests.
8216 rm -f conftest.err conftest.i conftest.$ac_ext
8219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8220 rm -f conftest.i conftest.err conftest.$ac_ext
8221 if $ac_preproc_ok; then :
8224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8226 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8227 See \`config.log' for more details" "$LINENO" 5; }
8231 ac_cpp='$CPP $CPPFLAGS'
8232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8238 $as_echo_n "checking for ANSI C header files... " >&6; }
8239 if ${ac_cv_header_stdc+:} false; then :
8240 $as_echo_n "(cached) " >&6
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8257 if ac_fn_c_try_compile "$LINENO"; then :
8258 ac_cv_header_stdc=yes
8260 ac_cv_header_stdc=no
8262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8264 if test $ac_cv_header_stdc = yes; then
8265 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8272 $EGREP "memchr" >/dev/null 2>&1; then :
8275 ac_cv_header_stdc=no
8281 if test $ac_cv_header_stdc = yes; then
8282 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8289 $EGREP "free" >/dev/null 2>&1; then :
8292 ac_cv_header_stdc=no
8298 if test $ac_cv_header_stdc = yes; then
8299 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8300 if test "$cross_compiling" = yes; then :
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8307 #if ((' ' & 0x0FF) == 0x020)
8308 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8309 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8311 # define ISLOWER(c) \
8312 (('a' <= (c) && (c) <= 'i') \
8313 || ('j' <= (c) && (c) <= 'r') \
8314 || ('s' <= (c) && (c) <= 'z'))
8315 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8318 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8323 for (i = 0; i < 256; i++)
8324 if (XOR (islower (i), ISLOWER (i))
8325 || toupper (i) != TOUPPER (i))
8330 if ac_fn_c_try_run "$LINENO"; then :
8333 ac_cv_header_stdc=no
8335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8336 conftest.$ac_objext conftest.beam conftest.$ac_ext
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8342 $as_echo "$ac_cv_header_stdc" >&6; }
8343 if test $ac_cv_header_stdc = yes; then
8345 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8349 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8350 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8351 inttypes.h stdint.h unistd.h
8353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8354 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8356 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8357 cat >>confdefs.h <<_ACEOF
8358 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8366 for ac_header in dlfcn.h
8368 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8370 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8371 cat >>confdefs.h <<_ACEOF
8372 #define HAVE_DLFCN_H 1
8381 func_stripname_cnf ()
8384 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8385 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8387 } # func_stripname_cnf
8394 enable_win32_dll=yes
8397 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8398 if test -n "$ac_tool_prefix"; then
8399 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8400 set dummy ${ac_tool_prefix}as; ac_word=$2
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8402 $as_echo_n "checking for $ac_word... " >&6; }
8403 if ${ac_cv_prog_AS+:} false; then :
8404 $as_echo_n "(cached) " >&6
8406 if test -n "$AS"; then
8407 ac_cv_prog_AS="$AS" # Let the user override the test.
8409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8413 test -z "$as_dir" && as_dir=.
8414 for ac_exec_ext in '' $ac_executable_extensions; do
8415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8416 ac_cv_prog_AS="${ac_tool_prefix}as"
8417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8427 if test -n "$AS"; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8429 $as_echo "$AS" >&6; }
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8432 $as_echo "no" >&6; }
8437 if test -z "$ac_cv_prog_AS"; then
8439 # Extract the first word of "as", so it can be a program name with args.
8440 set dummy as; ac_word=$2
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8442 $as_echo_n "checking for $ac_word... " >&6; }
8443 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8444 $as_echo_n "(cached) " >&6
8446 if test -n "$ac_ct_AS"; then
8447 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8453 test -z "$as_dir" && as_dir=.
8454 for ac_exec_ext in '' $ac_executable_extensions; do
8455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8456 ac_cv_prog_ac_ct_AS="as"
8457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8466 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8467 if test -n "$ac_ct_AS"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8469 $as_echo "$ac_ct_AS" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 $as_echo "no" >&6; }
8475 if test "x$ac_ct_AS" = x; then
8478 case $cross_compiling:$ac_tool_warned in
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8482 ac_tool_warned=yes ;;
8490 if test -n "$ac_tool_prefix"; then
8491 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8492 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8494 $as_echo_n "checking for $ac_word... " >&6; }
8495 if ${ac_cv_prog_DLLTOOL+:} false; then :
8496 $as_echo_n "(cached) " >&6
8498 if test -n "$DLLTOOL"; then
8499 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8505 test -z "$as_dir" && as_dir=.
8506 for ac_exec_ext in '' $ac_executable_extensions; do
8507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8508 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8518 DLLTOOL=$ac_cv_prog_DLLTOOL
8519 if test -n "$DLLTOOL"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8521 $as_echo "$DLLTOOL" >&6; }
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8529 if test -z "$ac_cv_prog_DLLTOOL"; then
8530 ac_ct_DLLTOOL=$DLLTOOL
8531 # Extract the first word of "dlltool", so it can be a program name with args.
8532 set dummy dlltool; ac_word=$2
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8534 $as_echo_n "checking for $ac_word... " >&6; }
8535 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8536 $as_echo_n "(cached) " >&6
8538 if test -n "$ac_ct_DLLTOOL"; then
8539 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8545 test -z "$as_dir" && as_dir=.
8546 for ac_exec_ext in '' $ac_executable_extensions; do
8547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8548 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8558 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8559 if test -n "$ac_ct_DLLTOOL"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8561 $as_echo "$ac_ct_DLLTOOL" >&6; }
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8567 if test "x$ac_ct_DLLTOOL" = x; then
8570 case $cross_compiling:$ac_tool_warned in
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8574 ac_tool_warned=yes ;;
8576 DLLTOOL=$ac_ct_DLLTOOL
8579 DLLTOOL="$ac_cv_prog_DLLTOOL"
8582 if test -n "$ac_tool_prefix"; then
8583 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8584 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8586 $as_echo_n "checking for $ac_word... " >&6; }
8587 if ${ac_cv_prog_OBJDUMP+:} false; then :
8588 $as_echo_n "(cached) " >&6
8590 if test -n "$OBJDUMP"; then
8591 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8597 test -z "$as_dir" && as_dir=.
8598 for ac_exec_ext in '' $ac_executable_extensions; do
8599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8600 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8610 OBJDUMP=$ac_cv_prog_OBJDUMP
8611 if test -n "$OBJDUMP"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8613 $as_echo "$OBJDUMP" >&6; }
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8616 $as_echo "no" >&6; }
8621 if test -z "$ac_cv_prog_OBJDUMP"; then
8622 ac_ct_OBJDUMP=$OBJDUMP
8623 # Extract the first word of "objdump", so it can be a program name with args.
8624 set dummy objdump; ac_word=$2
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8626 $as_echo_n "checking for $ac_word... " >&6; }
8627 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8628 $as_echo_n "(cached) " >&6
8630 if test -n "$ac_ct_OBJDUMP"; then
8631 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8637 test -z "$as_dir" && as_dir=.
8638 for ac_exec_ext in '' $ac_executable_extensions; do
8639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8640 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8650 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8651 if test -n "$ac_ct_OBJDUMP"; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8653 $as_echo "$ac_ct_OBJDUMP" >&6; }
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8656 $as_echo "no" >&6; }
8659 if test "x$ac_ct_OBJDUMP" = x; then
8662 case $cross_compiling:$ac_tool_warned in
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8666 ac_tool_warned=yes ;;
8668 OBJDUMP=$ac_ct_OBJDUMP
8671 OBJDUMP="$ac_cv_prog_OBJDUMP"
8677 test -z "$AS" && AS=as
8683 test -z "$DLLTOOL" && DLLTOOL=dlltool
8689 test -z "$OBJDUMP" && OBJDUMP=objdump
8701 # Check whether --enable-shared was given.
8702 if test "${enable_shared+set}" = set; then :
8703 enableval=$enable_shared; p=${PACKAGE-default}
8705 yes) enable_shared=yes ;;
8706 no) enable_shared=no ;;
8709 # Look at the argument we got. We use all the common list separators.
8710 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8711 for pkg in $enableval; do
8713 if test "X$pkg" = "X$p"; then
8734 # Check whether --with-pic was given.
8735 if test "${with_pic+set}" = set; then :
8736 withval=$with_pic; lt_p=${PACKAGE-default}
8738 yes|no) pic_mode=$withval ;;
8741 # Look at the argument we got. We use all the common list separators.
8742 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8743 for lt_pkg in $withval; do
8745 if test "X$lt_pkg" = "X$lt_p"; then
8757 test -z "$pic_mode" && pic_mode=default
8765 # Check whether --enable-fast-install was given.
8766 if test "${enable_fast_install+set}" = set; then :
8767 enableval=$enable_fast_install; p=${PACKAGE-default}
8769 yes) enable_fast_install=yes ;;
8770 no) enable_fast_install=no ;;
8772 enable_fast_install=no
8773 # Look at the argument we got. We use all the common list separators.
8774 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8775 for pkg in $enableval; do
8777 if test "X$pkg" = "X$p"; then
8778 enable_fast_install=yes
8785 enable_fast_install=yes
8798 # This can be used to rebuild libtool when needed
8799 LIBTOOL_DEPS="$ltmain"
8801 # Always use our own libtool.
8802 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8833 test -z "$LN_S" && LN_S="ln -s"
8848 if test -n "${ZSH_VERSION+set}" ; then
8849 setopt NO_GLOB_SUBST
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8853 $as_echo_n "checking for objdir... " >&6; }
8854 if ${lt_cv_objdir+:} false; then :
8855 $as_echo_n "(cached) " >&6
8857 rm -f .libs 2>/dev/null
8858 mkdir .libs 2>/dev/null
8859 if test -d .libs; then
8862 # MS-DOS does not allow filenames that begin with a dot.
8865 rmdir .libs 2>/dev/null
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8868 $as_echo "$lt_cv_objdir" >&6; }
8869 objdir=$lt_cv_objdir
8875 cat >>confdefs.h <<_ACEOF
8876 #define LT_OBJDIR "$lt_cv_objdir/"
8884 # AIX sometimes has problems with the GCC collect2 program. For some
8885 # reason, if we set the COLLECT_NAMES environment variable, the problems
8886 # vanish in a puff of smoke.
8887 if test "X${COLLECT_NAMES+set}" != Xset; then
8889 export COLLECT_NAMES
8896 can_build_shared=yes
8898 # All known linkers require a `.a' archive for static linking (except MSVC,
8899 # which needs '.lib').
8902 with_gnu_ld="$lt_cv_prog_gnu_ld"
8905 old_CFLAGS="$CFLAGS"
8907 # Set sane defaults for various variables
8908 test -z "$CC" && CC=cc
8909 test -z "$LTCC" && LTCC=$CC
8910 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8911 test -z "$LD" && LD=ld
8912 test -z "$ac_objext" && ac_objext=o
8914 for cc_temp in $compiler""; do
8916 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8917 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8922 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8925 # Only perform the check for file, if the check method requires it
8926 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8927 case $deplibs_check_method in
8929 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8931 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8932 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8933 $as_echo_n "(cached) " >&6
8937 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8940 lt_save_MAGIC_CMD="$MAGIC_CMD"
8941 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8942 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8943 for ac_dir in $ac_dummy; do
8945 test -z "$ac_dir" && ac_dir=.
8946 if test -f $ac_dir/${ac_tool_prefix}file; then
8947 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8948 if test -n "$file_magic_test_file"; then
8949 case $deplibs_check_method in
8951 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8952 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8953 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8954 $EGREP "$file_magic_regex" > /dev/null; then
8959 *** Warning: the command libtool uses to detect shared libraries,
8960 *** $file_magic_cmd, produces output that libtool cannot recognize.
8961 *** The result is that libtool may fail to recognize shared libraries
8962 *** as such. This will affect the creation of libtool libraries that
8963 *** depend on shared libraries, but programs linked with such libtool
8964 *** libraries will work regardless of this problem. Nevertheless, you
8965 *** may want to report the problem to your system manager and/or to
8966 *** bug-libtool@gnu.org
8976 MAGIC_CMD="$lt_save_MAGIC_CMD"
8981 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8982 if test -n "$MAGIC_CMD"; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8984 $as_echo "$MAGIC_CMD" >&6; }
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987 $as_echo "no" >&6; }
8994 if test -z "$lt_cv_path_MAGIC_CMD"; then
8995 if test -n "$ac_tool_prefix"; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8997 $as_echo_n "checking for file... " >&6; }
8998 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8999 $as_echo_n "(cached) " >&6
9003 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9006 lt_save_MAGIC_CMD="$MAGIC_CMD"
9007 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9008 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9009 for ac_dir in $ac_dummy; do
9011 test -z "$ac_dir" && ac_dir=.
9012 if test -f $ac_dir/file; then
9013 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9014 if test -n "$file_magic_test_file"; then
9015 case $deplibs_check_method in
9017 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9018 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9019 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9020 $EGREP "$file_magic_regex" > /dev/null; then
9025 *** Warning: the command libtool uses to detect shared libraries,
9026 *** $file_magic_cmd, produces output that libtool cannot recognize.
9027 *** The result is that libtool may fail to recognize shared libraries
9028 *** as such. This will affect the creation of libtool libraries that
9029 *** depend on shared libraries, but programs linked with such libtool
9030 *** libraries will work regardless of this problem. Nevertheless, you
9031 *** may want to report the problem to your system manager and/or to
9032 *** bug-libtool@gnu.org
9042 MAGIC_CMD="$lt_save_MAGIC_CMD"
9047 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9048 if test -n "$MAGIC_CMD"; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9050 $as_echo "$MAGIC_CMD" >&6; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 $as_echo "no" >&6; }
9066 # Use C for the default configuration in the libtool script
9070 ac_cpp='$CPP $CPPFLAGS'
9071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9076 # Source file extension for C test sources.
9079 # Object file extension for compiled C test sources.
9083 # Code to be used in simple compile tests
9084 lt_simple_compile_test_code="int some_variable = 0;"
9086 # Code to be used in simple link tests
9087 lt_simple_link_test_code='int main(){return(0);}'
9095 # If no C compiler was specified, use CC.
9098 # If no C compiler flags were specified, use CFLAGS.
9099 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9101 # Allow CC to be a program name with arguments.
9104 # Save the default compiler, since it gets overwritten when the other
9105 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9106 compiler_DEFAULT=$CC
9108 # save warnings/boilerplate of simple test code
9109 ac_outfile=conftest.$ac_objext
9110 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9111 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9112 _lt_compiler_boilerplate=`cat conftest.err`
9115 ac_outfile=conftest.$ac_objext
9116 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9117 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9118 _lt_linker_boilerplate=`cat conftest.err`
9123 ## There is no encapsulation within the following macros, do not change
9124 ## the running order or otherwise move them around unless you know exactly
9125 ## what you are doing...
9126 if test -n "$compiler"; then
9128 lt_prog_compiler_no_builtin_flag=
9130 if test "$GCC" = yes; then
9131 case $cc_basename in
9133 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9135 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9139 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9140 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9141 $as_echo_n "(cached) " >&6
9143 lt_cv_prog_compiler_rtti_exceptions=no
9144 ac_outfile=conftest.$ac_objext
9145 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9146 lt_compiler_flag="-fno-rtti -fno-exceptions"
9147 # Insert the option either (1) after the last *FLAGS variable, or
9148 # (2) before a word containing "conftest.", or (3) at the end.
9149 # Note that $ac_compile itself does not contain backslashes and begins
9150 # with a dollar sign (not a hyphen), so the echo should work correctly.
9151 # The option is referenced via a variable to avoid confusing sed.
9152 lt_compile=`echo "$ac_compile" | $SED \
9153 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9154 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9155 -e 's:$: $lt_compiler_flag:'`
9156 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9157 (eval "$lt_compile" 2>conftest.err)
9159 cat conftest.err >&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 if (exit $ac_status) && test -s "$ac_outfile"; then
9162 # The compiler can only warn and ignore the option if not recognized
9163 # So say no if there are warnings other than the usual output.
9164 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9165 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9166 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9167 lt_cv_prog_compiler_rtti_exceptions=yes
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9174 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9176 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9177 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9189 lt_prog_compiler_wl=
9190 lt_prog_compiler_pic=
9191 lt_prog_compiler_static=
9194 if test "$GCC" = yes; then
9195 lt_prog_compiler_wl='-Wl,'
9196 lt_prog_compiler_static='-static'
9200 # All AIX code is PIC.
9201 if test "$host_cpu" = ia64; then
9202 # AIX 5 now supports IA64 processor
9203 lt_prog_compiler_static='-Bstatic'
9210 # see comment about AmigaOS4 .so support
9211 lt_prog_compiler_pic='-fPIC'
9214 # FIXME: we need at least 68020 code to build shared libraries, but
9215 # adding the `-m68020' flag to GCC prevents building anything better,
9217 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9222 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9223 # PIC is the default for these OSes.
9226 mingw* | cygwin* | pw32* | os2* | cegcc*)
9227 # This hack is so that the source file can tell whether it is being
9228 # built for inclusion in a dll (and should export symbols for example).
9229 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9230 # (--disable-auto-import) libraries
9231 lt_prog_compiler_pic='-DDLL_EXPORT'
9234 darwin* | rhapsody*)
9235 # PIC is the default on this platform
9236 # Common symbols not allowed in MH_DYLIB files
9237 lt_prog_compiler_pic='-fno-common'
9241 # PIC is the default for Haiku.
9242 # The "-static" flag exists, but is broken.
9243 lt_prog_compiler_static=
9247 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9248 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9249 # sets the default TLS model and affects inlining.
9255 lt_prog_compiler_pic='-fPIC'
9261 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9262 # Instead, we relocate shared libraries at runtime.
9266 # Just because we use GCC doesn't mean we suddenly get shared libraries
9267 # on systems that don't support them.
9268 lt_prog_compiler_can_build_shared=no
9273 # QNX uses GNU C++, but need to define -shared option too, otherwise
9275 lt_prog_compiler_pic='-fPIC -shared'
9279 if test -d /usr/nec; then
9280 lt_prog_compiler_pic=-Kconform_pic
9285 lt_prog_compiler_pic='-fPIC'
9289 case $cc_basename in
9290 nvcc*) # Cuda Compiler Driver 2.2
9291 lt_prog_compiler_wl='-Xlinker '
9292 if test -n "$lt_prog_compiler_pic"; then
9293 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9298 # PORTME Check for flag to pass linker flags through the system compiler.
9301 lt_prog_compiler_wl='-Wl,'
9302 if test "$host_cpu" = ia64; then
9303 # AIX 5 now supports IA64 processor
9304 lt_prog_compiler_static='-Bstatic'
9306 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9310 mingw* | cygwin* | pw32* | os2* | cegcc*)
9311 # This hack is so that the source file can tell whether it is being
9312 # built for inclusion in a dll (and should export symbols for example).
9313 lt_prog_compiler_pic='-DDLL_EXPORT'
9316 hpux9* | hpux10* | hpux11*)
9317 lt_prog_compiler_wl='-Wl,'
9318 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9325 lt_prog_compiler_pic='+Z'
9328 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9329 lt_prog_compiler_static='${wl}-a ${wl}archive'
9332 irix5* | irix6* | nonstopux*)
9333 lt_prog_compiler_wl='-Wl,'
9334 # PIC (with -KPIC) is the default.
9335 lt_prog_compiler_static='-non_shared'
9338 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9339 case $cc_basename in
9340 # old Intel for x86_64 which still supported -KPIC.
9342 lt_prog_compiler_wl='-Wl,'
9343 lt_prog_compiler_pic='-KPIC'
9344 lt_prog_compiler_static='-static'
9346 # icc used to be incompatible with GCC.
9347 # ICC 10 doesn't accept -KPIC any more.
9349 lt_prog_compiler_wl='-Wl,'
9350 lt_prog_compiler_pic='-fPIC'
9351 lt_prog_compiler_static='-static'
9353 # Lahey Fortran 8.1.
9355 lt_prog_compiler_wl='-Wl,'
9356 lt_prog_compiler_pic='--shared'
9357 lt_prog_compiler_static='--static'
9360 # NAG Fortran compiler
9361 lt_prog_compiler_wl='-Wl,-Wl,,'
9362 lt_prog_compiler_pic='-PIC'
9363 lt_prog_compiler_static='-Bstatic'
9365 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9366 # Portland Group compilers (*not* the Pentium gcc compiler,
9367 # which looks to be a dead project)
9368 lt_prog_compiler_wl='-Wl,'
9369 lt_prog_compiler_pic='-fpic'
9370 lt_prog_compiler_static='-Bstatic'
9373 lt_prog_compiler_wl='-Wl,'
9374 # All Alpha code is PIC.
9375 lt_prog_compiler_static='-non_shared'
9377 xl* | bgxl* | bgf* | mpixl*)
9378 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9379 lt_prog_compiler_wl='-Wl,'
9380 lt_prog_compiler_pic='-qpic'
9381 lt_prog_compiler_static='-qstaticlink'
9384 case `$CC -V 2>&1 | sed 5q` in
9385 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9386 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9387 lt_prog_compiler_pic='-KPIC'
9388 lt_prog_compiler_static='-Bstatic'
9389 lt_prog_compiler_wl=''
9391 *Sun\ F* | *Sun*Fortran*)
9392 lt_prog_compiler_pic='-KPIC'
9393 lt_prog_compiler_static='-Bstatic'
9394 lt_prog_compiler_wl='-Qoption ld '
9398 lt_prog_compiler_pic='-KPIC'
9399 lt_prog_compiler_static='-Bstatic'
9400 lt_prog_compiler_wl='-Wl,'
9402 *Intel*\ [CF]*Compiler*)
9403 lt_prog_compiler_wl='-Wl,'
9404 lt_prog_compiler_pic='-fPIC'
9405 lt_prog_compiler_static='-static'
9408 lt_prog_compiler_wl='-Wl,'
9409 lt_prog_compiler_pic='-fpic'
9410 lt_prog_compiler_static='-Bstatic'
9418 lt_prog_compiler_pic='-KPIC'
9419 lt_prog_compiler_static='-Bstatic'
9423 # QNX uses GNU C++, but need to define -shared option too, otherwise
9425 lt_prog_compiler_pic='-fPIC -shared'
9428 osf3* | osf4* | osf5*)
9429 lt_prog_compiler_wl='-Wl,'
9430 # All OSF/1 code is PIC.
9431 lt_prog_compiler_static='-non_shared'
9435 lt_prog_compiler_static='-non_shared'
9439 lt_prog_compiler_pic='-KPIC'
9440 lt_prog_compiler_static='-Bstatic'
9441 case $cc_basename in
9442 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9443 lt_prog_compiler_wl='-Qoption ld ';;
9445 lt_prog_compiler_wl='-Wl,';;
9450 lt_prog_compiler_wl='-Qoption ld '
9451 lt_prog_compiler_pic='-PIC'
9452 lt_prog_compiler_static='-Bstatic'
9455 sysv4 | sysv4.2uw2* | sysv4.3*)
9456 lt_prog_compiler_wl='-Wl,'
9457 lt_prog_compiler_pic='-KPIC'
9458 lt_prog_compiler_static='-Bstatic'
9462 if test -d /usr/nec ;then
9463 lt_prog_compiler_pic='-Kconform_pic'
9464 lt_prog_compiler_static='-Bstatic'
9468 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9469 lt_prog_compiler_wl='-Wl,'
9470 lt_prog_compiler_pic='-KPIC'
9471 lt_prog_compiler_static='-Bstatic'
9475 lt_prog_compiler_wl='-Wl,'
9476 lt_prog_compiler_can_build_shared=no
9480 lt_prog_compiler_pic='-pic'
9481 lt_prog_compiler_static='-Bstatic'
9485 lt_prog_compiler_can_build_shared=no
9491 # For platforms which do not support PIC, -DPIC is meaningless:
9493 lt_prog_compiler_pic=
9496 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9501 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9502 if ${lt_cv_prog_compiler_pic+:} false; then :
9503 $as_echo_n "(cached) " >&6
9505 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9508 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9509 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9512 # Check to make sure the PIC flag actually works.
9514 if test -n "$lt_prog_compiler_pic"; then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9516 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9517 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9518 $as_echo_n "(cached) " >&6
9520 lt_cv_prog_compiler_pic_works=no
9521 ac_outfile=conftest.$ac_objext
9522 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9523 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9524 # Insert the option either (1) after the last *FLAGS variable, or
9525 # (2) before a word containing "conftest.", or (3) at the end.
9526 # Note that $ac_compile itself does not contain backslashes and begins
9527 # with a dollar sign (not a hyphen), so the echo should work correctly.
9528 # The option is referenced via a variable to avoid confusing sed.
9529 lt_compile=`echo "$ac_compile" | $SED \
9530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9531 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9532 -e 's:$: $lt_compiler_flag:'`
9533 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9534 (eval "$lt_compile" 2>conftest.err)
9536 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 if (exit $ac_status) && test -s "$ac_outfile"; then
9539 # The compiler can only warn and ignore the option if not recognized
9540 # So say no if there are warnings other than the usual output.
9541 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9542 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9543 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9544 lt_cv_prog_compiler_pic_works=yes
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9551 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9553 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9554 case $lt_prog_compiler_pic in
9556 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9559 lt_prog_compiler_pic=
9560 lt_prog_compiler_can_build_shared=no
9576 # Check to make sure the static flag actually works.
9578 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9580 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9581 if ${lt_cv_prog_compiler_static_works+:} false; then :
9582 $as_echo_n "(cached) " >&6
9584 lt_cv_prog_compiler_static_works=no
9585 save_LDFLAGS="$LDFLAGS"
9586 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9587 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9588 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9589 # The linker can only warn and ignore the option if not recognized
9590 # So say no if there are warnings
9591 if test -s conftest.err; then
9592 # Append any errors to the config.log.
9593 cat conftest.err 1>&5
9594 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9595 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9596 if diff conftest.exp conftest.er2 >/dev/null; then
9597 lt_cv_prog_compiler_static_works=yes
9600 lt_cv_prog_compiler_static_works=yes
9604 LDFLAGS="$save_LDFLAGS"
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9608 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9610 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9613 lt_prog_compiler_static=
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9623 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9624 if ${lt_cv_prog_compiler_c_o+:} false; then :
9625 $as_echo_n "(cached) " >&6
9627 lt_cv_prog_compiler_c_o=no
9628 $RM -r conftest 2>/dev/null
9632 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9634 lt_compiler_flag="-o out/conftest2.$ac_objext"
9635 # Insert the option either (1) after the last *FLAGS variable, or
9636 # (2) before a word containing "conftest.", or (3) at the end.
9637 # Note that $ac_compile itself does not contain backslashes and begins
9638 # with a dollar sign (not a hyphen), so the echo should work correctly.
9639 lt_compile=`echo "$ac_compile" | $SED \
9640 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9641 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9642 -e 's:$: $lt_compiler_flag:'`
9643 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9644 (eval "$lt_compile" 2>out/conftest.err)
9646 cat out/conftest.err >&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9650 # The compiler can only warn and ignore the option if not recognized
9651 # So say no if there are warnings
9652 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9653 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9654 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9655 lt_cv_prog_compiler_c_o=yes
9660 # SGI C++ compiler will create directory out/ii_files/ for
9661 # template instantiation
9662 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9663 $RM out/* && rmdir out
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9670 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9679 if ${lt_cv_prog_compiler_c_o+:} false; then :
9680 $as_echo_n "(cached) " >&6
9682 lt_cv_prog_compiler_c_o=no
9683 $RM -r conftest 2>/dev/null
9687 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9689 lt_compiler_flag="-o out/conftest2.$ac_objext"
9690 # Insert the option either (1) after the last *FLAGS variable, or
9691 # (2) before a word containing "conftest.", or (3) at the end.
9692 # Note that $ac_compile itself does not contain backslashes and begins
9693 # with a dollar sign (not a hyphen), so the echo should work correctly.
9694 lt_compile=`echo "$ac_compile" | $SED \
9695 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9696 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9697 -e 's:$: $lt_compiler_flag:'`
9698 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9699 (eval "$lt_compile" 2>out/conftest.err)
9701 cat out/conftest.err >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9705 # The compiler can only warn and ignore the option if not recognized
9706 # So say no if there are warnings
9707 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9708 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9709 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9710 lt_cv_prog_compiler_c_o=yes
9715 # SGI C++ compiler will create directory out/ii_files/ for
9716 # template instantiation
9717 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9718 $RM out/* && rmdir out
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9730 hard_links="nottested"
9731 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9732 # do not overwrite the value of need_locks provided by the user
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9734 $as_echo_n "checking if we can lock with hard links... " >&6; }
9737 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9739 ln conftest.a conftest.b 2>&5 || hard_links=no
9740 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9742 $as_echo "$hard_links" >&6; }
9743 if test "$hard_links" = no; then
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9745 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9758 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9761 allow_undefined_flag=
9762 always_export_symbols=no
9764 archive_expsym_cmds=
9765 compiler_needs_object=no
9766 enable_shared_with_static_runtimes=no
9767 export_dynamic_flag_spec=
9768 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9769 hardcode_automatic=no
9771 hardcode_direct_absolute=no
9772 hardcode_libdir_flag_spec=
9773 hardcode_libdir_separator=
9775 hardcode_shlibpath_var=unsupported
9777 link_all_deplibs=unknown
9780 old_archive_from_new_cmds=
9781 old_archive_from_expsyms_cmds=
9782 thread_safe_flag_spec=
9783 whole_archive_flag_spec=
9784 # include_expsyms should be a list of space-separated symbols to be *always*
9785 # included in the symbol list
9787 # exclude_expsyms can be an extended regexp of symbols to exclude
9788 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9789 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9790 # as well as any symbol that contains `d'.
9791 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9792 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9793 # platforms (ab)use it in PIC code, but their linkers get confused if
9794 # the symbol is explicitly referenced. Since portable code cannot
9795 # rely on this symbol name, it's probably fine to never include it in
9796 # preloaded symbol tables.
9797 # Exclude shared library initialization/finalization symbols.
9798 extract_expsyms_cmds=
9801 cygwin* | mingw* | pw32* | cegcc*)
9802 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9803 # When not using gcc, we currently assume that we are using
9804 # Microsoft Visual C++.
9805 if test "$GCC" != yes; then
9810 # we just hope/assume this is gcc and not c89 (= MSVC++)
9816 linux* | k*bsd*-gnu | gnu*)
9823 # On some targets, GNU ld is compatible enough with the native linker
9824 # that we're better off using the native interface for both.
9825 lt_use_gnu_ld_interface=no
9826 if test "$with_gnu_ld" = yes; then
9829 # The AIX port of GNU ld has always aspired to compatibility
9830 # with the native linker. However, as the warning in the GNU ld
9831 # block says, versions before 2.19.5* couldn't really create working
9832 # shared libraries, regardless of the interface used.
9833 case `$LD -v 2>&1` in
9834 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9835 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9836 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9838 lt_use_gnu_ld_interface=yes
9843 lt_use_gnu_ld_interface=yes
9848 if test "$lt_use_gnu_ld_interface" = yes; then
9849 # If archive_cmds runs LD, not CC, wlarc should be empty
9852 # Set some defaults for GNU ld with shared library support. These
9853 # are reset later if shared libraries are not supported. Putting them
9854 # here allows them to be overridden if necessary.
9855 runpath_var=LD_RUN_PATH
9856 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9857 export_dynamic_flag_spec='${wl}--export-dynamic'
9858 # ancient GNU ld didn't support --whole-archive et. al.
9859 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9860 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9862 whole_archive_flag_spec=
9864 supports_anon_versioning=no
9865 case `$LD -v 2>&1` in
9866 *GNU\ gold*) supports_anon_versioning=yes ;;
9867 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9868 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9869 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9870 *\ 2.11.*) ;; # other 2.11 versions
9871 *) supports_anon_versioning=yes ;;
9874 # See if GNU ld supports shared libraries.
9877 # On AIX/PPC, the GNU linker is very broken
9878 if test "$host_cpu" != ia64; then
9882 *** Warning: the GNU linker, at least up to release 2.19, is reported
9883 *** to be unable to reliably create shared libraries on AIX.
9884 *** Therefore, libtool is disabling shared libraries support. If you
9885 *** really care for shared libraries, you may want to install binutils
9886 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9887 *** You will then need to restart the configuration process.
9896 # see comment about AmigaOS4 .so support
9897 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9898 archive_expsym_cmds=''
9901 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)'
9902 hardcode_libdir_flag_spec='-L$libdir'
9903 hardcode_minus_L=yes
9909 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9910 allow_undefined_flag=unsupported
9911 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9912 # support --undefined. This deserves some investigation. FIXME
9913 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9919 cygwin* | mingw* | pw32* | cegcc*)
9920 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9921 # as there is no search path for DLLs.
9922 hardcode_libdir_flag_spec='-L$libdir'
9923 export_dynamic_flag_spec='${wl}--export-all-symbols'
9924 allow_undefined_flag=unsupported
9925 always_export_symbols=no
9926 enable_shared_with_static_runtimes=yes
9927 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'
9928 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9930 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9931 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9932 # If the export-symbols file already is a .def file (1st line
9933 # is EXPORTS), use it as is; otherwise, prepend...
9934 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9935 cp $export_symbols $output_objdir/$soname.def;
9937 echo EXPORTS > $output_objdir/$soname.def;
9938 cat $export_symbols >> $output_objdir/$soname.def;
9940 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9947 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9948 link_all_deplibs=yes
9953 hardcode_shlibpath_var=no
9954 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 export_dynamic_flag_spec='${wl}-E'
9956 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9957 # Instead, shared libraries are loaded at an image base (0x10000000 by
9958 # default) and relocated if they conflict, which is a slow very memory
9959 # consuming and fragmenting process. To avoid this, we pick a random,
9960 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9961 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9962 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9963 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'
9966 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9968 if test "$host_os" = linux-dietlibc; then
9969 case $cc_basename in
9970 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9973 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9974 && test "$tmp_diet" = no
9976 tmp_addflag=' $pic_flag'
9977 tmp_sharedflag='-shared'
9978 case $cc_basename,$host_cpu in
9979 pgcc*) # Portland Group C compiler
9980 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'
9981 tmp_addflag=' $pic_flag'
9983 pgf77* | pgf90* | pgf95* | pgfortran*)
9984 # Portland Group f77 and f90 compilers
9985 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'
9986 tmp_addflag=' $pic_flag -Mnomain' ;;
9987 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9988 tmp_addflag=' -i_dynamic' ;;
9989 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9990 tmp_addflag=' -i_dynamic -nofor_main' ;;
9991 ifc* | ifort*) # Intel Fortran compiler
9992 tmp_addflag=' -nofor_main' ;;
9993 lf95*) # Lahey Fortran 8.1
9994 whole_archive_flag_spec=
9995 tmp_sharedflag='--shared' ;;
9996 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9997 tmp_sharedflag='-qmkshrobj'
9999 nvcc*) # Cuda Compiler Driver 2.2
10000 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'
10001 compiler_needs_object=yes
10004 case `$CC -V 2>&1 | sed 5q` in
10005 *Sun\ C*) # Sun C 5.9
10006 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'
10007 compiler_needs_object=yes
10008 tmp_sharedflag='-G' ;;
10009 *Sun\ F*) # Sun Fortran 8.3
10010 tmp_sharedflag='-G' ;;
10012 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10014 if test "x$supports_anon_versioning" = xyes; then
10015 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10016 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10017 echo "local: *; };" >> $output_objdir/$libname.ver~
10018 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10021 case $cc_basename in
10022 xlf* | bgf* | bgxlf* | mpixlf*)
10023 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10024 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10025 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10026 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10027 if test "x$supports_anon_versioning" = xyes; then
10028 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10029 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10030 echo "local: *; };" >> $output_objdir/$libname.ver~
10031 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10040 netbsd* | netbsdelf*-gnu)
10041 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10042 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10045 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10046 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10051 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10055 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10056 *** create shared libraries on Solaris systems. Therefore, libtool
10057 *** is disabling shared libraries support. We urge you to upgrade GNU
10058 *** binutils to release 2.9.1 or newer. Another option is to modify
10059 *** your PATH or compiler configuration so that the native linker is
10060 *** used, and then restart.
10063 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10064 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10065 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10071 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10072 case `$LD -v 2>&1` in
10073 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10077 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10078 *** reliably create shared libraries on SCO systems. Therefore, libtool
10079 *** is disabling shared libraries support. We urge you to upgrade GNU
10080 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10081 *** your PATH or compiler configuration so that the native linker is
10082 *** used, and then restart.
10087 # For security reasons, it is highly recommended that you always
10088 # use absolute paths for naming shared libraries, and exclude the
10089 # DT_RUNPATH tag from executables and libraries. But doing so
10090 # requires that you compile everything twice, which is a pain.
10091 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10092 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10093 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10094 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10103 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10105 hardcode_direct=yes
10106 hardcode_shlibpath_var=no
10110 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10111 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10112 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10119 if test "$ld_shlibs" = no; then
10121 hardcode_libdir_flag_spec=
10122 export_dynamic_flag_spec=
10123 whole_archive_flag_spec=
10126 # PORTME fill in a description of your system's linker (not GNU ld)
10129 allow_undefined_flag=unsupported
10130 always_export_symbols=yes
10131 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'
10132 # Note: this linker hardcodes the directories in LIBPATH if there
10133 # are no directories specified by -L.
10134 hardcode_minus_L=yes
10135 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10136 # Neither direct hardcoding nor static linking is supported with a
10138 hardcode_direct=unsupported
10143 if test "$host_cpu" = ia64; then
10144 # On IA64, the linker does run time linking by default, so we don't
10145 # have to do anything special.
10146 aix_use_runtimelinking=no
10147 exp_sym_flag='-Bexport'
10150 # If we're using GNU nm, then we don't want the "-C" option.
10151 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10152 # Also, AIX nm treats weak defined symbols like other global
10153 # defined symbols, whereas GNU nm marks them as "W".
10154 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10155 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'
10157 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'
10159 aix_use_runtimelinking=no
10161 # Test if we are trying to use run time linking or normal
10162 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10163 # need to do runtime linking.
10164 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10165 for ld_flag in $LDFLAGS; do
10166 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10167 aix_use_runtimelinking=yes
10174 exp_sym_flag='-bexport'
10175 no_entry_flag='-bnoentry'
10178 # When large executables or shared objects are built, AIX ld can
10179 # have problems creating the table of contents. If linking a library
10180 # or program results in "error TOC overflow" add -mminimal-toc to
10181 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10182 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10185 hardcode_direct=yes
10186 hardcode_direct_absolute=yes
10187 hardcode_libdir_separator=':'
10188 link_all_deplibs=yes
10189 file_list_spec='${wl}-f,'
10191 if test "$GCC" = yes; then
10192 case $host_os in aix4.[012]|aix4.[012].*)
10193 # We only want to do this on AIX 4.2 and lower, the check
10194 # below for broken collect2 doesn't work under 4.3+
10195 collect2name=`${CC} -print-prog-name=collect2`
10196 if test -f "$collect2name" &&
10197 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10199 # We have reworked collect2
10202 # We have old collect2
10203 hardcode_direct=unsupported
10204 # It fails to find uninstalled libraries when the uninstalled
10205 # path is not listed in the libpath. Setting hardcode_minus_L
10206 # to unsupported forces relinking
10207 hardcode_minus_L=yes
10208 hardcode_libdir_flag_spec='-L$libdir'
10209 hardcode_libdir_separator=
10213 shared_flag='-shared'
10214 if test "$aix_use_runtimelinking" = yes; then
10215 shared_flag="$shared_flag "'${wl}-G'
10217 link_all_deplibs=no
10220 if test "$host_cpu" = ia64; then
10221 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10222 # chokes on -Wl,-G. The following line is correct:
10225 if test "$aix_use_runtimelinking" = yes; then
10226 shared_flag='${wl}-G'
10228 shared_flag='${wl}-bM:SRE'
10233 export_dynamic_flag_spec='${wl}-bexpall'
10234 # It seems that -bexpall does not export symbols beginning with
10235 # underscore (_), so it is better to generate a list of symbols to export.
10236 always_export_symbols=yes
10237 if test "$aix_use_runtimelinking" = yes; then
10238 # Warning - without using the other runtime loading flags (-brtl),
10239 # -berok will link without error, but may produce a broken library.
10240 allow_undefined_flag='-berok'
10241 # Determine the default libpath from the value encoded in an
10242 # empty executable.
10243 if test "${lt_cv_aix_libpath+set}" = set; then
10244 aix_libpath=$lt_cv_aix_libpath
10246 if ${lt_cv_aix_libpath_+:} false; then :
10247 $as_echo_n "(cached) " >&6
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10260 if ac_fn_c_try_link "$LINENO"; then :
10262 lt_aix_libpath_sed='
10263 /Import File Strings/,/^$/ {
10265 s/^0 *\([^ ]*\) *$/\1/
10269 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10270 # Check for a 64-bit object if we didn't find anything.
10271 if test -z "$lt_cv_aix_libpath_"; then
10272 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10277 if test -z "$lt_cv_aix_libpath_"; then
10278 lt_cv_aix_libpath_="/usr/lib:/lib"
10283 aix_libpath=$lt_cv_aix_libpath_
10286 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10287 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"
10289 if test "$host_cpu" = ia64; then
10290 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10291 allow_undefined_flag="-z nodefs"
10292 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"
10294 # Determine the default libpath from the value encoded in an
10295 # empty executable.
10296 if test "${lt_cv_aix_libpath+set}" = set; then
10297 aix_libpath=$lt_cv_aix_libpath
10299 if ${lt_cv_aix_libpath_+:} false; then :
10300 $as_echo_n "(cached) " >&6
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10313 if ac_fn_c_try_link "$LINENO"; then :
10315 lt_aix_libpath_sed='
10316 /Import File Strings/,/^$/ {
10318 s/^0 *\([^ ]*\) *$/\1/
10322 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10323 # Check for a 64-bit object if we didn't find anything.
10324 if test -z "$lt_cv_aix_libpath_"; then
10325 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10328 rm -f core conftest.err conftest.$ac_objext \
10329 conftest$ac_exeext conftest.$ac_ext
10330 if test -z "$lt_cv_aix_libpath_"; then
10331 lt_cv_aix_libpath_="/usr/lib:/lib"
10336 aix_libpath=$lt_cv_aix_libpath_
10339 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10340 # Warning - without using the other run time loading flags,
10341 # -berok will link without error, but may produce a broken library.
10342 no_undefined_flag=' ${wl}-bernotok'
10343 allow_undefined_flag=' ${wl}-berok'
10344 if test "$with_gnu_ld" = yes; then
10345 # We only use this code for GNU lds that support --whole-archive.
10346 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10348 # Exported symbols can be pulled into shared objects from archives
10349 whole_archive_flag_spec='$convenience'
10351 archive_cmds_need_lc=yes
10352 # This is similar to how AIX traditionally builds its shared libraries.
10353 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'
10361 # see comment about AmigaOS4 .so support
10362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10363 archive_expsym_cmds=''
10366 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)'
10367 hardcode_libdir_flag_spec='-L$libdir'
10368 hardcode_minus_L=yes
10374 export_dynamic_flag_spec=-rdynamic
10377 cygwin* | mingw* | pw32* | cegcc*)
10378 # When not using gcc, we currently assume that we are using
10379 # Microsoft Visual C++.
10380 # hardcode_libdir_flag_spec is actually meaningless, as there is
10381 # no search path for DLLs.
10382 case $cc_basename in
10385 hardcode_libdir_flag_spec=' '
10386 allow_undefined_flag=unsupported
10387 always_export_symbols=yes
10389 # Tell ltmain to make .lib files, not .a files.
10391 # Tell ltmain to make .dll files, not .so files.
10393 # FIXME: Setting linknames here is a bad hack.
10394 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10395 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10396 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10398 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10400 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10402 # The linker will not automatically build a static lib if we build a DLL.
10403 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10404 enable_shared_with_static_runtimes=yes
10405 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10406 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10408 old_postinstall_cmds='chmod 644 $oldlib'
10409 postlink_cmds='lt_outputfile="@OUTPUT@"~
10410 lt_tool_outputfile="@TOOL_OUTPUT@"~
10411 case $lt_outputfile in
10414 lt_outputfile="$lt_outputfile.exe"
10415 lt_tool_outputfile="$lt_tool_outputfile.exe"
10418 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10419 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10420 $RM "$lt_outputfile.manifest";
10424 # Assume MSVC wrapper
10425 hardcode_libdir_flag_spec=' '
10426 allow_undefined_flag=unsupported
10427 # Tell ltmain to make .lib files, not .a files.
10429 # Tell ltmain to make .dll files, not .so files.
10431 # FIXME: Setting linknames here is a bad hack.
10432 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10433 # The linker will automatically build a .lib file if we build a DLL.
10434 old_archive_from_new_cmds='true'
10435 # FIXME: Should let the user specify the lib program.
10436 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10437 enable_shared_with_static_runtimes=yes
10442 darwin* | rhapsody*)
10445 archive_cmds_need_lc=no
10447 hardcode_automatic=yes
10448 hardcode_shlibpath_var=unsupported
10449 if test "$lt_cv_ld_force_load" = "yes"; then
10450 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\"`'
10453 whole_archive_flag_spec=''
10455 link_all_deplibs=yes
10456 allow_undefined_flag="$_lt_dar_allow_undefined"
10457 case $cc_basename in
10458 ifort*) _lt_dar_can_shared=yes ;;
10459 *) _lt_dar_can_shared=$GCC ;;
10461 if test "$_lt_dar_can_shared" = "yes"; then
10462 output_verbose_link_cmd=func_echo_all
10463 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10464 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10465 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}"
10466 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}"
10475 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10476 hardcode_libdir_flag_spec='-L$libdir'
10477 hardcode_shlibpath_var=no
10480 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10481 # support. Future versions do this automatically, but an explicit c++rt0.o
10482 # does not break anything, and helps significantly (at the cost of a little
10485 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10486 hardcode_libdir_flag_spec='-R$libdir'
10487 hardcode_direct=yes
10488 hardcode_shlibpath_var=no
10491 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10493 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10494 hardcode_direct=yes
10495 hardcode_minus_L=yes
10496 hardcode_shlibpath_var=no
10499 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10500 freebsd* | dragonfly*)
10501 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10502 hardcode_libdir_flag_spec='-R$libdir'
10503 hardcode_direct=yes
10504 hardcode_shlibpath_var=no
10508 if test "$GCC" = yes; then
10509 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'
10511 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'
10513 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10514 hardcode_libdir_separator=:
10515 hardcode_direct=yes
10517 # hardcode_minus_L: Not really in the search PATH,
10518 # but as the default location of the library.
10519 hardcode_minus_L=yes
10520 export_dynamic_flag_spec='${wl}-E'
10524 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10525 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10527 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10529 if test "$with_gnu_ld" = no; then
10530 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10531 hardcode_libdir_separator=:
10532 hardcode_direct=yes
10533 hardcode_direct_absolute=yes
10534 export_dynamic_flag_spec='${wl}-E'
10535 # hardcode_minus_L: Not really in the search PATH,
10536 # but as the default location of the library.
10537 hardcode_minus_L=yes
10542 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10545 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10548 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10551 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10557 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10560 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10564 # Older versions of the 11.00 compiler do not understand -b yet
10565 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10567 $as_echo_n "checking if $CC understands -b... " >&6; }
10568 if ${lt_cv_prog_compiler__b+:} false; then :
10569 $as_echo_n "(cached) " >&6
10571 lt_cv_prog_compiler__b=no
10572 save_LDFLAGS="$LDFLAGS"
10573 LDFLAGS="$LDFLAGS -b"
10574 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10575 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10576 # The linker can only warn and ignore the option if not recognized
10577 # So say no if there are warnings
10578 if test -s conftest.err; then
10579 # Append any errors to the config.log.
10580 cat conftest.err 1>&5
10581 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10582 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10583 if diff conftest.exp conftest.er2 >/dev/null; then
10584 lt_cv_prog_compiler__b=yes
10587 lt_cv_prog_compiler__b=yes
10591 LDFLAGS="$save_LDFLAGS"
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10595 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10597 if test x"$lt_cv_prog_compiler__b" = xyes; then
10598 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10600 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10606 if test "$with_gnu_ld" = no; then
10607 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10608 hardcode_libdir_separator=:
10613 hardcode_shlibpath_var=no
10616 hardcode_direct=yes
10617 hardcode_direct_absolute=yes
10618 export_dynamic_flag_spec='${wl}-E'
10620 # hardcode_minus_L: Not really in the search PATH,
10621 # but as the default location of the library.
10622 hardcode_minus_L=yes
10628 irix5* | irix6* | nonstopux*)
10629 if test "$GCC" = yes; then
10630 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'
10631 # Try to use the -exported_symbol ld option, if it does not
10632 # work, assume that -exports_file does not work either and
10633 # implicitly export all symbols.
10634 # This should be the same for all languages, so no per-tag cache variable.
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10636 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10637 if ${lt_cv_irix_exported_symbol+:} false; then :
10638 $as_echo_n "(cached) " >&6
10640 save_LDFLAGS="$LDFLAGS"
10641 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10644 int foo (void) { return 0; }
10646 if ac_fn_c_try_link "$LINENO"; then :
10647 lt_cv_irix_exported_symbol=yes
10649 lt_cv_irix_exported_symbol=no
10651 rm -f core conftest.err conftest.$ac_objext \
10652 conftest$ac_exeext conftest.$ac_ext
10653 LDFLAGS="$save_LDFLAGS"
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10656 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10657 if test "$lt_cv_irix_exported_symbol" = yes; then
10658 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'
10661 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'
10662 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'
10664 archive_cmds_need_lc='no'
10665 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10666 hardcode_libdir_separator=:
10668 link_all_deplibs=yes
10671 netbsd* | netbsdelf*-gnu)
10672 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10673 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10675 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10677 hardcode_libdir_flag_spec='-R$libdir'
10678 hardcode_direct=yes
10679 hardcode_shlibpath_var=no
10683 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10684 hardcode_direct=yes
10685 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10686 hardcode_libdir_separator=:
10687 hardcode_shlibpath_var=no
10694 if test -f /usr/libexec/ld.so; then
10695 hardcode_direct=yes
10696 hardcode_shlibpath_var=no
10697 hardcode_direct_absolute=yes
10698 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10699 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10700 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10701 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10702 export_dynamic_flag_spec='${wl}-E'
10705 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10707 hardcode_libdir_flag_spec='-R$libdir'
10710 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10711 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10721 hardcode_libdir_flag_spec='-L$libdir'
10722 hardcode_minus_L=yes
10723 allow_undefined_flag=unsupported
10724 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'
10725 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10729 if test "$GCC" = yes; then
10730 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10731 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'
10733 allow_undefined_flag=' -expect_unresolved \*'
10734 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'
10736 archive_cmds_need_lc='no'
10737 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10738 hardcode_libdir_separator=:
10741 osf4* | osf5*) # as osf3* with the addition of -msym flag
10742 if test "$GCC" = yes; then
10743 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10744 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'
10745 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10747 allow_undefined_flag=' -expect_unresolved \*'
10748 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'
10749 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~
10750 $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'
10752 # Both c and cxx compiler support -rpath directly
10753 hardcode_libdir_flag_spec='-rpath $libdir'
10755 archive_cmds_need_lc='no'
10756 hardcode_libdir_separator=:
10760 no_undefined_flag=' -z defs'
10761 if test "$GCC" = yes; then
10763 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10764 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10765 $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'
10767 case `$CC -V 2>&1` in
10770 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10771 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10772 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10776 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10777 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10778 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10782 hardcode_libdir_flag_spec='-R$libdir'
10783 hardcode_shlibpath_var=no
10785 solaris2.[0-5] | solaris2.[0-5].*) ;;
10787 # The compiler driver will combine and reorder linker options,
10788 # but understands `-z linker_flag'. GCC discards it without `$wl',
10789 # but is careful enough not to reorder.
10790 # Supported since Solaris 2.6 (maybe 2.5.1?)
10791 if test "$GCC" = yes; then
10792 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10794 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10798 link_all_deplibs=yes
10802 if test "x$host_vendor" = xsequent; then
10803 # Use $CC to link under sequent, because it throws in some extra .o
10804 # files that make .init and .fini sections work.
10805 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10807 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10809 hardcode_libdir_flag_spec='-L$libdir'
10810 hardcode_direct=yes
10811 hardcode_minus_L=yes
10812 hardcode_shlibpath_var=no
10816 case $host_vendor in
10818 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10819 hardcode_direct=yes # is this really true???
10822 ## LD is ld it makes a PLAMLIB
10823 ## CC just makes a GrossModule.
10824 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10825 reload_cmds='$CC -r -o $output$reload_objs'
10829 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10830 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10833 runpath_var='LD_RUN_PATH'
10834 hardcode_shlibpath_var=no
10838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10839 hardcode_shlibpath_var=no
10840 export_dynamic_flag_spec='-Bexport'
10844 if test -d /usr/nec; then
10845 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10846 hardcode_shlibpath_var=no
10847 runpath_var=LD_RUN_PATH
10848 hardcode_runpath_var=yes
10853 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10854 no_undefined_flag='${wl}-z,text'
10855 archive_cmds_need_lc=no
10856 hardcode_shlibpath_var=no
10857 runpath_var='LD_RUN_PATH'
10859 if test "$GCC" = yes; then
10860 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10861 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10863 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10864 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10868 sysv5* | sco3.2v5* | sco5v6*)
10869 # Note: We can NOT use -z defs as we might desire, because we do not
10870 # link with -lc, and that would cause any symbols used from libc to
10871 # always be unresolved, which means just about no library would
10872 # ever link correctly. If we're not using GNU ld we use -z text
10873 # though, which does catch some bad symbols but isn't as heavy-handed
10875 no_undefined_flag='${wl}-z,text'
10876 allow_undefined_flag='${wl}-z,nodefs'
10877 archive_cmds_need_lc=no
10878 hardcode_shlibpath_var=no
10879 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10880 hardcode_libdir_separator=':'
10881 link_all_deplibs=yes
10882 export_dynamic_flag_spec='${wl}-Bexport'
10883 runpath_var='LD_RUN_PATH'
10885 if test "$GCC" = yes; then
10886 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10887 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10889 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10890 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10895 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_libdir_flag_spec='-L$libdir'
10897 hardcode_shlibpath_var=no
10905 if test x$host_vendor = xsni; then
10907 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10908 export_dynamic_flag_spec='${wl}-Blargedynsym'
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10915 $as_echo "$ld_shlibs" >&6; }
10916 test "$ld_shlibs" = no && can_build_shared=no
10918 with_gnu_ld=$with_gnu_ld
10935 # Do we need to explicitly link libc?
10937 case "x$archive_cmds_need_lc" in
10939 # Assume -lc should be added
10940 archive_cmds_need_lc=yes
10942 if test "$enable_shared" = yes && test "$GCC" = yes; then
10943 case $archive_cmds in
10945 # FIXME: we may have to deal with multi-command sequences.
10948 # Test whether the compiler implicitly links with -lc since on some
10949 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10950 # to ld, don't add -lc before -lgcc.
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10952 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10953 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10954 $as_echo_n "(cached) " >&6
10957 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10960 (eval $ac_compile) 2>&5
10962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10963 test $ac_status = 0; } 2>conftest.err; then
10966 libobjs=conftest.$ac_objext
10968 wl=$lt_prog_compiler_wl
10969 pic_flag=$lt_prog_compiler_pic
10975 lt_save_allow_undefined_flag=$allow_undefined_flag
10976 allow_undefined_flag=
10977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10978 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10981 test $ac_status = 0; }
10983 lt_cv_archive_cmds_need_lc=no
10985 lt_cv_archive_cmds_need_lc=yes
10987 allow_undefined_flag=$lt_save_allow_undefined_flag
10989 cat conftest.err 1>&5
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10995 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10996 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11155 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11157 if test "$GCC" = yes; then
11159 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11160 *) lt_awk_arg="/^libraries:/" ;;
11163 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11164 *) lt_sed_strip_eq="s,=/,/,g" ;;
11166 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11167 case $lt_search_path_spec in
11169 # if the path contains ";" then we assume it to be the separator
11170 # otherwise default to the standard path separator (i.e. ":") - it is
11171 # assumed that no part of a normal pathname contains ";" but that should
11172 # okay in the real world where ";" in dirpaths is itself problematic.
11173 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11176 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11179 # Ok, now we have the path, separated by spaces, we can step through it
11180 # and add multilib dir if necessary.
11181 lt_tmp_lt_search_path_spec=
11182 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11183 for lt_sys_path in $lt_search_path_spec; do
11184 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11185 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11187 test -d "$lt_sys_path" && \
11188 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11191 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11192 BEGIN {RS=" "; FS="/|\n";} {
11195 for (lt_i = NF; lt_i > 0; lt_i--) {
11196 if ($lt_i != "" && $lt_i != ".") {
11197 if ($lt_i == "..") {
11200 if (lt_count == 0) {
11201 lt_foo="/" $lt_i lt_foo;
11208 if (lt_foo != "") { lt_freq[lt_foo]++; }
11209 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11211 # AWK program above erroneously prepends '/' to C:/dos/paths
11214 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11215 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11217 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11219 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11221 library_names_spec=
11222 libname_spec='lib$name'
11226 postuninstall_cmds=
11230 shlibpath_overrides_runpath=unknown
11232 dynamic_linker="$host_os ld.so"
11233 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11234 need_lib_prefix=unknown
11235 hardcode_into_libs=no
11237 # when you set need_version to no, make sure it does not cause -set_version
11238 # flags to be left without arguments
11239 need_version=unknown
11243 version_type=linux # correct to gnu/linux during the next big refactor
11244 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11245 shlibpath_var=LIBPATH
11247 # AIX 3 has no versioning support, so we append a major version to the name.
11248 soname_spec='${libname}${release}${shared_ext}$major'
11252 version_type=linux # correct to gnu/linux during the next big refactor
11255 hardcode_into_libs=yes
11256 if test "$host_cpu" = ia64; then
11257 # AIX 5 supports IA64
11258 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11259 shlibpath_var=LD_LIBRARY_PATH
11261 # With GCC up to 2.95.x, collect2 would create an import file
11262 # for dependence libraries. The import file would start with
11263 # the line `#! .'. This would cause the generated library to
11264 # depend on `.', always an invalid library. This was fixed in
11265 # development snapshots of GCC prior to 3.0.
11267 aix4 | aix4.[01] | aix4.[01].*)
11268 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11270 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11273 can_build_shared=no
11277 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11278 # soname into executable. Probably we can add versioning support to
11279 # collect2, so additional links can be useful in future.
11280 if test "$aix_use_runtimelinking" = yes; then
11281 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11282 # instead of lib<name>.a to let people know that these are not
11283 # typical AIX shared libraries.
11284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11286 # We preserve .a as extension for shared libraries through AIX4.2
11287 # and later when we are not doing run time linking.
11288 library_names_spec='${libname}${release}.a $libname.a'
11289 soname_spec='${libname}${release}${shared_ext}$major'
11291 shlibpath_var=LIBPATH
11298 # Since July 2007 AmigaOS4 officially supports .so libraries.
11299 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11303 library_names_spec='$libname.ixlibrary $libname.a'
11304 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11305 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'
11311 library_names_spec='${libname}${shared_ext}'
11312 dynamic_linker="$host_os ld.so"
11313 shlibpath_var=LIBRARY_PATH
11317 version_type=linux # correct to gnu/linux during the next big refactor
11319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11320 soname_spec='${libname}${release}${shared_ext}$major'
11321 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11322 shlibpath_var=LD_LIBRARY_PATH
11323 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11324 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11325 # the default ld.so.conf also contains /usr/contrib/lib and
11326 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11327 # libtool to hard-code these into programs
11330 cygwin* | mingw* | pw32* | cegcc*)
11331 version_type=windows
11336 case $GCC,$cc_basename in
11339 library_names_spec='$libname.dll.a'
11340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11341 postinstall_cmds='base_file=`basename \${file}`~
11342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11343 dldir=$destdir/`dirname \$dlpath`~
11344 test -d \$dldir || mkdir -p \$dldir~
11345 $install_prog $dir/$dlname \$dldir/$dlname~
11346 chmod a+x \$dldir/$dlname~
11347 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11348 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11351 dlpath=$dir/\$dldll~
11353 shlibpath_overrides_runpath=yes
11357 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11358 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11360 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11363 # MinGW DLLs use traditional 'lib' prefix
11364 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11367 # pw32 DLLs use 'pw' prefix rather than 'lib'
11368 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11371 dynamic_linker='Win32 ld.exe'
11376 libname_spec='$name'
11377 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11378 library_names_spec='${libname}.dll.lib'
11382 sys_lib_search_path_spec=
11385 for lt_path in $LIB
11388 # Let DOS variable expansion print the short 8.3 style file name.
11389 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11390 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11393 # Convert to MSYS style.
11394 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11397 # Convert to unix form, then to dos form, then back to unix form
11398 # but this time dos style (no spaces!) so that the unix form looks
11399 # like /cygdrive/c/PROGRA~1:/cygdr...
11400 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11401 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11402 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11405 sys_lib_search_path_spec="$LIB"
11406 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11407 # It is most probably a Windows format PATH.
11408 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11410 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11412 # FIXME: find the short name or the path components, as spaces are
11413 # common. (e.g. "Program Files" -> "PROGRA~1")
11417 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11418 postinstall_cmds='base_file=`basename \${file}`~
11419 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11420 dldir=$destdir/`dirname \$dlpath`~
11421 test -d \$dldir || mkdir -p \$dldir~
11422 $install_prog $dir/$dlname \$dldir/$dlname'
11423 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11424 dlpath=$dir/\$dldll~
11426 shlibpath_overrides_runpath=yes
11427 dynamic_linker='Win32 link.exe'
11431 # Assume MSVC wrapper
11432 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11433 dynamic_linker='Win32 ld.exe'
11436 # FIXME: first we should search . and the directory the executable is in
11440 darwin* | rhapsody*)
11441 dynamic_linker="$host_os dyld"
11442 version_type=darwin
11445 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11446 soname_spec='${libname}${release}${major}$shared_ext'
11447 shlibpath_overrides_runpath=yes
11448 shlibpath_var=DYLD_LIBRARY_PATH
11449 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11451 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11452 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11456 version_type=linux # correct to gnu/linux during the next big refactor
11459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11460 soname_spec='${libname}${release}${shared_ext}$major'
11461 shlibpath_var=LD_LIBRARY_PATH
11464 freebsd* | dragonfly*)
11465 # DragonFly does not have aout. When/if they implement a new
11466 # versioning mechanism, adjust this.
11467 if test -x /usr/bin/objformat; then
11468 objformat=`/usr/bin/objformat`
11471 freebsd[23].*) objformat=aout ;;
11472 *) objformat=elf ;;
11475 version_type=freebsd-$objformat
11476 case $version_type in
11478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11483 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11487 shlibpath_var=LD_LIBRARY_PATH
11490 shlibpath_overrides_runpath=yes
11492 freebsd3.[01]* | freebsdelf3.[01]*)
11493 shlibpath_overrides_runpath=yes
11494 hardcode_into_libs=yes
11496 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11497 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11498 shlibpath_overrides_runpath=no
11499 hardcode_into_libs=yes
11501 *) # from 4.6 on, and DragonFly
11502 shlibpath_overrides_runpath=yes
11503 hardcode_into_libs=yes
11509 version_type=linux # correct to gnu/linux during the next big refactor
11512 dynamic_linker="$host_os runtime_loader"
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11514 soname_spec='${libname}${release}${shared_ext}$major'
11515 shlibpath_var=LIBRARY_PATH
11516 shlibpath_overrides_runpath=yes
11517 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11518 hardcode_into_libs=yes
11521 hpux9* | hpux10* | hpux11*)
11522 # Give a soname corresponding to the major version so that dld.sl refuses to
11523 # link against other versions.
11530 hardcode_into_libs=yes
11531 dynamic_linker="$host_os dld.so"
11532 shlibpath_var=LD_LIBRARY_PATH
11533 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535 soname_spec='${libname}${release}${shared_ext}$major'
11536 if test "X$HPUX_IA64_MODE" = X32; then
11537 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11539 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11541 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11545 hardcode_into_libs=yes
11546 dynamic_linker="$host_os dld.sl"
11547 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11548 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550 soname_spec='${libname}${release}${shared_ext}$major'
11551 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11552 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11556 dynamic_linker="$host_os dld.sl"
11557 shlibpath_var=SHLIB_PATH
11558 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 soname_spec='${libname}${release}${shared_ext}$major'
11563 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11564 postinstall_cmds='chmod 555 $lib'
11565 # or fails outright, so override atomically:
11566 install_override_mode=555
11570 version_type=linux # correct to gnu/linux during the next big refactor
11573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11574 soname_spec='${libname}${release}${shared_ext}$major'
11575 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11576 shlibpath_var=LD_LIBRARY_PATH
11577 shlibpath_overrides_runpath=no
11578 hardcode_into_libs=yes
11581 irix5* | irix6* | nonstopux*)
11583 nonstopux*) version_type=nonstopux ;;
11585 if test "$lt_cv_prog_gnu_ld" = yes; then
11586 version_type=linux # correct to gnu/linux during the next big refactor
11593 soname_spec='${libname}${release}${shared_ext}$major'
11594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11596 irix5* | nonstopux*)
11597 libsuff= shlibsuff=
11600 case $LD in # libtool.m4 will add one of these switches to LD
11601 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11602 libsuff= shlibsuff= libmagic=32-bit;;
11603 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11604 libsuff=32 shlibsuff=N32 libmagic=N32;;
11605 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11606 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11607 *) libsuff= shlibsuff= libmagic=never-match;;
11611 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11612 shlibpath_overrides_runpath=no
11613 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11614 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11615 hardcode_into_libs=yes
11618 # No shared lib support for Linux oldld, aout, or coff.
11619 linux*oldld* | linux*aout* | linux*coff*)
11623 # This must be glibc/ELF.
11624 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11625 version_type=linux # correct to gnu/linux during the next big refactor
11628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629 soname_spec='${libname}${release}${shared_ext}$major'
11630 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11631 shlibpath_var=LD_LIBRARY_PATH
11632 shlibpath_overrides_runpath=no
11634 # Some binutils ld are patched to set DT_RUNPATH
11635 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11636 $as_echo_n "(cached) " >&6
11638 lt_cv_shlibpath_overrides_runpath=no
11639 save_LDFLAGS=$LDFLAGS
11640 save_libdir=$libdir
11641 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11642 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11654 if ac_fn_c_try_link "$LINENO"; then :
11655 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11656 lt_cv_shlibpath_overrides_runpath=yes
11659 rm -f core conftest.err conftest.$ac_objext \
11660 conftest$ac_exeext conftest.$ac_ext
11661 LDFLAGS=$save_LDFLAGS
11662 libdir=$save_libdir
11666 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11668 # This implies no fast_install, which is unacceptable.
11669 # Some rework will be needed to allow for fast_install
11670 # before this can be enabled.
11671 hardcode_into_libs=yes
11673 # Append ld.so.conf contents to the search path
11674 if test -f /etc/ld.so.conf; then
11675 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' ' '`
11676 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11679 # We used to test for /lib/ld.so.1 and disable shared libraries on
11680 # powerpc, because MkLinux only supported shared libraries with the
11681 # GNU dynamic linker. Since this was broken with cross compilers,
11682 # most powerpc-linux boxes support dynamic linking these days and
11683 # people can always --disable-shared, the test was removed, and we
11684 # assume the GNU/Linux dynamic linker is in use.
11685 dynamic_linker='GNU/Linux ld.so'
11692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11693 soname_spec='${libname}${release}${shared_ext}$major'
11694 shlibpath_var=LD_LIBRARY_PATH
11695 shlibpath_overrides_runpath=no
11696 hardcode_into_libs=yes
11697 dynamic_linker='NetBSD ld.elf_so'
11704 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11706 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11707 dynamic_linker='NetBSD (a.out) ld.so'
11709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11710 soname_spec='${libname}${release}${shared_ext}$major'
11711 dynamic_linker='NetBSD ld.elf_so'
11713 shlibpath_var=LD_LIBRARY_PATH
11714 shlibpath_overrides_runpath=yes
11715 hardcode_into_libs=yes
11719 version_type=linux # correct to gnu/linux during the next big refactor
11720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11721 shlibpath_var=LD_LIBRARY_PATH
11722 shlibpath_overrides_runpath=yes
11729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730 soname_spec='${libname}${release}${shared_ext}$major'
11731 shlibpath_var=LD_LIBRARY_PATH
11732 shlibpath_overrides_runpath=no
11733 hardcode_into_libs=yes
11734 dynamic_linker='ldqnx.so'
11739 sys_lib_dlsearch_path_spec="/usr/lib"
11741 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11743 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11744 *) need_version=no ;;
11746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11747 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11748 shlibpath_var=LD_LIBRARY_PATH
11749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11751 openbsd2.[89] | openbsd2.[89].*)
11752 shlibpath_overrides_runpath=no
11755 shlibpath_overrides_runpath=yes
11759 shlibpath_overrides_runpath=yes
11764 libname_spec='$name'
11767 library_names_spec='$libname${shared_ext} $libname.a'
11768 dynamic_linker='OS/2 ld.exe'
11769 shlibpath_var=LIBPATH
11772 osf3* | osf4* | osf5*)
11776 soname_spec='${libname}${release}${shared_ext}$major'
11777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778 shlibpath_var=LD_LIBRARY_PATH
11779 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11780 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11788 version_type=linux # correct to gnu/linux during the next big refactor
11791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792 soname_spec='${libname}${release}${shared_ext}$major'
11793 shlibpath_var=LD_LIBRARY_PATH
11794 shlibpath_overrides_runpath=yes
11795 hardcode_into_libs=yes
11796 # ldd complains unless libraries are executable
11797 postinstall_cmds='chmod +x $lib'
11802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11803 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11804 shlibpath_var=LD_LIBRARY_PATH
11805 shlibpath_overrides_runpath=yes
11806 if test "$with_gnu_ld" = yes; then
11813 version_type=linux # correct to gnu/linux during the next big refactor
11814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11815 soname_spec='${libname}${release}${shared_ext}$major'
11816 shlibpath_var=LD_LIBRARY_PATH
11817 case $host_vendor in
11819 shlibpath_overrides_runpath=no
11821 runpath_var=LD_RUN_PATH
11829 shlibpath_overrides_runpath=no
11830 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11836 if test -d /usr/nec ;then
11837 version_type=linux # correct to gnu/linux during the next big refactor
11838 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11839 soname_spec='$libname${shared_ext}.$major'
11840 shlibpath_var=LD_LIBRARY_PATH
11844 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11845 version_type=freebsd-elf
11848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11849 soname_spec='${libname}${release}${shared_ext}$major'
11850 shlibpath_var=LD_LIBRARY_PATH
11851 shlibpath_overrides_runpath=yes
11852 hardcode_into_libs=yes
11853 if test "$with_gnu_ld" = yes; then
11854 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11856 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11859 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11863 sys_lib_dlsearch_path_spec='/usr/lib'
11867 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11868 version_type=linux # correct to gnu/linux during the next big refactor
11871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11872 shlibpath_var=LD_LIBRARY_PATH
11873 shlibpath_overrides_runpath=no
11874 hardcode_into_libs=yes
11878 version_type=linux # correct to gnu/linux during the next big refactor
11879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11880 soname_spec='${libname}${release}${shared_ext}$major'
11881 shlibpath_var=LD_LIBRARY_PATH
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11889 $as_echo "$dynamic_linker" >&6; }
11890 test "$dynamic_linker" = no && can_build_shared=no
11892 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11893 if test "$GCC" = yes; then
11894 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11897 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11898 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11900 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11901 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11996 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11998 if test -n "$hardcode_libdir_flag_spec" ||
11999 test -n "$runpath_var" ||
12000 test "X$hardcode_automatic" = "Xyes" ; then
12002 # We can hardcode non-existent directories.
12003 if test "$hardcode_direct" != no &&
12004 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12005 # have to relink, otherwise we might link with an installed library
12006 # when we should be linking with a yet-to-be-installed one
12007 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12008 test "$hardcode_minus_L" != no; then
12009 # Linking always hardcodes the temporary library directory.
12010 hardcode_action=relink
12012 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12013 hardcode_action=immediate
12016 # We cannot hardcode anything, or else we can only hardcode existing
12018 hardcode_action=unsupported
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12021 $as_echo "$hardcode_action" >&6; }
12023 if test "$hardcode_action" = relink ||
12024 test "$inherit_rpath" = yes; then
12025 # Fast installation is not supported
12026 enable_fast_install=no
12027 elif test "$shlibpath_overrides_runpath" = yes ||
12028 test "$enable_shared" = no; then
12029 # Fast installation is not necessary
12030 enable_fast_install=needless
12038 if test "x$enable_dlopen" != xyes; then
12039 enable_dlopen=unknown
12040 enable_dlopen_self=unknown
12041 enable_dlopen_self_static=unknown
12048 lt_cv_dlopen="load_add_on"
12050 lt_cv_dlopen_self=yes
12053 mingw* | pw32* | cegcc*)
12054 lt_cv_dlopen="LoadLibrary"
12059 lt_cv_dlopen="dlopen"
12064 # if libdl is installed we need to link against it
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12066 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12067 if ${ac_cv_lib_dl_dlopen+:} false; then :
12068 $as_echo_n "(cached) " >&6
12070 ac_check_lib_save_LIBS=$LIBS
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 ac_cv_lib_dl_dlopen=yes
12093 ac_cv_lib_dl_dlopen=no
12095 rm -f core conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12100 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12101 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12102 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12105 lt_cv_dlopen="dyld"
12107 lt_cv_dlopen_self=yes
12114 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12115 if test "x$ac_cv_func_shl_load" = xyes; then :
12116 lt_cv_dlopen="shl_load"
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12119 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12120 if ${ac_cv_lib_dld_shl_load+:} false; then :
12121 $as_echo_n "(cached) " >&6
12123 ac_check_lib_save_LIBS=$LIBS
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12138 return shl_load ();
12143 if ac_fn_c_try_link "$LINENO"; then :
12144 ac_cv_lib_dld_shl_load=yes
12146 ac_cv_lib_dld_shl_load=no
12148 rm -f core conftest.err conftest.$ac_objext \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_lib_save_LIBS
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12153 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12154 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12155 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12157 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12158 if test "x$ac_cv_func_dlopen" = xyes; then :
12159 lt_cv_dlopen="dlopen"
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12162 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12163 if ${ac_cv_lib_dl_dlopen+:} false; then :
12164 $as_echo_n "(cached) " >&6
12166 ac_check_lib_save_LIBS=$LIBS
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12186 if ac_fn_c_try_link "$LINENO"; then :
12187 ac_cv_lib_dl_dlopen=yes
12189 ac_cv_lib_dl_dlopen=no
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_lib_save_LIBS
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12196 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12197 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12198 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12201 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12202 if ${ac_cv_lib_svld_dlopen+:} false; then :
12203 $as_echo_n "(cached) " >&6
12205 ac_check_lib_save_LIBS=$LIBS
12206 LIBS="-lsvld $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12225 if ac_fn_c_try_link "$LINENO"; then :
12226 ac_cv_lib_svld_dlopen=yes
12228 ac_cv_lib_svld_dlopen=no
12230 rm -f core conftest.err conftest.$ac_objext \
12231 conftest$ac_exeext conftest.$ac_ext
12232 LIBS=$ac_check_lib_save_LIBS
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12235 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12236 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12237 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12240 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12241 if ${ac_cv_lib_dld_dld_link+:} false; then :
12242 $as_echo_n "(cached) " >&6
12244 ac_check_lib_save_LIBS=$LIBS
12246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12249 /* Override any GCC internal prototype to avoid an error.
12250 Use char because int might match the return type of a GCC
12251 builtin and then its argument prototype would still apply. */
12259 return dld_link ();
12264 if ac_fn_c_try_link "$LINENO"; then :
12265 ac_cv_lib_dld_dld_link=yes
12267 ac_cv_lib_dld_dld_link=no
12269 rm -f core conftest.err conftest.$ac_objext \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12274 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12275 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12276 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12297 if test "x$lt_cv_dlopen" != xno; then
12303 case $lt_cv_dlopen in
12305 save_CPPFLAGS="$CPPFLAGS"
12306 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12308 save_LDFLAGS="$LDFLAGS"
12309 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12312 LIBS="$lt_cv_dlopen_libs $LIBS"
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12315 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12316 if ${lt_cv_dlopen_self+:} false; then :
12317 $as_echo_n "(cached) " >&6
12319 if test "$cross_compiling" = yes; then :
12320 lt_cv_dlopen_self=cross
12322 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12323 lt_status=$lt_dlunknown
12324 cat > conftest.$ac_ext <<_LT_EOF
12325 #line $LINENO "configure"
12326 #include "confdefs.h"
12335 # define LT_DLGLOBAL RTLD_GLOBAL
12338 # define LT_DLGLOBAL DL_GLOBAL
12340 # define LT_DLGLOBAL 0
12344 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12345 find out it does not work in some platform. */
12346 #ifndef LT_DLLAZY_OR_NOW
12348 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12351 # define LT_DLLAZY_OR_NOW DL_LAZY
12354 # define LT_DLLAZY_OR_NOW RTLD_NOW
12357 # define LT_DLLAZY_OR_NOW DL_NOW
12359 # define LT_DLLAZY_OR_NOW 0
12366 /* When -fvisbility=hidden is used, assume the code has been annotated
12367 correspondingly for the symbols needed. */
12368 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12369 int fnord () __attribute__((visibility("default")));
12372 int fnord () { return 42; }
12375 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12376 int status = $lt_dlunknown;
12380 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12383 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12384 else puts (dlerror ());
12386 /* dlclose (self); */
12394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12395 (eval $ac_link) 2>&5
12397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12398 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12399 (./conftest; exit; ) >&5 2>/dev/null
12401 case x$lt_status in
12402 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12403 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12404 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12407 # compilation failed
12408 lt_cv_dlopen_self=no
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12416 $as_echo "$lt_cv_dlopen_self" >&6; }
12418 if test "x$lt_cv_dlopen_self" = xyes; then
12419 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12421 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12422 if ${lt_cv_dlopen_self_static+:} false; then :
12423 $as_echo_n "(cached) " >&6
12425 if test "$cross_compiling" = yes; then :
12426 lt_cv_dlopen_self_static=cross
12428 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12429 lt_status=$lt_dlunknown
12430 cat > conftest.$ac_ext <<_LT_EOF
12431 #line $LINENO "configure"
12432 #include "confdefs.h"
12441 # define LT_DLGLOBAL RTLD_GLOBAL
12444 # define LT_DLGLOBAL DL_GLOBAL
12446 # define LT_DLGLOBAL 0
12450 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12451 find out it does not work in some platform. */
12452 #ifndef LT_DLLAZY_OR_NOW
12454 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12457 # define LT_DLLAZY_OR_NOW DL_LAZY
12460 # define LT_DLLAZY_OR_NOW RTLD_NOW
12463 # define LT_DLLAZY_OR_NOW DL_NOW
12465 # define LT_DLLAZY_OR_NOW 0
12472 /* When -fvisbility=hidden is used, assume the code has been annotated
12473 correspondingly for the symbols needed. */
12474 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12475 int fnord () __attribute__((visibility("default")));
12478 int fnord () { return 42; }
12481 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12482 int status = $lt_dlunknown;
12486 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12489 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12490 else puts (dlerror ());
12492 /* dlclose (self); */
12500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12501 (eval $ac_link) 2>&5
12503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12504 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12505 (./conftest; exit; ) >&5 2>/dev/null
12507 case x$lt_status in
12508 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12509 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12510 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12513 # compilation failed
12514 lt_cv_dlopen_self_static=no
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12522 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12525 CPPFLAGS="$save_CPPFLAGS"
12526 LDFLAGS="$save_LDFLAGS"
12531 case $lt_cv_dlopen_self in
12532 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12533 *) enable_dlopen_self=unknown ;;
12536 case $lt_cv_dlopen_self_static in
12537 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12538 *) enable_dlopen_self_static=unknown ;;
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12561 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12562 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12563 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12564 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12566 $as_echo "yes" >&6; }
12568 # FIXME - insert some real tests, host_os isn't really good enough
12571 if test -n "$STRIP" ; then
12572 striplib="$STRIP -x"
12573 old_striplib="$STRIP -S"
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12575 $as_echo "yes" >&6; }
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12578 $as_echo "no" >&6; }
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583 $as_echo "no" >&6; }
12599 # Report which library types will actually be built
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12601 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12603 $as_echo "$can_build_shared" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12606 $as_echo_n "checking whether to build shared libraries... " >&6; }
12607 test "$can_build_shared" = "no" && enable_shared=no
12609 # On AIX, shared libraries and static libraries use the same namespace, and
12610 # are all built from PIC.
12613 test "$enable_shared" = yes && enable_static=no
12614 if test -n "$RANLIB"; then
12615 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12616 postinstall_cmds='$RANLIB $lib'
12621 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12622 test "$enable_shared" = yes && enable_static=no
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12627 $as_echo "$enable_shared" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12630 $as_echo_n "checking whether to build static libraries... " >&6; }
12631 # Make sure either enable_shared or enable_static is yes.
12632 test "$enable_shared" = yes || enable_static=yes
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12634 $as_echo "$enable_static" >&6; }
12641 ac_cpp='$CPP $CPPFLAGS'
12642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12648 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12649 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12650 (test "X$CXX" != "Xg++"))) ; then
12652 ac_cpp='$CXXCPP $CPPFLAGS'
12653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12657 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12658 if test -z "$CXXCPP"; then
12659 if ${ac_cv_prog_CXXCPP+:} false; then :
12660 $as_echo_n "(cached) " >&6
12662 # Double quotes because CXXCPP needs to be expanded
12663 for CXXCPP in "$CXX -E" "/lib/cpp"
12665 ac_preproc_ok=false
12666 for ac_cxx_preproc_warn_flag in '' yes
12668 # Use a header file that comes with gcc, so configuring glibc
12669 # with a fresh cross-compiler works.
12670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12671 # <limits.h> exists even on freestanding compilers.
12672 # On the NeXT, cc -E runs the code through the compiler's parser,
12673 # not just through cpp. "Syntax error" is here to catch this case.
12674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 # include <limits.h>
12679 # include <assert.h>
12683 if ac_fn_cxx_try_cpp "$LINENO"; then :
12686 # Broken: fails on valid input.
12689 rm -f conftest.err conftest.i conftest.$ac_ext
12691 # OK, works on sane cases. Now check whether nonexistent headers
12692 # can be detected and how.
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12695 #include <ac_nonexistent.h>
12697 if ac_fn_cxx_try_cpp "$LINENO"; then :
12698 # Broken: success on invalid input.
12701 # Passes both tests.
12705 rm -f conftest.err conftest.i conftest.$ac_ext
12708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12709 rm -f conftest.i conftest.err conftest.$ac_ext
12710 if $ac_preproc_ok; then :
12715 ac_cv_prog_CXXCPP=$CXXCPP
12718 CXXCPP=$ac_cv_prog_CXXCPP
12720 ac_cv_prog_CXXCPP=$CXXCPP
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12723 $as_echo "$CXXCPP" >&6; }
12724 ac_preproc_ok=false
12725 for ac_cxx_preproc_warn_flag in '' yes
12727 # Use a header file that comes with gcc, so configuring glibc
12728 # with a fresh cross-compiler works.
12729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12730 # <limits.h> exists even on freestanding compilers.
12731 # On the NeXT, cc -E runs the code through the compiler's parser,
12732 # not just through cpp. "Syntax error" is here to catch this case.
12733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12736 # include <limits.h>
12738 # include <assert.h>
12742 if ac_fn_cxx_try_cpp "$LINENO"; then :
12745 # Broken: fails on valid input.
12748 rm -f conftest.err conftest.i conftest.$ac_ext
12750 # OK, works on sane cases. Now check whether nonexistent headers
12751 # can be detected and how.
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12754 #include <ac_nonexistent.h>
12756 if ac_fn_cxx_try_cpp "$LINENO"; then :
12757 # Broken: success on invalid input.
12760 # Passes both tests.
12764 rm -f conftest.err conftest.i conftest.$ac_ext
12767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12768 rm -f conftest.i conftest.err conftest.$ac_ext
12769 if $ac_preproc_ok; then :
12772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12774 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12775 See \`config.log' for more details" "$LINENO" 5; }
12779 ac_cpp='$CPP $CPPFLAGS'
12780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12785 _lt_caught_CXX_error=yes
12789 ac_cpp='$CXXCPP $CPPFLAGS'
12790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12794 archive_cmds_need_lc_CXX=no
12795 allow_undefined_flag_CXX=
12796 always_export_symbols_CXX=no
12797 archive_expsym_cmds_CXX=
12798 compiler_needs_object_CXX=no
12799 export_dynamic_flag_spec_CXX=
12800 hardcode_direct_CXX=no
12801 hardcode_direct_absolute_CXX=no
12802 hardcode_libdir_flag_spec_CXX=
12803 hardcode_libdir_separator_CXX=
12804 hardcode_minus_L_CXX=no
12805 hardcode_shlibpath_var_CXX=unsupported
12806 hardcode_automatic_CXX=no
12807 inherit_rpath_CXX=no
12809 module_expsym_cmds_CXX=
12810 link_all_deplibs_CXX=unknown
12811 old_archive_cmds_CXX=$old_archive_cmds
12812 reload_flag_CXX=$reload_flag
12813 reload_cmds_CXX=$reload_cmds
12814 no_undefined_flag_CXX=
12815 whole_archive_flag_spec_CXX=
12816 enable_shared_with_static_runtimes_CXX=no
12818 # Source file extension for C++ test sources.
12821 # Object file extension for compiled C++ test sources.
12825 # No sense in running all these tests if we already determined that
12826 # the CXX compiler isn't working. Some variables (like enable_shared)
12827 # are currently assumed to apply to all compilers on this platform,
12828 # and will be corrupted by setting them based on a non-working compiler.
12829 if test "$_lt_caught_CXX_error" != yes; then
12830 # Code to be used in simple compile tests
12831 lt_simple_compile_test_code="int some_variable = 0;"
12833 # Code to be used in simple link tests
12834 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12836 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12843 # If no C compiler was specified, use CC.
12846 # If no C compiler flags were specified, use CFLAGS.
12847 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12849 # Allow CC to be a program name with arguments.
12853 # save warnings/boilerplate of simple test code
12854 ac_outfile=conftest.$ac_objext
12855 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12856 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12857 _lt_compiler_boilerplate=`cat conftest.err`
12860 ac_outfile=conftest.$ac_objext
12861 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12862 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12863 _lt_linker_boilerplate=`cat conftest.err`
12867 # Allow CC to be a program name with arguments.
12869 lt_save_CFLAGS=$CFLAGS
12873 lt_save_with_gnu_ld=$with_gnu_ld
12874 lt_save_path_LD=$lt_cv_path_LD
12875 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12876 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12878 $as_unset lt_cv_prog_gnu_ld
12880 if test -n "${lt_cv_path_LDCXX+set}"; then
12881 lt_cv_path_LD=$lt_cv_path_LDCXX
12883 $as_unset lt_cv_path_LD
12885 test -z "${LDCXX+set}" || LD=$LDCXX
12890 for cc_temp in $compiler""; do
12892 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12893 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12898 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12901 if test -n "$compiler"; then
12902 # We don't want -fno-exception when compiling C++ code, so set the
12903 # no_builtin_flag separately
12904 if test "$GXX" = yes; then
12905 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12907 lt_prog_compiler_no_builtin_flag_CXX=
12910 if test "$GXX" = yes; then
12911 # Set up default GNU C++ configuration
12915 # Check whether --with-gnu-ld was given.
12916 if test "${with_gnu_ld+set}" = set; then :
12917 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12923 if test "$GCC" = yes; then
12924 # Check if gcc -print-prog-name=ld gives a path.
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12926 $as_echo_n "checking for ld used by $CC... " >&6; }
12929 # gcc leaves a trailing carriage return which upsets mingw
12930 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12932 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12935 # Accept absolute paths.
12937 re_direlt='/[^/][^/]*/\.\./'
12938 # Canonicalize the pathname of ld
12939 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12940 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12941 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12943 test -z "$LD" && LD="$ac_prog"
12946 # If it fails, then pretend we aren't using GCC.
12950 # If it is relative, then search for the first ld in PATH.
12951 with_gnu_ld=unknown
12954 elif test "$with_gnu_ld" = yes; then
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12956 $as_echo_n "checking for GNU ld... " >&6; }
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12959 $as_echo_n "checking for non-GNU ld... " >&6; }
12961 if ${lt_cv_path_LD+:} false; then :
12962 $as_echo_n "(cached) " >&6
12964 if test -z "$LD"; then
12965 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12966 for ac_dir in $PATH; do
12968 test -z "$ac_dir" && ac_dir=.
12969 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12970 lt_cv_path_LD="$ac_dir/$ac_prog"
12971 # Check to see if the program is GNU ld. I'd rather use --version,
12972 # but apparently some variants of GNU ld only accept -v.
12973 # Break only if it was the GNU/non-GNU ld that we prefer.
12974 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12975 *GNU* | *'with BFD'*)
12976 test "$with_gnu_ld" != no && break
12979 test "$with_gnu_ld" != yes && break
12986 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12990 LD="$lt_cv_path_LD"
12991 if test -n "$LD"; then
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12993 $as_echo "$LD" >&6; }
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12996 $as_echo "no" >&6; }
12998 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13000 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13001 if ${lt_cv_prog_gnu_ld+:} false; then :
13002 $as_echo_n "(cached) " >&6
13004 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13005 case `$LD -v 2>&1 </dev/null` in
13006 *GNU* | *'with BFD'*)
13007 lt_cv_prog_gnu_ld=yes
13010 lt_cv_prog_gnu_ld=no
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13015 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13016 with_gnu_ld=$lt_cv_prog_gnu_ld
13024 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13025 # archiving commands below assume that GNU ld is being used.
13026 if test "$with_gnu_ld" = yes; then
13027 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13028 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'
13030 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13031 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13033 # If archive_cmds runs LD, not CC, wlarc should be empty
13034 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13035 # investigate it a little bit more. (MM)
13038 # ancient GNU ld didn't support --whole-archive et. al.
13039 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13040 $GREP 'no-whole-archive' > /dev/null; then
13041 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13043 whole_archive_flag_spec_CXX=
13049 # A generic and very simple default shared library creation
13050 # command for GNU C++ for the case where it uses the native
13051 # linker, instead of GNU ld. If possible, this setting should
13052 # overridden to take advantage of the native linker features on
13053 # the platform it is being used on.
13054 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13057 # Commands to make compiler produce verbose output that lists
13058 # what "hidden" libraries, object files and flags are used when
13059 # linking a shared library.
13060 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13068 # PORTME: fill in a description of your system's C++ link characteristics
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13070 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13074 # FIXME: insert proper C++ library support
13078 if test "$host_cpu" = ia64; then
13079 # On IA64, the linker does run time linking by default, so we don't
13080 # have to do anything special.
13081 aix_use_runtimelinking=no
13082 exp_sym_flag='-Bexport'
13085 aix_use_runtimelinking=no
13087 # Test if we are trying to use run time linking or normal
13088 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13089 # need to do runtime linking.
13090 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13091 for ld_flag in $LDFLAGS; do
13094 aix_use_runtimelinking=yes
13102 exp_sym_flag='-bexport'
13103 no_entry_flag='-bnoentry'
13106 # When large executables or shared objects are built, AIX ld can
13107 # have problems creating the table of contents. If linking a library
13108 # or program results in "error TOC overflow" add -mminimal-toc to
13109 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13110 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13112 archive_cmds_CXX=''
13113 hardcode_direct_CXX=yes
13114 hardcode_direct_absolute_CXX=yes
13115 hardcode_libdir_separator_CXX=':'
13116 link_all_deplibs_CXX=yes
13117 file_list_spec_CXX='${wl}-f,'
13119 if test "$GXX" = yes; then
13120 case $host_os in aix4.[012]|aix4.[012].*)
13121 # We only want to do this on AIX 4.2 and lower, the check
13122 # below for broken collect2 doesn't work under 4.3+
13123 collect2name=`${CC} -print-prog-name=collect2`
13124 if test -f "$collect2name" &&
13125 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13127 # We have reworked collect2
13130 # We have old collect2
13131 hardcode_direct_CXX=unsupported
13132 # It fails to find uninstalled libraries when the uninstalled
13133 # path is not listed in the libpath. Setting hardcode_minus_L
13134 # to unsupported forces relinking
13135 hardcode_minus_L_CXX=yes
13136 hardcode_libdir_flag_spec_CXX='-L$libdir'
13137 hardcode_libdir_separator_CXX=
13140 shared_flag='-shared'
13141 if test "$aix_use_runtimelinking" = yes; then
13142 shared_flag="$shared_flag "'${wl}-G'
13146 if test "$host_cpu" = ia64; then
13147 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13148 # chokes on -Wl,-G. The following line is correct:
13151 if test "$aix_use_runtimelinking" = yes; then
13152 shared_flag='${wl}-G'
13154 shared_flag='${wl}-bM:SRE'
13159 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13160 # It seems that -bexpall does not export symbols beginning with
13161 # underscore (_), so it is better to generate a list of symbols to
13163 always_export_symbols_CXX=yes
13164 if test "$aix_use_runtimelinking" = yes; then
13165 # Warning - without using the other runtime loading flags (-brtl),
13166 # -berok will link without error, but may produce a broken library.
13167 allow_undefined_flag_CXX='-berok'
13168 # Determine the default libpath from the value encoded in an empty
13170 if test "${lt_cv_aix_libpath+set}" = set; then
13171 aix_libpath=$lt_cv_aix_libpath
13173 if ${lt_cv_aix_libpath__CXX+:} false; then :
13174 $as_echo_n "(cached) " >&6
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13187 if ac_fn_cxx_try_link "$LINENO"; then :
13189 lt_aix_libpath_sed='
13190 /Import File Strings/,/^$/ {
13192 s/^0 *\([^ ]*\) *$/\1/
13196 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13197 # Check for a 64-bit object if we didn't find anything.
13198 if test -z "$lt_cv_aix_libpath__CXX"; then
13199 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13202 rm -f core conftest.err conftest.$ac_objext \
13203 conftest$ac_exeext conftest.$ac_ext
13204 if test -z "$lt_cv_aix_libpath__CXX"; then
13205 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13210 aix_libpath=$lt_cv_aix_libpath__CXX
13213 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13215 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"
13217 if test "$host_cpu" = ia64; then
13218 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13219 allow_undefined_flag_CXX="-z nodefs"
13220 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"
13222 # Determine the default libpath from the value encoded in an
13223 # empty executable.
13224 if test "${lt_cv_aix_libpath+set}" = set; then
13225 aix_libpath=$lt_cv_aix_libpath
13227 if ${lt_cv_aix_libpath__CXX+:} false; then :
13228 $as_echo_n "(cached) " >&6
13230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13241 if ac_fn_cxx_try_link "$LINENO"; then :
13243 lt_aix_libpath_sed='
13244 /Import File Strings/,/^$/ {
13246 s/^0 *\([^ ]*\) *$/\1/
13250 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13251 # Check for a 64-bit object if we didn't find anything.
13252 if test -z "$lt_cv_aix_libpath__CXX"; then
13253 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13256 rm -f core conftest.err conftest.$ac_objext \
13257 conftest$ac_exeext conftest.$ac_ext
13258 if test -z "$lt_cv_aix_libpath__CXX"; then
13259 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13264 aix_libpath=$lt_cv_aix_libpath__CXX
13267 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13268 # Warning - without using the other run time loading flags,
13269 # -berok will link without error, but may produce a broken library.
13270 no_undefined_flag_CXX=' ${wl}-bernotok'
13271 allow_undefined_flag_CXX=' ${wl}-berok'
13272 if test "$with_gnu_ld" = yes; then
13273 # We only use this code for GNU lds that support --whole-archive.
13274 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13276 # Exported symbols can be pulled into shared objects from archives
13277 whole_archive_flag_spec_CXX='$convenience'
13279 archive_cmds_need_lc_CXX=yes
13280 # This is similar to how AIX traditionally builds its shared
13282 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'
13288 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13289 allow_undefined_flag_CXX=unsupported
13290 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13291 # support --undefined. This deserves some investigation. FIXME
13292 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13299 case $cc_basename in
13301 # FIXME: insert proper C++ library support
13307 cygwin* | mingw* | pw32* | cegcc*)
13308 case $GXX,$cc_basename in
13311 # hardcode_libdir_flag_spec is actually meaningless, as there is
13312 # no search path for DLLs.
13313 hardcode_libdir_flag_spec_CXX=' '
13314 allow_undefined_flag_CXX=unsupported
13315 always_export_symbols_CXX=yes
13316 file_list_spec_CXX='@'
13317 # Tell ltmain to make .lib files, not .a files.
13319 # Tell ltmain to make .dll files, not .so files.
13321 # FIXME: Setting linknames here is a bad hack.
13322 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13323 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13324 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13326 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13328 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13330 # The linker will not automatically build a static lib if we build a DLL.
13331 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13332 enable_shared_with_static_runtimes_CXX=yes
13334 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13335 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13336 lt_tool_outputfile="@TOOL_OUTPUT@"~
13337 case $lt_outputfile in
13340 lt_outputfile="$lt_outputfile.exe"
13341 lt_tool_outputfile="$lt_tool_outputfile.exe"
13344 func_to_tool_file "$lt_outputfile"~
13345 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13346 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13347 $RM "$lt_outputfile.manifest";
13352 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13353 # as there is no search path for DLLs.
13354 hardcode_libdir_flag_spec_CXX='-L$libdir'
13355 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13356 allow_undefined_flag_CXX=unsupported
13357 always_export_symbols_CXX=no
13358 enable_shared_with_static_runtimes_CXX=yes
13360 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13361 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'
13362 # If the export-symbols file already is a .def file (1st line
13363 # is EXPORTS), use it as is; otherwise, prepend...
13364 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13365 cp $export_symbols $output_objdir/$soname.def;
13367 echo EXPORTS > $output_objdir/$soname.def;
13368 cat $export_symbols >> $output_objdir/$soname.def;
13370 $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'
13377 darwin* | rhapsody*)
13380 archive_cmds_need_lc_CXX=no
13381 hardcode_direct_CXX=no
13382 hardcode_automatic_CXX=yes
13383 hardcode_shlibpath_var_CXX=unsupported
13384 if test "$lt_cv_ld_force_load" = "yes"; then
13385 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\"`'
13388 whole_archive_flag_spec_CXX=''
13390 link_all_deplibs_CXX=yes
13391 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13392 case $cc_basename in
13393 ifort*) _lt_dar_can_shared=yes ;;
13394 *) _lt_dar_can_shared=$GCC ;;
13396 if test "$_lt_dar_can_shared" = "yes"; then
13397 output_verbose_link_cmd=func_echo_all
13398 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}"
13399 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13400 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}"
13401 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}"
13402 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13403 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}"
13404 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}"
13414 case $cc_basename in
13416 # FIXME: insert proper C++ library support
13420 # Green Hills C++ Compiler
13421 # FIXME: insert proper C++ library support
13425 # FIXME: insert proper C++ library support
13432 # C++ shared libraries reported to be fairly broken before
13438 archive_cmds_need_lc_CXX=no
13441 freebsd* | dragonfly*)
13442 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13448 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13449 link_all_deplibs_CXX=yes
13453 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13454 hardcode_libdir_separator_CXX=:
13455 export_dynamic_flag_spec_CXX='${wl}-E'
13456 hardcode_direct_CXX=yes
13457 hardcode_minus_L_CXX=yes # Not in the search PATH,
13458 # but as the default
13459 # location of the library.
13461 case $cc_basename in
13463 # FIXME: insert proper C++ library support
13467 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'
13468 # Commands to make compiler produce verbose output that lists
13469 # what "hidden" libraries, object files and flags are used when
13470 # linking a shared library.
13472 # There doesn't appear to be a way to prevent this compiler from
13473 # explicitly linking system object files so we need to strip them
13474 # from the output so that they don't get included in the library
13476 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"'
13479 if test "$GXX" = yes; then
13480 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'
13482 # FIXME: insert proper C++ library support
13490 if test $with_gnu_ld = no; then
13491 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13492 hardcode_libdir_separator_CXX=:
13498 export_dynamic_flag_spec_CXX='${wl}-E'
13504 hardcode_direct_CXX=no
13505 hardcode_shlibpath_var_CXX=no
13508 hardcode_direct_CXX=yes
13509 hardcode_direct_absolute_CXX=yes
13510 hardcode_minus_L_CXX=yes # Not in the search PATH,
13511 # but as the default
13512 # location of the library.
13516 case $cc_basename in
13518 # FIXME: insert proper C++ library support
13524 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13527 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13530 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13533 # Commands to make compiler produce verbose output that lists
13534 # what "hidden" libraries, object files and flags are used when
13535 # linking a shared library.
13537 # There doesn't appear to be a way to prevent this compiler from
13538 # explicitly linking system object files so we need to strip them
13539 # from the output so that they don't get included in the library
13541 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"'
13544 if test "$GXX" = yes; then
13545 if test $with_gnu_ld = no; then
13548 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13551 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13554 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'
13559 # FIXME: insert proper C++ library support
13567 hardcode_direct_CXX=no
13568 hardcode_shlibpath_var_CXX=no
13569 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13570 export_dynamic_flag_spec_CXX='${wl}-E'
13571 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13572 # Instead, shared libraries are loaded at an image base (0x10000000 by
13573 # default) and relocated if they conflict, which is a slow very memory
13574 # consuming and fragmenting process. To avoid this, we pick a random,
13575 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13576 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13577 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'
13578 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'
13581 case $cc_basename in
13584 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'
13586 # Archives containing C++ object files must be created using
13587 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13588 # necessary to make sure instantiated templates are included
13590 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13593 if test "$GXX" = yes; then
13594 if test "$with_gnu_ld" = no; then
13595 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'
13597 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'
13600 link_all_deplibs_CXX=yes
13603 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13604 hardcode_libdir_separator_CXX=:
13605 inherit_rpath_CXX=yes
13608 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13609 case $cc_basename in
13611 # Kuck and Associates, Inc. (KAI) C++ Compiler
13613 # KCC will only create a shared library if the output file
13614 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13615 # to its proper name (with version) after linking.
13616 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'
13617 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'
13618 # Commands to make compiler produce verbose output that lists
13619 # what "hidden" libraries, object files and flags are used when
13620 # linking a shared library.
13622 # There doesn't appear to be a way to prevent this compiler from
13623 # explicitly linking system object files so we need to strip them
13624 # from the output so that they don't get included in the library
13626 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"'
13628 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13629 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13631 # Archives containing C++ object files must be created using
13632 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13633 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13638 # version 8.0 and above of icpc choke on multiply defined symbols
13639 # if we add $predep_objects and $postdep_objects, however 7.1 and
13640 # earlier do not add the objects themselves.
13641 case `$CC -V 2>&1` in
13643 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13644 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'
13646 *) # Version 8.0 or newer
13649 ia64*) tmp_idyn=' -i_dynamic';;
13651 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13652 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'
13655 archive_cmds_need_lc_CXX=no
13656 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13657 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13658 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13661 # Portland Group C++ compiler
13663 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13664 prelink_cmds_CXX='tpldir=Template.dir~
13666 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13667 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13668 old_archive_cmds_CXX='tpldir=Template.dir~
13670 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13671 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13673 archive_cmds_CXX='tpldir=Template.dir~
13675 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13676 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13677 archive_expsym_cmds_CXX='tpldir=Template.dir~
13679 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13680 $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'
13682 *) # Version 6 and above use weak symbols
13683 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13684 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'
13688 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13689 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13690 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'
13694 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13695 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'
13697 runpath_var=LD_RUN_PATH
13698 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13699 hardcode_libdir_separator_CXX=:
13701 # Commands to make compiler produce verbose output that lists
13702 # what "hidden" libraries, object files and flags are used when
13703 # linking a shared library.
13705 # There doesn't appear to be a way to prevent this compiler from
13706 # explicitly linking system object files so we need to strip them
13707 # from the output so that they don't get included in the library
13709 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'
13711 xl* | mpixl* | bgxl*)
13712 # IBM XL 8.0 on PPC, with GNU ld
13713 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13714 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13715 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13716 if test "x$supports_anon_versioning" = xyes; then
13717 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13718 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13719 echo "local: *; };" >> $output_objdir/$libname.ver~
13720 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13724 case `$CC -V 2>&1 | sed 5q` in
13727 no_undefined_flag_CXX=' -zdefs'
13728 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13729 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'
13730 hardcode_libdir_flag_spec_CXX='-R$libdir'
13731 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'
13732 compiler_needs_object_CXX=yes
13734 # Not sure whether something based on
13735 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13737 output_verbose_link_cmd='func_echo_all'
13739 # Archives containing C++ object files must be created using
13740 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13741 # necessary to make sure instantiated templates are included
13743 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13751 # FIXME: insert proper C++ library support
13756 # FIXME: insert proper C++ library support
13761 case $cc_basename in
13763 # FIXME: insert proper C++ library support
13767 # FIXME: insert proper C++ library support
13774 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13775 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13777 hardcode_libdir_flag_spec_CXX='-R$libdir'
13778 hardcode_direct_CXX=yes
13779 hardcode_shlibpath_var_CXX=no
13781 # Workaround some broken pre-1.5 toolchains
13782 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13790 # C++ shared libraries are fairly broken
13795 if test -f /usr/libexec/ld.so; then
13796 hardcode_direct_CXX=yes
13797 hardcode_shlibpath_var_CXX=no
13798 hardcode_direct_absolute_CXX=yes
13799 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13800 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13801 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13802 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13803 export_dynamic_flag_spec_CXX='${wl}-E'
13804 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13806 output_verbose_link_cmd=func_echo_all
13812 osf3* | osf4* | osf5*)
13813 case $cc_basename in
13815 # Kuck and Associates, Inc. (KAI) C++ Compiler
13817 # KCC will only create a shared library if the output file
13818 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13819 # to its proper name (with version) after linking.
13820 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'
13822 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13823 hardcode_libdir_separator_CXX=:
13825 # Archives containing C++ object files must be created using
13826 # the KAI C++ compiler.
13828 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13829 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13833 # Rational C++ 2.4.1
13834 # FIXME: insert proper C++ library support
13840 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13841 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'
13842 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13845 allow_undefined_flag_CXX=' -expect_unresolved \*'
13846 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'
13847 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13848 echo "-hidden">> $lib.exp~
13849 $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~
13851 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13855 hardcode_libdir_separator_CXX=:
13857 # Commands to make compiler produce verbose output that lists
13858 # what "hidden" libraries, object files and flags are used when
13859 # linking a shared library.
13861 # There doesn't appear to be a way to prevent this compiler from
13862 # explicitly linking system object files so we need to strip them
13863 # from the output so that they don't get included in the library
13865 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"'
13868 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13869 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13872 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'
13875 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'
13879 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13880 hardcode_libdir_separator_CXX=:
13882 # Commands to make compiler produce verbose output that lists
13883 # what "hidden" libraries, object files and flags are used when
13884 # linking a shared library.
13885 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13888 # FIXME: insert proper C++ library support
13896 # FIXME: insert proper C++ library support
13901 case $cc_basename in
13904 # FIXME: insert proper C++ library support
13909 # FIXME: insert proper C++ library support
13913 # FIXME: insert proper C++ library support
13920 case $cc_basename in
13922 # Sun C++ 4.2, 5.x and Centerline C++
13923 archive_cmds_need_lc_CXX=yes
13924 no_undefined_flag_CXX=' -zdefs'
13925 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13926 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13927 $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'
13929 hardcode_libdir_flag_spec_CXX='-R$libdir'
13930 hardcode_shlibpath_var_CXX=no
13932 solaris2.[0-5] | solaris2.[0-5].*) ;;
13934 # The compiler driver will combine and reorder linker options,
13935 # but understands `-z linker_flag'.
13936 # Supported since Solaris 2.6 (maybe 2.5.1?)
13937 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13940 link_all_deplibs_CXX=yes
13942 output_verbose_link_cmd='func_echo_all'
13944 # Archives containing C++ object files must be created using
13945 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13946 # necessary to make sure instantiated templates are included
13948 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13951 # Green Hills C++ Compiler
13952 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13954 # The C++ compiler must be used to create the archive.
13955 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13958 # GNU C++ compiler with Solaris linker
13959 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13960 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13961 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13962 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13963 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13964 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13966 # Commands to make compiler produce verbose output that lists
13967 # what "hidden" libraries, object files and flags are used when
13968 # linking a shared library.
13969 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13971 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13973 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13974 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13975 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13977 # Commands to make compiler produce verbose output that lists
13978 # what "hidden" libraries, object files and flags are used when
13979 # linking a shared library.
13980 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13983 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13985 solaris2.[0-5] | solaris2.[0-5].*) ;;
13987 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13995 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13996 no_undefined_flag_CXX='${wl}-z,text'
13997 archive_cmds_need_lc_CXX=no
13998 hardcode_shlibpath_var_CXX=no
13999 runpath_var='LD_RUN_PATH'
14001 case $cc_basename in
14003 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14004 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14007 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14008 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14013 sysv5* | sco3.2v5* | sco5v6*)
14014 # Note: We can NOT use -z defs as we might desire, because we do not
14015 # link with -lc, and that would cause any symbols used from libc to
14016 # always be unresolved, which means just about no library would
14017 # ever link correctly. If we're not using GNU ld we use -z text
14018 # though, which does catch some bad symbols but isn't as heavy-handed
14020 no_undefined_flag_CXX='${wl}-z,text'
14021 allow_undefined_flag_CXX='${wl}-z,nodefs'
14022 archive_cmds_need_lc_CXX=no
14023 hardcode_shlibpath_var_CXX=no
14024 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14025 hardcode_libdir_separator_CXX=':'
14026 link_all_deplibs_CXX=yes
14027 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14028 runpath_var='LD_RUN_PATH'
14030 case $cc_basename in
14032 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14033 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14034 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14035 '"$old_archive_cmds_CXX"
14036 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14037 '"$reload_cmds_CXX"
14040 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14041 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14047 case $cc_basename in
14049 # NonStop-UX NCC 3.20
14050 # FIXME: insert proper C++ library support
14054 # FIXME: insert proper C++ library support
14061 # FIXME: insert proper C++ library support
14066 # FIXME: insert proper C++ library support
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14072 $as_echo "$ld_shlibs_CXX" >&6; }
14073 test "$ld_shlibs_CXX" = no && can_build_shared=no
14079 ## There is no encapsulation within the following macros, do not change
14080 ## the running order or otherwise move them around unless you know exactly
14081 ## what you are doing...
14082 # Dependencies to place before and after the object being linked:
14083 predep_objects_CXX=
14084 postdep_objects_CXX=
14087 compiler_lib_search_path_CXX=
14089 cat > conftest.$ac_ext <<_LT_EOF
14093 Foo (void) { a = 0; }
14100 _lt_libdeps_save_CFLAGS=$CFLAGS
14101 case "$CC $CFLAGS " in #(
14102 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14103 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14104 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14108 (eval $ac_compile) 2>&5
14110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14111 test $ac_status = 0; }; then
14112 # Parse the compiler output and extract the necessary
14113 # objects, libraries and library flags.
14115 # Sentinel used to keep track of whether or not we are before
14116 # the conftest object file.
14117 pre_test_object_deps_done=no
14119 for p in `eval "$output_verbose_link_cmd"`; do
14120 case ${prev}${p} in
14123 # Some compilers place space between "-{L,R}" and the path.
14124 # Remove the space.
14125 if test $p = "-L" ||
14126 test $p = "-R"; then
14131 # Expand the sysroot to ease extracting the directories later.
14132 if test -z "$prev"; then
14134 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14135 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14136 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14140 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14142 if test "$pre_test_object_deps_done" = no; then
14145 # Internal compiler library paths should come after those
14146 # provided the user. The postdeps already come after the
14147 # user supplied libs so there is no need to process them.
14148 if test -z "$compiler_lib_search_path_CXX"; then
14149 compiler_lib_search_path_CXX="${prev}${p}"
14151 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14154 # The "-l" case would never come before the object being
14155 # linked, so don't bother handling this case.
14158 if test -z "$postdeps_CXX"; then
14159 postdeps_CXX="${prev}${p}"
14161 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14167 *.lto.$objext) ;; # Ignore GCC LTO objects
14169 # This assumes that the test object file only shows up
14170 # once in the compiler output.
14171 if test "$p" = "conftest.$objext"; then
14172 pre_test_object_deps_done=yes
14176 if test "$pre_test_object_deps_done" = no; then
14177 if test -z "$predep_objects_CXX"; then
14178 predep_objects_CXX="$p"
14180 predep_objects_CXX="$predep_objects_CXX $p"
14183 if test -z "$postdep_objects_CXX"; then
14184 postdep_objects_CXX="$p"
14186 postdep_objects_CXX="$postdep_objects_CXX $p"
14191 *) ;; # Ignore the rest.
14199 echo "libtool.m4: error: problem compiling CXX test program"
14202 $RM -f confest.$objext
14203 CFLAGS=$_lt_libdeps_save_CFLAGS
14205 # PORTME: override above test on systems where it is broken
14208 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14209 # hack all around it, let's just trust "g++" to DTRT.
14210 predep_objects_CXX=
14211 postdep_objects_CXX=
14216 case `$CC -V 2>&1 | sed 5q` in
14220 # The more standards-conforming stlport4 library is
14221 # incompatible with the Cstd library. Avoid specifying
14222 # it if it's in CXXFLAGS. Ignore libCrun as
14223 # -library=stlport4 depends on it.
14224 case " $CXX $CXXFLAGS " in
14225 *" -library=stlport4 "*)
14226 solaris_use_stlport4=yes
14230 if test "$solaris_use_stlport4" != yes; then
14231 postdeps_CXX='-library=Cstd -library=Crun'
14238 case $cc_basename in
14240 # The more standards-conforming stlport4 library is
14241 # incompatible with the Cstd library. Avoid specifying
14242 # it if it's in CXXFLAGS. Ignore libCrun as
14243 # -library=stlport4 depends on it.
14244 case " $CXX $CXXFLAGS " in
14245 *" -library=stlport4 "*)
14246 solaris_use_stlport4=yes
14250 # Adding this requires a known-good setup of shared libraries for
14251 # Sun compiler versions before 5.6, else PIC objects from an old
14252 # archive will be linked into the output, leading to subtle bugs.
14253 if test "$solaris_use_stlport4" != yes; then
14254 postdeps_CXX='-library=Cstd -library=Crun'
14262 case " $postdeps_CXX " in
14263 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14265 compiler_lib_search_dirs_CXX=
14266 if test -n "${compiler_lib_search_path_CXX}"; then
14267 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14300 lt_prog_compiler_wl_CXX=
14301 lt_prog_compiler_pic_CXX=
14302 lt_prog_compiler_static_CXX=
14305 # C++ specific cases for pic, static, wl, etc.
14306 if test "$GXX" = yes; then
14307 lt_prog_compiler_wl_CXX='-Wl,'
14308 lt_prog_compiler_static_CXX='-static'
14312 # All AIX code is PIC.
14313 if test "$host_cpu" = ia64; then
14314 # AIX 5 now supports IA64 processor
14315 lt_prog_compiler_static_CXX='-Bstatic'
14322 # see comment about AmigaOS4 .so support
14323 lt_prog_compiler_pic_CXX='-fPIC'
14326 # FIXME: we need at least 68020 code to build shared libraries, but
14327 # adding the `-m68020' flag to GCC prevents building anything better,
14329 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14334 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14335 # PIC is the default for these OSes.
14337 mingw* | cygwin* | os2* | pw32* | cegcc*)
14338 # This hack is so that the source file can tell whether it is being
14339 # built for inclusion in a dll (and should export symbols for example).
14340 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14341 # (--disable-auto-import) libraries
14342 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14344 darwin* | rhapsody*)
14345 # PIC is the default on this platform
14346 # Common symbols not allowed in MH_DYLIB files
14347 lt_prog_compiler_pic_CXX='-fno-common'
14350 # DJGPP does not support shared libraries at all
14351 lt_prog_compiler_pic_CXX=
14354 # PIC is the default for Haiku.
14355 # The "-static" flag exists, but is broken.
14356 lt_prog_compiler_static_CXX=
14359 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14360 # Instead, we relocate shared libraries at runtime.
14363 if test -d /usr/nec; then
14364 lt_prog_compiler_pic_CXX=-Kconform_pic
14368 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14369 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14370 # sets the default TLS model and affects inlining.
14375 lt_prog_compiler_pic_CXX='-fPIC'
14380 # QNX uses GNU C++, but need to define -shared option too, otherwise
14381 # it will coredump.
14382 lt_prog_compiler_pic_CXX='-fPIC -shared'
14385 lt_prog_compiler_pic_CXX='-fPIC'
14391 # All AIX code is PIC.
14392 if test "$host_cpu" = ia64; then
14393 # AIX 5 now supports IA64 processor
14394 lt_prog_compiler_static_CXX='-Bstatic'
14396 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14400 case $cc_basename in
14402 # Green Hills C++ Compiler
14403 # _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"
14407 mingw* | cygwin* | os2* | pw32* | cegcc*)
14408 # This hack is so that the source file can tell whether it is being
14409 # built for inclusion in a dll (and should export symbols for example).
14410 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14413 case $cc_basename in
14415 lt_prog_compiler_pic_CXX='-KPIC'
14418 # Green Hills C++ Compiler
14419 lt_prog_compiler_pic_CXX='-pic'
14425 freebsd* | dragonfly*)
14426 # FreeBSD uses GNU C++
14428 hpux9* | hpux10* | hpux11*)
14429 case $cc_basename in
14431 lt_prog_compiler_wl_CXX='-Wl,'
14432 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14433 if test "$host_cpu" != ia64; then
14434 lt_prog_compiler_pic_CXX='+Z'
14438 lt_prog_compiler_wl_CXX='-Wl,'
14439 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14445 lt_prog_compiler_pic_CXX='+Z'
14454 # This is c89, which is MS Visual C++ (no shared libs)
14455 # Anyone wants to do a port?
14457 irix5* | irix6* | nonstopux*)
14458 case $cc_basename in
14460 lt_prog_compiler_wl_CXX='-Wl,'
14461 lt_prog_compiler_static_CXX='-non_shared'
14462 # CC pic flag -KPIC is the default.
14468 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14469 case $cc_basename in
14472 lt_prog_compiler_wl_CXX='--backend -Wl,'
14473 lt_prog_compiler_pic_CXX='-fPIC'
14476 # old Intel C++ for x86_64 which still supported -KPIC.
14477 lt_prog_compiler_wl_CXX='-Wl,'
14478 lt_prog_compiler_pic_CXX='-KPIC'
14479 lt_prog_compiler_static_CXX='-static'
14482 # Intel C++, used to be incompatible with GCC.
14483 # ICC 10 doesn't accept -KPIC any more.
14484 lt_prog_compiler_wl_CXX='-Wl,'
14485 lt_prog_compiler_pic_CXX='-fPIC'
14486 lt_prog_compiler_static_CXX='-static'
14489 # Portland Group C++ compiler
14490 lt_prog_compiler_wl_CXX='-Wl,'
14491 lt_prog_compiler_pic_CXX='-fpic'
14492 lt_prog_compiler_static_CXX='-Bstatic'
14496 # Make sure the PIC flag is empty. It appears that all Alpha
14497 # Linux and Compaq Tru64 Unix objects are PIC.
14498 lt_prog_compiler_pic_CXX=
14499 lt_prog_compiler_static_CXX='-non_shared'
14501 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14502 # IBM XL 8.0, 9.0 on PPC and BlueGene
14503 lt_prog_compiler_wl_CXX='-Wl,'
14504 lt_prog_compiler_pic_CXX='-qpic'
14505 lt_prog_compiler_static_CXX='-qstaticlink'
14508 case `$CC -V 2>&1 | sed 5q` in
14511 lt_prog_compiler_pic_CXX='-KPIC'
14512 lt_prog_compiler_static_CXX='-Bstatic'
14513 lt_prog_compiler_wl_CXX='-Qoption ld '
14524 case $cc_basename in
14526 lt_prog_compiler_pic_CXX='-W c,exportall'
14532 netbsd* | netbsdelf*-gnu)
14535 # QNX uses GNU C++, but need to define -shared option too, otherwise
14536 # it will coredump.
14537 lt_prog_compiler_pic_CXX='-fPIC -shared'
14539 osf3* | osf4* | osf5*)
14540 case $cc_basename in
14542 lt_prog_compiler_wl_CXX='--backend -Wl,'
14545 # Rational C++ 2.4.1
14546 lt_prog_compiler_pic_CXX='-pic'
14549 # Digital/Compaq C++
14550 lt_prog_compiler_wl_CXX='-Wl,'
14551 # Make sure the PIC flag is empty. It appears that all Alpha
14552 # Linux and Compaq Tru64 Unix objects are PIC.
14553 lt_prog_compiler_pic_CXX=
14554 lt_prog_compiler_static_CXX='-non_shared'
14563 case $cc_basename in
14565 # Sun C++ 4.2, 5.x and Centerline C++
14566 lt_prog_compiler_pic_CXX='-KPIC'
14567 lt_prog_compiler_static_CXX='-Bstatic'
14568 lt_prog_compiler_wl_CXX='-Qoption ld '
14571 # Green Hills C++ Compiler
14572 lt_prog_compiler_pic_CXX='-PIC'
14579 case $cc_basename in
14582 lt_prog_compiler_pic_CXX='-pic'
14583 lt_prog_compiler_static_CXX='-Bstatic'
14587 lt_prog_compiler_pic_CXX='-pic'
14593 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14594 case $cc_basename in
14596 lt_prog_compiler_wl_CXX='-Wl,'
14597 lt_prog_compiler_pic_CXX='-KPIC'
14598 lt_prog_compiler_static_CXX='-Bstatic'
14603 case $cc_basename in
14605 # NonStop-UX NCC 3.20
14606 lt_prog_compiler_pic_CXX='-KPIC'
14615 lt_prog_compiler_can_build_shared_CXX=no
14621 # For platforms which do not support PIC, -DPIC is meaningless:
14623 lt_prog_compiler_pic_CXX=
14626 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14631 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14632 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14633 $as_echo_n "(cached) " >&6
14635 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14638 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14639 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14642 # Check to make sure the PIC flag actually works.
14644 if test -n "$lt_prog_compiler_pic_CXX"; then
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14646 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14647 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14648 $as_echo_n "(cached) " >&6
14650 lt_cv_prog_compiler_pic_works_CXX=no
14651 ac_outfile=conftest.$ac_objext
14652 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14653 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14654 # Insert the option either (1) after the last *FLAGS variable, or
14655 # (2) before a word containing "conftest.", or (3) at the end.
14656 # Note that $ac_compile itself does not contain backslashes and begins
14657 # with a dollar sign (not a hyphen), so the echo should work correctly.
14658 # The option is referenced via a variable to avoid confusing sed.
14659 lt_compile=`echo "$ac_compile" | $SED \
14660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14662 -e 's:$: $lt_compiler_flag:'`
14663 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14664 (eval "$lt_compile" 2>conftest.err)
14666 cat conftest.err >&5
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 if (exit $ac_status) && test -s "$ac_outfile"; then
14669 # The compiler can only warn and ignore the option if not recognized
14670 # So say no if there are warnings other than the usual output.
14671 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14672 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14673 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14674 lt_cv_prog_compiler_pic_works_CXX=yes
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14681 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14683 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14684 case $lt_prog_compiler_pic_CXX in
14686 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14689 lt_prog_compiler_pic_CXX=
14690 lt_prog_compiler_can_build_shared_CXX=no
14700 # Check to make sure the static flag actually works.
14702 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14704 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14705 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14706 $as_echo_n "(cached) " >&6
14708 lt_cv_prog_compiler_static_works_CXX=no
14709 save_LDFLAGS="$LDFLAGS"
14710 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14711 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14712 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14713 # The linker can only warn and ignore the option if not recognized
14714 # So say no if there are warnings
14715 if test -s conftest.err; then
14716 # Append any errors to the config.log.
14717 cat conftest.err 1>&5
14718 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14719 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14720 if diff conftest.exp conftest.er2 >/dev/null; then
14721 lt_cv_prog_compiler_static_works_CXX=yes
14724 lt_cv_prog_compiler_static_works_CXX=yes
14728 LDFLAGS="$save_LDFLAGS"
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14732 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14734 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14737 lt_prog_compiler_static_CXX=
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14744 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14745 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14746 $as_echo_n "(cached) " >&6
14748 lt_cv_prog_compiler_c_o_CXX=no
14749 $RM -r conftest 2>/dev/null
14753 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14755 lt_compiler_flag="-o out/conftest2.$ac_objext"
14756 # Insert the option either (1) after the last *FLAGS variable, or
14757 # (2) before a word containing "conftest.", or (3) at the end.
14758 # Note that $ac_compile itself does not contain backslashes and begins
14759 # with a dollar sign (not a hyphen), so the echo should work correctly.
14760 lt_compile=`echo "$ac_compile" | $SED \
14761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14763 -e 's:$: $lt_compiler_flag:'`
14764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14765 (eval "$lt_compile" 2>out/conftest.err)
14767 cat out/conftest.err >&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14771 # The compiler can only warn and ignore the option if not recognized
14772 # So say no if there are warnings
14773 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14774 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14775 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14776 lt_cv_prog_compiler_c_o_CXX=yes
14781 # SGI C++ compiler will create directory out/ii_files/ for
14782 # template instantiation
14783 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14784 $RM out/* && rmdir out
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14791 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14796 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14797 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14798 $as_echo_n "(cached) " >&6
14800 lt_cv_prog_compiler_c_o_CXX=no
14801 $RM -r conftest 2>/dev/null
14805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14807 lt_compiler_flag="-o out/conftest2.$ac_objext"
14808 # Insert the option either (1) after the last *FLAGS variable, or
14809 # (2) before a word containing "conftest.", or (3) at the end.
14810 # Note that $ac_compile itself does not contain backslashes and begins
14811 # with a dollar sign (not a hyphen), so the echo should work correctly.
14812 lt_compile=`echo "$ac_compile" | $SED \
14813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14815 -e 's:$: $lt_compiler_flag:'`
14816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14817 (eval "$lt_compile" 2>out/conftest.err)
14819 cat out/conftest.err >&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14823 # The compiler can only warn and ignore the option if not recognized
14824 # So say no if there are warnings
14825 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14826 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14827 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14828 lt_cv_prog_compiler_c_o_CXX=yes
14833 # SGI C++ compiler will create directory out/ii_files/ for
14834 # template instantiation
14835 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14836 $RM out/* && rmdir out
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14843 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14848 hard_links="nottested"
14849 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14850 # do not overwrite the value of need_locks provided by the user
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14852 $as_echo_n "checking if we can lock with hard links... " >&6; }
14855 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14857 ln conftest.a conftest.b 2>&5 || hard_links=no
14858 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14860 $as_echo "$hard_links" >&6; }
14861 if test "$hard_links" = no; then
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14863 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14873 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14875 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14876 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14879 # If we're using GNU nm, then we don't want the "-C" option.
14880 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14881 # Also, AIX nm treats weak defined symbols like other global defined
14882 # symbols, whereas GNU nm marks them as "W".
14883 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14884 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'
14886 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'
14890 export_symbols_cmds_CXX="$ltdll_cmds"
14892 cygwin* | mingw* | cegcc*)
14893 case $cc_basename in
14895 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14898 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'
14899 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14903 linux* | k*bsd*-gnu | gnu*)
14904 link_all_deplibs_CXX=no
14907 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14912 $as_echo "$ld_shlibs_CXX" >&6; }
14913 test "$ld_shlibs_CXX" = no && can_build_shared=no
14915 with_gnu_ld_CXX=$with_gnu_ld
14923 # Do we need to explicitly link libc?
14925 case "x$archive_cmds_need_lc_CXX" in
14927 # Assume -lc should be added
14928 archive_cmds_need_lc_CXX=yes
14930 if test "$enable_shared" = yes && test "$GCC" = yes; then
14931 case $archive_cmds_CXX in
14933 # FIXME: we may have to deal with multi-command sequences.
14936 # Test whether the compiler implicitly links with -lc since on some
14937 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14938 # to ld, don't add -lc before -lgcc.
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14940 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14941 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14942 $as_echo_n "(cached) " >&6
14945 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14948 (eval $ac_compile) 2>&5
14950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14951 test $ac_status = 0; } 2>conftest.err; then
14954 libobjs=conftest.$ac_objext
14956 wl=$lt_prog_compiler_wl_CXX
14957 pic_flag=$lt_prog_compiler_pic_CXX
14963 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14964 allow_undefined_flag_CXX=
14965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14966 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14969 test $ac_status = 0; }
14971 lt_cv_archive_cmds_need_lc_CXX=no
14973 lt_cv_archive_cmds_need_lc_CXX=yes
14975 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14977 cat conftest.err 1>&5
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14983 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14984 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15053 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15055 library_names_spec=
15056 libname_spec='lib$name'
15060 postuninstall_cmds=
15064 shlibpath_overrides_runpath=unknown
15066 dynamic_linker="$host_os ld.so"
15067 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15068 need_lib_prefix=unknown
15069 hardcode_into_libs=no
15071 # when you set need_version to no, make sure it does not cause -set_version
15072 # flags to be left without arguments
15073 need_version=unknown
15077 version_type=linux # correct to gnu/linux during the next big refactor
15078 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15079 shlibpath_var=LIBPATH
15081 # AIX 3 has no versioning support, so we append a major version to the name.
15082 soname_spec='${libname}${release}${shared_ext}$major'
15086 version_type=linux # correct to gnu/linux during the next big refactor
15089 hardcode_into_libs=yes
15090 if test "$host_cpu" = ia64; then
15091 # AIX 5 supports IA64
15092 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15093 shlibpath_var=LD_LIBRARY_PATH
15095 # With GCC up to 2.95.x, collect2 would create an import file
15096 # for dependence libraries. The import file would start with
15097 # the line `#! .'. This would cause the generated library to
15098 # depend on `.', always an invalid library. This was fixed in
15099 # development snapshots of GCC prior to 3.0.
15101 aix4 | aix4.[01] | aix4.[01].*)
15102 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15104 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15107 can_build_shared=no
15111 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15112 # soname into executable. Probably we can add versioning support to
15113 # collect2, so additional links can be useful in future.
15114 if test "$aix_use_runtimelinking" = yes; then
15115 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15116 # instead of lib<name>.a to let people know that these are not
15117 # typical AIX shared libraries.
15118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15120 # We preserve .a as extension for shared libraries through AIX4.2
15121 # and later when we are not doing run time linking.
15122 library_names_spec='${libname}${release}.a $libname.a'
15123 soname_spec='${libname}${release}${shared_ext}$major'
15125 shlibpath_var=LIBPATH
15132 # Since July 2007 AmigaOS4 officially supports .so libraries.
15133 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15137 library_names_spec='$libname.ixlibrary $libname.a'
15138 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15139 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'
15145 library_names_spec='${libname}${shared_ext}'
15146 dynamic_linker="$host_os ld.so"
15147 shlibpath_var=LIBRARY_PATH
15151 version_type=linux # correct to gnu/linux during the next big refactor
15153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15154 soname_spec='${libname}${release}${shared_ext}$major'
15155 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15156 shlibpath_var=LD_LIBRARY_PATH
15157 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15158 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15159 # the default ld.so.conf also contains /usr/contrib/lib and
15160 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15161 # libtool to hard-code these into programs
15164 cygwin* | mingw* | pw32* | cegcc*)
15165 version_type=windows
15170 case $GCC,$cc_basename in
15173 library_names_spec='$libname.dll.a'
15174 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15175 postinstall_cmds='base_file=`basename \${file}`~
15176 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15177 dldir=$destdir/`dirname \$dlpath`~
15178 test -d \$dldir || mkdir -p \$dldir~
15179 $install_prog $dir/$dlname \$dldir/$dlname~
15180 chmod a+x \$dldir/$dlname~
15181 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15182 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15184 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15185 dlpath=$dir/\$dldll~
15187 shlibpath_overrides_runpath=yes
15191 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15192 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15196 # MinGW DLLs use traditional 'lib' prefix
15197 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15200 # pw32 DLLs use 'pw' prefix rather than 'lib'
15201 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15204 dynamic_linker='Win32 ld.exe'
15209 libname_spec='$name'
15210 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15211 library_names_spec='${libname}.dll.lib'
15215 sys_lib_search_path_spec=
15218 for lt_path in $LIB
15221 # Let DOS variable expansion print the short 8.3 style file name.
15222 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15223 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15226 # Convert to MSYS style.
15227 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15230 # Convert to unix form, then to dos form, then back to unix form
15231 # but this time dos style (no spaces!) so that the unix form looks
15232 # like /cygdrive/c/PROGRA~1:/cygdr...
15233 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15234 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15235 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15238 sys_lib_search_path_spec="$LIB"
15239 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15240 # It is most probably a Windows format PATH.
15241 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15243 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15245 # FIXME: find the short name or the path components, as spaces are
15246 # common. (e.g. "Program Files" -> "PROGRA~1")
15250 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15251 postinstall_cmds='base_file=`basename \${file}`~
15252 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15253 dldir=$destdir/`dirname \$dlpath`~
15254 test -d \$dldir || mkdir -p \$dldir~
15255 $install_prog $dir/$dlname \$dldir/$dlname'
15256 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15257 dlpath=$dir/\$dldll~
15259 shlibpath_overrides_runpath=yes
15260 dynamic_linker='Win32 link.exe'
15264 # Assume MSVC wrapper
15265 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15266 dynamic_linker='Win32 ld.exe'
15269 # FIXME: first we should search . and the directory the executable is in
15273 darwin* | rhapsody*)
15274 dynamic_linker="$host_os dyld"
15275 version_type=darwin
15278 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15279 soname_spec='${libname}${release}${major}$shared_ext'
15280 shlibpath_overrides_runpath=yes
15281 shlibpath_var=DYLD_LIBRARY_PATH
15282 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15284 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15288 version_type=linux # correct to gnu/linux during the next big refactor
15291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15292 soname_spec='${libname}${release}${shared_ext}$major'
15293 shlibpath_var=LD_LIBRARY_PATH
15296 freebsd* | dragonfly*)
15297 # DragonFly does not have aout. When/if they implement a new
15298 # versioning mechanism, adjust this.
15299 if test -x /usr/bin/objformat; then
15300 objformat=`/usr/bin/objformat`
15303 freebsd[23].*) objformat=aout ;;
15304 *) objformat=elf ;;
15307 version_type=freebsd-$objformat
15308 case $version_type in
15310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15315 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15319 shlibpath_var=LD_LIBRARY_PATH
15322 shlibpath_overrides_runpath=yes
15324 freebsd3.[01]* | freebsdelf3.[01]*)
15325 shlibpath_overrides_runpath=yes
15326 hardcode_into_libs=yes
15328 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15329 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15330 shlibpath_overrides_runpath=no
15331 hardcode_into_libs=yes
15333 *) # from 4.6 on, and DragonFly
15334 shlibpath_overrides_runpath=yes
15335 hardcode_into_libs=yes
15341 version_type=linux # correct to gnu/linux during the next big refactor
15344 dynamic_linker="$host_os runtime_loader"
15345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15346 soname_spec='${libname}${release}${shared_ext}$major'
15347 shlibpath_var=LIBRARY_PATH
15348 shlibpath_overrides_runpath=yes
15349 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15350 hardcode_into_libs=yes
15353 hpux9* | hpux10* | hpux11*)
15354 # Give a soname corresponding to the major version so that dld.sl refuses to
15355 # link against other versions.
15362 hardcode_into_libs=yes
15363 dynamic_linker="$host_os dld.so"
15364 shlibpath_var=LD_LIBRARY_PATH
15365 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367 soname_spec='${libname}${release}${shared_ext}$major'
15368 if test "X$HPUX_IA64_MODE" = X32; then
15369 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15371 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15373 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15377 hardcode_into_libs=yes
15378 dynamic_linker="$host_os dld.sl"
15379 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15380 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15382 soname_spec='${libname}${release}${shared_ext}$major'
15383 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15388 dynamic_linker="$host_os dld.sl"
15389 shlibpath_var=SHLIB_PATH
15390 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392 soname_spec='${libname}${release}${shared_ext}$major'
15395 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15396 postinstall_cmds='chmod 555 $lib'
15397 # or fails outright, so override atomically:
15398 install_override_mode=555
15402 version_type=linux # correct to gnu/linux during the next big refactor
15405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15406 soname_spec='${libname}${release}${shared_ext}$major'
15407 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15408 shlibpath_var=LD_LIBRARY_PATH
15409 shlibpath_overrides_runpath=no
15410 hardcode_into_libs=yes
15413 irix5* | irix6* | nonstopux*)
15415 nonstopux*) version_type=nonstopux ;;
15417 if test "$lt_cv_prog_gnu_ld" = yes; then
15418 version_type=linux # correct to gnu/linux during the next big refactor
15425 soname_spec='${libname}${release}${shared_ext}$major'
15426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15428 irix5* | nonstopux*)
15429 libsuff= shlibsuff=
15432 case $LD in # libtool.m4 will add one of these switches to LD
15433 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15434 libsuff= shlibsuff= libmagic=32-bit;;
15435 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15436 libsuff=32 shlibsuff=N32 libmagic=N32;;
15437 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15438 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15439 *) libsuff= shlibsuff= libmagic=never-match;;
15443 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15444 shlibpath_overrides_runpath=no
15445 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15446 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15447 hardcode_into_libs=yes
15450 # No shared lib support for Linux oldld, aout, or coff.
15451 linux*oldld* | linux*aout* | linux*coff*)
15455 # This must be glibc/ELF.
15456 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15457 version_type=linux # correct to gnu/linux during the next big refactor
15460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15461 soname_spec='${libname}${release}${shared_ext}$major'
15462 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15463 shlibpath_var=LD_LIBRARY_PATH
15464 shlibpath_overrides_runpath=no
15466 # Some binutils ld are patched to set DT_RUNPATH
15467 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15468 $as_echo_n "(cached) " >&6
15470 lt_cv_shlibpath_overrides_runpath=no
15471 save_LDFLAGS=$LDFLAGS
15472 save_libdir=$libdir
15473 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15474 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476 /* end confdefs.h. */
15486 if ac_fn_cxx_try_link "$LINENO"; then :
15487 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15488 lt_cv_shlibpath_overrides_runpath=yes
15491 rm -f core conftest.err conftest.$ac_objext \
15492 conftest$ac_exeext conftest.$ac_ext
15493 LDFLAGS=$save_LDFLAGS
15494 libdir=$save_libdir
15498 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15500 # This implies no fast_install, which is unacceptable.
15501 # Some rework will be needed to allow for fast_install
15502 # before this can be enabled.
15503 hardcode_into_libs=yes
15505 # Append ld.so.conf contents to the search path
15506 if test -f /etc/ld.so.conf; then
15507 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' ' '`
15508 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15511 # We used to test for /lib/ld.so.1 and disable shared libraries on
15512 # powerpc, because MkLinux only supported shared libraries with the
15513 # GNU dynamic linker. Since this was broken with cross compilers,
15514 # most powerpc-linux boxes support dynamic linking these days and
15515 # people can always --disable-shared, the test was removed, and we
15516 # assume the GNU/Linux dynamic linker is in use.
15517 dynamic_linker='GNU/Linux ld.so'
15524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15525 soname_spec='${libname}${release}${shared_ext}$major'
15526 shlibpath_var=LD_LIBRARY_PATH
15527 shlibpath_overrides_runpath=no
15528 hardcode_into_libs=yes
15529 dynamic_linker='NetBSD ld.elf_so'
15536 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15538 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15539 dynamic_linker='NetBSD (a.out) ld.so'
15541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15542 soname_spec='${libname}${release}${shared_ext}$major'
15543 dynamic_linker='NetBSD ld.elf_so'
15545 shlibpath_var=LD_LIBRARY_PATH
15546 shlibpath_overrides_runpath=yes
15547 hardcode_into_libs=yes
15551 version_type=linux # correct to gnu/linux during the next big refactor
15552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15553 shlibpath_var=LD_LIBRARY_PATH
15554 shlibpath_overrides_runpath=yes
15561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15562 soname_spec='${libname}${release}${shared_ext}$major'
15563 shlibpath_var=LD_LIBRARY_PATH
15564 shlibpath_overrides_runpath=no
15565 hardcode_into_libs=yes
15566 dynamic_linker='ldqnx.so'
15571 sys_lib_dlsearch_path_spec="/usr/lib"
15573 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15575 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15576 *) need_version=no ;;
15578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15580 shlibpath_var=LD_LIBRARY_PATH
15581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15583 openbsd2.[89] | openbsd2.[89].*)
15584 shlibpath_overrides_runpath=no
15587 shlibpath_overrides_runpath=yes
15591 shlibpath_overrides_runpath=yes
15596 libname_spec='$name'
15599 library_names_spec='$libname${shared_ext} $libname.a'
15600 dynamic_linker='OS/2 ld.exe'
15601 shlibpath_var=LIBPATH
15604 osf3* | osf4* | osf5*)
15608 soname_spec='${libname}${release}${shared_ext}$major'
15609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15610 shlibpath_var=LD_LIBRARY_PATH
15611 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15612 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15620 version_type=linux # correct to gnu/linux during the next big refactor
15623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15624 soname_spec='${libname}${release}${shared_ext}$major'
15625 shlibpath_var=LD_LIBRARY_PATH
15626 shlibpath_overrides_runpath=yes
15627 hardcode_into_libs=yes
15628 # ldd complains unless libraries are executable
15629 postinstall_cmds='chmod +x $lib'
15634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15635 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15636 shlibpath_var=LD_LIBRARY_PATH
15637 shlibpath_overrides_runpath=yes
15638 if test "$with_gnu_ld" = yes; then
15645 version_type=linux # correct to gnu/linux during the next big refactor
15646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15647 soname_spec='${libname}${release}${shared_ext}$major'
15648 shlibpath_var=LD_LIBRARY_PATH
15649 case $host_vendor in
15651 shlibpath_overrides_runpath=no
15653 runpath_var=LD_RUN_PATH
15661 shlibpath_overrides_runpath=no
15662 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15668 if test -d /usr/nec ;then
15669 version_type=linux # correct to gnu/linux during the next big refactor
15670 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15671 soname_spec='$libname${shared_ext}.$major'
15672 shlibpath_var=LD_LIBRARY_PATH
15676 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15677 version_type=freebsd-elf
15680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15681 soname_spec='${libname}${release}${shared_ext}$major'
15682 shlibpath_var=LD_LIBRARY_PATH
15683 shlibpath_overrides_runpath=yes
15684 hardcode_into_libs=yes
15685 if test "$with_gnu_ld" = yes; then
15686 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15688 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15691 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15695 sys_lib_dlsearch_path_spec='/usr/lib'
15699 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15700 version_type=linux # correct to gnu/linux during the next big refactor
15703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704 shlibpath_var=LD_LIBRARY_PATH
15705 shlibpath_overrides_runpath=no
15706 hardcode_into_libs=yes
15710 version_type=linux # correct to gnu/linux during the next big refactor
15711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15712 soname_spec='${libname}${release}${shared_ext}$major'
15713 shlibpath_var=LD_LIBRARY_PATH
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15721 $as_echo "$dynamic_linker" >&6; }
15722 test "$dynamic_linker" = no && can_build_shared=no
15724 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15725 if test "$GCC" = yes; then
15726 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15729 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15730 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15732 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15733 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15774 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15775 hardcode_action_CXX=
15776 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15777 test -n "$runpath_var_CXX" ||
15778 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15780 # We can hardcode non-existent directories.
15781 if test "$hardcode_direct_CXX" != no &&
15782 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15783 # have to relink, otherwise we might link with an installed library
15784 # when we should be linking with a yet-to-be-installed one
15785 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15786 test "$hardcode_minus_L_CXX" != no; then
15787 # Linking always hardcodes the temporary library directory.
15788 hardcode_action_CXX=relink
15790 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15791 hardcode_action_CXX=immediate
15794 # We cannot hardcode anything, or else we can only hardcode existing
15796 hardcode_action_CXX=unsupported
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15799 $as_echo "$hardcode_action_CXX" >&6; }
15801 if test "$hardcode_action_CXX" = relink ||
15802 test "$inherit_rpath_CXX" = yes; then
15803 # Fast installation is not supported
15804 enable_fast_install=no
15805 elif test "$shlibpath_overrides_runpath" = yes ||
15806 test "$enable_shared" = no; then
15807 # Fast installation is not necessary
15808 enable_fast_install=needless
15817 fi # test -n "$compiler"
15820 CFLAGS=$lt_save_CFLAGS
15824 with_gnu_ld=$lt_save_with_gnu_ld
15825 lt_cv_path_LDCXX=$lt_cv_path_LD
15826 lt_cv_path_LD=$lt_save_path_LD
15827 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15828 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15829 fi # test "$_lt_caught_CXX_error" != yes
15832 ac_cpp='$CPP $CPPFLAGS'
15833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851 ac_config_commands="$ac_config_commands libtool"
15856 # Only expand once:
15861 for ac_prog in gm4 m4
15863 # Extract the first word of "$ac_prog", so it can be a program name with args.
15864 set dummy $ac_prog; ac_word=$2
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15866 $as_echo_n "checking for $ac_word... " >&6; }
15867 if ${ac_cv_prog_M4+:} false; then :
15868 $as_echo_n "(cached) " >&6
15870 if test -n "$M4"; then
15871 ac_cv_prog_M4="$M4" # Let the user override the test.
15873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15874 for as_dir in $PATH
15877 test -z "$as_dir" && as_dir=.
15878 for ac_exec_ext in '' $ac_executable_extensions; do
15879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15880 ac_cv_prog_M4="$ac_prog"
15881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15891 if test -n "$M4"; then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
15893 $as_echo "$M4" >&6; }
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15896 $as_echo "no" >&6; }
15900 test -n "$M4" && break
15904 if test "x$M4" = x; then :
15905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15907 as_fn_error $? "The GNU M4 macro processor is required for building libsigc++.
15908 See \`config.log' for more details" "$LINENO" 5; }
15911 # Extract the first word of "perl", so it can be a program name with args.
15912 set dummy perl; ac_word=$2
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15914 $as_echo_n "checking for $ac_word... " >&6; }
15915 if ${ac_cv_path_PERL+:} false; then :
15916 $as_echo_n "(cached) " >&6
15920 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
15923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15924 for as_dir in $PATH
15927 test -z "$as_dir" && as_dir=.
15928 for ac_exec_ext in '' $ac_executable_extensions; do
15929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15930 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
15931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15938 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
15942 PERL=$ac_cv_path_PERL
15943 if test -n "$PERL"; then
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15945 $as_echo "$PERL" >&6; }
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15948 $as_echo "no" >&6; }
15953 # Extract the first word of "dot", so it can be a program name with args.
15954 set dummy dot; ac_word=$2
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15956 $as_echo_n "checking for $ac_word... " >&6; }
15957 if ${ac_cv_path_DOT+:} false; then :
15958 $as_echo_n "(cached) " >&6
15962 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
15965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15966 for as_dir in $PATH
15969 test -z "$as_dir" && as_dir=.
15970 for ac_exec_ext in '' $ac_executable_extensions; do
15971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15972 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
15973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15980 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
15984 DOT=$ac_cv_path_DOT
15985 if test -n "$DOT"; then
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
15987 $as_echo "$DOT" >&6; }
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15990 $as_echo "no" >&6; }
15994 # Extract the first word of "doxygen", so it can be a program name with args.
15995 set dummy doxygen; ac_word=$2
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15997 $as_echo_n "checking for $ac_word... " >&6; }
15998 if ${ac_cv_path_DOXYGEN+:} false; then :
15999 $as_echo_n "(cached) " >&6
16003 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
16006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16007 for as_dir in $PATH
16010 test -z "$as_dir" && as_dir=.
16011 for ac_exec_ext in '' $ac_executable_extensions; do
16012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16013 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
16014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16021 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
16025 DOXYGEN=$ac_cv_path_DOXYGEN
16026 if test -n "$DOXYGEN"; then
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16028 $as_echo "$DOXYGEN" >&6; }
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16031 $as_echo "no" >&6; }
16035 # Extract the first word of "xsltproc", so it can be a program name with args.
16036 set dummy xsltproc; ac_word=$2
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16038 $as_echo_n "checking for $ac_word... " >&6; }
16039 if ${ac_cv_path_XSLTPROC+:} false; then :
16040 $as_echo_n "(cached) " >&6
16044 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
16047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16048 for as_dir in $PATH
16051 test -z "$as_dir" && as_dir=.
16052 for ac_exec_ext in '' $ac_executable_extensions; do
16053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16054 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
16055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16062 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
16066 XSLTPROC=$ac_cv_path_XSLTPROC
16067 if test -n "$XSLTPROC"; then
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
16069 $as_echo "$XSLTPROC" >&6; }
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16072 $as_echo "no" >&6; }
16076 # Check whether --enable-documentation was given.
16077 if test "${enable_documentation+set}" = set; then :
16078 enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
16080 ENABLE_DOCUMENTATION=auto
16083 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16086 if test "x$MMDOCTOOLDIR" = x; then :
16087 mm_err='The mm-common-util module is available, but the installation of mm-common on this
16088 machine is missing the shared documentation utilities of the GNOME C++
16089 bindings. It may be necessary to upgrade to a more recent release of
16090 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
16091 elif test "x$PERL" = xperl; then :
16092 mm_err='Perl is required for installing the documentation.'
16093 elif test "x$USE_MAINTAINER_MODE" != xno; then :
16095 test "x$DOT" != xdot || mm_err=' dot'
16096 test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
16097 test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
16098 test -z "$mm_err" || mm_err='The documentation cannot be generated because
16099 not all of the required tools are available:'$mm_err
16102 if test -z "$mm_err"; then :
16103 ENABLE_DOCUMENTATION=yes
16104 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
16105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16107 as_fn_error $? "$mm_err
16108 See \`config.log' for more details" "$LINENO" 5; }
16110 ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
16111 $as_echo "$as_me: WARNING: $mm_err" >&2;}
16115 if test "x$ENABLE_DOCUMENTATION" = xyes; then
16116 ENABLE_DOCUMENTATION_TRUE=
16117 ENABLE_DOCUMENTATION_FALSE='#'
16119 ENABLE_DOCUMENTATION_TRUE='#'
16120 ENABLE_DOCUMENTATION_FALSE=
16135 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16136 if test -n "$ac_tool_prefix"; then
16137 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16138 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16140 $as_echo_n "checking for $ac_word... " >&6; }
16141 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16142 $as_echo_n "(cached) " >&6
16144 case $PKG_CONFIG in
16146 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16150 for as_dir in $PATH
16153 test -z "$as_dir" && as_dir=.
16154 for ac_exec_ext in '' $ac_executable_extensions; do
16155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16156 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16167 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16168 if test -n "$PKG_CONFIG"; then
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16170 $as_echo "$PKG_CONFIG" >&6; }
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16173 $as_echo "no" >&6; }
16178 if test -z "$ac_cv_path_PKG_CONFIG"; then
16179 ac_pt_PKG_CONFIG=$PKG_CONFIG
16180 # Extract the first word of "pkg-config", so it can be a program name with args.
16181 set dummy pkg-config; ac_word=$2
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16183 $as_echo_n "checking for $ac_word... " >&6; }
16184 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16185 $as_echo_n "(cached) " >&6
16187 case $ac_pt_PKG_CONFIG in
16189 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16193 for as_dir in $PATH
16196 test -z "$as_dir" && as_dir=.
16197 for ac_exec_ext in '' $ac_executable_extensions; do
16198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16199 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16210 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16211 if test -n "$ac_pt_PKG_CONFIG"; then
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16213 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16216 $as_echo "no" >&6; }
16219 if test "x$ac_pt_PKG_CONFIG" = x; then
16222 case $cross_compiling:$ac_tool_warned in
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16226 ac_tool_warned=yes ;;
16228 PKG_CONFIG=$ac_pt_PKG_CONFIG
16231 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16235 if test -n "$PKG_CONFIG"; then
16236 _pkg_min_version=0.9.0
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16238 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16239 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16241 $as_echo "yes" >&6; }
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16244 $as_echo "no" >&6; }
16248 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
16250 $as_echo_n "checking for libstdc documentation... " >&6; }
16252 # Check whether --with-libstdc-doc was given.
16253 if test "${with_libstdc_doc+set}" = set; then :
16254 withval=$with_libstdc_doc;
16255 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16256 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16257 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16258 test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
16259 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16263 mm_tagname="libstdc++.tag"
16264 mm_tagpath=$mm_tagname
16267 # Prepend working direcory if the tag file path starts with ./ or ../
16268 case $mm_tagpath in #(
16269 .[\\/]*|..[\\/]*) :
16270 mm_tagpath=`pwd`/$mm_tagpath ;; #(
16275 # If no local directory was specified, get the default from the .pc file
16276 if test "x$mm_htmlrefdir" = x; then :
16278 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
16280 # If the user specified a Web URL, allow it to override the public location
16281 case $mm_htmlrefdir in #(
16282 http://*|https://*) :
16283 mm_htmlrefpub=$mm_htmlrefdir ;; #(
16286 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
16287 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16288 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16291 # The user-supplied tag-file name takes precedence if it includes the path
16292 case $mm_tagpath in #(
16297 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
16298 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16301 # Remove trailing slashes and translate to URI
16302 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16303 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16306 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16308 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
16310 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
16312 if test "x$mm_htmlrefdir" = x; then :
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
16314 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
16316 if test "x$DOCINSTALL_FLAGS" = x; then :
16317 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16319 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16323 if test "x$mm_htmlrefpub" = x; then :
16326 mm_val="$mm_tagpath=$mm_htmlrefpub"
16328 if test "x$DOXYGEN_TAGFILES" = x; then :
16329 DOXYGEN_TAGFILES=\"$mm_val\"
16331 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16336 ac_cpp='$CXXCPP $CPPFLAGS'
16337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the use of a particular specialization when calling operator() template methods." >&5
16343 $as_echo_n "checking if C++ compiler supports the use of a particular specialization when calling operator() template methods.... " >&6; }
16344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16345 /* end confdefs.h. */
16347 #include <iostream>
16356 void operator()(T a, T b)
16359 std::cout << c << std::endl;
16367 void do_something()
16370 thing_.template operator()<T2>(1, 2);
16371 //This fails with or without the template keyword, on SUN Forte C++ 5.3, 5.4, and 5.5:
16379 OtherThing<int> thing;
16380 thing.do_something();
16386 if ac_fn_cxx_try_compile "$LINENO"; then :
16388 sigcm_cxx_gcc_template_specialization_operator_overload=yes
16390 $as_echo "#define SIGC_GCC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD 1" >>confdefs.h
16395 sigcm_cxx_gcc_template_specialization_operator_overload=no
16398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigcm_cxx_gcc_template_specialization_operator_overload" >&5
16400 $as_echo "$sigcm_cxx_gcc_template_specialization_operator_overload" >&6; }
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the use of a particular specialization when calling operator() template methods omitting the template keyword." >&5
16404 $as_echo_n "checking if C++ compiler supports the use of a particular specialization when calling operator() template methods omitting the template keyword.... " >&6; }
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16408 #include <iostream>
16417 void operator()(T a, T b)
16420 std::cout << c << std::endl;
16428 void do_something()
16431 thing_.operator()<T2>(1, 2);
16432 //This fails with or without the template keyword, on SUN Forte C++ 5.3, 5.4, and 5.5:
16440 OtherThing<int> thing;
16441 thing.do_something();
16447 if ac_fn_cxx_try_compile "$LINENO"; then :
16449 sigcm_cxx_msvc_template_specialization_operator_overload=yes
16451 $as_echo "#define SIGC_MSVC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD 1" >>confdefs.h
16456 sigcm_cxx_msvc_template_specialization_operator_overload=no
16459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigcm_cxx_msvc_template_specialization_operator_overload" >&5
16461 $as_echo "$sigcm_cxx_msvc_template_specialization_operator_overload" >&6; }
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ preprocessor supports pragma push_macro() and pop_macro()." >&5
16465 $as_echo_n "checking if C++ preprocessor supports pragma push_macro() and pop_macro().... " >&6; }
16466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16467 /* end confdefs.h. */
16471 #pragma push_macro("BEGIN")
16472 #pragma push_macro("END")
16476 // BEGIN and END are not prepreprocessor macros
16483 #pragma pop_macro("BEGIN")
16484 #pragma pop_macro("END")
16486 // BEGIN and END are prepreprocessor macros
16493 void func1(Test1& x);
16494 void func2(Test2& x);
16509 if ac_fn_cxx_try_compile "$LINENO"; then :
16511 sigcm_cxx_pragma_push_pop_macro=yes
16513 $as_echo "#define SIGC_PRAGMA_PUSH_POP_MACRO 1" >>confdefs.h
16518 sigcm_cxx_pragma_push_pop_macro=no
16521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigcm_cxx_pragma_push_pop_macro" >&5
16523 $as_echo "$sigcm_cxx_pragma_push_pop_macro" >&6; }
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-standard Sun libCstd reverse_iterator" >&5
16527 $as_echo_n "checking for non-standard Sun libCstd reverse_iterator... " >&6; }
16528 if ${sigc_cv_cxx_has_sun_reverse_iterator+:} false; then :
16529 $as_echo_n "(cached) " >&6
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16535 #include <iterator>
16541 typedef std::reverse_iterator<char*, std::random_access_iterator_tag, char, char&, char*, int> ReverseIter;
16547 if ac_fn_cxx_try_compile "$LINENO"; then :
16548 sigc_cv_cxx_has_sun_reverse_iterator='yes'
16550 sigc_cv_cxx_has_sun_reverse_iterator='no'
16553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sigc_cv_cxx_has_sun_reverse_iterator" >&5
16557 $as_echo "$sigc_cv_cxx_has_sun_reverse_iterator" >&6; }
16559 if test "x${sigc_cv_cxx_has_sun_reverse_iterator}" = 'xyes'; then :
16561 $as_echo "#define SIGC_HAVE_SUN_REVERSE_ITERATOR 1" >>confdefs.h
16566 if test "x$config_error" = xyes; then :
16567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16569 as_fn_error $? "One or more of the required C++ compiler features is missing.
16570 See \`config.log' for more details" "$LINENO" 5; }
16573 # Evaluate the --enable-warnings=level option.
16574 # Check whether --enable-warnings was given.
16575 if test "${enable_warnings+set}" = set; then :
16576 enableval=$enable_warnings; mm_enable_warnings=$enableval
16578 mm_enable_warnings=min
16581 case $ac_compile in #(
16583 mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
16585 mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
16587 as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
16590 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
16592 case $mm_enable_warnings in #(
16594 mm_warning_flags= ;; #(
16596 mm_warning_flags="-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wformat-security" ;; #(
16598 mm_warning_flags="-pedantic -Wall -Wextra -Wsuggest-override -Wshadow -Wzero-as-null-pointer-constant -Wformat-security -Werror" ;; #(
16600 mm_warning_flags="-Wall" ;;
16602 if test "x$mm_warning_flags" != x; then :
16604 # Keep in mind that the dummy source must be devoid of any
16605 # problems that might cause diagnostics.
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16609 int main(int argc, char** argv) { return !argv ? 0 : argc; }
16612 for mm_flag in $mm_warning_flags
16614 # Test whether the compiler accepts the flag. Look at standard output,
16615 # since GCC only shows a warning message if an option is not supported.
16616 mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
16617 rm -f "conftest.${OBJEXT-o}"
16619 if test "x$mm_cc_out" = x; then :
16620 if test "x$mm_tested_flags" = x; then :
16621 mm_tested_flags=$mm_flag
16623 mm_tested_flags="$mm_tested_flags $mm_flag"
16632 rm -f "$mm_conftest"
16635 mm_all_flags=$mm_tested_flags
16636 SIGC_WXXFLAGS=$mm_all_flags
16638 test "x$mm_all_flags" != x || mm_all_flags=none
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
16640 $as_echo "$mm_all_flags" >&6; }
16642 # Offer the ability to omit some API from the library.
16643 # Check whether --enable-deprecated-api was given.
16644 if test "${enable_deprecated_api+set}" = set; then :
16645 enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
16647 mm_enable_deprecated_api=yes
16649 if test "x$mm_enable_deprecated_api" = xno; then :
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
16651 Do not use this option for distribution packages." >&5
16652 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
16653 Do not use this option for distribution packages." >&2;}
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
16656 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
16658 if test "x$mm_enable_deprecated_api" = xno; then
16659 DISABLE_DEPRECATED_API_TRUE=
16660 DISABLE_DEPRECATED_API_FALSE='#'
16662 DISABLE_DEPRECATED_API_TRUE='#'
16663 DISABLE_DEPRECATED_API_FALSE=
16666 if test "x$mm_enable_deprecated_api" = xno; then :
16668 $as_echo "#define SIGCXX_DISABLE_DEPRECATED 1" >>confdefs.h
16673 ac_config_files="$ac_config_files Makefile ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in sigc++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2013/sigc.rc"
16676 # Copy the generated configuration headers into the MSVC project directories.
16677 ac_config_commands="$ac_config_commands MSVC_Net2013/sigc++config.h"
16679 cat >confcache <<\_ACEOF
16680 # This file is a shell script that caches the results of configure
16681 # tests run on this system so they can be shared between configure
16682 # scripts and configure runs, see configure's option --config-cache.
16683 # It is not useful on other systems. If it contains results you don't
16684 # want to keep, you may remove or edit it.
16686 # config.status only pays attention to the cache file if you give it
16687 # the --recheck option to rerun configure.
16689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16691 # following values.
16695 # The following way of writing the cache mishandles newlines in values,
16696 # but we know of no workaround that is simple, portable, and efficient.
16697 # So, we kill variables containing newlines.
16698 # Ultrix sh set writes to stderr and can't be redirected directly,
16699 # and sets the high bit in the cache file unless we assign to the vars.
16701 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16702 eval ac_val=\$$ac_var
16706 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16707 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16710 _ | IFS | as_nl) ;; #(
16711 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16712 *) { eval $ac_var=; unset $ac_var;} ;;
16718 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16719 *${as_nl}ac_space=\ *)
16720 # `set' does not quote correctly, so add quotes: double-quote
16721 # substitution turns \\\\ into \\, and sed turns \\ into \.
16724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16727 # `set' quotes correctly as required by POSIX, so do not add quotes.
16728 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16739 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16741 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16742 if test -w "$cache_file"; then
16743 if test "x$cache_file" != "x/dev/null"; then
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16745 $as_echo "$as_me: updating cache $cache_file" >&6;}
16746 if test ! -f "$cache_file" || test -h "$cache_file"; then
16747 cat confcache >"$cache_file"
16749 case $cache_file in #(
16751 mv -f confcache "$cache_file"$$ &&
16752 mv -f "$cache_file"$$ "$cache_file" ;; #(
16754 mv -f confcache "$cache_file" ;;
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16760 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16765 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16766 # Let make expand exec_prefix.
16767 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16769 DEFS=-DHAVE_CONFIG_H
16774 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16775 # 1. Remove the extension, and $U if already installed.
16776 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16777 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16778 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16779 # will be set to the directory where LIBOBJS objects are built.
16780 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16781 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16783 LIBOBJS=$ac_libobjs
16785 LTLIBOBJS=$ac_ltlibobjs
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16789 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16790 if test -n "$am_sleep_pid"; then
16791 # Hide warnings about reused PIDs.
16792 wait $am_sleep_pid 2>/dev/null
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16795 $as_echo "done" >&6; }
16796 if test -n "$EXEEXT"; then
16798 am__EXEEXT_FALSE='#'
16800 am__EXEEXT_TRUE='#'
16804 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16805 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16808 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
16809 as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
16810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16812 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16813 as_fn_error $? "conditional \"AMDEP\" was never defined.
16814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16816 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16817 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16820 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16821 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16824 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
16825 as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
16826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16828 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
16829 as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
16830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16833 : "${CONFIG_STATUS=./config.status}"
16835 ac_clean_files_save=$ac_clean_files
16836 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16838 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16840 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16842 # Generated by $as_me.
16843 # Run this file to recreate the current configuration.
16844 # Compiler output produced by configure, useful for debugging
16845 # configure, is in config.log if it exists.
16848 ac_cs_recheck=false
16851 SHELL=\${CONFIG_SHELL-$SHELL}
16854 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16855 ## -------------------- ##
16856 ## M4sh Initialization. ##
16857 ## -------------------- ##
16859 # Be more Bourne compatible
16860 DUALCASE=1; export DUALCASE # for MKS sh
16861 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16864 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16865 # is contrary to our usage. Disable this feature.
16866 alias -g '${1+"$@"}'='"$@"'
16867 setopt NO_GLOB_SUBST
16869 case `(set -o) 2>/dev/null` in #(
16881 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16882 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16884 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16885 # Prefer a ksh shell builtin over an external printf program on Solaris,
16886 # but without wasting forks for bash or zsh.
16887 if test -z "$BASH_VERSION$ZSH_VERSION" \
16888 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16889 as_echo='print -r --'
16890 as_echo_n='print -rn --'
16891 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16892 as_echo='printf %s\n'
16893 as_echo_n='printf %s'
16895 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16896 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16897 as_echo_n='/usr/ucb/echo -n'
16899 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16900 as_echo_n_body='eval
16904 expr "X$arg" : "X\\(.*\\)$as_nl";
16905 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16907 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16909 export as_echo_n_body
16910 as_echo_n='sh -c $as_echo_n_body as_echo'
16912 export as_echo_body
16913 as_echo='sh -c $as_echo_body as_echo'
16916 # The user is always right.
16917 if test "${PATH_SEPARATOR+set}" != set; then
16919 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16920 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16927 # We need space, tab and new line, in precisely that order. Quoting is
16928 # there to prevent editors from complaining about space-tab.
16929 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16930 # splitting by setting IFS to empty value.)
16933 # Find who we are. Look in the path if we contain no directory separator.
16936 *[\\/]* ) as_myself=$0 ;;
16937 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16938 for as_dir in $PATH
16941 test -z "$as_dir" && as_dir=.
16942 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16948 # We did not find ourselves, most probably we were run as `sh COMMAND'
16949 # in which case we are not to be found in the path.
16950 if test "x$as_myself" = x; then
16953 if test ! -f "$as_myself"; then
16954 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16958 # Unset variables that we do not need and which cause bugs (e.g. in
16959 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16960 # suppresses any "Segmentation fault" message there. '((' could
16961 # trigger a bug in pdksh 5.2.14.
16962 for as_var in BASH_ENV ENV MAIL MAILPATH
16963 do eval test x\${$as_var+set} = xset \
16964 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16977 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16980 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16981 # ----------------------------------------
16982 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16983 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16984 # script with STATUS, using 1 if that was 0.
16987 as_status=$1; test $as_status -eq 0 && as_status=1
16989 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16990 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16992 $as_echo "$as_me: error: $2" >&2
16993 as_fn_exit $as_status
16997 # as_fn_set_status STATUS
16998 # -----------------------
16999 # Set $? to STATUS, without forking.
17000 as_fn_set_status ()
17003 } # as_fn_set_status
17005 # as_fn_exit STATUS
17006 # -----------------
17007 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17011 as_fn_set_status $1
17017 # Portably unset VAR.
17020 { eval $1=; unset $1;}
17022 as_unset=as_fn_unset
17023 # as_fn_append VAR VALUE
17024 # ----------------------
17025 # Append the text in VALUE to the end of the definition contained in VAR. Take
17026 # advantage of any shell optimizations that allow amortized linear growth over
17027 # repeated appends, instead of the typical quadratic growth present in naive
17029 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17030 eval 'as_fn_append ()
17041 # as_fn_arith ARG...
17042 # ------------------
17043 # Perform arithmetic evaluation on the ARGs, and store the result in the
17044 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17045 # must be portable across $(()) and expr.
17046 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17047 eval 'as_fn_arith ()
17054 as_val=`expr "$@" || test $? -eq 1`
17059 if expr a : '\(a\)' >/dev/null 2>&1 &&
17060 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17066 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17067 as_basename=basename
17072 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17078 as_me=`$as_basename -- "$0" ||
17079 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17080 X"$0" : 'X\(//\)$' \| \
17081 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17083 sed '/^.*\/\([^/][^/]*\)\/*$/{
17097 # Avoid depending upon Character Ranges.
17098 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17099 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17100 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17101 as_cr_digits='0123456789'
17102 as_cr_alnum=$as_cr_Letters$as_cr_digits
17104 ECHO_C= ECHO_N= ECHO_T=
17105 case `echo -n x` in #(((((
17107 case `echo 'xy\c'` in
17108 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17110 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17117 rm -f conf$$ conf$$.exe conf$$.file
17118 if test -d conf$$.dir; then
17119 rm -f conf$$.dir/conf$$.file
17122 mkdir conf$$.dir 2>/dev/null
17124 if (echo >conf$$.file) 2>/dev/null; then
17125 if ln -s conf$$.file conf$$ 2>/dev/null; then
17127 # ... but there are two gotchas:
17128 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17129 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17130 # In both cases, we have to default to `cp -pR'.
17131 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17133 elif ln conf$$.file conf$$ 2>/dev/null; then
17141 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17142 rmdir conf$$.dir 2>/dev/null
17147 # Create "$as_dir" as a directory, including parents if necessary.
17152 -*) as_dir=./$as_dir;;
17154 test -d "$as_dir" || eval $as_mkdir_p || {
17158 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17159 *) as_qdir=$as_dir;;
17161 as_dirs="'$as_qdir' $as_dirs"
17162 as_dir=`$as_dirname -- "$as_dir" ||
17163 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17164 X"$as_dir" : 'X\(//\)[^/]' \| \
17165 X"$as_dir" : 'X\(//\)$' \| \
17166 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17167 $as_echo X"$as_dir" |
17168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17172 /^X\(\/\/\)[^/].*/{
17185 test -d "$as_dir" && break
17187 test -z "$as_dirs" || eval "mkdir $as_dirs"
17188 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17192 if mkdir -p . 2>/dev/null; then
17193 as_mkdir_p='mkdir -p "$as_dir"'
17195 test -d ./-p && rmdir ./-p
17200 # as_fn_executable_p FILE
17201 # -----------------------
17202 # Test if FILE is an executable regular file.
17203 as_fn_executable_p ()
17205 test -f "$1" && test -x "$1"
17206 } # as_fn_executable_p
17207 as_test_x='test -x'
17208 as_executable_p=as_fn_executable_p
17210 # Sed expression to map a string onto a valid CPP name.
17211 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17213 # Sed expression to map a string onto a valid variable name.
17214 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17218 ## ----------------------------------- ##
17219 ## Main body of $CONFIG_STATUS script. ##
17220 ## ----------------------------------- ##
17222 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17225 # Save the log message, to keep $0 and so on meaningful, and to
17226 # report actual input values of CONFIG_FILES etc. instead of their
17227 # values after options handling.
17229 This file was extended by libsigc++ $as_me 2.9.2, which was
17230 generated by GNU Autoconf 2.69. Invocation command line was
17232 CONFIG_FILES = $CONFIG_FILES
17233 CONFIG_HEADERS = $CONFIG_HEADERS
17234 CONFIG_LINKS = $CONFIG_LINKS
17235 CONFIG_COMMANDS = $CONFIG_COMMANDS
17238 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17243 case $ac_config_files in *"
17244 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17247 case $ac_config_headers in *"
17248 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17253 # Files that config.status was made for.
17254 config_files="$ac_config_files"
17255 config_headers="$ac_config_headers"
17256 config_commands="$ac_config_commands"
17260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17262 \`$as_me' instantiates files and other configuration actions
17263 from templates according to the current configuration. Unless the files
17264 and actions are specified as TAGs, all are instantiated by default.
17266 Usage: $0 [OPTION]... [TAG]...
17268 -h, --help print this help, then exit
17269 -V, --version print version number and configuration settings, then exit
17270 --config print configuration, then exit
17271 -q, --quiet, --silent
17272 do not print progress messages
17273 -d, --debug don't remove temporary files
17274 --recheck update $as_me by reconfiguring in the same conditions
17275 --file=FILE[:TEMPLATE]
17276 instantiate the configuration file FILE
17277 --header=FILE[:TEMPLATE]
17278 instantiate the configuration header FILE
17280 Configuration files:
17283 Configuration headers:
17286 Configuration commands:
17289 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libsigc%2B%2B>.
17290 libsigc++ home page: <http://libsigc.sourceforge.net/>."
17293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17294 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17296 libsigc++ config.status 2.9.2
17297 configured by $0, generated by GNU Autoconf 2.69,
17298 with options \\"\$ac_cs_config\\"
17300 Copyright (C) 2012 Free Software Foundation, Inc.
17301 This config.status script is free software; the Free Software Foundation
17302 gives unlimited permission to copy, distribute and modify it."
17309 test -n "\$AWK" || AWK=awk
17312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17313 # The default lists apply if the user does not specify any file.
17319 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17320 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17324 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17336 # Handling of the options.
17337 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17339 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17340 $as_echo "$ac_cs_version"; exit ;;
17341 --config | --confi | --conf | --con | --co | --c )
17342 $as_echo "$ac_cs_config"; exit ;;
17343 --debug | --debu | --deb | --de | --d | -d )
17345 --file | --fil | --fi | --f )
17348 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17349 '') as_fn_error $? "missing file argument" ;;
17351 as_fn_append CONFIG_FILES " '$ac_optarg'"
17352 ac_need_defaults=false;;
17353 --header | --heade | --head | --hea )
17356 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17358 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17359 ac_need_defaults=false;;
17361 # Conflict between --help and --header
17362 as_fn_error $? "ambiguous option: \`$1'
17363 Try \`$0 --help' for more information.";;
17364 --help | --hel | -h )
17365 $as_echo "$ac_cs_usage"; exit ;;
17366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17367 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17370 # This is an error.
17371 -*) as_fn_error $? "unrecognized option: \`$1'
17372 Try \`$0 --help' for more information." ;;
17374 *) as_fn_append ac_config_targets " $1"
17375 ac_need_defaults=false ;;
17381 ac_configure_extra_args=
17383 if $ac_cs_silent; then
17385 ac_configure_extra_args="$ac_configure_extra_args --silent"
17389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17390 if \$ac_cs_recheck; then
17391 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17393 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17394 CONFIG_SHELL='$SHELL'
17395 export CONFIG_SHELL
17400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17405 ## Running $as_me. ##
17411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17415 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17418 # The HP-UX ksh and POSIX shell print the target directory to stdout
17419 # if CDPATH is set.
17420 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17422 sed_quote_subst='$sed_quote_subst'
17423 double_quote_subst='$double_quote_subst'
17424 delay_variable_subst='$delay_variable_subst'
17425 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17426 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17427 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17428 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17429 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17430 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17431 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17432 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17433 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17434 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17435 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17436 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17437 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17438 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17439 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17440 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17441 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17442 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17443 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17444 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17445 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17446 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17447 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17448 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17449 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17450 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17451 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17452 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17453 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17454 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17455 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17456 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17457 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17458 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17459 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17460 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17461 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17462 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17463 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17464 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17465 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17466 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17467 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17468 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17469 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17470 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17471 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17472 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17473 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17474 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17475 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17476 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17477 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17478 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17479 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17480 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17481 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17482 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"`'
17483 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17484 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17485 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17486 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17487 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17488 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17489 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17490 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17491 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17492 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17493 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17494 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17495 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17496 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17497 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17498 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17499 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17500 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17501 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17502 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17503 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17504 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17505 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17506 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17507 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17508 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17509 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17510 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17511 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17512 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17513 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17514 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17515 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17516 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17517 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17518 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17519 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17520 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17521 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17522 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17523 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17524 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17525 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17526 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17527 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17528 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17529 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17530 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17531 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17532 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17533 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17534 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17535 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17536 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17537 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17538 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17539 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17540 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17541 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17542 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17543 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17544 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17545 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17546 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17547 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17548 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17549 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17550 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17551 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17552 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17553 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17554 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17555 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17556 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17557 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17558 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17559 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17560 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17561 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17562 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17563 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17564 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17565 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17566 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17567 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17568 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17569 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17570 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17571 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17572 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17573 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17574 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17575 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17576 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17577 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17578 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17579 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17580 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17581 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17582 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17583 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17584 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17585 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17586 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17587 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17588 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17589 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17590 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17591 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17592 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17593 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17594 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17595 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17596 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17597 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17598 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17599 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17600 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17601 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17602 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17603 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17604 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17605 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17606 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17607 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17608 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17609 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17612 LTCFLAGS='$LTCFLAGS'
17613 compiler='$compiler_DEFAULT'
17615 # A function that is used when there is no print builtin or printf.
17616 func_fallback_echo ()
17618 eval 'cat <<_LTECHO_EOF
17623 # Quote evaled strings.
17640 deplibs_check_method \
17644 sharedlib_from_linklib_cmd \
17647 archiver_list_spec \
17653 lt_cv_sys_global_symbol_pipe \
17654 lt_cv_sys_global_symbol_to_cdecl \
17655 lt_cv_sys_global_symbol_to_c_name_address \
17656 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17657 nm_file_list_spec \
17658 lt_prog_compiler_no_builtin_flag \
17659 lt_prog_compiler_pic \
17660 lt_prog_compiler_wl \
17661 lt_prog_compiler_static \
17662 lt_cv_prog_compiler_c_o \
17671 export_dynamic_flag_spec \
17672 whole_archive_flag_spec \
17673 compiler_needs_object \
17675 allow_undefined_flag \
17676 no_undefined_flag \
17677 hardcode_libdir_flag_spec \
17678 hardcode_libdir_separator \
17682 variables_saved_for_relink \
17684 library_names_spec \
17686 install_override_mode \
17690 compiler_lib_search_dirs \
17695 compiler_lib_search_path \
17699 lt_prog_compiler_no_builtin_flag_CXX \
17700 lt_prog_compiler_pic_CXX \
17701 lt_prog_compiler_wl_CXX \
17702 lt_prog_compiler_static_CXX \
17703 lt_cv_prog_compiler_c_o_CXX \
17704 export_dynamic_flag_spec_CXX \
17705 whole_archive_flag_spec_CXX \
17706 compiler_needs_object_CXX \
17708 allow_undefined_flag_CXX \
17709 no_undefined_flag_CXX \
17710 hardcode_libdir_flag_spec_CXX \
17711 hardcode_libdir_separator_CXX \
17712 exclude_expsyms_CXX \
17713 include_expsyms_CXX \
17714 file_list_spec_CXX \
17715 compiler_lib_search_dirs_CXX \
17716 predep_objects_CXX \
17717 postdep_objects_CXX \
17720 compiler_lib_search_path_CXX; do
17721 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17722 *[\\\\\\\`\\"\\\$]*)
17723 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17726 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17731 # Double-quote double-evaled strings.
17732 for var in reload_cmds \
17733 old_postinstall_cmds \
17734 old_postuninstall_cmds \
17736 extract_expsyms_cmds \
17737 old_archive_from_new_cmds \
17738 old_archive_from_expsyms_cmds \
17740 archive_expsym_cmds \
17742 module_expsym_cmds \
17743 export_symbols_cmds \
17747 postuninstall_cmds \
17749 sys_lib_search_path_spec \
17750 sys_lib_dlsearch_path_spec \
17752 old_archive_cmds_CXX \
17753 old_archive_from_new_cmds_CXX \
17754 old_archive_from_expsyms_cmds_CXX \
17756 archive_expsym_cmds_CXX \
17758 module_expsym_cmds_CXX \
17759 export_symbols_cmds_CXX \
17761 postlink_cmds_CXX; do
17762 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17763 *[\\\\\\\`\\"\\\$]*)
17764 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17767 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17772 ac_aux_dir='$ac_aux_dir'
17773 xsi_shell='$xsi_shell'
17774 lt_shell_append='$lt_shell_append'
17776 # See if we are running on zsh, and set the options which allow our
17777 # commands through without removal of \ escapes INIT.
17778 if test -n "\${ZSH_VERSION+set}" ; then
17779 setopt NO_GLOB_SUBST
17785 TIMESTAMP='$TIMESTAMP'
17796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17798 # Handling of arguments.
17799 for ac_config_target in $ac_config_targets
17801 case $ac_config_target in
17802 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17803 "sigc++config.h") CONFIG_HEADERS="$CONFIG_HEADERS sigc++config.h" ;;
17804 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17805 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17806 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17807 "${SIGCXX_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}.pc:sigc++.pc.in" ;;
17808 "${SIGCXX_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${SIGCXX_MODULE_NAME}-uninstalled.pc:sigc++-uninstalled.pc.in" ;;
17809 "sigc++/Makefile") CONFIG_FILES="$CONFIG_FILES sigc++/Makefile" ;;
17810 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17811 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17812 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17813 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
17814 "MSVC_Net2013/sigc.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2013/sigc.rc" ;;
17815 "MSVC_Net2013/sigc++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2013/sigc++config.h" ;;
17817 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17822 # If the user did not use the arguments to specify the items to instantiate,
17823 # then the envvar interface is used. Set only those that are not.
17824 # We use the long form for the default assignment because of an extremely
17825 # bizarre bug on SunOS 4.1.3.
17826 if $ac_need_defaults; then
17827 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17828 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17829 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17832 # Have a temporary directory for convenience. Make it in the build tree
17833 # simply because there is no reason against having it here, and in addition,
17834 # creating and moving files from /tmp can sometimes cause problems.
17835 # Hook for its removal unless debugging.
17836 # Note that there is a small window in which the directory will not be cleaned:
17837 # after its creation but before its name has been assigned to `$tmp'.
17841 trap 'exit_status=$?
17842 : "${ac_tmp:=$tmp}"
17843 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17845 trap 'as_fn_exit 1' 1 2 13 15
17847 # Create a (secure) tmp directory for tmp files.
17850 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17854 tmp=./conf$$-$RANDOM
17855 (umask 077 && mkdir "$tmp")
17856 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17859 # Set up the scripts for CONFIG_FILES section.
17860 # No need to generate them if there are no CONFIG_FILES.
17861 # This happens for instance with `./config.status config.h'.
17862 if test -n "$CONFIG_FILES"; then
17865 ac_cr=`echo X | tr X '\015'`
17866 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17867 # But we know of no other shell where ac_cr would be empty at this
17868 # point, so we can use a bashism as a fallback.
17869 if test "x$ac_cr" = x; then
17870 eval ac_cr=\$\'\\r\'
17872 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17873 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17876 ac_cs_awk_cr=$ac_cr
17879 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17884 echo "cat >conf$$subs.awk <<_ACEOF" &&
17885 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17887 } >conf$$subs.sh ||
17888 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17889 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17891 for ac_last_try in false false false false false :; do
17892 . ./conf$$subs.sh ||
17893 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17895 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17896 if test $ac_delim_n = $ac_delim_num; then
17898 elif $ac_last_try; then
17899 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17901 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17904 rm -f conf$$subs.sh
17906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17907 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17911 s/^/S["/; s/!.*/"]=/
17921 s/\(.\{148\}\)..*/\1/
17923 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17928 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17935 s/\(.\{148\}\)..*/\1/
17937 s/["\\]/\\&/g; s/^/"/; s/$/"/
17941 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17946 ' <conf$$subs.awk | sed '
17951 ' >>$CONFIG_STATUS || ac_write_fail=1
17952 rm -f conf$$subs.awk
17953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17955 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17956 for (key in S) S_is_set[key] = 1
17962 nfields = split(line, field, "@")
17964 len = length(field[1])
17965 for (i = 2; i < nfields; i++) {
17967 keylen = length(key)
17968 if (S_is_set[key]) {
17970 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17971 len += length(value) + length(field[++i])
17982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17983 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17984 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17987 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17988 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17991 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17992 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17993 # trailing colons and then remove the whole line if VPATH becomes empty
17994 # (actually we leave an empty line to preserve line numbers).
17995 if test "x$srcdir" = x.; then
17996 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18015 fi # test -n "$CONFIG_FILES"
18017 # Set up the scripts for CONFIG_HEADERS section.
18018 # No need to generate them if there are no CONFIG_HEADERS.
18019 # This happens for instance with `./config.status Makefile'.
18020 if test -n "$CONFIG_HEADERS"; then
18021 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18025 # Transform confdefs.h into an awk script `defines.awk', embedded as
18026 # here-document in config.status, that substitutes the proper values into
18027 # config.h.in to produce config.h.
18029 # Create a delimiter string that does not exist in confdefs.h, to ease
18030 # handling of long lines.
18032 for ac_last_try in false false :; do
18033 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18034 if test -z "$ac_tt"; then
18036 elif $ac_last_try; then
18037 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18043 # For the awk script, D is an array of macro values keyed by name,
18044 # likewise P contains macro parameters if any. Preserve backslash
18045 # newline sequences.
18047 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18049 s/.\{148\}/&'"$ac_delim"'/g
18052 s/^[ ]*#[ ]*define[ ][ ]*/ /
18059 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18061 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18065 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18066 D["\1"]=" \3\\\\\\n"\\/p
18068 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18073 s/.\{148\}/&'"$ac_delim"'/g
18078 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18081 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18083 ' <confdefs.h | sed '
18084 s/'"$ac_delim"'/"\\\
18085 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18088 for (key in D) D_is_set[key] = 1
18091 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18093 split(line, arg, " ")
18094 if (arg[1] == "#") {
18098 defundef = substr(arg[1], 2)
18101 split(mac1, mac2, "(") #)
18103 prefix = substr(line, 1, index(line, defundef) - 1)
18104 if (D_is_set[macro]) {
18105 # Preserve the white space surrounding the "#".
18106 print prefix "define", macro P[macro] D[macro]
18109 # Replace #undef with comments. This is necessary, for example,
18110 # in the case of _POSIX_SOURCE, which is predefined and required
18111 # on some systems where configure will not decide to define it.
18112 if (defundef == "undef") {
18113 print "/*", prefix defundef, macro, "*/"
18121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18122 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18123 fi # test -n "$CONFIG_HEADERS"
18126 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18131 :[FHLC]) ac_mode=$ac_tag; continue;;
18133 case $ac_mode$ac_tag in
18135 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18136 :[FH]-) ac_tag=-:-;;
18137 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18154 -) ac_f="$ac_tmp/stdin";;
18155 *) # Look for the file first in the build tree, then in the source tree
18156 # (if the path is not absolute). The absolute path cannot be DOS-style,
18157 # because $ac_f cannot contain `:'.
18161 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18163 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18165 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18166 as_fn_append ac_file_inputs " '$ac_f'"
18169 # Let's still pretend it is `configure' which instantiates (i.e., don't
18170 # use $as_me), people would be surprised to read:
18171 # /* config.h. Generated by config.status. */
18172 configure_input='Generated from '`
18173 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18175 if test x"$ac_file" != x-; then
18176 configure_input="$ac_file. $configure_input"
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18178 $as_echo "$as_me: creating $ac_file" >&6;}
18180 # Neutralize special characters interpreted by sed in replacement strings.
18181 case $configure_input in #(
18182 *\&* | *\|* | *\\* )
18183 ac_sed_conf_input=`$as_echo "$configure_input" |
18184 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18185 *) ac_sed_conf_input=$configure_input;;
18189 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18190 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18195 ac_dir=`$as_dirname -- "$ac_file" ||
18196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18197 X"$ac_file" : 'X\(//\)[^/]' \| \
18198 X"$ac_file" : 'X\(//\)$' \| \
18199 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18200 $as_echo X"$ac_file" |
18201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18205 /^X\(\/\/\)[^/].*/{
18218 as_dir="$ac_dir"; as_fn_mkdir_p
18222 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18224 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18225 # A ".." for each directory in $ac_dir_suffix.
18226 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18227 case $ac_top_builddir_sub in
18228 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18229 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18232 ac_abs_top_builddir=$ac_pwd
18233 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18234 # for backward compatibility:
18235 ac_top_builddir=$ac_top_build_prefix
18238 .) # We are building in place.
18240 ac_top_srcdir=$ac_top_builddir_sub
18241 ac_abs_top_srcdir=$ac_pwd ;;
18242 [\\/]* | ?:[\\/]* ) # Absolute name.
18243 ac_srcdir=$srcdir$ac_dir_suffix;
18244 ac_top_srcdir=$srcdir
18245 ac_abs_top_srcdir=$srcdir ;;
18246 *) # Relative name.
18247 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18248 ac_top_srcdir=$ac_top_build_prefix$srcdir
18249 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18251 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18261 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18262 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18264 ac_MKDIR_P=$MKDIR_P
18266 [\\/$]* | ?:[\\/]* ) ;;
18267 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18272 # If the template does not know about datarootdir, expand it.
18273 # FIXME: This hack should be removed a few years after 2.60.
18274 ac_datarootdir_hack=; ac_datarootdir_seen=
18285 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18286 *datarootdir*) ac_datarootdir_seen=yes;;
18287 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18289 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18292 ac_datarootdir_hack='
18293 s&@datadir@&$datadir&g
18294 s&@docdir@&$docdir&g
18295 s&@infodir@&$infodir&g
18296 s&@localedir@&$localedir&g
18297 s&@mandir@&$mandir&g
18298 s&\\\${datarootdir}&$datarootdir&g' ;;
18302 # Neutralize VPATH when `$srcdir' = `.'.
18303 # Shell code in configure.ac might set extrasub.
18304 # FIXME: do we really want to maintain this feature?
18305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18306 ac_sed_extra="$ac_vpsub
18309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18311 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18312 s|@configure_input@|$ac_sed_conf_input|;t t
18313 s&@top_builddir@&$ac_top_builddir_sub&;t t
18314 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18315 s&@srcdir@&$ac_srcdir&;t t
18316 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18317 s&@top_srcdir@&$ac_top_srcdir&;t t
18318 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18319 s&@builddir@&$ac_builddir&;t t
18320 s&@abs_builddir@&$ac_abs_builddir&;t t
18321 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18322 s&@INSTALL@&$ac_INSTALL&;t t
18323 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18324 $ac_datarootdir_hack
18326 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18327 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18329 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18330 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18331 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18332 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18334 which seems to be undefined. Please make sure it is defined" >&5
18335 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18336 which seems to be undefined. Please make sure it is defined" >&2;}
18338 rm -f "$ac_tmp/stdin"
18340 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18341 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18343 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18349 if test x"$ac_file" != x-; then
18351 $as_echo "/* $configure_input */" \
18352 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18353 } >"$ac_tmp/config.h" \
18354 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18355 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18357 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18360 mv "$ac_tmp/config.h" "$ac_file" \
18361 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18364 $as_echo "/* $configure_input */" \
18365 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18366 || as_fn_error $? "could not create -" "$LINENO" 5
18368 # Compute "$ac_file"'s index in $config_headers.
18371 for _am_header in $config_headers :; do
18372 case $_am_header in
18373 $_am_arg | $_am_arg:* )
18376 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18379 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18380 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18381 X"$_am_arg" : 'X\(//\)[^/]' \| \
18382 X"$_am_arg" : 'X\(//\)$' \| \
18383 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18384 $as_echo X"$_am_arg" |
18385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18389 /^X\(\/\/\)[^/].*/{
18401 s/.*/./; q'`/stamp-h$_am_stamp_count
18404 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18405 $as_echo "$as_me: executing $ac_file commands" >&6;}
18410 case $ac_file$ac_mode in
18411 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18412 # Older Autoconf quotes --file arguments for eval, but not when files
18413 # are listed without --file. Let's play safe and only enable the eval
18414 # if we detect the quoting.
18415 case $CONFIG_FILES in
18416 *\'*) eval set x "$CONFIG_FILES" ;;
18417 *) set x $CONFIG_FILES ;;
18422 # Strip MF so we end up with the name of the file.
18423 mf=`echo "$mf" | sed -e 's/:.*$//'`
18424 # Check whether this is an Automake generated Makefile or not.
18425 # We used to match only the files named 'Makefile.in', but
18426 # some people rename them; so instead we look at the file content.
18427 # Grep'ing the first line is not enough: some people post-process
18428 # each Makefile.in and add a new line on top of each file to say so.
18429 # Grep'ing the whole file is not good either: AIX grep has a line
18430 # limit of 2048, but all sed's we know have understand at least 4000.
18431 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18432 dirpart=`$as_dirname -- "$mf" ||
18433 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18434 X"$mf" : 'X\(//\)[^/]' \| \
18435 X"$mf" : 'X\(//\)$' \| \
18436 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18442 /^X\(\/\/\)[^/].*/{
18458 # Extract the definition of DEPDIR, am__include, and am__quote
18459 # from the Makefile without running 'make'.
18460 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18461 test -z "$DEPDIR" && continue
18462 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18463 test -z "$am__include" && continue
18464 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18465 # Find all dependency output files, they are included files with
18466 # $(DEPDIR) in their names. We invoke sed twice because it is the
18467 # simplest approach to changing $(DEPDIR) to its actual value in the
18469 for file in `sed -n "
18470 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18471 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18472 # Make sure the directory exists.
18473 test -f "$dirpart/$file" && continue
18474 fdir=`$as_dirname -- "$file" ||
18475 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18476 X"$file" : 'X\(//\)[^/]' \| \
18477 X"$file" : 'X\(//\)$' \| \
18478 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18479 $as_echo X"$file" |
18480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18484 /^X\(\/\/\)[^/].*/{
18497 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18498 # echo "creating $dirpart/$file"
18499 echo '# dummy' > "$dirpart/$file"
18506 # See if we are running on zsh, and set the options which allow our
18507 # commands through without removal of \ escapes.
18508 if test -n "${ZSH_VERSION+set}" ; then
18509 setopt NO_GLOB_SUBST
18512 cfgfile="${ofile}T"
18513 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18516 cat <<_LT_EOF >> "$cfgfile"
18519 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18520 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18521 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18522 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18524 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18525 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18527 # Written by Gordon Matzigkeit, 1996
18529 # This file is part of GNU Libtool.
18531 # GNU Libtool is free software; you can redistribute it and/or
18532 # modify it under the terms of the GNU General Public License as
18533 # published by the Free Software Foundation; either version 2 of
18534 # the License, or (at your option) any later version.
18536 # As a special exception to the GNU General Public License,
18537 # if you distribute this file as part of a program or library that
18538 # is built using GNU Libtool, you may include this file under the
18539 # same distribution terms that you use for the rest of that program.
18541 # GNU Libtool is distributed in the hope that it will be useful,
18542 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18543 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18544 # GNU General Public License for more details.
18546 # You should have received a copy of the GNU General Public License
18547 # along with GNU Libtool; see the file COPYING. If not, a copy
18548 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18549 # obtained by writing to the Free Software Foundation, Inc.,
18550 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18553 # The names of the tagged configurations supported by this script.
18554 available_tags="CXX "
18556 # ### BEGIN LIBTOOL CONFIG
18558 # Whether or not to build static libraries.
18559 build_old_libs=$enable_static
18561 # Which release of libtool.m4 was used?
18562 macro_version=$macro_version
18563 macro_revision=$macro_revision
18565 # Assembler program.
18568 # DLL creation program.
18569 DLLTOOL=$lt_DLLTOOL
18571 # Object dumper program.
18572 OBJDUMP=$lt_OBJDUMP
18574 # Whether or not to build shared libraries.
18575 build_libtool_libs=$enable_shared
18577 # What type of objects to build.
18580 # Whether or not to optimize for fast installation.
18581 fast_install=$enable_fast_install
18583 # Shell to use when invoking shell scripts.
18586 # An echo program that protects backslashes.
18589 # The PATH separator for the build system.
18590 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18593 host_alias=$host_alias
18597 # The build system.
18598 build_alias=$build_alias
18602 # A sed program that does not truncate output.
18605 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18606 Xsed="\$SED -e 1s/^X//"
18608 # A grep program that handles long lines.
18614 # A literal string matcher.
18617 # A BSD- or MS-compatible name lister.
18620 # Whether we need soft or hard links.
18623 # What is the maximum length of a command?
18624 max_cmd_len=$max_cmd_len
18626 # Object file suffix (normally "o").
18629 # Executable file suffix (normally "").
18632 # whether the shell understands "unset".
18635 # turn spaces into newlines.
18638 # turn newlines into spaces.
18641 # convert \$build file names to \$host format.
18642 to_host_file_cmd=$lt_cv_to_host_file_cmd
18644 # convert \$build files to toolchain format.
18645 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18647 # Method to check whether dependent libraries are shared objects.
18648 deplibs_check_method=$lt_deplibs_check_method
18650 # Command to use when deplibs_check_method = "file_magic".
18651 file_magic_cmd=$lt_file_magic_cmd
18653 # How to find potential files when deplibs_check_method = "file_magic".
18654 file_magic_glob=$lt_file_magic_glob
18656 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18657 want_nocaseglob=$lt_want_nocaseglob
18659 # Command to associate shared and link libraries.
18660 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18665 # Flags to create an archive.
18666 AR_FLAGS=$lt_AR_FLAGS
18668 # How to feed a file listing to the archiver.
18669 archiver_list_spec=$lt_archiver_list_spec
18671 # A symbol stripping program.
18674 # Commands used to install an old-style archive.
18676 old_postinstall_cmds=$lt_old_postinstall_cmds
18677 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18679 # Whether to use a lock for old archive extraction.
18680 lock_old_archive_extraction=$lock_old_archive_extraction
18685 # LTCC compiler flags.
18686 LTCFLAGS=$lt_CFLAGS
18688 # Take the output of nm and produce a listing of raw symbols and C names.
18689 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18691 # Transform the output of nm in a proper C declaration.
18692 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18694 # Transform the output of nm in a C name address pair.
18695 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18697 # Transform the output of nm in a C name address pair when lib prefix is needed.
18698 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18700 # Specify filename containing input files for \$NM.
18701 nm_file_list_spec=$lt_nm_file_list_spec
18703 # The root where to search for dependent libraries,and in which our libraries should be installed.
18704 lt_sysroot=$lt_sysroot
18706 # The name of the directory that contains temporary libtool files.
18709 # Used to examine libraries when file_magic_cmd begins with "file".
18710 MAGIC_CMD=$MAGIC_CMD
18712 # Must we lock files when doing compilation?
18713 need_locks=$lt_need_locks
18716 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18718 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18719 DSYMUTIL=$lt_DSYMUTIL
18721 # Tool to change global to local symbols on Mac OS X.
18724 # Tool to manipulate fat objects and archives on Mac OS X.
18727 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18730 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18731 OTOOL64=$lt_OTOOL64
18733 # Old archive suffix (normally "a").
18736 # Shared library suffix (normally ".so").
18737 shrext_cmds=$lt_shrext_cmds
18739 # The commands to extract the exported symbol list from a shared archive.
18740 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18742 # Variables whose values should be saved in libtool wrapper scripts and
18743 # restored at link time.
18744 variables_saved_for_relink=$lt_variables_saved_for_relink
18746 # Do we need the "lib" prefix for modules?
18747 need_lib_prefix=$need_lib_prefix
18749 # Do we need a version for libraries?
18750 need_version=$need_version
18752 # Library versioning type.
18753 version_type=$version_type
18755 # Shared library runtime path variable.
18756 runpath_var=$runpath_var
18758 # Shared library path variable.
18759 shlibpath_var=$shlibpath_var
18761 # Is shlibpath searched before the hard-coded library search path?
18762 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18764 # Format of library name prefix.
18765 libname_spec=$lt_libname_spec
18767 # List of archive names. First name is the real one, the rest are links.
18768 # The last name is the one that the linker finds with -lNAME
18769 library_names_spec=$lt_library_names_spec
18771 # The coded name of the library, if different from the real name.
18772 soname_spec=$lt_soname_spec
18774 # Permission mode override for installation of shared libraries.
18775 install_override_mode=$lt_install_override_mode
18777 # Command to use after installation of a shared archive.
18778 postinstall_cmds=$lt_postinstall_cmds
18780 # Command to use after uninstallation of a shared archive.
18781 postuninstall_cmds=$lt_postuninstall_cmds
18783 # Commands used to finish a libtool library installation in a directory.
18784 finish_cmds=$lt_finish_cmds
18786 # As "finish_cmds", except a single script fragment to be evaled but
18788 finish_eval=$lt_finish_eval
18790 # Whether we should hardcode library paths into libraries.
18791 hardcode_into_libs=$hardcode_into_libs
18793 # Compile-time system search path for libraries.
18794 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18796 # Run-time system search path for libraries.
18797 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18799 # Whether dlopen is supported.
18800 dlopen_support=$enable_dlopen
18802 # Whether dlopen of programs is supported.
18803 dlopen_self=$enable_dlopen_self
18805 # Whether dlopen of statically linked programs is supported.
18806 dlopen_self_static=$enable_dlopen_self_static
18808 # Commands to strip libraries.
18809 old_striplib=$lt_old_striplib
18810 striplib=$lt_striplib
18813 # The linker used to build libraries.
18816 # How to create reloadable object files.
18817 reload_flag=$lt_reload_flag
18818 reload_cmds=$lt_reload_cmds
18820 # Commands used to build an old-style archive.
18821 old_archive_cmds=$lt_old_archive_cmds
18823 # A language specific compiler.
18826 # Is the compiler the GNU compiler?
18829 # Compiler flag to turn off builtin functions.
18830 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18832 # Additional compiler flags for building library objects.
18833 pic_flag=$lt_lt_prog_compiler_pic
18835 # How to pass a linker flag through the compiler.
18836 wl=$lt_lt_prog_compiler_wl
18838 # Compiler flag to prevent dynamic linking.
18839 link_static_flag=$lt_lt_prog_compiler_static
18841 # Does compiler simultaneously support -c and -o options?
18842 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18844 # Whether or not to add -lc for building shared libraries.
18845 build_libtool_need_lc=$archive_cmds_need_lc
18847 # Whether or not to disallow shared libs when runtime libs are static.
18848 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18850 # Compiler flag to allow reflexive dlopens.
18851 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18853 # Compiler flag to generate shared objects directly from archives.
18854 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18856 # Whether the compiler copes with passing no objects directly.
18857 compiler_needs_object=$lt_compiler_needs_object
18859 # Create an old-style archive from a shared archive.
18860 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18862 # Create a temporary old-style archive to link instead of a shared archive.
18863 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18865 # Commands used to build a shared archive.
18866 archive_cmds=$lt_archive_cmds
18867 archive_expsym_cmds=$lt_archive_expsym_cmds
18869 # Commands used to build a loadable module if different from building
18870 # a shared archive.
18871 module_cmds=$lt_module_cmds
18872 module_expsym_cmds=$lt_module_expsym_cmds
18874 # Whether we are building with GNU ld or not.
18875 with_gnu_ld=$lt_with_gnu_ld
18877 # Flag that allows shared libraries with undefined symbols to be built.
18878 allow_undefined_flag=$lt_allow_undefined_flag
18880 # Flag that enforces no undefined symbols.
18881 no_undefined_flag=$lt_no_undefined_flag
18883 # Flag to hardcode \$libdir into a binary during linking.
18884 # This must work even if \$libdir does not exist
18885 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18887 # Whether we need a single "-rpath" flag with a separated argument.
18888 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18890 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18891 # DIR into the resulting binary.
18892 hardcode_direct=$hardcode_direct
18894 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18895 # DIR into the resulting binary and the resulting library dependency is
18896 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18897 # library is relocated.
18898 hardcode_direct_absolute=$hardcode_direct_absolute
18900 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18901 # into the resulting binary.
18902 hardcode_minus_L=$hardcode_minus_L
18904 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18905 # into the resulting binary.
18906 hardcode_shlibpath_var=$hardcode_shlibpath_var
18908 # Set to "yes" if building a shared library automatically hardcodes DIR
18909 # into the library and all subsequent libraries and executables linked
18911 hardcode_automatic=$hardcode_automatic
18913 # Set to yes if linker adds runtime paths of dependent libraries
18914 # to runtime path list.
18915 inherit_rpath=$inherit_rpath
18917 # Whether libtool must link a program against all its dependency libraries.
18918 link_all_deplibs=$link_all_deplibs
18920 # Set to "yes" if exported symbols are required.
18921 always_export_symbols=$always_export_symbols
18923 # The commands to list exported symbols.
18924 export_symbols_cmds=$lt_export_symbols_cmds
18926 # Symbols that should not be listed in the preloaded symbols.
18927 exclude_expsyms=$lt_exclude_expsyms
18929 # Symbols that must always be exported.
18930 include_expsyms=$lt_include_expsyms
18932 # Commands necessary for linking programs (against libraries) with templates.
18933 prelink_cmds=$lt_prelink_cmds
18935 # Commands necessary for finishing linking programs.
18936 postlink_cmds=$lt_postlink_cmds
18938 # Specify filename containing input files.
18939 file_list_spec=$lt_file_list_spec
18941 # How to hardcode a shared library path into an executable.
18942 hardcode_action=$hardcode_action
18944 # The directories searched by this compiler when creating a shared library.
18945 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18947 # Dependencies to place before and after the objects being linked to
18948 # create a shared library.
18949 predep_objects=$lt_predep_objects
18950 postdep_objects=$lt_postdep_objects
18951 predeps=$lt_predeps
18952 postdeps=$lt_postdeps
18954 # The library search path used internally by the compiler when linking
18955 # a shared library.
18956 compiler_lib_search_path=$lt_compiler_lib_search_path
18958 # ### END LIBTOOL CONFIG
18964 cat <<\_LT_EOF >> "$cfgfile"
18965 # AIX sometimes has problems with the GCC collect2 program. For some
18966 # reason, if we set the COLLECT_NAMES environment variable, the problems
18967 # vanish in a puff of smoke.
18968 if test "X${COLLECT_NAMES+set}" != Xset; then
18970 export COLLECT_NAMES
18977 ltmain="$ac_aux_dir/ltmain.sh"
18980 # We use sed instead of cat because bash on DJGPP gets confused if
18981 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18982 # text mode, it properly converts lines to CR/LF. This bash problem
18983 # is reportedly fixed, but why not run on old versions too?
18984 sed '$q' "$ltmain" >> "$cfgfile" \
18985 || (rm -f "$cfgfile"; exit 1)
18987 if test x"$xsi_shell" = xyes; then
18988 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18992 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18993 \ * ) func_dirname_result="${3}" ;;\
18995 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18996 && mv -f "$cfgfile.tmp" "$cfgfile" \
18997 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18998 test 0 -eq $? || _lt_function_replace_fail=:
19001 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19004 \ func_basename_result="${1##*/}"\
19005 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19006 && mv -f "$cfgfile.tmp" "$cfgfile" \
19007 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19008 test 0 -eq $? || _lt_function_replace_fail=:
19011 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19012 func_dirname_and_basename ()\
19015 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19016 \ * ) func_dirname_result="${3}" ;;\
19018 \ func_basename_result="${1##*/}"\
19019 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19020 && mv -f "$cfgfile.tmp" "$cfgfile" \
19021 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19022 test 0 -eq $? || _lt_function_replace_fail=:
19025 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19028 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19029 \ # positional parameters, so assign one to ordinary parameter first.\
19030 \ func_stripname_result=${3}\
19031 \ func_stripname_result=${func_stripname_result#"${1}"}\
19032 \ func_stripname_result=${func_stripname_result%"${2}"}\
19033 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19034 && mv -f "$cfgfile.tmp" "$cfgfile" \
19035 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19036 test 0 -eq $? || _lt_function_replace_fail=:
19039 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19040 func_split_long_opt ()\
19042 \ func_split_long_opt_name=${1%%=*}\
19043 \ func_split_long_opt_arg=${1#*=}\
19044 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19045 && mv -f "$cfgfile.tmp" "$cfgfile" \
19046 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19047 test 0 -eq $? || _lt_function_replace_fail=:
19050 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19051 func_split_short_opt ()\
19053 \ func_split_short_opt_arg=${1#??}\
19054 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19055 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19056 && mv -f "$cfgfile.tmp" "$cfgfile" \
19057 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19058 test 0 -eq $? || _lt_function_replace_fail=:
19061 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19065 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19066 \ *) func_lo2o_result=${1} ;;\
19068 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19069 && mv -f "$cfgfile.tmp" "$cfgfile" \
19070 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19071 test 0 -eq $? || _lt_function_replace_fail=:
19074 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19077 func_xform_result=${1%.*}.lo\
19078 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19079 && mv -f "$cfgfile.tmp" "$cfgfile" \
19080 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19081 test 0 -eq $? || _lt_function_replace_fail=:
19084 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19087 func_arith_result=$(( $* ))\
19088 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19089 && mv -f "$cfgfile.tmp" "$cfgfile" \
19090 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19091 test 0 -eq $? || _lt_function_replace_fail=:
19094 sed -e '/^func_len ()$/,/^} # func_len /c\
19097 func_len_result=${#1}\
19098 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19099 && mv -f "$cfgfile.tmp" "$cfgfile" \
19100 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19101 test 0 -eq $? || _lt_function_replace_fail=:
19105 if test x"$lt_shell_append" = xyes; then
19106 sed -e '/^func_append ()$/,/^} # func_append /c\
19109 eval "${1}+=\\${2}"\
19110 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19111 && mv -f "$cfgfile.tmp" "$cfgfile" \
19112 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19113 test 0 -eq $? || _lt_function_replace_fail=:
19116 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19117 func_append_quoted ()\
19119 \ func_quote_for_eval "${2}"\
19120 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19121 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19122 && mv -f "$cfgfile.tmp" "$cfgfile" \
19123 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19124 test 0 -eq $? || _lt_function_replace_fail=:
19127 # Save a `func_append' function call where possible by direct use of '+='
19128 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19129 && mv -f "$cfgfile.tmp" "$cfgfile" \
19130 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19131 test 0 -eq $? || _lt_function_replace_fail=:
19133 # Save a `func_append' function call even when '+=' is not available
19134 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19135 && mv -f "$cfgfile.tmp" "$cfgfile" \
19136 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19137 test 0 -eq $? || _lt_function_replace_fail=:
19140 if test x"$_lt_function_replace_fail" = x":"; then
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19142 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19146 mv -f "$cfgfile" "$ofile" ||
19147 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19151 cat <<_LT_EOF >> "$ofile"
19153 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19155 # The linker used to build libraries.
19158 # How to create reloadable object files.
19159 reload_flag=$lt_reload_flag_CXX
19160 reload_cmds=$lt_reload_cmds_CXX
19162 # Commands used to build an old-style archive.
19163 old_archive_cmds=$lt_old_archive_cmds_CXX
19165 # A language specific compiler.
19166 CC=$lt_compiler_CXX
19168 # Is the compiler the GNU compiler?
19171 # Compiler flag to turn off builtin functions.
19172 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19174 # Additional compiler flags for building library objects.
19175 pic_flag=$lt_lt_prog_compiler_pic_CXX
19177 # How to pass a linker flag through the compiler.
19178 wl=$lt_lt_prog_compiler_wl_CXX
19180 # Compiler flag to prevent dynamic linking.
19181 link_static_flag=$lt_lt_prog_compiler_static_CXX
19183 # Does compiler simultaneously support -c and -o options?
19184 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19186 # Whether or not to add -lc for building shared libraries.
19187 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19189 # Whether or not to disallow shared libs when runtime libs are static.
19190 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19192 # Compiler flag to allow reflexive dlopens.
19193 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19195 # Compiler flag to generate shared objects directly from archives.
19196 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19198 # Whether the compiler copes with passing no objects directly.
19199 compiler_needs_object=$lt_compiler_needs_object_CXX
19201 # Create an old-style archive from a shared archive.
19202 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19204 # Create a temporary old-style archive to link instead of a shared archive.
19205 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19207 # Commands used to build a shared archive.
19208 archive_cmds=$lt_archive_cmds_CXX
19209 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19211 # Commands used to build a loadable module if different from building
19212 # a shared archive.
19213 module_cmds=$lt_module_cmds_CXX
19214 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19216 # Whether we are building with GNU ld or not.
19217 with_gnu_ld=$lt_with_gnu_ld_CXX
19219 # Flag that allows shared libraries with undefined symbols to be built.
19220 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19222 # Flag that enforces no undefined symbols.
19223 no_undefined_flag=$lt_no_undefined_flag_CXX
19225 # Flag to hardcode \$libdir into a binary during linking.
19226 # This must work even if \$libdir does not exist
19227 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19229 # Whether we need a single "-rpath" flag with a separated argument.
19230 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19232 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19233 # DIR into the resulting binary.
19234 hardcode_direct=$hardcode_direct_CXX
19236 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19237 # DIR into the resulting binary and the resulting library dependency is
19238 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19239 # library is relocated.
19240 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19242 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19243 # into the resulting binary.
19244 hardcode_minus_L=$hardcode_minus_L_CXX
19246 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19247 # into the resulting binary.
19248 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19250 # Set to "yes" if building a shared library automatically hardcodes DIR
19251 # into the library and all subsequent libraries and executables linked
19253 hardcode_automatic=$hardcode_automatic_CXX
19255 # Set to yes if linker adds runtime paths of dependent libraries
19256 # to runtime path list.
19257 inherit_rpath=$inherit_rpath_CXX
19259 # Whether libtool must link a program against all its dependency libraries.
19260 link_all_deplibs=$link_all_deplibs_CXX
19262 # Set to "yes" if exported symbols are required.
19263 always_export_symbols=$always_export_symbols_CXX
19265 # The commands to list exported symbols.
19266 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19268 # Symbols that should not be listed in the preloaded symbols.
19269 exclude_expsyms=$lt_exclude_expsyms_CXX
19271 # Symbols that must always be exported.
19272 include_expsyms=$lt_include_expsyms_CXX
19274 # Commands necessary for linking programs (against libraries) with templates.
19275 prelink_cmds=$lt_prelink_cmds_CXX
19277 # Commands necessary for finishing linking programs.
19278 postlink_cmds=$lt_postlink_cmds_CXX
19280 # Specify filename containing input files.
19281 file_list_spec=$lt_file_list_spec_CXX
19283 # How to hardcode a shared library path into an executable.
19284 hardcode_action=$hardcode_action_CXX
19286 # The directories searched by this compiler when creating a shared library.
19287 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19289 # Dependencies to place before and after the objects being linked to
19290 # create a shared library.
19291 predep_objects=$lt_predep_objects_CXX
19292 postdep_objects=$lt_postdep_objects_CXX
19293 predeps=$lt_predeps_CXX
19294 postdeps=$lt_postdeps_CXX
19296 # The library search path used internally by the compiler when linking
19297 # a shared library.
19298 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19300 # ### END LIBTOOL TAG CONFIG: CXX
19304 "MSVC_Net2013/sigc++config.h":C) cp -f sigc++config.h MSVC_Net2013/sigc++config.h ;;
19312 ac_clean_files=$ac_clean_files_save
19314 test $ac_write_fail = 0 ||
19315 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19318 # configure is writing to config.log, and then calls config.status.
19319 # config.status does its own redirection, appending to config.log.
19320 # Unfortunately, on DOS this fails, as config.log is still kept open
19321 # by configure, so config.status won't be able to write to it; its
19322 # output is simply discarded. So we exec the FD to /dev/null,
19323 # effectively closing config.log, so it can be properly (re)opened and
19324 # appended to by config.status. When coming back to configure, we
19325 # need to make the FD available again.
19326 if test "$no_create" != yes; then
19328 ac_config_status_args=
19329 test "$silent" = yes &&
19330 ac_config_status_args="$ac_config_status_args --quiet"
19332 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19334 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19335 # would make configure fail if this is the last instruction.
19336 $ac_cs_success || as_fn_exit 1
19338 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19340 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}