2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
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.
14 # Copyright (C) 2009-2012 Jay Freeman (saurik)
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
142 _as_can_reexec
=no
; export _as_can_reexec
;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
151 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec
=; unset _as_can_reexec
;}
164 if test "x$CONFIG_SHELL" = x
; then
165 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required
="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev
/null
; then :
217 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 # Try only shells that exist, to save several forks.
231 as_shell
=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$as_shell as_have_required
=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
245 CONFIG_SHELL
=$SHELL as_have_required
=yes
250 if test "x$CONFIG_SHELL" != x
; then :
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
258 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
260 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 if test x
$as_have_required = xno
; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x
${ZSH_VERSION+set} = xset
; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
280 $0: about your system, including any error possibly output
281 $0: before this message. Then install a modern shell, or
282 $0: manually run the script under such a shell if you do
289 SHELL
=${CONFIG_SHELL-/bin/sh}
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE
= GREP_OPTIONS
=
293 unset CLICOLOR_FORCE GREP_OPTIONS
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
300 # Portably unset VAR.
303 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
411 as_val
=`expr "$@" || test $? -eq 1`
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
423 as_status
=$1; test $as_status -eq 0 && as_status
=1
425 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit
$as_status
432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
451 as_me
=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
470 # Avoid depending upon Character Ranges.
471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits
='0123456789'
475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
478 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
479 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498 chmod +x
"$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec
=no
; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
509 # Exit status is that of the last command.
513 ECHO_C
= ECHO_N
= ECHO_T
=
514 case `echo -n x` in #(((((
516 case `echo 'xy\c'` in
517 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
526 rm -f conf$$ conf$$.exe conf$$.
file
527 if test -d conf$$.dir
; then
528 rm -f conf$$.dir
/conf$$.
file
531 mkdir conf$$.dir
2>/dev
/null
533 if (echo >conf$$.
file) 2>/dev
/null
; then
534 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
542 elif ln conf$$.
file conf$$
2>/dev
/null
; then
550 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
551 rmdir conf$$.dir
2>/dev
/null
553 if mkdir -p .
2>/dev
/null
; then
554 as_mkdir_p
='mkdir -p "$as_dir"'
556 test -d .
/-p && rmdir .
/-p
561 as_executable_p
=as_fn_executable_p
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
569 SHELL
=${CONFIG_SHELL-/bin/sh}
572 test -n "$DJDIR" || exec 7<&0 </dev
/null
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
583 ac_default_prefix
=/usr
/local
585 ac_config_libobj_dir
=.
592 # Identity of this package.
593 PACKAGE_NAME
='Cycript'
594 PACKAGE_TARNAME
='cycript'
595 PACKAGE_VERSION
='0.9'
596 PACKAGE_STRING
='Cycript 0.9'
597 PACKAGE_BUGREPORT
='saurik@saurik.com'
598 PACKAGE_URL
='http://www.cycript.org/'
600 ac_unique_file
="Console.cpp"
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
670 CY_IOS_SIMULATOR_FALSE
671 CY_IOS_SIMULATOR_TRUE
722 am__fastdepOBJCXX_FALSE
723 am__fastdepOBJCXX_TRUE
746 MAINTAINER_MODE_FALSE
760 INSTALL_STRIP_PROGRAM
802 program_transform_name
815 enable_option_checking
817 enable_maintainer_mode
818 enable_dependency_tracking
829 ac_precious_vars
='build_alias
858 # Initialize some variables set by options.
860 ac_init_version
=false
861 ac_unrecognized_opts
=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
872 program_transform_name
=s
,x
,x
,
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir
='${exec_prefix}/bin'
887 sbindir
='${exec_prefix}/sbin'
888 libexecdir
='${exec_prefix}/libexec'
889 datarootdir
='${prefix}/share'
890 datadir
='${datarootdir}'
891 sysconfdir
='${prefix}/etc'
892 sharedstatedir
='${prefix}/com'
893 localstatedir
='${prefix}/var'
894 includedir
='${prefix}/include'
895 oldincludedir
='/usr/include'
896 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir
='${datarootdir}/info'
902 libdir
='${exec_prefix}/lib'
903 localedir
='${datarootdir}/locale'
904 mandir
='${datarootdir}/man'
910 # If the previous option needs an argument, assign it.
911 if test -n "$ac_prev"; then
912 eval $ac_prev=\
$ac_option
918 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
923 # Accept the important Cygnus configure options, so we can diagnose typos.
925 case $ac_dashdash$ac_option in
929 -bindir | --bindir | --bindi | --bind | --bin | --bi)
931 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
934 -build | --build | --buil | --bui | --bu)
935 ac_prev
=build_alias
;;
936 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
937 build_alias
=$ac_optarg ;;
939 -cache-file | --cache-file | --cache-fil | --cache-fi \
940 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
941 ac_prev
=cache_file
;;
942 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
943 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
944 cache_file
=$ac_optarg ;;
947 cache_file
=config.cache
;;
949 -datadir | --datadir | --datadi | --datad)
951 -datadir=* | --datadir=* | --datadi=* | --datad=*)
952 datadir
=$ac_optarg ;;
954 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
955 | --dataroo | --dataro | --datar)
956 ac_prev
=datarootdir
;;
957 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
958 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
959 datarootdir
=$ac_optarg ;;
961 -disable-* | --disable-*)
962 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
965 as_fn_error $?
"invalid feature name: $ac_useropt"
966 ac_useropt_orig
=$ac_useropt
967 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
973 ac_unrecognized_sep
=', ';;
975 eval enable_
$ac_useropt=no
;;
977 -docdir | --docdir | --docdi | --doc | --do)
979 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
982 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
984 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
987 -enable-* | --enable-*)
988 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
991 as_fn_error $?
"invalid feature name: $ac_useropt"
992 ac_useropt_orig
=$ac_useropt
993 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
998 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
999 ac_unrecognized_sep
=', ';;
1001 eval enable_
$ac_useropt=\
$ac_optarg ;;
1003 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1004 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1005 | --exec | --exe | --ex)
1006 ac_prev
=exec_prefix
;;
1007 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1008 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1009 | --exec=* | --exe=* | --ex=*)
1010 exec_prefix
=$ac_optarg ;;
1012 -gas | --gas | --ga | --g)
1013 # Obsolete; use --with-gas.
1016 -help | --help | --hel | --he | -h)
1017 ac_init_help
=long
;;
1018 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1019 ac_init_help
=recursive
;;
1020 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1021 ac_init_help
=short
;;
1023 -host | --host | --hos | --ho)
1024 ac_prev
=host_alias
;;
1025 -host=* | --host=* | --hos=* | --ho=*)
1026 host_alias
=$ac_optarg ;;
1028 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1030 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1032 htmldir
=$ac_optarg ;;
1034 -includedir | --includedir | --includedi | --included | --include \
1035 | --includ | --inclu | --incl | --inc)
1036 ac_prev
=includedir
;;
1037 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1038 | --includ=* | --inclu=* | --incl=* | --inc=*)
1039 includedir
=$ac_optarg ;;
1041 -infodir | --infodir | --infodi | --infod | --info | --inf)
1043 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1044 infodir
=$ac_optarg ;;
1046 -libdir | --libdir | --libdi | --libd)
1048 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1049 libdir
=$ac_optarg ;;
1051 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1052 | --libexe | --libex | --libe)
1053 ac_prev
=libexecdir
;;
1054 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1055 | --libexe=* | --libex=* | --libe=*)
1056 libexecdir
=$ac_optarg ;;
1058 -localedir | --localedir | --localedi | --localed | --locale)
1059 ac_prev
=localedir
;;
1060 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1061 localedir
=$ac_optarg ;;
1063 -localstatedir | --localstatedir | --localstatedi | --localstated \
1064 | --localstate | --localstat | --localsta | --localst | --locals)
1065 ac_prev
=localstatedir
;;
1066 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1067 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1068 localstatedir
=$ac_optarg ;;
1070 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1072 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1073 mandir
=$ac_optarg ;;
1075 -nfp | --nfp | --nf)
1076 # Obsolete; use --without-fp.
1079 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1080 | --no-cr | --no-c | -n)
1083 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1084 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1087 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1088 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1089 | --oldin | --oldi | --old | --ol | --o)
1090 ac_prev
=oldincludedir
;;
1091 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1092 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1093 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1094 oldincludedir
=$ac_optarg ;;
1096 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1098 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1099 prefix
=$ac_optarg ;;
1101 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1102 | --program-pre | --program-pr | --program-p)
1103 ac_prev
=program_prefix
;;
1104 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1105 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1106 program_prefix
=$ac_optarg ;;
1108 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1109 | --program-suf | --program-su | --program-s)
1110 ac_prev
=program_suffix
;;
1111 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1112 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1113 program_suffix
=$ac_optarg ;;
1115 -program-transform-name | --program-transform-name \
1116 | --program-transform-nam | --program-transform-na \
1117 | --program-transform-n | --program-transform- \
1118 | --program-transform | --program-transfor \
1119 | --program-transfo | --program-transf \
1120 | --program-trans | --program-tran \
1121 | --progr-tra | --program-tr | --program-t)
1122 ac_prev
=program_transform_name
;;
1123 -program-transform-name=* | --program-transform-name=* \
1124 | --program-transform-nam=* | --program-transform-na=* \
1125 | --program-transform-n=* | --program-transform-=* \
1126 | --program-transform=* | --program-transfor=* \
1127 | --program-transfo=* | --program-transf=* \
1128 | --program-trans=* | --program-tran=* \
1129 | --progr-tra=* | --program-tr=* | --program-t=*)
1130 program_transform_name
=$ac_optarg ;;
1132 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1134 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1135 pdfdir
=$ac_optarg ;;
1137 -psdir | --psdir | --psdi | --psd | --ps)
1139 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1143 | -silent | --silent | --silen | --sile | --sil)
1146 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1148 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1150 sbindir
=$ac_optarg ;;
1152 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1153 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1154 | --sharedst | --shareds | --shared | --share | --shar \
1156 ac_prev
=sharedstatedir
;;
1157 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1158 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1159 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1161 sharedstatedir
=$ac_optarg ;;
1163 -site | --site | --sit)
1165 -site=* | --site=* | --sit=*)
1168 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1170 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1171 srcdir
=$ac_optarg ;;
1173 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1174 | --syscon | --sysco | --sysc | --sys | --sy)
1175 ac_prev
=sysconfdir
;;
1176 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1177 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1178 sysconfdir
=$ac_optarg ;;
1180 -target | --target | --targe | --targ | --tar | --ta | --t)
1181 ac_prev
=target_alias
;;
1182 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1183 target_alias
=$ac_optarg ;;
1185 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1188 -version | --version | --versio | --versi | --vers | -V)
1189 ac_init_version
=: ;;
1192 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error $?
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=\
$ac_optarg ;;
1207 -without-* | --without-*)
1208 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1209 # Reject names that are not valid shell variable names.
1210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1211 as_fn_error $?
"invalid package name: $ac_useropt"
1212 ac_useropt_orig
=$ac_useropt
1213 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1214 case $ac_user_opts in
1218 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1219 ac_unrecognized_sep
=', ';;
1221 eval with_
$ac_useropt=no
;;
1224 # Obsolete; use --with-x.
1227 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1228 | --x-incl | --x-inc | --x-in | --x-i)
1229 ac_prev
=x_includes
;;
1230 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1231 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1232 x_includes
=$ac_optarg ;;
1234 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1235 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1236 ac_prev
=x_libraries
;;
1237 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1238 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1239 x_libraries
=$ac_optarg ;;
1241 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1242 Try \`$0 --help' for more information"
1246 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1247 # Reject names that are not valid shell variable names.
1248 case $ac_envvar in #(
1249 '' | [0-9]* | *[!_$as_cr_alnum]* )
1250 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1252 eval $ac_envvar=\
$ac_optarg
1253 export $ac_envvar ;;
1256 # FIXME: should be removed in autoconf 3.0.
1257 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1258 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1259 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1260 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1266 if test -n "$ac_prev"; then
1267 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1268 as_fn_error $?
"missing argument to $ac_option"
1271 if test -n "$ac_unrecognized_opts"; then
1272 case $enable_option_checking in
1274 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1275 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1279 # Check all directory arguments for consistency.
1280 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val
=\$
$ac_var
1286 # Remove trailing slashes.
1289 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1290 eval $ac_var=\
$ac_val;;
1292 # Be sure to have absolute directory names.
1294 [\\/$
]* | ?
:[\\/]* ) continue;;
1295 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1297 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1300 # There might be people who depend on the old broken behavior: `$host'
1301 # used to hold the argument of --host etc.
1302 # FIXME: To remove some day.
1305 target
=$target_alias
1307 # FIXME: To remove some day.
1308 if test "x$host_alias" != x
; then
1309 if test "x$build_alias" = x
; then
1310 cross_compiling
=maybe
1311 elif test "x$build_alias" != "x$host_alias"; then
1317 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1319 test "$silent" = yes && exec 6>/dev
/null
1322 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1323 ac_ls_di
=`ls -di .` &&
1324 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1325 as_fn_error $?
"working directory cannot be determined"
1326 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327 as_fn_error $?
"pwd does not report name of working directory"
1330 # Find the source files, if location was not specified.
1331 if test -z "$srcdir"; then
1332 ac_srcdir_defaulted
=yes
1333 # Try the directory containing this script, then the parent directory.
1334 ac_confdir
=`$as_dirname -- "$as_myself" ||
1335 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1336 X"$as_myself" : 'X\(//\)[^/]' \| \
1337 X"$as_myself" : 'X\(//\)$' \| \
1338 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1339 $as_echo X"$as_myself" |
1340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1362 ac_srcdir_defaulted
=no
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1366 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1368 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking ...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1459 --build=BUILD configure
for building on BUILD
[guessed
]
1460 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1464 if test -n "$ac_init_help"; then
1465 case $ac_init_help in
1466 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1471 --disable-option-checking ignore unrecognized
--enable/--with options
1472 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1473 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1474 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1475 --disable-silent-rules verbose build output
(undo
: "make V=0")
1476 --enable-maintainer-mode
1477 enable make rules and dependencies not useful
(and
1478 sometimes confusing
) to the casual installer
1479 --enable-dependency-tracking
1480 do not reject slow dependency extractors
1481 --disable-dependency-tracking
1482 speeds up one
-time build
1483 --enable-static[=PKGS
] build static libraries
[default
=no
]
1484 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1485 --enable-fast-install[=PKGS
]
1486 optimize
for fast installation
[default
=yes]
1487 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1488 --enable-javascript[=ENGINE
]
1489 use a JavaScript runtime
(currently the only
1490 available option
for ENGINE is JavaScriptCore
)
1494 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1495 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1496 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1498 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1499 --with-sysroot=DIR Search
for dependent libraries within DIR
1500 (or the compiler
's sysroot if not specified).
1501 --with-apr=PATH prefix for installed APR or the full path to
1504 Some influential environment variables:
1505 CXX C++ compiler command
1506 CXXFLAGS C++ compiler flags
1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1508 nonstandard directory <lib dir>
1509 LIBS libraries to pass to the linker, e.g. -l<library>
1510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511 you have headers in a nonstandard directory <include dir>
1512 OBJCXX Objective C++ compiler command
1513 OBJCXXFLAGS Objective C++ compiler flags
1514 CC C compiler command
1515 CFLAGS C compiler flags
1517 CXXCPP C++ preprocessor
1518 PKG_CONFIG path to pkg-config utility
1520 directories to add to pkg-config's search path
1522 path overriding pkg
-config's built-in search path
1523 BISON GNU Project parser generator (yacc replacement)
1524 FLEX the fast lexical analyser generator
1525 GPERF perfect hash function generator
1526 GNUTAR a very sticky lump of files
1528 C compiler flags for WEBKIT, overriding pkg-config
1529 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1531 prints information about the current gnustep installation
1533 Use these variables to override the choices made by `configure' or to
help
1534 it to
find libraries and programs with nonstandard names
/locations.
1536 Report bugs to
<saurik@saurik.com
>.
1537 Cycript home page
: <http
://www.cycript.org
/>.
1542 if test "$ac_init_help" = "recursive"; then
1543 # If there are subdirs, report their specific --help.
1544 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1545 test -d "$ac_dir" ||
1546 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1551 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1553 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554 # A ".." for each directory in $ac_dir_suffix.
1555 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556 case $ac_top_builddir_sub in
1557 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1558 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1561 ac_abs_top_builddir
=$ac_pwd
1562 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1563 # for backward compatibility:
1564 ac_top_builddir
=$ac_top_build_prefix
1567 .
) # We are building in place.
1569 ac_top_srcdir
=$ac_top_builddir_sub
1570 ac_abs_top_srcdir
=$ac_pwd ;;
1571 [\\/]* | ?
:[\\/]* ) # Absolute name.
1572 ac_srcdir
=$srcdir$ac_dir_suffix;
1573 ac_top_srcdir
=$srcdir
1574 ac_abs_top_srcdir
=$srcdir ;;
1576 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1578 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1580 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1582 cd "$ac_dir" || { ac_status
=$?
; continue; }
1583 # Check for guested configure.
1584 if test -f "$ac_srcdir/configure.gnu"; then
1586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587 elif test -f "$ac_srcdir/configure"; then
1589 $SHELL "$ac_srcdir/configure" --help=recursive
1591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1593 cd "$ac_pwd" || { ac_status
=$?
; break; }
1597 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then
1600 Cycript configure
0.9
1601 generated by GNU Autoconf
2.69
1603 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1604 This configure
script is free software
; the Free Software Foundation
1605 gives unlimited permission to copy
, distribute and modify it.
1607 Copyright
(C
) 2009-2012 Jay Freeman
(saurik
)
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1616 # ac_fn_cxx_try_compile LINENO
1617 # ----------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_cxx_try_compile
()
1621 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1622 rm -f conftest.
$ac_objext
1623 if { { ac_try
="$ac_compile"
1625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_compile") 2>conftest.err
1632 if test -s conftest.err; then
1633 grep -v '^ *+' conftest.err >conftest.er1
1634 cat conftest.er1 >&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_cxx_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest.$ac_objext; then :
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1652 } # ac_fn_cxx_try_compile
1654 # ac_fn_objcxx_try_compile LINENO
1655 # -------------------------------
1656 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_objcxx_try_compile ()
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 rm -f conftest.$ac_objext
1661 if { { ac_try="$ac_compile"
1663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1664 *) ac_try_echo
=$ac_try;;
1666 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_compile") 2>conftest.err
1670 if test -s conftest.err
; then
1671 grep -v '^ *+' conftest.err
>conftest.er1
1672 cat conftest.er1
>&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && {
1677 test -z "$ac_objcxx_werror_flag" ||
1678 test ! -s conftest.err
1679 } && test -s conftest.
$ac_objext; then :
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.
$ac_ext >&5
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status
$ac_retval
1690 } # ac_fn_objcxx_try_compile
1692 # ac_fn_c_try_compile LINENO
1693 # --------------------------
1694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1695 ac_fn_c_try_compile
()
1697 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1698 rm -f conftest.
$ac_objext
1699 if { { ac_try
="$ac_compile"
1701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_compile") 2>conftest.err
1708 if test -s conftest.err; then
1709 grep -v '^ *+' conftest.err >conftest.er1
1710 cat conftest.er1 >&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest.$ac_objext; then :
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 as_fn_set_status $ac_retval
1728 } # ac_fn_c_try_compile
1730 # ac_fn_c_try_link LINENO
1731 # -----------------------
1732 # Try to link conftest.$ac_ext, and return whether this succeeded.
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 rm -f conftest.$ac_objext conftest$ac_exeext
1737 if { { ac_try="$ac_link"
1739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1740 *) ac_try_echo
=$ac_try;;
1742 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_link") 2>conftest.err
1746 if test -s conftest.err
; then
1747 grep -v '^ *+' conftest.err
>conftest.er1
1748 cat conftest.er1
>&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_c_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest
$ac_exeext && {
1756 test "$cross_compiling" = yes ||
1757 test -x conftest
$ac_exeext
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.
$ac_ext >&5
1766 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1767 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1768 # interfere with the next link command; also delete a directory that is
1769 # left behind by Apple's compiler. We do this before executing the actions.
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 as_fn_set_status
$ac_retval
1774 } # ac_fn_c_try_link
1776 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1777 # -------------------------------------------------------
1778 # Tests whether HEADER exists and can be compiled using the include files in
1779 # INCLUDES, setting the cache variable VAR accordingly.
1780 ac_fn_c_check_header_compile
()
1782 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \
${$3+:} false
; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1793 if ac_fn_c_try_compile
"$LINENO"; then :
1798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } # ac_fn_c_check_header_compile
1807 # ac_fn_c_try_cpp LINENO
1808 # ----------------------
1809 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1812 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1813 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } > conftest.i && {
1829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1830 test ! -s conftest.err
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1844 # ac_fn_c_try_run LINENO
1845 # ----------------------
1846 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1847 # that executables *can* be run.
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 if { { ac_try="$ac_link"
1853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1854 *) ac_try_echo
=$ac_try;;
1856 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_link") 2>&5
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1862 { { case "(($ac_try" in
1863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1864 *) ac_try_echo=$ac_try;;
1866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_try") 2>&5
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; }; }; then :
1874 $as_echo "$as_me: program exited with status $ac_status" >&5
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1878 ac_retval=$ac_status
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status $ac_retval
1886 # ac_fn_c_check_func LINENO FUNC VAR
1887 # ----------------------------------
1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1889 ac_fn_c_check_func ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1901 #define $2 innocuous_$2
1903 /* System header to define __stub macros and hopefully few prototypes,
1904 which can conflict with char $2 (); below.
1905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906 <limits.h> exists even on freestanding compilers. */
1909 # include <limits.h>
1911 # include <assert.h>
1916 /* Override any GCC internal prototype to avoid an error.
1917 Use char because int might match the return type of a GCC
1918 builtin and then its argument prototype would still apply. */
1923 /* The GNU C library defines this for functions which it implements
1924 to always fail with ENOSYS. Some functions are actually named
1925 something starting with __ and the normal name is an alias. */
1926 #if defined __stub_$2 || defined __stub___$2
1938 if ac_fn_c_try_link "$LINENO"; then :
1943 rm -f core conftest.err conftest.$ac_objext \
1944 conftest$ac_exeext conftest.$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_func
1953 # ac_fn_cxx_try_cpp LINENO
1954 # ------------------------
1955 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1956 ac_fn_cxx_try_cpp ()
1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959 if { { ac_try="$ac_cpp conftest.$ac_ext"
1961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1962 *) ac_try_echo
=$ac_try;;
1964 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1968 if test -s conftest.err
; then
1969 grep -v '^ *+' conftest.err
>conftest.er1
1970 cat conftest.er1
>&5
1971 mv -f conftest.er1 conftest.err
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; } > conftest.i
&& {
1975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1976 test ! -s conftest.err
1980 $as_echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.
$ac_ext >&5
1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 as_fn_set_status
$ac_retval
1988 } # ac_fn_cxx_try_cpp
1990 # ac_fn_cxx_try_link LINENO
1991 # -------------------------
1992 # Try to link conftest.$ac_ext, and return whether this succeeded.
1993 ac_fn_cxx_try_link
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 rm -f conftest.
$ac_objext conftest
$ac_exeext
1997 if { { ac_try
="$ac_link"
1999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2000 *) ac_try_echo=$ac_try;;
2002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003 $as_echo "$ac_try_echo"; } >&5
2004 (eval "$ac_link") 2>conftest.err
2006 if test -s conftest.err; then
2007 grep -v '^ *+' conftest.err >conftest.er1
2008 cat conftest.er1 >&5
2009 mv -f conftest.er1 conftest.err
2011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012 test $ac_status = 0; } && {
2013 test -z "$ac_cxx_werror_flag" ||
2014 test ! -s conftest.err
2015 } && test -s conftest$ac_exeext && {
2016 test "$cross_compiling" = yes ||
2017 test -x conftest$ac_exeext
2021 $as_echo "$as_me: failed program was:" >&5
2022 sed 's/^/| /' conftest.$ac_ext >&5
2026 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2027 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2028 # interfere with the next link command; also delete a directory that is
2029 # left behind by Apple's compiler. We do this before executing the actions.
2030 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2032 as_fn_set_status $ac_retval
2034 } # ac_fn_cxx_try_link
2036 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2037 # ---------------------------------------------------------
2038 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2039 # the include files in INCLUDES and setting the cache variable VAR
2041 ac_fn_cxx_check_header_mongrel ()
2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044 if eval \${$3+:} false; then :
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2046 $as_echo_n "checking for $2... " >&6; }
2047 if eval \${$3+:} false; then :
2048 $as_echo_n "(cached) " >&6
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052 $as_echo "$ac_res" >&6; }
2054 # Is the header compilable?
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2056 $as_echo_n "checking $2 usability... " >&6; }
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2062 if ac_fn_cxx_try_compile "$LINENO"; then :
2063 ac_header_compiler=yes
2065 ac_header_compiler=no
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2069 $as_echo "$ac_header_compiler" >&6; }
2071 # Is the header present?
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2073 $as_echo_n "checking $2 presence... " >&6; }
2074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2075 /* end confdefs.h. */
2078 if ac_fn_cxx_try_cpp "$LINENO"; then :
2079 ac_header_preproc=yes
2081 ac_header_preproc=no
2083 rm -f conftest.err conftest.i conftest.$ac_ext
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2085 $as_echo "$ac_header_preproc" >&6; }
2087 # So? What about this header?
2088 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2091 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2093 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2097 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2099 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2101 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2103 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106 ( $as_echo "## -------------------------------- ##
2107 ## Report this to saurik@saurik.com ##
2108 ## -------------------------------- ##"
2109 ) | sed "s/^/$as_me: WARNING: /" >&2
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113 $as_echo_n "checking for $2... " >&6; }
2114 if eval \${$3+:} false; then :
2115 $as_echo_n "(cached) " >&6
2117 eval "$3=\$ac_header_compiler"
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2121 $as_echo "$ac_res" >&6; }
2123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 } # ac_fn_cxx_check_header_mongrel
2127 # ac_fn_objcxx_try_link LINENO
2128 # ----------------------------
2129 # Try to link conftest.$ac_ext, and return whether this succeeded.
2130 ac_fn_objcxx_try_link ()
2132 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2133 rm -f conftest.$ac_objext conftest$ac_exeext
2134 if { { ac_try="$ac_link"
2136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2137 *) ac_try_echo
=$ac_try;;
2139 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2140 $as_echo "$ac_try_echo"; } >&5
2141 (eval "$ac_link") 2>conftest.err
2143 if test -s conftest.err
; then
2144 grep -v '^ *+' conftest.err
>conftest.er1
2145 cat conftest.er1
>&5
2146 mv -f conftest.er1 conftest.err
2148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2149 test $ac_status = 0; } && {
2150 test -z "$ac_objcxx_werror_flag" ||
2151 test ! -s conftest.err
2152 } && test -s conftest
$ac_exeext && {
2153 test "$cross_compiling" = yes ||
2154 test -x conftest
$ac_exeext
2158 $as_echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.
$ac_ext >&5
2163 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2164 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2165 # interfere with the next link command; also delete a directory that is
2166 # left behind by Apple's compiler. We do this before executing the actions.
2167 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169 as_fn_set_status
$ac_retval
2171 } # ac_fn_objcxx_try_link
2172 cat >config.log
<<_ACEOF
2173 This file contains any messages produced by compilers while
2174 running configure, to aid debugging if configure makes a mistake.
2176 It was created by Cycript $as_me 0.9, which was
2177 generated by GNU Autoconf 2.69. Invocation command line was
2189 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2190 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2191 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2192 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2193 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2195 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2196 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2198 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2199 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2200 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2201 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2202 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2203 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2204 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir
=.
2213 $as_echo "PATH: $as_dir"
2229 # Keep a trace of the command line.
2230 # Strip out --no-create and --no-recursion so they do not pile up.
2231 # Strip out --silent because we don't want to record it for future runs.
2232 # Also quote any args containing shell meta-characters.
2233 # Make two passes to allow for proper duplicate-argument suppression.
2237 ac_must_keep_next
=false
2243 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2245 | -silent | --silent | --silen | --sile | --sil)
2248 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2251 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2253 as_fn_append ac_configure_args1
" '$ac_arg'"
2254 if test $ac_must_keep_next = true
; then
2255 ac_must_keep_next
=false
# Got value, back to normal.
2258 *=* | --config-cache | -C | -disable-* | --disable-* \
2259 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2260 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2261 | -with-* | --with-* | -without-* | --without-* | --x)
2262 case "$ac_configure_args0 " in
2263 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2266 -* ) ac_must_keep_next
=true
;;
2269 as_fn_append ac_configure_args
" '$ac_arg'"
2274 { ac_configure_args0
=; unset ac_configure_args0
;}
2275 { ac_configure_args1
=; unset ac_configure_args1
;}
2277 # When interrupted or exit'd, cleanup temporary files, and complete
2278 # config.log. We remove comments because anyway the quotes in there
2279 # would cause problems or look ugly.
2280 # WARNING: Use '\'' to represent an apostrophe within the trap.
2281 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2282 trap 'exit_status=$?
2283 # Save into config.log some information that might help in debugging.
2287 $as_echo "## ---------------- ##
2288 ## Cache variables. ##
2289 ## ---------------- ##"
2291 # The following way of writing the cache mishandles newlines in values,
2293 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2294 eval ac_val=\$$ac_var
2298 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2299 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2302 _ | IFS | as_nl) ;; #(
2303 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2304 *) { eval $ac_var=; unset $ac_var;} ;;
2309 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2310 *${as_nl}ac_space=\ *)
2312 "s/'\''/'\''\\\\'\'''\''/g;
2313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2316 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2323 $as_echo "## ----------------- ##
2324 ## Output variables. ##
2325 ## ----------------- ##"
2327 for ac_var in $ac_subst_vars
2329 eval ac_val=\$$ac_var
2331 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2333 $as_echo "$ac_var='\''$ac_val'\''"
2337 if test -n "$ac_subst_files"; then
2338 $as_echo "## ------------------- ##
2339 ## File substitutions. ##
2340 ## ------------------- ##"
2342 for ac_var
in $ac_subst_files
2344 eval ac_val
=\$
$ac_var
2346 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2348 $as_echo "$ac_var='\''$ac_val'\''"
2353 if test -s confdefs.h; then
2354 $as_echo "## ----------- ##
2361 test "$ac_signal" != 0 &&
2362 $as_echo "$as_me: caught signal $ac_signal"
2363 $as_echo "$as_me: exit $exit_status"
2365 rm -f core *.core core.conftest.* &&
2366 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2369 for ac_signal
in 1 2 13 15; do
2370 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2374 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2375 rm -f -r conftest
* confdefs.h
2377 $as_echo "/* confdefs.h */" > confdefs.h
2379 # Predefined preprocessor variables.
2381 cat >>confdefs.h
<<_ACEOF
2382 #define PACKAGE_NAME "$PACKAGE_NAME"
2385 cat >>confdefs.h
<<_ACEOF
2386 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2389 cat >>confdefs.h
<<_ACEOF
2390 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_STRING "$PACKAGE_STRING"
2397 cat >>confdefs.h
<<_ACEOF
2398 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_URL "$PACKAGE_URL"
2406 # Let the site file select an alternate cache file if it wants to.
2407 # Prefer an explicitly selected file to automatically selected ones.
2410 if test -n "$CONFIG_SITE"; then
2411 # We do not want a PATH search for config.site.
2412 case $CONFIG_SITE in #((
2413 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2414 */*) ac_site_file1
=$CONFIG_SITE;;
2415 *) ac_site_file1
=.
/$CONFIG_SITE;;
2417 elif test "x$prefix" != xNONE
; then
2418 ac_site_file1
=$prefix/share
/config.site
2419 ac_site_file2
=$prefix/etc
/config.site
2421 ac_site_file1
=$ac_default_prefix/share
/config.site
2422 ac_site_file2
=$ac_default_prefix/etc
/config.site
2424 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2426 test "x$ac_site_file" = xNONE
&& continue
2427 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2429 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2430 sed 's/^/| /' "$ac_site_file" >&5
2432 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2434 as_fn_error $?
"failed to load site script $ac_site_file
2435 See \`config.log' for more details" "$LINENO" 5; }
2439 if test -r "$cache_file"; then
2440 # Some versions of bash will fail to source /dev/null (special files
2441 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2442 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2444 $as_echo "$as_me: loading cache $cache_file" >&6;}
2446 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2447 *) .
"./$cache_file";;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2452 $as_echo "$as_me: creating cache $cache_file" >&6;}
2456 # Check that the precious variables saved in the cache have kept the same
2458 ac_cache_corrupted
=false
2459 for ac_var
in $ac_precious_vars; do
2460 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2461 eval ac_new_set
=\
$ac_env_${ac_var}_set
2462 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2463 eval ac_new_val
=\
$ac_env_${ac_var}_value
2464 case $ac_old_set,$ac_new_set in
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2467 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2468 ac_cache_corrupted
=: ;;
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2471 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2472 ac_cache_corrupted
=: ;;
2475 if test "x$ac_old_val" != "x$ac_new_val"; then
2476 # differences in whitespace do not lead to failure.
2477 ac_old_val_w
=`echo x $ac_old_val`
2478 ac_new_val_w
=`echo x $ac_new_val`
2479 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2481 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2482 ac_cache_corrupted
=:
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2485 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2486 eval $ac_var=\
$ac_old_val
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2489 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2491 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2494 # Pass precious variables to config.status.
2495 if test "$ac_new_set" = set; then
2497 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2498 *) ac_arg
=$ac_var=$ac_new_val ;;
2500 case " $ac_configure_args " in
2501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2502 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2506 if $ac_cache_corrupted; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2510 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2511 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2513 ## -------------------- ##
2514 ## Main body of script. ##
2515 ## -------------------- ##
2518 ac_cpp
='$CPP $CPPFLAGS'
2519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2528 for ac_dir
in .
"$srcdir"/.
; do
2529 if test -f "$ac_dir/install-sh"; then
2531 ac_install_sh
="$ac_aux_dir/install-sh -c"
2533 elif test -f "$ac_dir/install.sh"; then
2535 ac_install_sh
="$ac_aux_dir/install.sh -c"
2537 elif test -f "$ac_dir/shtool"; then
2539 ac_install_sh
="$ac_aux_dir/shtool install -c"
2543 if test -z "$ac_aux_dir"; then
2544 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2547 # These three variables are undocumented and unsupported,
2548 # and are intended to be withdrawn in a future Autoconf release.
2549 # They can cause serious problems if a builder's source tree is in a directory
2550 # whose full name contains unusual characters.
2551 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2552 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2553 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2557 ac_config_headers
="$ac_config_headers config.h"
2560 am__api_version
='1.13'
2562 # Find a good install program. We prefer a C program (faster),
2563 # so one script is as good as another. But avoid the broken or
2564 # incompatible versions:
2565 # SysV /etc/install, /usr/sbin/install
2566 # SunOS /usr/etc/install
2567 # IRIX /sbin/install
2569 # AmigaOS /C/install, which installs bootblocks on floppy discs
2570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2573 # OS/2's system install, which has a completely different semantic
2574 # ./install, which can be erroneously created by make from ./install.sh.
2575 # Reject install programs that cannot install multiple files.
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2577 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2578 if test -z "$INSTALL"; then
2579 if ${ac_cv_path_install+:} false
; then :
2580 $as_echo_n "(cached) " >&6
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 # Account for people who put trailing slashes in PATH elements.
2588 case $as_dir/ in #((
2589 .
/ | .
// | /[cC
]/* | \
2590 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2591 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2594 # OSF1 and SCO ODT 3.0 have their own names for install.
2595 # Don't use installbsd from OSF since it installs stuff as root
2597 for ac_prog
in ginstall scoinst
install; do
2598 for ac_exec_ext
in '' $ac_executable_extensions; do
2599 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2600 if test $ac_prog = install &&
2601 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2602 # AIX install. It has an incompatible calling convention.
2604 elif test $ac_prog = install &&
2605 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2606 # program-specific install script used by HP pwplus--don't use.
2609 rm -rf conftest.one conftest.two conftest.dir
2610 echo one
> conftest.one
2611 echo two
> conftest.two
2613 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2614 test -s conftest.one
&& test -s conftest.two
&&
2615 test -s conftest.dir
/conftest.one
&&
2616 test -s conftest.dir
/conftest.two
2618 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2631 rm -rf conftest.one conftest.two conftest.dir
2634 if test "${ac_cv_path_install+set}" = set; then
2635 INSTALL
=$ac_cv_path_install
2637 # As a last resort, use the slow shell script. Don't cache a
2638 # value for INSTALL within a source directory, because that will
2639 # break other packages using the cache if that directory is
2640 # removed, or if the value is a relative name.
2641 INSTALL
=$ac_install_sh
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2645 $as_echo "$INSTALL" >&6; }
2647 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2648 # It thinks the first close brace ends the variable substitution.
2649 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2651 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2653 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2656 $as_echo_n "checking whether build environment is sane... " >&6; }
2657 # Reject unsafe characters in $srcdir or the absolute working directory
2658 # name. Accept space and tab only in the latter.
2662 *[\\\"\#\$\&\'\`$am_lf]*)
2663 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2666 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2667 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2670 # Do 'set' in a subshell so we don't clobber the current shell's
2671 # arguments. Must try -L first in case configure is actually a
2672 # symlink; some systems play weird games with the mod time of symlinks
2673 # (eg FreeBSD returns the mod time of the symlink's containing
2677 for am_try
in 1 2; do
2678 echo "timestamp, slept: $am_has_slept" > conftest.
file
2679 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2680 if test "$*" = "X"; then
2682 set X
`ls -t "$srcdir/configure" conftest.file`
2684 if test "$*" != "X $srcdir/configure conftest.file" \
2685 && test "$*" != "X conftest.file $srcdir/configure"; then
2687 # If neither matched, then we have a broken ls. This can happen
2688 # if, for instance, CONFIG_SHELL is bash and it inherits a
2689 # broken ls alias from the environment. This has actually
2690 # happened. Such a system could not be considered "sane".
2691 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2692 alias in your environment" "$LINENO" 5
2694 if test "$2" = conftest.
file || test $am_try -eq 2; then
2701 test "$2" = conftest.
file
2707 as_fn_error $?
"newly created file is older than distributed files!
2708 Check your system clock" "$LINENO" 5
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2711 $as_echo "yes" >&6; }
2712 # If we didn't sleep, we still need to ensure time stamps of config.status and
2713 # generated files are strictly newer.
2715 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2722 test "$program_prefix" != NONE
&&
2723 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2724 # Use a double $ so make ignores it.
2725 test "$program_suffix" != NONE
&&
2726 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2727 # Double any \ or $.
2728 # By default was `s,x,x', remove it if useless.
2729 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2730 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2732 # expand $ac_aux_dir to an absolute path
2733 am_aux_dir
=`cd $ac_aux_dir && pwd`
2735 if test x
"${MISSING+set}" != xset
; then
2738 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2740 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2743 # Use eval to expand $SHELL
2744 if eval "$MISSING --is-lightweight"; then
2745 am_missing_run
="$MISSING "
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2749 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2752 if test x
"${install_sh}" != xset
; then
2755 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2757 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2761 # Installed binaries are usually stripped using 'strip' when the user
2762 # run "make install-strip". However 'strip' might not be the right
2763 # tool to use in cross-compilation environments, therefore Automake
2764 # will honor the 'STRIP' environment variable to overrule this program.
2765 if test "$cross_compiling" != no
; then
2766 if test -n "$ac_tool_prefix"; then
2767 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2768 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if ${ac_cv_prog_STRIP+:} false
; then :
2772 $as_echo_n "(cached) " >&6
2774 if test -n "$STRIP"; then
2775 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir
=.
2782 for ac_exec_ext
in '' $ac_executable_extensions; do
2783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2784 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 STRIP
=$ac_cv_prog_STRIP
2795 if test -n "$STRIP"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2797 $as_echo "$STRIP" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2805 if test -z "$ac_cv_prog_STRIP"; then
2807 # Extract the first word of "strip", so it can be a program name with args.
2808 set dummy strip
; ac_word
=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2812 $as_echo_n "(cached) " >&6
2814 if test -n "$ac_ct_STRIP"; then
2815 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir
=.
2822 for ac_exec_ext
in '' $ac_executable_extensions; do
2823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2824 ac_cv_prog_ac_ct_STRIP
="strip"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2835 if test -n "$ac_ct_STRIP"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2837 $as_echo "$ac_ct_STRIP" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2843 if test "x$ac_ct_STRIP" = x
; then
2846 case $cross_compiling:$ac_tool_warned in
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2850 ac_tool_warned
=yes ;;
2855 STRIP
="$ac_cv_prog_STRIP"
2859 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2862 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2863 if test -z "$MKDIR_P"; then
2864 if ${ac_cv_path_mkdir+:} false
; then :
2865 $as_echo_n "(cached) " >&6
2867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2868 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2871 test -z "$as_dir" && as_dir
=.
2872 for ac_prog
in mkdir gmkdir
; do
2873 for ac_exec_ext
in '' $ac_executable_extensions; do
2874 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2875 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2876 'mkdir (GNU coreutils) '* | \
2877 'mkdir (coreutils) '* | \
2878 'mkdir (fileutils) '4.1*)
2879 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2889 test -d .
/--version && rmdir .
/--version
2890 if test "${ac_cv_path_mkdir+set}" = set; then
2891 MKDIR_P
="$ac_cv_path_mkdir -p"
2893 # As a last resort, use the slow shell script. Don't cache a
2894 # value for MKDIR_P within a source directory, because that will
2895 # break other packages using the cache if that directory is
2896 # removed, or if the value is a relative name.
2897 MKDIR_P
="$ac_install_sh -d"
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2901 $as_echo "$MKDIR_P" >&6; }
2903 for ac_prog
in gawk mawk nawk
awk
2905 # Extract the first word of "$ac_prog", so it can be a program name with args.
2906 set dummy
$ac_prog; ac_word
=$2
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2908 $as_echo_n "checking for $ac_word... " >&6; }
2909 if ${ac_cv_prog_AWK+:} false
; then :
2910 $as_echo_n "(cached) " >&6
2912 if test -n "$AWK"; then
2913 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir
=.
2920 for ac_exec_ext
in '' $ac_executable_extensions; do
2921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2922 ac_cv_prog_AWK
="$ac_prog"
2923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 if test -n "$AWK"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2935 $as_echo "$AWK" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 $as_echo "no" >&6; }
2942 test -n "$AWK" && break
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2946 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2948 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2949 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2950 $as_echo_n "(cached) " >&6
2952 cat >conftest.
make <<\_ACEOF
2955 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2957 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2958 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2960 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2962 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2966 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2968 $as_echo "yes" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 SET_MAKE
="MAKE=${MAKE-make}"
2976 rm -rf .tst
2>/dev
/null
2977 mkdir .tst
2>/dev
/null
2978 if test -d .tst
; then
2983 rmdir .tst
2>/dev
/null
2985 # Check whether --enable-silent-rules was given.
2986 if test "${enable_silent_rules+set}" = set; then :
2987 enableval
=$enable_silent_rules;
2990 case $enable_silent_rules in # (((
2991 yes) AM_DEFAULT_VERBOSITY
=0;;
2992 no
) AM_DEFAULT_VERBOSITY
=1;;
2993 *) AM_DEFAULT_VERBOSITY
=1;;
2995 am_make
=${MAKE-make}
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2997 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2998 if ${am_cv_make_support_nested_variables+:} false
; then :
2999 $as_echo_n "(cached) " >&6
3001 if $as_echo 'TRUE=$(BAR$(V))
3007 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3008 am_cv_make_support_nested_variables
=yes
3010 am_cv_make_support_nested_variables
=no
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3014 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3015 if test $am_cv_make_support_nested_variables = yes; then
3017 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3019 AM_V
=$AM_DEFAULT_VERBOSITY
3020 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3024 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3025 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3026 # is not polluted with repeated "-I."
3027 am__isrc
=' -I$(srcdir)'
3028 # test to see if srcdir already configured
3029 if test -f $srcdir/config.status
; then
3030 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3034 # test whether we have cygpath
3035 if test -z "$CYGPATH_W"; then
3036 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3037 CYGPATH_W
='cygpath -w'
3044 # Define the identity of the package.
3049 cat >>confdefs.h
<<_ACEOF
3050 #define PACKAGE "$PACKAGE"
3054 cat >>confdefs.h
<<_ACEOF
3055 #define VERSION "$VERSION"
3058 # Some tools Automake needs.
3060 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3063 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3066 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3069 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3072 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3074 # For better backward compatibility. To be removed once Automake 1.9.x
3075 # dies out for good. For more background, see:
3076 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3077 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3078 mkdir_p
='$(MKDIR_P)'
3080 # We need awk for the "check" target. The system "awk" is bad on
3082 # Always define AMTAR for backward compatibility. Yes, it's still used
3083 # in the wild :-( We should find a proper way to deprecate it ...
3086 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3094 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3095 # Check whether --enable-maintainer-mode was given.
3096 if test "${enable_maintainer_mode+set}" = set; then :
3097 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3099 USE_MAINTAINER_MODE
=no
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3103 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3104 if test $USE_MAINTAINER_MODE = yes; then
3105 MAINTAINER_MODE_TRUE
=
3106 MAINTAINER_MODE_FALSE
='#'
3108 MAINTAINER_MODE_TRUE
='#'
3109 MAINTAINER_MODE_FALSE
=
3112 MAINT
=$MAINTAINER_MODE_TRUE
3116 am_cv_CC_dependencies_compiler_type
=none
3117 am_cv_CXX_dependencies_compiler_type
=none
3118 am_cv_OBJCXX_dependencies_compiler_type
=none
3121 ac_cpp
='$CXXCPP $CPPFLAGS'
3122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3125 if test -z "$CXX"; then
3126 if test -n "$CCC"; then
3129 if test -n "$ac_tool_prefix"; then
3130 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3133 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_CXX+:} false
; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$CXX"; then
3140 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_exec_ext
in '' $ac_executable_extensions; do
3148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3149 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 if test -n "$CXX"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3162 $as_echo "$CXX" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3169 test -n "$CXX" && break
3172 if test -z "$CXX"; then
3174 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3176 # Extract the first word of "$ac_prog", so it can be a program name with args.
3177 set dummy
$ac_prog; ac_word
=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3181 $as_echo_n "(cached) " >&6
3183 if test -n "$ac_ct_CXX"; then
3184 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir
=.
3191 for ac_exec_ext
in '' $ac_executable_extensions; do
3192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3204 if test -n "$ac_ct_CXX"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3206 $as_echo "$ac_ct_CXX" >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3213 test -n "$ac_ct_CXX" && break
3216 if test "x$ac_ct_CXX" = x
; then
3219 case $cross_compiling:$ac_tool_warned in
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3223 ac_tool_warned
=yes ;;
3231 # Provide some information about the compiler.
3232 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3235 for ac_option
in --version -v -V -qversion; do
3236 { { ac_try
="$ac_compiler $ac_option >&5"
3238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3239 *) ac_try_echo=$ac_try;;
3241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3242 $as_echo "$ac_try_echo"; } >&5
3243 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3245 if test -s conftest.err; then
3247 ... rest of stderr output deleted ...
3248 10q' conftest.err >conftest.er1
3249 cat conftest.er1 >&5
3251 rm -f conftest.er1 conftest.err
3252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3253 test $ac_status = 0; }
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3267 ac_clean_files_save=$ac_clean_files
3268 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3269 # Try to create an executable without -o first, disregard a.out.
3270 # It will help us diagnose broken compilers, and finding out an intuition
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3273 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3274 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3276 # The possible output files:
3277 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3280 for ac_file in $ac_files
3283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3284 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3289 if { { ac_try="$ac_link_default"
3291 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3292 *) ac_try_echo
=$ac_try;;
3294 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3295 $as_echo "$ac_try_echo"; } >&5
3296 (eval "$ac_link_default") 2>&5
3298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299 test $ac_status = 0; }; then :
3300 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3301 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3302 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3303 # so that the user can short-circuit this test for compilers unknown to
3305 for ac_file
in $ac_files ''
3307 test -f "$ac_file" || continue
3309 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3312 # We found the default executable, but exeext='' is most
3316 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3318 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3320 # We set ac_cv_exeext here because the later test for it is not
3321 # safe: cross compilers may not add the suffix if given an `-o'
3322 # argument, so we may need to know it at that point already.
3323 # Even if this section looks crufty: it has the advantage of
3330 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3335 if test -z "$ac_file"; then :
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3338 $as_echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.
$ac_ext >&5
3341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343 as_fn_error
77 "C++ compiler cannot create executables
3344 See \`config.log' for more details" "$LINENO" 5; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3347 $as_echo "yes" >&6; }
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3350 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3352 $as_echo "$ac_file" >&6; }
3353 ac_exeext
=$ac_cv_exeext
3355 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3356 ac_clean_files
=$ac_clean_files_save
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3358 $as_echo_n "checking for suffix of executables... " >&6; }
3359 if { { ac_try
="$ac_link"
3361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366 (eval "$ac_link") 2>&5
3368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3369 test $ac_status = 0; }; then :
3370 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3371 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3372 # work properly (i.e., refer to `conftest.exe'), while it won't with
3374 for ac_file
in conftest.exe conftest conftest.
*; do
3375 test -f "$ac_file" || continue
3377 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3378 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3387 See \`config.log' for more details" "$LINENO" 5; }
3389 rm -f conftest conftest
$ac_cv_exeext
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3391 $as_echo "$ac_cv_exeext" >&6; }
3393 rm -f conftest.
$ac_ext
3394 EXEEXT
=$ac_cv_exeext
3396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3402 FILE *f = fopen ("conftest.out", "w");
3403 return ferror (f) || fclose (f) != 0;
3409 ac_clean_files
="$ac_clean_files conftest.out"
3410 # Check that the compiler produces executables we can run. If not, either
3411 # the compiler is broken, or we cross compile.
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3413 $as_echo_n "checking whether we are cross compiling... " >&6; }
3414 if test "$cross_compiling" != yes; then
3415 { { ac_try
="$ac_link"
3417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3421 $as_echo "$ac_try_echo"; } >&5
3422 (eval "$ac_link") 2>&5
3424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3425 test $ac_status = 0; }
3426 if { ac_try='./conftest$ac_cv_exeext'
3427 { { case "(($ac_try" in
3428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3429 *) ac_try_echo
=$ac_try;;
3431 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433 (eval "$ac_try") 2>&5
3435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436 test $ac_status = 0; }; }; then
3439 if test "$cross_compiling" = maybe
; then
3442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444 as_fn_error $?
"cannot run C++ compiled programs.
3445 If you meant to cross compile, use \`--host'.
3446 See \`config.log' for more details" "$LINENO" 5; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3451 $as_echo "$cross_compiling" >&6; }
3453 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3454 ac_clean_files
=$ac_clean_files_save
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3456 $as_echo_n "checking for suffix of object files... " >&6; }
3457 if ${ac_cv_objext+:} false
; then :
3458 $as_echo_n "(cached) " >&6
3460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3461 /* end confdefs.h. */
3471 rm -f conftest.o conftest.obj
3472 if { { ac_try
="$ac_compile"
3474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_compile") 2>&5
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }; then :
3483 for ac_file in conftest.o conftest.obj conftest.*; do
3484 test -f "$ac_file" || continue;
3486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3487 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3492 $as_echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3497 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3498 See \
`config.log' for more details" "$LINENO" 5; }
3500 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3503 $as_echo "$ac_cv_objext" >&6; }
3504 OBJEXT=$ac_cv_objext
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3507 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3508 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3509 $as_echo_n "(cached) " >&6
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3525 if ac_fn_cxx_try_compile "$LINENO"; then :
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3531 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3535 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3536 if test $ac_compiler_gnu = yes; then
3541 ac_test_CXXFLAGS=${CXXFLAGS+set}
3542 ac_save_CXXFLAGS=$CXXFLAGS
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3544 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3545 if ${ac_cv_prog_cxx_g+:} false; then :
3546 $as_echo_n "(cached) " >&6
3548 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3549 ac_cxx_werror_flag=yes
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3563 if ac_fn_cxx_try_compile "$LINENO"; then :
3564 ac_cv_prog_cxx_g=yes
3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3578 if ac_fn_cxx_try_compile "$LINENO"; then :
3581 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3594 if ac_fn_cxx_try_compile "$LINENO"; then :
3595 ac_cv_prog_cxx_g=yes
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3605 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3606 if test "$ac_test_CXXFLAGS" = set; then
3607 CXXFLAGS=$ac_save_CXXFLAGS
3608 elif test $ac_cv_prog_cxx_g = yes; then
3609 if test "$GXX" = yes; then
3615 if test "$GXX" = yes; then
3622 ac_cpp='$CPP $CPPFLAGS'
3623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3626 DEPDIR="${am__leading_dot}deps"
3628 ac_config_commands="$ac_config_commands depfiles"
3631 am_make=${MAKE-make}
3632 cat > confinc << 'END'
3634 @echo this is the am__doit target
3637 # If we don't find an include directive, just comment out the code.
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3639 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3643 # First try GNU make style include.
3644 echo "include confinc" > confmf
3645 # Ignore all kinds of additional output from 'make'.
3646 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3647 *the\ am__doit\ target*)
3653 # Now try BSD make style include.
3654 if test "$am__include" = "#"; then
3655 echo '.include "confinc"' > confmf
3656 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3657 *the\ am__doit\ target*)
3658 am__include=.include
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3667 $as_echo "$_am_result" >&6; }
3668 rm -f confinc confmf
3670 # Check whether --enable-dependency-tracking was given.
3671 if test "${enable_dependency_tracking+set}" = set; then :
3672 enableval=$enable_dependency_tracking;
3675 if test "x$enable_dependency_tracking" != xno; then
3676 am_depcomp="$ac_aux_dir/depcomp"
3680 if test "x$enable_dependency_tracking" != xno; then
3690 depcc="$CXX" am_compiler_list=
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3693 $as_echo_n "checking dependency style of $depcc... " >&6; }
3694 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3695 $as_echo_n "(cached) " >&6
3697 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3698 # We make a subdir and do the tests there. Otherwise we can end up
3699 # making bogus files that we don't know about and never remove. For
3700 # instance it was reported that on HP-UX the gcc test will end up
3701 # making a dummy file named 'D' -- because '-MD' means "put the output
3705 # Copy depcomp to subdir because otherwise we won't find it if we're
3706 # using a relative directory.
3707 cp "$am_depcomp" conftest.dir
3709 # We will build objects and dependencies in a subdirectory because
3710 # it helps to detect inapplicable dependency modes. For instance
3711 # both Tru64's cc and ICC support -MD to output dependencies as a
3712 # side effect of compilation, but ICC will put the dependencies in
3713 # the current directory while Tru64 will put them in the object
3717 am_cv_CXX_dependencies_compiler_type=none
3718 if test "$am_compiler_list" = ""; then
3719 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3722 case " $depcc " in #(
3723 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3726 for depmode in $am_compiler_list; do
3727 # Setup a source with many dependencies, because some compilers
3728 # like to wrap large dependency lists on column 80 (with \), and
3729 # we should not choose a depcomp mode which is confused by this.
3731 # We need to recreate these files for each test, as the compiler may
3732 # overwrite some of them when testing with obscure command lines.
3733 # This happens at least with the AIX C compiler.
3735 for i in 1 2 3 4 5 6; do
3736 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3737 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3738 # Solaris 10 /bin/sh.
3739 echo '/* dummy */' > sub/conftst$i.h
3741 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3743 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3744 # mode. It turns out that the SunPro C++ compiler does not properly
3745 # handle '-M -o', and we need to detect this. Also, some Intel
3746 # versions had trouble with output in subdirs.
3747 am__obj=sub/conftest.${OBJEXT-o}
3748 am__minus_obj="-o $am__obj"
3751 # This depmode causes a compiler race in universal mode.
3752 test "$am__universal" = false || continue
3755 # After this tag, mechanisms are not by side-effect, so they'll
3756 # only be used when explicitly requested.
3757 if test "x$enable_dependency_tracking" = xyes; then
3763 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3764 # This compiler won't grok '-c -o', but also, the minuso test has
3765 # not run yet. These depmodes are late enough in the game, and
3766 # so weak that their functioning should not be impacted.
3767 am__obj=conftest.${OBJEXT-o}
3772 if depmode=$depmode \
3773 source=sub/conftest.c object=$am__obj \
3774 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3775 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3776 >/dev/null 2>conftest.err &&
3777 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3778 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3779 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3780 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3781 # icc doesn't choke on unknown options, it will just issue warnings
3782 # or remarks (even with -Werror). So we grep stderr for any message
3783 # that says an option was ignored or not supported.
3784 # When given -MP, icc 7.0 and 7.1 complain thusly:
3785 # icc: Command line warning: ignoring option '-M'; no argument required
3786 # The diagnosis changed in icc 8.0:
3787 # icc: Command line remark: option '-MP' not supported
3788 if (grep 'ignoring option' conftest.err ||
3789 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3790 am_cv_CXX_dependencies_compiler_type=$depmode
3799 am_cv_CXX_dependencies_compiler_type=none
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3804 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3805 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3808 test "x$enable_dependency_tracking" != xno \
3809 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3810 am__fastdepCXX_TRUE=
3811 am__fastdepCXX_FALSE='#'
3813 am__fastdepCXX_TRUE='#'
3814 am__fastdepCXX_FALSE=
3819 ac_cpp='$OBJCXXCPP $CPPFLAGS'
3820 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3821 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3822 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
3823 if test -n "$ac_tool_prefix"; then
3824 for ac_prog in g++ objc++ objcxx c++ CXX
3826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if ${ac_cv_prog_OBJCXX+:} false; then :
3831 $as_echo_n "(cached) " >&6
3833 if test -n "$OBJCXX"; then
3834 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3843 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3853 OBJCXX=$ac_cv_prog_OBJCXX
3854 if test -n "$OBJCXX"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
3856 $as_echo "$OBJCXX" >&6; }
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3863 test -n "$OBJCXX" && break
3866 if test -z "$OBJCXX"; then
3867 ac_ct_OBJCXX=$OBJCXX
3868 for ac_prog in g++ objc++ objcxx c++ CXX
3870 # Extract the first word of "$ac_prog", so it can be a program name with args.
3871 set dummy $ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then :
3875 $as_echo_n "(cached) " >&6
3877 if test -n "$ac_ct_OBJCXX"; then
3878 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
3898 if test -n "$ac_ct_OBJCXX"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
3900 $as_echo "$ac_ct_OBJCXX" >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$ac_ct_OBJCXX" && break
3910 if test "x$ac_ct_OBJCXX" = x; then
3913 case $cross_compiling:$ac_tool_warned in
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3919 OBJCXX=$ac_ct_OBJCXX
3923 # Provide some information about the compiler.
3924 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
3927 for ac_option in --version -v -V -qversion; do
3928 { { ac_try="$ac_compiler $ac_option >&5"
3930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3931 *) ac_try_echo
=$ac_try;;
3933 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3937 if test -s conftest.err
; then
3939 ... rest of stderr output deleted ...
3940 10q' conftest.err
>conftest.er1
3941 cat conftest.er1
>&5
3943 rm -f conftest.er1 conftest.err
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
3949 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
3950 if ${ac_cv_objcxx_compiler_gnu+:} false
; then :
3951 $as_echo_n "(cached) " >&6
3953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3967 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3973 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
3977 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
3978 if test $ac_compiler_gnu = yes; then
3983 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
3984 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
3986 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
3987 if ${ac_cv_prog_objcxx_g+:} false
; then :
3988 $as_echo_n "(cached) " >&6
3990 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
3991 ac_objcxx_werror_flag
=yes
3992 ac_cv_prog_objcxx_g
=no
3994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3995 /* end confdefs.h. */
4005 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4006 ac_cv_prog_objcxx_g
=yes
4009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4020 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4023 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
4025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4036 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4037 ac_cv_prog_objcxx_g
=yes
4039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4044 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4047 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4048 if test "$ac_test_OBJCXXFLAGS" = set; then
4049 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
4050 elif test $ac_cv_prog_objcxx_g = yes; then
4051 if test "$GOBJCXX" = yes; then
4052 OBJCXXFLAGS
="-g -O2"
4057 if test "$GOBJCXX" = yes; then
4064 ac_cpp
='$CPP $CPPFLAGS'
4065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4069 depcc
="$OBJCXX" am_compiler_list
='gcc3 gcc'
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4072 $as_echo_n "checking dependency style of $depcc... " >&6; }
4073 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false
; then :
4074 $as_echo_n "(cached) " >&6
4076 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4077 # We make a subdir and do the tests there. Otherwise we can end up
4078 # making bogus files that we don't know about and never remove. For
4079 # instance it was reported that on HP-UX the gcc test will end up
4080 # making a dummy file named 'D' -- because '-MD' means "put the output
4084 # Copy depcomp to subdir because otherwise we won't find it if we're
4085 # using a relative directory.
4086 cp "$am_depcomp" conftest.dir
4088 # We will build objects and dependencies in a subdirectory because
4089 # it helps to detect inapplicable dependency modes. For instance
4090 # both Tru64's cc and ICC support -MD to output dependencies as a
4091 # side effect of compilation, but ICC will put the dependencies in
4092 # the current directory while Tru64 will put them in the object
4096 am_cv_OBJCXX_dependencies_compiler_type
=none
4097 if test "$am_compiler_list" = ""; then
4098 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4103 for depmode
in $am_compiler_list; do
4104 # Setup a source with many dependencies, because some compilers
4105 # like to wrap large dependency lists on column 80 (with \), and
4106 # we should not choose a depcomp mode which is confused by this.
4108 # We need to recreate these files for each test, as the compiler may
4109 # overwrite some of them when testing with obscure command lines.
4110 # This happens at least with the AIX C compiler.
4112 for i
in 1 2 3 4 5 6; do
4113 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4114 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4115 # Solaris 10 /bin/sh.
4116 echo '/* dummy */' > sub
/conftst
$i.h
4118 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4120 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4121 # mode. It turns out that the SunPro C++ compiler does not properly
4122 # handle '-M -o', and we need to detect this. Also, some Intel
4123 # versions had trouble with output in subdirs.
4124 am__obj
=sub
/conftest.
${OBJEXT-o}
4125 am__minus_obj
="-o $am__obj"
4128 # This depmode causes a compiler race in universal mode.
4129 test "$am__universal" = false
|| continue
4132 # After this tag, mechanisms are not by side-effect, so they'll
4133 # only be used when explicitly requested.
4134 if test "x$enable_dependency_tracking" = xyes
; then
4140 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4141 # This compiler won't grok '-c -o', but also, the minuso test has
4142 # not run yet. These depmodes are late enough in the game, and
4143 # so weak that their functioning should not be impacted.
4144 am__obj
=conftest.
${OBJEXT-o}
4149 if depmode
=$depmode \
4150 source=sub
/conftest.c object
=$am__obj \
4151 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4152 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4153 >/dev
/null
2>conftest.err
&&
4154 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4155 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4156 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4157 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4158 # icc doesn't choke on unknown options, it will just issue warnings
4159 # or remarks (even with -Werror). So we grep stderr for any message
4160 # that says an option was ignored or not supported.
4161 # When given -MP, icc 7.0 and 7.1 complain thusly:
4162 # icc: Command line warning: ignoring option '-M'; no argument required
4163 # The diagnosis changed in icc 8.0:
4164 # icc: Command line remark: option '-MP' not supported
4165 if (grep 'ignoring option' conftest.err
||
4166 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4167 am_cv_OBJCXX_dependencies_compiler_type
=$depmode
4176 am_cv_OBJCXX_dependencies_compiler_type
=none
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4181 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4182 OBJCXXDEPMODE
=depmode
=$am_cv_OBJCXX_dependencies_compiler_type
4185 test "x$enable_dependency_tracking" != xno \
4186 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3
; then
4187 am__fastdepOBJCXX_TRUE
=
4188 am__fastdepOBJCXX_FALSE
='#'
4190 am__fastdepOBJCXX_TRUE
='#'
4191 am__fastdepOBJCXX_FALSE
=
4197 ac_cpp
='$CPP $CPPFLAGS'
4198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4201 if test -n "$ac_tool_prefix"; then
4202 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4203 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205 $as_echo_n "checking for $ac_word... " >&6; }
4206 if ${ac_cv_prog_CC+:} false
; then :
4207 $as_echo_n "(cached) " >&6
4209 if test -n "$CC"; then
4210 ac_cv_prog_CC
="$CC" # Let the user override the test.
4212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir
=.
4217 for ac_exec_ext
in '' $ac_executable_extensions; do
4218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4219 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4230 if test -n "$CC"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4232 $as_echo "$CC" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4240 if test -z "$ac_cv_prog_CC"; then
4242 # Extract the first word of "gcc", so it can be a program name with args.
4243 set dummy gcc
; ac_word
=$2
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245 $as_echo_n "checking for $ac_word... " >&6; }
4246 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4247 $as_echo_n "(cached) " >&6
4249 if test -n "$ac_ct_CC"; then
4250 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir
=.
4257 for ac_exec_ext
in '' $ac_executable_extensions; do
4258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4259 ac_cv_prog_ac_ct_CC
="gcc"
4260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4269 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4270 if test -n "$ac_ct_CC"; then
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4272 $as_echo "$ac_ct_CC" >&6; }
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4275 $as_echo "no" >&6; }
4278 if test "x$ac_ct_CC" = x
; then
4281 case $cross_compiling:$ac_tool_warned in
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4285 ac_tool_warned
=yes ;;
4293 if test -z "$CC"; then
4294 if test -n "$ac_tool_prefix"; then
4295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4296 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298 $as_echo_n "checking for $ac_word... " >&6; }
4299 if ${ac_cv_prog_CC+:} false
; then :
4300 $as_echo_n "(cached) " >&6
4302 if test -n "$CC"; then
4303 ac_cv_prog_CC
="$CC" # Let the user override the test.
4305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4309 test -z "$as_dir" && as_dir
=.
4310 for ac_exec_ext
in '' $ac_executable_extensions; do
4311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4312 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4323 if test -n "$CC"; then
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4325 $as_echo "$CC" >&6; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328 $as_echo "no" >&6; }
4334 if test -z "$CC"; then
4335 # Extract the first word of "cc", so it can be a program name with args.
4336 set dummy cc
; ac_word
=$2
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338 $as_echo_n "checking for $ac_word... " >&6; }
4339 if ${ac_cv_prog_CC+:} false
; then :
4340 $as_echo_n "(cached) " >&6
4342 if test -n "$CC"; then
4343 ac_cv_prog_CC
="$CC" # Let the user override the test.
4346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4350 test -z "$as_dir" && as_dir
=.
4351 for ac_exec_ext
in '' $ac_executable_extensions; do
4352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4353 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4354 ac_prog_rejected
=yes
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 if test $ac_prog_rejected = yes; then
4366 # We found a bogon in the path, so make sure we never use it.
4367 set dummy
$ac_cv_prog_CC
4369 if test $# != 0; then
4370 # We chose a different compiler from the bogus one.
4371 # However, it has the same basename, so the bogon will be chosen
4372 # first if we set CC to just the basename; use the full file name.
4374 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4380 if test -n "$CC"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4382 $as_echo "$CC" >&6; }
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4390 if test -z "$CC"; then
4391 if test -n "$ac_tool_prefix"; then
4392 for ac_prog
in cl.exe
4394 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4395 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if ${ac_cv_prog_CC+:} false
; then :
4399 $as_echo_n "(cached) " >&6
4401 if test -n "$CC"; then
4402 ac_cv_prog_CC
="$CC" # Let the user override the test.
4404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir
=.
4409 for ac_exec_ext
in '' $ac_executable_extensions; do
4410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4411 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 if test -n "$CC"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4424 $as_echo "$CC" >&6; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4431 test -n "$CC" && break
4434 if test -z "$CC"; then
4436 for ac_prog
in cl.exe
4438 # Extract the first word of "$ac_prog", so it can be a program name with args.
4439 set dummy
$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_ac_ct_CC+:} false
; then :
4443 $as_echo_n "(cached) " >&6
4445 if test -n "$ac_ct_CC"; then
4446 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="$ac_prog"
4456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4466 if test -n "$ac_ct_CC"; then
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4468 $as_echo "$ac_ct_CC" >&6; }
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4475 test -n "$ac_ct_CC" && break
4478 if test "x$ac_ct_CC" = x
; then
4481 case $cross_compiling:$ac_tool_warned in
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4485 ac_tool_warned
=yes ;;
4494 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4496 as_fn_error $?
"no acceptable C compiler found in \$PATH
4497 See \`config.log' for more details" "$LINENO" 5; }
4499 # Provide some information about the compiler.
4500 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4503 for ac_option
in --version -v -V -qversion; do
4504 { { ac_try
="$ac_compiler $ac_option >&5"
4506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4510 $as_echo "$ac_try_echo"; } >&5
4511 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4513 if test -s conftest.err; then
4515 ... rest of stderr output deleted ...
4516 10q' conftest.err >conftest.er1
4517 cat conftest.er1 >&5
4519 rm -f conftest.er1 conftest.err
4520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4521 test $ac_status = 0; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4525 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4526 if ${ac_cv_c_compiler_gnu+:} false; then :
4527 $as_echo_n "(cached) " >&6
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4543 if ac_fn_c_try_compile "$LINENO"; then :
4548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4549 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4553 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4554 if test $ac_compiler_gnu = yes; then
4559 ac_test_CFLAGS=${CFLAGS+set}
4560 ac_save_CFLAGS=$CFLAGS
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4562 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4563 if ${ac_cv_prog_cc_g+:} false; then :
4564 $as_echo_n "(cached) " >&6
4566 ac_save_c_werror_flag=$ac_c_werror_flag
4567 ac_c_werror_flag=yes
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4581 if ac_fn_c_try_compile "$LINENO"; then :
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4596 if ac_fn_c_try_compile "$LINENO"; then :
4599 ac_c_werror_flag=$ac_save_c_werror_flag
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4612 if ac_fn_c_try_compile "$LINENO"; then :
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 ac_c_werror_flag=$ac_save_c_werror_flag
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4623 $as_echo "$ac_cv_prog_cc_g" >&6; }
4624 if test "$ac_test_CFLAGS" = set; then
4625 CFLAGS=$ac_save_CFLAGS
4626 elif test $ac_cv_prog_cc_g = yes; then
4627 if test "$GCC" = yes; then
4633 if test "$GCC" = yes; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4640 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4641 if ${ac_cv_prog_cc_c89+:} false; then :
4642 $as_echo_n "(cached) " >&6
4644 ac_cv_prog_cc_c89=no
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4651 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4652 struct buf { int x; };
4653 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4654 static char *e (p, i)
4660 static char *f (char * (*g) (char **, int), char **p, ...)
4665 s = g (p, va_arg (v,int));
4670 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4671 function prototypes and stuff, but not '\xHH' hex character constants.
4672 These don't provoke an error unfortunately, instead are silently treated
4673 as 'x'. The following induces an error, until -std is added to get
4674 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4675 array size at least. It's necessary to write '\x00'==0 to get something
4676 that's true only with -std. */
4677 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4679 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4680 inside strings and character constants. */
4682 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4684 int test (int i, double x);
4685 struct s1 {int (*f) (int a);};
4686 struct s2 {int (*f) (double a);};
4687 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4693 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4698 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4699 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4701 CC="$ac_save_CC $ac_arg"
4702 if ac_fn_c_try_compile "$LINENO"; then :
4703 ac_cv_prog_cc_c89=$ac_arg
4705 rm -f core conftest.err conftest.$ac_objext
4706 test "x$ac_cv_prog_cc_c89" != "xno" && break
4708 rm -f conftest.$ac_ext
4713 case "x$ac_cv_prog_cc_c89" in
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4716 $as_echo "none needed" >&6; } ;;
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4719 $as_echo "unsupported" >&6; } ;;
4721 CC="$CC $ac_cv_prog_cc_c89"
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4723 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4725 if test "x$ac_cv_prog_cc_c89" != xno; then :
4730 ac_cpp='$CPP $CPPFLAGS'
4731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4735 depcc="$CC" am_compiler_list=
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4738 $as_echo_n "checking dependency style of $depcc... " >&6; }
4739 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4740 $as_echo_n "(cached) " >&6
4742 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4743 # We make a subdir and do the tests there. Otherwise we can end up
4744 # making bogus files that we don't know about and never remove. For
4745 # instance it was reported that on HP-UX the gcc test will end up
4746 # making a dummy file named 'D' -- because '-MD' means "put the output
4750 # Copy depcomp to subdir because otherwise we won't find it if we're
4751 # using a relative directory.
4752 cp "$am_depcomp" conftest.dir
4754 # We will build objects and dependencies in a subdirectory because
4755 # it helps to detect inapplicable dependency modes. For instance
4756 # both Tru64's cc and ICC support -MD to output dependencies as a
4757 # side effect of compilation, but ICC will put the dependencies in
4758 # the current directory while Tru64 will put them in the object
4762 am_cv_CC_dependencies_compiler_type=none
4763 if test "$am_compiler_list" = ""; then
4764 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4767 case " $depcc " in #(
4768 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4771 for depmode in $am_compiler_list; do
4772 # Setup a source with many dependencies, because some compilers
4773 # like to wrap large dependency lists on column 80 (with \), and
4774 # we should not choose a depcomp mode which is confused by this.
4776 # We need to recreate these files for each test, as the compiler may
4777 # overwrite some of them when testing with obscure command lines.
4778 # This happens at least with the AIX C compiler.
4780 for i in 1 2 3 4 5 6; do
4781 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4782 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4783 # Solaris 10 /bin/sh.
4784 echo '/* dummy */' > sub/conftst$i.h
4786 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4788 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4789 # mode. It turns out that the SunPro C++ compiler does not properly
4790 # handle '-M -o', and we need to detect this. Also, some Intel
4791 # versions had trouble with output in subdirs.
4792 am__obj=sub/conftest.${OBJEXT-o}
4793 am__minus_obj="-o $am__obj"
4796 # This depmode causes a compiler race in universal mode.
4797 test "$am__universal" = false || continue
4800 # After this tag, mechanisms are not by side-effect, so they'll
4801 # only be used when explicitly requested.
4802 if test "x$enable_dependency_tracking" = xyes; then
4808 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4809 # This compiler won't grok '-c -o', but also, the minuso test has
4810 # not run yet. These depmodes are late enough in the game, and
4811 # so weak that their functioning should not be impacted.
4812 am__obj=conftest.${OBJEXT-o}
4817 if depmode=$depmode \
4818 source=sub/conftest.c object=$am__obj \
4819 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4820 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4821 >/dev/null 2>conftest.err &&
4822 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4823 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4824 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4825 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4826 # icc doesn't choke on unknown options, it will just issue warnings
4827 # or remarks (even with -Werror). So we grep stderr for any message
4828 # that says an option was ignored or not supported.
4829 # When given -MP, icc 7.0 and 7.1 complain thusly:
4830 # icc: Command line warning: ignoring option '-M'; no argument required
4831 # The diagnosis changed in icc 8.0:
4832 # icc: Command line remark: option '-MP' not supported
4833 if (grep 'ignoring option' conftest.err ||
4834 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4835 am_cv_CC_dependencies_compiler_type=$depmode
4844 am_cv_CC_dependencies_compiler_type=none
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4849 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4850 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4853 test "x$enable_dependency_tracking" != xno \
4854 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4856 am__fastdepCC_FALSE='#'
4858 am__fastdepCC_TRUE='#'
4859 am__fastdepCC_FALSE=
4864 if test -n "$ac_tool_prefix"; then
4865 for ac_prog in ar lib "link -lib"
4867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4868 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 $as_echo_n "checking for $ac_word... " >&6; }
4871 if ${ac_cv_prog_AR+:} false; then :
4872 $as_echo_n "(cached) " >&6
4874 if test -n "$AR"; then
4875 ac_cv_prog_AR="$AR" # Let the user override the test.
4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881 test -z "$as_dir" && as_dir=.
4882 for ac_exec_ext in '' $ac_executable_extensions; do
4883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4884 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 if test -n "$AR"; then
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4897 $as_echo "$AR" >&6; }
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 $as_echo "no" >&6; }
4904 test -n "$AR" && break
4907 if test -z "$AR"; then
4909 for ac_prog in ar lib "link -lib"
4911 # Extract the first word of "$ac_prog", so it can be a program name with args.
4912 set dummy $ac_prog; ac_word=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4916 $as_echo_n "(cached) " >&6
4918 if test -n "$ac_ct_AR"; then
4919 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir=.
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4928 ac_cv_prog_ac_ct_AR="$ac_prog"
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4939 if test -n "$ac_ct_AR"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4941 $as_echo "$ac_ct_AR" >&6; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4948 test -n "$ac_ct_AR" && break
4951 if test "x$ac_ct_AR" = x; then
4954 case $cross_compiling:$ac_tool_warned in
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4958 ac_tool_warned=yes ;;
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4967 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4968 if ${am_cv_ar_interface+:} false; then :
4969 $as_echo_n "(cached) " >&6
4971 am_cv_ar_interface=ar
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4974 int some_variable = 0;
4976 if ac_fn_c_try_compile "$LINENO"; then :
4977 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4978 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4979 (eval $am_ar_try) 2>&5
4981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4982 test $ac_status = 0; }
4983 if test "$ac_status" -eq 0; then
4984 am_cv_ar_interface=ar
4986 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4987 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4988 (eval $am_ar_try) 2>&5
4990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4991 test $ac_status = 0; }
4992 if test "$ac_status" -eq 0; then
4993 am_cv_ar_interface=lib
4995 am_cv_ar_interface=unknown
4998 rm -f conftest.lib libconftest.a
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5005 $as_echo "$am_cv_ar_interface" >&6; }
5007 case $am_cv_ar_interface in
5011 # Microsoft lib, so override with the ar-lib wrapper script.
5012 # FIXME: It is wrong to rewrite AR.
5013 # But if we don't then we get into trouble of one sort or another.
5014 # A longer-term fix would be to have automake use am__AR in this case,
5015 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5017 AR="$am_aux_dir/ar-lib $AR"
5020 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5029 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5034 macro_version='2.4.2'
5035 macro_revision='1.3337'
5049 ltmain="$ac_aux_dir/ltmain.sh"
5051 # Make sure we can run config.sub.
5052 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5053 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5056 $as_echo_n "checking build system type... " >&6; }
5057 if ${ac_cv_build+:} false; then :
5058 $as_echo_n "(cached) " >&6
5060 ac_build_alias=$build_alias
5061 test "x$ac_build_alias" = x &&
5062 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5063 test "x$ac_build_alias" = x &&
5064 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5065 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5066 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5070 $as_echo "$ac_cv_build" >&6; }
5071 case $ac_cv_build in
5073 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5076 ac_save_IFS=$IFS; IFS='-'
5082 # Remember, the first character of IFS is used to create $*,
5083 # except with old shells:
5086 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5090 $as_echo_n "checking host system type... " >&6; }
5091 if ${ac_cv_host+:} false; then :
5092 $as_echo_n "(cached) " >&6
5094 if test "x$host_alias" = x; then
5095 ac_cv_host=$ac_cv_build
5097 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5098 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5103 $as_echo "$ac_cv_host" >&6; }
5106 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5109 ac_save_IFS=$IFS; IFS='-'
5115 # Remember, the first character of IFS is used to create $*,
5116 # except with old shells:
5119 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5122 # Backslashify metacharacters that are still active within
5123 # double-quoted strings.
5124 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5126 # Same as above, but do not quote variable references.
5127 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5129 # Sed substitution to delay expansion of an escaped shell variable in a
5130 # double_quote_subst'ed string.
5131 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5133 # Sed substitution to delay expansion of an escaped single quote.
5134 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5136 # Sed substitution to avoid accidental globbing in evaled expressions
5137 no_glob_subst='s/\*/\\\*/g'
5139 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5140 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5141 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5144 $as_echo_n "checking how to print
strings...
" >&6; }
5145 # Test print first, because it will be a builtin if present.
5146 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5147 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5149 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5152 # Use this function as a fallback that always works.
5153 func_fallback_echo ()
5155 eval 'cat <<_LTECHO_EOF
5159 ECHO='func_fallback_echo'
5162 # func_echo_all arg...
5163 # Invoke $ECHO with all args, space-separated.
5170 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5171 $as_echo "printf" >&6; } ;;
5172 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5173 $as_echo "print
-r" >&6; } ;;
5174 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5175 $as_echo "cat" >&6; } ;;
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5192 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5193 if ${ac_cv_path_SED+:} false; then :
5194 $as_echo_n "(cached
) " >&6
5196 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5197 for ac_i in 1 2 3 4 5 6 7; do
5198 ac_script="$ac_script$as_nl$ac_script"
5200 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5201 { ac_script=; unset ac_script;}
5202 if test -z "$SED"; then
5203 ac_path_SED_found=false
5204 # Loop through the user's path and test for each of PROGNAME-LIST
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir=.
5210 for ac_prog in sed gsed; do
5211 for ac_exec_ext in '' $ac_executable_extensions; do
5212 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5213 as_fn_executable_p "$ac_path_SED" || continue
5214 # Check for GNU ac_path_SED and select it if it is found.
5215 # Check for GNU $ac_path_SED
5216 case `"$ac_path_SED" --version 2>&1` in
5218 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5221 $as_echo_n 0123456789 >"conftest.
in"
5224 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5225 mv "conftest.tmp
" "conftest.
in"
5226 cp "conftest.
in" "conftest.
nl"
5227 $as_echo '' >> "conftest.
nl"
5228 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5229 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5230 as_fn_arith $ac_count + 1 && ac_count=$as_val
5231 if test $ac_count -gt ${ac_path_SED_max-0}; then
5232 # Best one so far, save it but keep looking for a better one
5233 ac_cv_path_SED="$ac_path_SED"
5234 ac_path_SED_max=$ac_count
5236 # 10*(2^10) chars as input seems more than enough
5237 test $ac_count -gt 10 && break
5239 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5242 $ac_path_SED_found && break 3
5247 if test -z "$ac_cv_path_SED"; then
5248 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5256 $as_echo "$ac_cv_path_SED" >&6; }
5257 SED="$ac_cv_path_SED"
5260 test -z "$SED" && SED=sed
5261 Xsed="$SED -e 1s
/^X
//"
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5274 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5275 if ${ac_cv_path_GREP+:} false; then :
5276 $as_echo_n "(cached
) " >&6
5278 if test -z "$GREP"; then
5279 ac_path_GREP_found=false
5280 # Loop through the user's path and test for each of PROGNAME-LIST
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5285 test -z "$as_dir" && as_dir=.
5286 for ac_prog in grep ggrep; do
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5289 as_fn_executable_p "$ac_path_GREP" || continue
5290 # Check for GNU ac_path_GREP and select it if it is found.
5291 # Check for GNU $ac_path_GREP
5292 case `"$ac_path_GREP" --version 2>&1` in
5294 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5297 $as_echo_n 0123456789 >"conftest.
in"
5300 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5301 mv "conftest.tmp
" "conftest.
in"
5302 cp "conftest.
in" "conftest.
nl"
5303 $as_echo 'GREP' >> "conftest.
nl"
5304 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5305 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5306 as_fn_arith $ac_count + 1 && ac_count=$as_val
5307 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5308 # Best one so far, save it but keep looking for a better one
5309 ac_cv_path_GREP="$ac_path_GREP"
5310 ac_path_GREP_max=$ac_count
5312 # 10*(2^10) chars as input seems more than enough
5313 test $ac_count -gt 10 && break
5315 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5318 $ac_path_GREP_found && break 3
5323 if test -z "$ac_cv_path_GREP"; then
5324 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5327 ac_cv_path_GREP=$GREP
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5332 $as_echo "$ac_cv_path_GREP" >&6; }
5333 GREP="$ac_cv_path_GREP"
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5337 $as_echo_n "checking
for egrep...
" >&6; }
5338 if ${ac_cv_path_EGREP+:} false; then :
5339 $as_echo_n "(cached
) " >&6
5341 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5342 then ac_cv_path_EGREP="$GREP -E"
5344 if test -z "$EGREP"; then
5345 ac_path_EGREP_found=false
5346 # Loop through the user's path and test for each of PROGNAME-LIST
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5351 test -z "$as_dir" && as_dir=.
5352 for ac_prog in egrep; do
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5355 as_fn_executable_p "$ac_path_EGREP" || continue
5356 # Check for GNU ac_path_EGREP and select it if it is found.
5357 # Check for GNU $ac_path_EGREP
5358 case `"$ac_path_EGREP" --version 2>&1` in
5360 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5363 $as_echo_n 0123456789 >"conftest.
in"
5366 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5367 mv "conftest.tmp
" "conftest.
in"
5368 cp "conftest.
in" "conftest.
nl"
5369 $as_echo 'EGREP' >> "conftest.
nl"
5370 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5371 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5372 as_fn_arith $ac_count + 1 && ac_count=$as_val
5373 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5374 # Best one so far, save it but keep looking for a better one
5375 ac_cv_path_EGREP="$ac_path_EGREP"
5376 ac_path_EGREP_max=$ac_count
5378 # 10*(2^10) chars as input seems more than enough
5379 test $ac_count -gt 10 && break
5381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5384 $ac_path_EGREP_found && break 3
5389 if test -z "$ac_cv_path_EGREP"; then
5390 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5393 ac_cv_path_EGREP=$EGREP
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5399 $as_echo "$ac_cv_path_EGREP" >&6; }
5400 EGREP="$ac_cv_path_EGREP"
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5404 $as_echo_n "checking
for fgrep...
" >&6; }
5405 if ${ac_cv_path_FGREP+:} false; then :
5406 $as_echo_n "(cached
) " >&6
5408 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5409 then ac_cv_path_FGREP="$GREP -F"
5411 if test -z "$FGREP"; then
5412 ac_path_FGREP_found=false
5413 # Loop through the user's path and test for each of PROGNAME-LIST
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5418 test -z "$as_dir" && as_dir=.
5419 for ac_prog in fgrep; do
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5422 as_fn_executable_p "$ac_path_FGREP" || continue
5423 # Check for GNU ac_path_FGREP and select it if it is found.
5424 # Check for GNU $ac_path_FGREP
5425 case `"$ac_path_FGREP" --version 2>&1` in
5427 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5430 $as_echo_n 0123456789 >"conftest.
in"
5433 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5434 mv "conftest.tmp
" "conftest.
in"
5435 cp "conftest.
in" "conftest.
nl"
5436 $as_echo 'FGREP' >> "conftest.
nl"
5437 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5438 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5439 as_fn_arith $ac_count + 1 && ac_count=$as_val
5440 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5441 # Best one so far, save it but keep looking for a better one
5442 ac_cv_path_FGREP="$ac_path_FGREP"
5443 ac_path_FGREP_max=$ac_count
5445 # 10*(2^10) chars as input seems more than enough
5446 test $ac_count -gt 10 && break
5448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5451 $ac_path_FGREP_found && break 3
5456 if test -z "$ac_cv_path_FGREP"; then
5457 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5460 ac_cv_path_FGREP=$FGREP
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5466 $as_echo "$ac_cv_path_FGREP" >&6; }
5467 FGREP="$ac_cv_path_FGREP"
5470 test -z "$GREP" && GREP=grep
5490 # Check whether --with-gnu-ld was given.
5491 if test "${with_gnu_ld+set}" = set; then :
5492 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5498 if test "$GCC" = yes; then
5499 # Check if gcc -print-prog-name=ld gives a path.
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5501 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5504 # gcc leaves a trailing carriage return which upsets mingw
5505 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5507 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5510 # Accept absolute paths.
5512 re_direlt='/[^/][^/]*/\.\./'
5513 # Canonicalize the pathname of ld
5514 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5515 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5516 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5518 test -z "$LD" && LD="$ac_prog"
5521 # If it fails, then pretend we aren't using GCC.
5525 # If it is relative, then search for the first ld in PATH.
5529 elif test "$with_gnu_ld" = yes; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5531 $as_echo_n "checking
for GNU ld...
" >&6; }
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5534 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5536 if ${lt_cv_path_LD+:} false; then :
5537 $as_echo_n "(cached
) " >&6
5539 if test -z "$LD"; then
5540 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5541 for ac_dir in $PATH; do
5543 test -z "$ac_dir" && ac_dir=.
5544 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5545 lt_cv_path_LD="$ac_dir/$ac_prog"
5546 # Check to see if the program is GNU ld. I'd rather use --version,
5547 # but apparently some variants of GNU ld only accept -v.
5548 # Break only if it was the GNU/non-GNU ld that we prefer.
5549 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5550 *GNU* | *'with BFD'*)
5551 test "$with_gnu_ld" != no && break
5554 test "$with_gnu_ld" != yes && break
5561 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5566 if test -n "$LD"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5568 $as_echo "$LD" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5571 $as_echo "no
" >&6; }
5573 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5575 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5576 if ${lt_cv_prog_gnu_ld+:} false; then :
5577 $as_echo_n "(cached
) " >&6
5579 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5580 case `$LD -v 2>&1 </dev/null` in
5581 *GNU* | *'with BFD'*)
5582 lt_cv_prog_gnu_ld=yes
5585 lt_cv_prog_gnu_ld=no
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5590 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5591 with_gnu_ld=$lt_cv_prog_gnu_ld
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5602 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5603 if ${lt_cv_path_NM+:} false; then :
5604 $as_echo_n "(cached
) " >&6
5606 if test -n "$NM"; then
5607 # Let the user override the test.
5610 lt_nm_to_check="${ac_tool_prefix}nm
"
5611 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5612 lt_nm_to_check="$lt_nm_to_check nm
"
5614 for lt_tmp_nm in $lt_nm_to_check; do
5615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5616 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5618 test -z "$ac_dir" && ac_dir=.
5619 tmp_nm="$ac_dir/$lt_tmp_nm"
5620 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5621 # Check to see if the nm accepts a BSD-compat flag.
5622 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5623 # nm: unknown option "B
" ignored
5624 # Tru64's nm complains that /dev/null is an invalid object file
5625 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5626 */dev/null* | *'Invalid file or object type'*)
5627 lt_cv_path_NM="$tmp_nm -B"
5631 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5633 lt_cv_path_NM="$tmp_nm -p"
5637 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5638 continue # so that we can try to find one that supports BSD flags
5647 : ${lt_cv_path_NM=no}
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5651 $as_echo "$lt_cv_path_NM" >&6; }
5652 if test "$lt_cv_path_NM" != "no
"; then
5655 # Didn't find any BSD compatible name lister, look for dumpbin.
5656 if test -n "$DUMPBIN"; then :
5657 # Let the user override the test.
5659 if test -n "$ac_tool_prefix"; then
5660 for ac_prog in dumpbin "link
-dump"
5662 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5665 $as_echo_n "checking
for $ac_word...
" >&6; }
5666 if ${ac_cv_prog_DUMPBIN+:} false; then :
5667 $as_echo_n "(cached
) " >&6
5669 if test -n "$DUMPBIN"; then
5670 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5689 DUMPBIN=$ac_cv_prog_DUMPBIN
5690 if test -n "$DUMPBIN"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5692 $as_echo "$DUMPBIN" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5695 $as_echo "no
" >&6; }
5699 test -n "$DUMPBIN" && break
5702 if test -z "$DUMPBIN"; then
5703 ac_ct_DUMPBIN=$DUMPBIN
5704 for ac_prog in dumpbin "link
-dump"
5706 # Extract the first word of "$ac_prog", so it can be a program name with args.
5707 set dummy $ac_prog; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5709 $as_echo_n "checking
for $ac_word...
" >&6; }
5710 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5711 $as_echo_n "(cached
) " >&6
5713 if test -n "$ac_ct_DUMPBIN"; then
5714 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5733 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5734 if test -n "$ac_ct_DUMPBIN"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5736 $as_echo "$ac_ct_DUMPBIN" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5739 $as_echo "no
" >&6; }
5743 test -n "$ac_ct_DUMPBIN" && break
5746 if test "x
$ac_ct_DUMPBIN" = x; then
5749 case $cross_compiling:$ac_tool_warned in
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5752 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5753 ac_tool_warned=yes ;;
5755 DUMPBIN=$ac_ct_DUMPBIN
5759 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5761 DUMPBIN="$DUMPBIN -symbols"
5769 if test "$DUMPBIN" != ":"; then
5773 test -z "$NM" && NM=nm
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5781 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5782 if ${lt_cv_nm_interface+:} false; then :
5783 $as_echo_n "(cached
) " >&6
5785 lt_cv_nm_interface="BSD nm
"
5786 echo "int some_variable
= 0;" > conftest.$ac_ext
5787 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5788 (eval "$ac_compile" 2>conftest.err)
5789 cat conftest.err >&5
5790 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5791 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5792 cat conftest.err >&5
5793 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5794 cat conftest.out >&5
5795 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5796 lt_cv_nm_interface="MS dumpbin
"
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5801 $as_echo "$lt_cv_nm_interface" >&6; }
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5804 $as_echo_n "checking whether
ln -s works...
" >&6; }
5806 if test "$LN_S" = "ln -s"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5808 $as_echo "yes" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5811 $as_echo "no
, using
$LN_S" >&6; }
5814 # find the maximum length of command line arguments
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5816 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5817 if ${lt_cv_sys_max_cmd_len+:} false; then :
5818 $as_echo_n "(cached
) " >&6
5825 # On DJGPP, this test can blow up pretty badly due to problems in libc
5826 # (any single argument exceeding 2000 bytes causes a buffer overrun
5827 # during glob expansion). Even if it were fixed, the result of this
5828 # check would be larger than it should be.
5829 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5833 # Under GNU Hurd, this test is not required because there is
5834 # no limit to the length of command line arguments.
5835 # Libtool will interpret -1 as no limit whatsoever
5836 lt_cv_sys_max_cmd_len=-1;
5839 cygwin* | mingw* | cegcc*)
5840 # On Win9x/ME, this test blows up -- it succeeds, but takes
5841 # about 5 minutes as the teststring grows exponentially.
5842 # Worse, since 9x/ME are not pre-emptively multitasking,
5843 # you end up with a "frozen
" computer, even though with patience
5844 # the test eventually succeeds (with a max line length of 256k).
5845 # Instead, let's just punt: use the minimum linelength reported by
5846 # all of the supported platforms: 8192 (on NT/2K/XP).
5847 lt_cv_sys_max_cmd_len=8192;
5851 # On MiNT this can take a long time and run out of memory.
5852 lt_cv_sys_max_cmd_len=8192;
5856 # On AmigaOS with pdksh, this test takes hours, literally.
5857 # So we just punt and use a minimum line length of 8192.
5858 lt_cv_sys_max_cmd_len=8192;
5861 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5862 # This has been around since 386BSD, at least. Likely further.
5863 if test -x /sbin/sysctl; then
5864 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5865 elif test -x /usr/sbin/sysctl; then
5866 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5868 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5870 # And add a safety zone
5871 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5872 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5876 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5877 lt_cv_sys_max_cmd_len=196608
5881 # The test takes a long time on OS/2.
5882 lt_cv_sys_max_cmd_len=8192
5886 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5887 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5888 # nice to cause kernel panics so lets avoid the loop below.
5889 # First set a reasonable default.
5890 lt_cv_sys_max_cmd_len=16384
5892 if test -x /sbin/sysconfig; then
5893 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5894 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5899 lt_cv_sys_max_cmd_len=102400
5901 sysv5* | sco5v6* | sysv4.2uw2*)
5902 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5903 if test -n "$kargmax"; then
5904 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5906 lt_cv_sys_max_cmd_len=32768
5910 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5911 if test -n "$lt_cv_sys_max_cmd_len"; then
5912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5915 # Make teststring a little bigger before we do anything with it.
5916 # a 1K string should be a reasonable start.
5917 for i in 1 2 3 4 5 6 7 8 ; do
5918 teststring=$teststring$teststring
5920 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5921 # If test is not a shell built-in, we'll probably end up computing a
5922 # maximum length that is only half of the actual maximum length, but
5924 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5925 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5926 test $i != 17 # 1/2 MB should be enough
5929 teststring=$teststring$teststring
5931 # Only check the string length outside the loop.
5932 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5934 # Add a significant safety factor because C++ compilers can tack on
5935 # massive amounts of additional arguments before passing them to the
5936 # linker. It appears as though 1/2 is a usable value.
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5944 if test -n $lt_cv_sys_max_cmd_len ; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5946 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5949 $as_echo "none
" >&6; }
5951 max_cmd_len=$lt_cv_sys_max_cmd_len
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5963 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5964 # Try some XSI features
5967 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5969 && eval 'test $(( 1 + 1 )) -eq 2 \
5970 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5973 $as_echo "$xsi_shell" >&6; }
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5977 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5979 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5981 && lt_shell_append=yes
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5983 $as_echo "$lt_shell_append" >&6; }
5986 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5996 # test EBCDIC or ASCII
5997 case `echo X|tr X '\101'` in
5998 A) # ASCII based system
5999 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6000 lt_SP2NL='tr \040 \012'
6001 lt_NL2SP='tr \015\012 \040\040'
6003 *) # EBCDIC based system
6004 lt_SP2NL='tr \100 \n'
6005 lt_NL2SP='tr \r\n \100\100'
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6018 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6019 if ${lt_cv_to_host_file_cmd+:} false; then :
6020 $as_echo_n "(cached
) " >&6
6025 *-*-mingw* ) # actually msys
6026 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6029 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6031 * ) # otherwise, assume *nix
6032 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6038 *-*-mingw* ) # actually msys
6039 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6042 lt_cv_to_host_file_cmd=func_convert_file_noop
6044 * ) # otherwise, assume *nix
6045 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6049 * ) # unhandled hosts (and "normal
" native builds)
6050 lt_cv_to_host_file_cmd=func_convert_file_noop
6056 to_host_file_cmd=$lt_cv_to_host_file_cmd
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6058 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6065 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6066 if ${lt_cv_to_tool_file_cmd+:} false; then :
6067 $as_echo_n "(cached
) " >&6
6069 #assume ordinary cross tools, or native build.
6070 lt_cv_to_tool_file_cmd=func_convert_file_noop
6074 *-*-mingw* ) # actually msys
6075 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6083 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6085 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6092 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6093 if ${lt_cv_ld_reload_flag+:} false; then :
6094 $as_echo_n "(cached
) " >&6
6096 lt_cv_ld_reload_flag='-r'
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6099 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6100 reload_flag=$lt_cv_ld_reload_flag
6101 case $reload_flag in
6103 *) reload_flag=" $reload_flag" ;;
6105 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6107 cygwin* | mingw* | pw32* | cegcc*)
6108 if test "$GCC" != yes; then
6113 if test "$GCC" = yes; then
6114 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6116 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6129 if test -n "$ac_tool_prefix"; then
6130 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6131 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6133 $as_echo_n "checking
for $ac_word...
" >&6; }
6134 if ${ac_cv_prog_OBJDUMP+:} false; then :
6135 $as_echo_n "(cached
) " >&6
6137 if test -n "$OBJDUMP"; then
6138 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6157 OBJDUMP=$ac_cv_prog_OBJDUMP
6158 if test -n "$OBJDUMP"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6160 $as_echo "$OBJDUMP" >&6; }
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6163 $as_echo "no
" >&6; }
6168 if test -z "$ac_cv_prog_OBJDUMP"; then
6169 ac_ct_OBJDUMP=$OBJDUMP
6170 # Extract the first word of "objdump
", so it can be a program name with args.
6171 set dummy objdump; ac_word=$2
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6173 $as_echo_n "checking
for $ac_word...
" >&6; }
6174 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6175 $as_echo_n "(cached
) " >&6
6177 if test -n "$ac_ct_OBJDUMP"; then
6178 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6187 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6197 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6198 if test -n "$ac_ct_OBJDUMP"; then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6200 $as_echo "$ac_ct_OBJDUMP" >&6; }
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6203 $as_echo "no
" >&6; }
6206 if test "x
$ac_ct_OBJDUMP" = x; then
6209 case $cross_compiling:$ac_tool_warned in
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6212 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6213 ac_tool_warned=yes ;;
6215 OBJDUMP=$ac_ct_OBJDUMP
6218 OBJDUMP="$ac_cv_prog_OBJDUMP"
6221 test -z "$OBJDUMP" && OBJDUMP=objdump
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6232 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6233 if ${lt_cv_deplibs_check_method+:} false; then :
6234 $as_echo_n "(cached
) " >&6
6236 lt_cv_file_magic_cmd='$MAGIC_CMD'
6237 lt_cv_file_magic_test_file=
6238 lt_cv_deplibs_check_method='unknown'
6239 # Need to set the preceding variable on all platforms that support
6240 # interlibrary dependencies.
6241 # 'none' -- dependencies not supported.
6242 # `unknown' -- same as none, but documents that we really don't know.
6243 # 'pass_all' -- all dependencies passed with no checks.
6244 # 'test_compile' -- check by making test program.
6245 # 'file_magic [[regex]]' -- check by looking for files in library path
6246 # which responds to the $file_magic_cmd with a given extended regex.
6247 # If you have `file' or equivalent on your system and you're not sure
6248 # whether `pass_all' will *always* work, you probably want this one.
6252 lt_cv_deplibs_check_method=pass_all
6256 lt_cv_deplibs_check_method=pass_all
6260 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6261 lt_cv_file_magic_cmd='/usr/bin/file -L'
6262 lt_cv_file_magic_test_file=/shlib/libc.so
6266 # func_win32_libid is a shell function defined in ltmain.sh
6267 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6268 lt_cv_file_magic_cmd='func_win32_libid'
6272 # Base MSYS/MinGW do not provide the 'file' command needed by
6273 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6274 # unless we find 'file', for example because we are cross-compiling.
6275 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6276 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6277 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6278 lt_cv_file_magic_cmd='func_win32_libid'
6280 # Keep this pattern in sync with the one in func_win32_libid.
6281 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6282 lt_cv_file_magic_cmd='$OBJDUMP -f'
6287 # use the weaker test based on 'objdump'. See mingw*.
6288 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6289 lt_cv_file_magic_cmd='$OBJDUMP -f'
6292 darwin* | rhapsody*)
6293 lt_cv_deplibs_check_method=pass_all
6296 freebsd* | dragonfly*)
6297 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6300 # Not sure whether the presence of OpenBSD here was a mistake.
6301 # Let's accept both of them until this is cleared up.
6302 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6303 lt_cv_file_magic_cmd=/usr/bin/file
6304 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6308 lt_cv_deplibs_check_method=pass_all
6313 lt_cv_deplibs_check_method=pass_all
6317 lt_cv_deplibs_check_method=pass_all
6320 hpux10.20* | hpux11*)
6321 lt_cv_file_magic_cmd=/usr/bin/file
6324 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6325 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6328 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]'
6329 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6332 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6333 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6339 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6340 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6343 irix5* | irix6* | nonstopux*)
6345 *-32|*"-32 ") libmagic=32-bit;;
6346 *-n32|*"-n32 ") libmagic=N32;;
6347 *-64|*"-64 ") libmagic=64-bit;;
6348 *) libmagic=never-match;;
6350 lt_cv_deplibs_check_method=pass_all
6353 # This must be glibc/ELF.
6354 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6355 lt_cv_deplibs_check_method=pass_all
6359 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6360 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6362 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6367 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6368 lt_cv_file_magic_cmd=/usr/bin/file
6369 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6373 lt_cv_deplibs_check_method=pass_all
6377 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6378 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6380 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6384 osf3* | osf4* | osf5*)
6385 lt_cv_deplibs_check_method=pass_all
6389 lt_cv_deplibs_check_method=pass_all
6393 lt_cv_deplibs_check_method=pass_all
6396 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6397 lt_cv_deplibs_check_method=pass_all
6401 case $host_vendor in
6403 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]'
6404 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6407 lt_cv_deplibs_check_method=pass_all
6410 lt_cv_file_magic_cmd='/bin/file'
6411 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6414 lt_cv_file_magic_cmd='/bin/file'
6415 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6416 lt_cv_file_magic_test_file=/lib/libc.so
6419 lt_cv_deplibs_check_method=pass_all
6422 lt_cv_deplibs_check_method=pass_all
6428 lt_cv_deplibs_check_method=pass_all
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6434 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6438 if test "$build" = "$host"; then
6441 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6444 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6450 file_magic_cmd=$lt_cv_file_magic_cmd
6451 deplibs_check_method=$lt_cv_deplibs_check_method
6452 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6475 if test -n "$ac_tool_prefix"; then
6476 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6477 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6479 $as_echo_n "checking
for $ac_word...
" >&6; }
6480 if ${ac_cv_prog_DLLTOOL+:} false; then :
6481 $as_echo_n "(cached
) " >&6
6483 if test -n "$DLLTOOL"; then
6484 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6493 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6503 DLLTOOL=$ac_cv_prog_DLLTOOL
6504 if test -n "$DLLTOOL"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6506 $as_echo "$DLLTOOL" >&6; }
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6509 $as_echo "no
" >&6; }
6514 if test -z "$ac_cv_prog_DLLTOOL"; then
6515 ac_ct_DLLTOOL=$DLLTOOL
6516 # Extract the first word of "dlltool
", so it can be a program name with args.
6517 set dummy dlltool; ac_word=$2
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6519 $as_echo_n "checking
for $ac_word...
" >&6; }
6520 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6521 $as_echo_n "(cached
) " >&6
6523 if test -n "$ac_ct_DLLTOOL"; then
6524 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530 test -z "$as_dir" && as_dir=.
6531 for ac_exec_ext in '' $ac_executable_extensions; do
6532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6533 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6543 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6544 if test -n "$ac_ct_DLLTOOL"; then
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6546 $as_echo "$ac_ct_DLLTOOL" >&6; }
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6549 $as_echo "no
" >&6; }
6552 if test "x
$ac_ct_DLLTOOL" = x; then
6555 case $cross_compiling:$ac_tool_warned in
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6558 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6559 ac_tool_warned=yes ;;
6561 DLLTOOL=$ac_ct_DLLTOOL
6564 DLLTOOL="$ac_cv_prog_DLLTOOL"
6567 test -z "$DLLTOOL" && DLLTOOL=dlltool
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6579 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6580 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6581 $as_echo_n "(cached
) " >&6
6583 lt_cv_sharedlib_from_linklib_cmd='unknown'
6586 cygwin* | mingw* | pw32* | cegcc*)
6587 # two different shell functions defined in ltmain.sh
6588 # decide which to use based on capabilities of $DLLTOOL
6589 case `$DLLTOOL --help 2>&1` in
6590 *--identify-strict*)
6591 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6594 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6599 # fallback: assume linklib IS sharedlib
6600 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6606 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6607 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6608 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6616 if test -n "$ac_tool_prefix"; then
6619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6620 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6622 $as_echo_n "checking
for $ac_word...
" >&6; }
6623 if ${ac_cv_prog_AR+:} false; then :
6624 $as_echo_n "(cached
) " >&6
6626 if test -n "$AR"; then
6627 ac_cv_prog_AR="$AR" # Let the user override the test.
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6647 if test -n "$AR"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6649 $as_echo "$AR" >&6; }
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6652 $as_echo "no
" >&6; }
6656 test -n "$AR" && break
6659 if test -z "$AR"; then
6663 # Extract the first word of "$ac_prog", so it can be a program name with args.
6664 set dummy $ac_prog; ac_word=$2
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6666 $as_echo_n "checking
for $ac_word...
" >&6; }
6667 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6668 $as_echo_n "(cached
) " >&6
6670 if test -n "$ac_ct_AR"; then
6671 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir=.
6678 for ac_exec_ext in '' $ac_executable_extensions; do
6679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6680 ac_cv_prog_ac_ct_AR="$ac_prog"
6681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6690 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6691 if test -n "$ac_ct_AR"; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6693 $as_echo "$ac_ct_AR" >&6; }
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6696 $as_echo "no
" >&6; }
6700 test -n "$ac_ct_AR" && break
6703 if test "x
$ac_ct_AR" = x; then
6706 case $cross_compiling:$ac_tool_warned in
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6709 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6710 ac_tool_warned=yes ;;
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6730 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6731 if ${lt_cv_ar_at_file+:} false; then :
6732 $as_echo_n "(cached
) " >&6
6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6746 if ac_fn_c_try_compile "$LINENO"; then :
6747 echo conftest.$ac_objext > conftest.lst
6748 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6749 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6750 (eval $lt_ar_try) 2>&5
6752 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6753 test $ac_status = 0; }
6754 if test "$ac_status" -eq 0; then
6755 # Ensure the archiver fails upon bogus file names.
6756 rm -f conftest.$ac_objext libconftest.a
6757 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6758 (eval $lt_ar_try) 2>&5
6760 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6761 test $ac_status = 0; }
6762 if test "$ac_status" -ne 0; then
6766 rm -f conftest.* libconftest.a
6769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6773 $as_echo "$lt_cv_ar_at_file" >&6; }
6775 if test "x
$lt_cv_ar_at_file" = xno; then
6778 archiver_list_spec=$lt_cv_ar_at_file
6787 if test -n "$ac_tool_prefix"; then
6788 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6789 set dummy ${ac_tool_prefix}strip; ac_word=$2
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6791 $as_echo_n "checking
for $ac_word...
" >&6; }
6792 if ${ac_cv_prog_STRIP+:} false; then :
6793 $as_echo_n "(cached
) " >&6
6795 if test -n "$STRIP"; then
6796 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802 test -z "$as_dir" && as_dir=.
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6815 STRIP=$ac_cv_prog_STRIP
6816 if test -n "$STRIP"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6818 $as_echo "$STRIP" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6821 $as_echo "no
" >&6; }
6826 if test -z "$ac_cv_prog_STRIP"; then
6828 # Extract the first word of "strip
", so it can be a program name with args.
6829 set dummy strip; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6831 $as_echo_n "checking
for $ac_word...
" >&6; }
6832 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6833 $as_echo_n "(cached
) " >&6
6835 if test -n "$ac_ct_STRIP"; then
6836 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_ac_ct_STRIP="strip
"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6855 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6856 if test -n "$ac_ct_STRIP"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6858 $as_echo "$ac_ct_STRIP" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6861 $as_echo "no
" >&6; }
6864 if test "x
$ac_ct_STRIP" = x; then
6867 case $cross_compiling:$ac_tool_warned in
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6870 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6871 ac_tool_warned=yes ;;
6876 STRIP="$ac_cv_prog_STRIP"
6879 test -z "$STRIP" && STRIP=:
6886 if test -n "$ac_tool_prefix"; then
6887 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6888 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6890 $as_echo_n "checking
for $ac_word...
" >&6; }
6891 if ${ac_cv_prog_RANLIB+:} false; then :
6892 $as_echo_n "(cached
) " >&6
6894 if test -n "$RANLIB"; then
6895 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6904 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6914 RANLIB=$ac_cv_prog_RANLIB
6915 if test -n "$RANLIB"; then
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6917 $as_echo "$RANLIB" >&6; }
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6920 $as_echo "no
" >&6; }
6925 if test -z "$ac_cv_prog_RANLIB"; then
6926 ac_ct_RANLIB=$RANLIB
6927 # Extract the first word of "ranlib
", so it can be a program name with args.
6928 set dummy ranlib; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6930 $as_echo_n "checking
for $ac_word...
" >&6; }
6931 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6932 $as_echo_n "(cached
) " >&6
6934 if test -n "$ac_ct_RANLIB"; then
6935 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 test -z "$as_dir" && as_dir=.
6942 for ac_exec_ext in '' $ac_executable_extensions; do
6943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6954 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6955 if test -n "$ac_ct_RANLIB"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6957 $as_echo "$ac_ct_RANLIB" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6960 $as_echo "no
" >&6; }
6963 if test "x
$ac_ct_RANLIB" = x; then
6966 case $cross_compiling:$ac_tool_warned in
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6969 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6970 ac_tool_warned=yes ;;
6972 RANLIB=$ac_ct_RANLIB
6975 RANLIB="$ac_cv_prog_RANLIB"
6978 test -z "$RANLIB" && RANLIB=:
6985 # Determine commands to create old-style static archives.
6986 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6987 old_postinstall_cmds='chmod 644 $oldlib'
6988 old_postuninstall_cmds=
6990 if test -n "$RANLIB"; then
6993 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6996 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6999 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7004 lock_old_archive_extraction=yes ;;
7006 lock_old_archive_extraction=no ;;
7047 # If no C compiler was specified, use CC.
7050 # If no C compiler flags were specified, use CFLAGS.
7051 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7053 # Allow CC to be a program name with arguments.
7057 # Check for command to grab the raw symbol name followed by C symbol from nm.
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7059 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7060 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7061 $as_echo_n "(cached
) " >&6
7064 # These are sane defaults that work on at least a few old systems.
7065 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7067 # Character class describing NM global symbol codes.
7068 symcode='[BCDEGRST]'
7070 # Regexp to match symbols that can be accessed directly from C.
7071 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7073 # Define system-specific variables.
7078 cygwin* | mingw* | pw32* | cegcc*)
7079 symcode='[ABCDGISTW]'
7082 if test "$host_cpu" = ia64; then
7083 symcode='[ABCDEGRST]'
7087 symcode='[BCDEGRST]'
7090 symcode='[BCDEGQRST]'
7101 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7109 # If we're using GNU nm, then use its standard symbol codes.
7110 case `$NM -V 2>&1` in
7111 *GNU* | *'with BFD'*)
7112 symcode='[ABCDGIRSTW]' ;;
7115 # Transform an extracted symbol line into a proper C declaration.
7116 # Some systems (esp. on ia64) link data and code symbols differently,
7117 # so use this general approach.
7118 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7120 # Transform an extracted symbol line into symbol name and symbol address
7121 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7122 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'"
7124 # Handle CRLF in mingw tool chain
7128 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7132 # Try without a prefix underscore, then with it.
7133 for ac_symprfx in "" "_
"; do
7135 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7136 symxfrm="\\1 $ac_symprfx\\2 \\2"
7138 # Write the raw and C identifiers.
7139 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7140 # Fake it for dumpbin and say T for any non-static function
7141 # and D for any global variable.
7142 # Also find C++ and __fastcall symbols from MSVC++,
7143 # which start with @ or ?.
7144 lt_cv_sys_global_symbol_pipe="$AWK '"\
7145 " {last_section=section; section=\$ 3};"\
7146 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7147 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7148 " \$ 0!~/External *\|/{next};"\
7149 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7150 " {if(hide[section]) next};"\
7151 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7152 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7153 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7154 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7155 " ' prfx
=^
$ac_symprfx"
7157 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7159 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7161 # Check to see that the pipe works correctly.
7165 cat > conftest.$ac_ext <<_LT_EOF
7170 void nm_test_func(void);
7171 void nm_test_func(void){}
7175 int main(){nm_test_var='a';nm_test_func();return(0);}
7178 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7179 (eval $ac_compile) 2>&5
7181 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7182 test $ac_status = 0; }; then
7183 # Now try to grab the symbols.
7185 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7186 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7188 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7189 test $ac_status = 0; } && test -s "$nlist"; then
7190 # Try sorting and uniquifying the output.
7191 if sort "$nlist" | uniq > "$nlist"T; then
7192 mv -f "$nlist"T "$nlist"
7197 # Make sure that we snagged all the symbols we need.
7198 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7199 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7200 cat <<_LT_EOF > conftest.$ac_ext
7201 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7202 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7203 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7204 relocations are performed -- see ld's documentation on pseudo-relocs. */
7205 # define LT_DLSYM_CONST
7206 #elif defined(__osf__)
7207 /* This system does not cope well with relocations in const data. */
7208 # define LT_DLSYM_CONST
7210 # define LT_DLSYM_CONST const
7218 # Now generate the symbol file.
7219 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7221 cat <<_LT_EOF >> conftest.$ac_ext
7223 /* The mapping between symbol names and symbols. */
7224 LT_DLSYM_CONST struct {
7228 lt__PROGRAM__LTX_preloaded_symbols[] =
7230 { "@PROGRAM@
", (void *) 0 },
7232 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7233 cat <<\_LT_EOF >> conftest.$ac_ext
7237 /* This works around a problem in FreeBSD linker */
7238 #ifdef FREEBSD_WORKAROUND
7239 static const void *lt_preloaded_setup() {
7240 return lt__PROGRAM__LTX_preloaded_symbols;
7248 # Now try linking the two files.
7249 mv conftest.$ac_objext conftstm.$ac_objext
7250 lt_globsym_save_LIBS=$LIBS
7251 lt_globsym_save_CFLAGS=$CFLAGS
7252 LIBS="conftstm.
$ac_objext"
7253 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7254 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7255 (eval $ac_link) 2>&5
7257 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7258 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7261 LIBS=$lt_globsym_save_LIBS
7262 CFLAGS=$lt_globsym_save_CFLAGS
7264 echo "cannot
find nm_test_func
in $nlist" >&5
7267 echo "cannot
find nm_test_var
in $nlist" >&5
7270 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7273 echo "$progname: failed program was
:" >&5
7274 cat conftest.$ac_ext >&5
7276 rm -rf conftest* conftst*
7278 # Do not use the global_symbol_pipe unless it works.
7279 if test "$pipe_works" = yes; then
7282 lt_cv_sys_global_symbol_pipe=
7288 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7289 lt_cv_sys_global_symbol_to_cdecl=
7291 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7293 $as_echo "failed
" >&6; }
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7296 $as_echo "ok
" >&6; }
7299 # Response file support.
7300 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7301 nm_file_list_spec='@'
7302 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7303 nm_file_list_spec='@'
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7333 $as_echo_n "checking
for sysroot...
" >&6; }
7335 # Check whether --with-sysroot was given.
7336 if test "${with_sysroot+set}" = set; then :
7337 withval=$with_sysroot;
7344 case ${with_sysroot} in #(
7346 if test "$GCC" = yes; then
7347 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7351 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7357 $as_echo "${with_sysroot}" >&6; }
7358 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7363 $as_echo "${lt_sysroot:-no}" >&6; }
7369 # Check whether --enable-libtool-lock was given.
7370 if test "${enable_libtool_lock+set}" = set; then :
7371 enableval=$enable_libtool_lock;
7374 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7376 # Some flags need to be propagated to the compiler or linker for good
7380 # Find out which ABI we are using.
7381 echo 'int i;' > conftest.$ac_ext
7382 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7383 (eval $ac_compile) 2>&5
7385 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7386 test $ac_status = 0; }; then
7387 case `/usr/bin/file conftest.$ac_objext` in
7399 # Find out which ABI we are using.
7400 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7401 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7402 (eval $ac_compile) 2>&5
7404 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7405 test $ac_status = 0; }; then
7406 if test "$lt_cv_prog_gnu_ld" = yes; then
7407 case `/usr/bin/file conftest.$ac_objext` in
7409 LD="${LD-ld} -melf32bsmip"
7412 LD="${LD-ld} -melf32bmipn32"
7415 LD="${LD-ld} -melf64bmip"
7419 case `/usr/bin/file conftest.$ac_objext` in
7435 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7436 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7437 # Find out which ABI we are using.
7438 echo 'int i;' > conftest.$ac_ext
7439 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7440 (eval $ac_compile) 2>&5
7442 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7443 test $ac_status = 0; }; then
7444 case `/usr/bin/file conftest.o` in
7447 x86_64-*kfreebsd*-gnu)
7448 LD="${LD-ld} -m elf_i386_fbsd
"
7451 LD="${LD-ld} -m elf_i386
"
7453 ppc64-*linux*|powerpc64-*linux*)
7454 LD="${LD-ld} -m elf32ppclinux
"
7457 LD="${LD-ld} -m elf_s390
"
7460 LD="${LD-ld} -m elf32_sparc
"
7466 x86_64-*kfreebsd*-gnu)
7467 LD="${LD-ld} -m elf_x86_64_fbsd
"
7470 LD="${LD-ld} -m elf_x86_64
"
7472 ppc*-*linux*|powerpc*-*linux*)
7473 LD="${LD-ld} -m elf64ppc
"
7475 s390*-*linux*|s390*-*tpf*)
7476 LD="${LD-ld} -m elf64_s390
"
7479 LD="${LD-ld} -m elf64_sparc
"
7489 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7490 SAVE_CFLAGS="$CFLAGS"
7491 CFLAGS="$CFLAGS -belf"
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7493 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7494 if ${lt_cv_cc_needs_belf+:} false; then :
7495 $as_echo_n "(cached
) " >&6
7498 ac_cpp='$CPP $CPPFLAGS'
7499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7514 if ac_fn_c_try_link "$LINENO"; then :
7515 lt_cv_cc_needs_belf=yes
7517 lt_cv_cc_needs_belf=no
7519 rm -f core conftest.err conftest.$ac_objext \
7520 conftest$ac_exeext conftest.$ac_ext
7522 ac_cpp='$CPP $CPPFLAGS'
7523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7529 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7530 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7531 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7532 CFLAGS="$SAVE_CFLAGS"
7536 # Find out which ABI we are using.
7537 echo 'int i;' > conftest.$ac_ext
7538 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7539 (eval $ac_compile) 2>&5
7541 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7542 test $ac_status = 0; }; then
7543 case `/usr/bin/file conftest.o` in
7545 case $lt_cv_prog_gnu_ld in
7549 LD="${LD-ld} -m elf_x86_64
"
7552 LD="${LD-ld} -m elf64_sparc
"
7555 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7556 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7561 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7573 need_locks="$enable_libtool_lock"
7575 if test -n "$ac_tool_prefix"; then
7576 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7577 set dummy ${ac_tool_prefix}mt; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7579 $as_echo_n "checking
for $ac_word...
" >&6; }
7580 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7581 $as_echo_n "(cached
) " >&6
7583 if test -n "$MANIFEST_TOOL"; then
7584 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7593 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7603 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7604 if test -n "$MANIFEST_TOOL"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7606 $as_echo "$MANIFEST_TOOL" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7609 $as_echo "no
" >&6; }
7614 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7615 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7616 # Extract the first word of "mt
", so it can be a program name with args.
7617 set dummy mt; ac_word=$2
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7619 $as_echo_n "checking
for $ac_word...
" >&6; }
7620 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7621 $as_echo_n "(cached
) " >&6
7623 if test -n "$ac_ct_MANIFEST_TOOL"; then
7624 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 test -z "$as_dir" && as_dir=.
7631 for ac_exec_ext in '' $ac_executable_extensions; do
7632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7633 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7643 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7644 if test -n "$ac_ct_MANIFEST_TOOL"; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7646 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7649 $as_echo "no
" >&6; }
7652 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7655 case $cross_compiling:$ac_tool_warned in
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7658 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7659 ac_tool_warned=yes ;;
7661 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7664 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7667 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7669 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7670 if ${lt_cv_path_mainfest_tool+:} false; then :
7671 $as_echo_n "(cached
) " >&6
7673 lt_cv_path_mainfest_tool=no
7674 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7675 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7676 cat conftest.err >&5
7677 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7678 lt_cv_path_mainfest_tool=yes
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7683 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7684 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7694 rhapsody* | darwin*)
7695 if test -n "$ac_tool_prefix"; then
7696 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7697 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7699 $as_echo_n "checking
for $ac_word...
" >&6; }
7700 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7701 $as_echo_n "(cached
) " >&6
7703 if test -n "$DSYMUTIL"; then
7704 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7710 test -z "$as_dir" && as_dir=.
7711 for ac_exec_ext in '' $ac_executable_extensions; do
7712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7713 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7723 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7724 if test -n "$DSYMUTIL"; then
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7726 $as_echo "$DSYMUTIL" >&6; }
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7729 $as_echo "no
" >&6; }
7734 if test -z "$ac_cv_prog_DSYMUTIL"; then
7735 ac_ct_DSYMUTIL=$DSYMUTIL
7736 # Extract the first word of "dsymutil
", so it can be a program name with args.
7737 set dummy dsymutil; ac_word=$2
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7739 $as_echo_n "checking
for $ac_word...
" >&6; }
7740 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7741 $as_echo_n "(cached
) " >&6
7743 if test -n "$ac_ct_DSYMUTIL"; then
7744 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7750 test -z "$as_dir" && as_dir=.
7751 for ac_exec_ext in '' $ac_executable_extensions; do
7752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7753 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7763 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7764 if test -n "$ac_ct_DSYMUTIL"; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7766 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7769 $as_echo "no
" >&6; }
7772 if test "x
$ac_ct_DSYMUTIL" = x; then
7775 case $cross_compiling:$ac_tool_warned in
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7778 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7779 ac_tool_warned=yes ;;
7781 DSYMUTIL=$ac_ct_DSYMUTIL
7784 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7787 if test -n "$ac_tool_prefix"; then
7788 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7789 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7791 $as_echo_n "checking
for $ac_word...
" >&6; }
7792 if ${ac_cv_prog_NMEDIT+:} false; then :
7793 $as_echo_n "(cached
) " >&6
7795 if test -n "$NMEDIT"; then
7796 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802 test -z "$as_dir" && as_dir=.
7803 for ac_exec_ext in '' $ac_executable_extensions; do
7804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7805 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7815 NMEDIT=$ac_cv_prog_NMEDIT
7816 if test -n "$NMEDIT"; then
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7818 $as_echo "$NMEDIT" >&6; }
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7821 $as_echo "no
" >&6; }
7826 if test -z "$ac_cv_prog_NMEDIT"; then
7827 ac_ct_NMEDIT=$NMEDIT
7828 # Extract the first word of "nmedit
", so it can be a program name with args.
7829 set dummy nmedit; ac_word=$2
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7831 $as_echo_n "checking
for $ac_word...
" >&6; }
7832 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7833 $as_echo_n "(cached
) " >&6
7835 if test -n "$ac_ct_NMEDIT"; then
7836 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7842 test -z "$as_dir" && as_dir=.
7843 for ac_exec_ext in '' $ac_executable_extensions; do
7844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7845 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7855 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7856 if test -n "$ac_ct_NMEDIT"; then
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7858 $as_echo "$ac_ct_NMEDIT" >&6; }
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7861 $as_echo "no
" >&6; }
7864 if test "x
$ac_ct_NMEDIT" = x; then
7867 case $cross_compiling:$ac_tool_warned in
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7870 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7871 ac_tool_warned=yes ;;
7873 NMEDIT=$ac_ct_NMEDIT
7876 NMEDIT="$ac_cv_prog_NMEDIT"
7879 if test -n "$ac_tool_prefix"; then
7880 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7881 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7883 $as_echo_n "checking
for $ac_word...
" >&6; }
7884 if ${ac_cv_prog_LIPO+:} false; then :
7885 $as_echo_n "(cached
) " >&6
7887 if test -n "$LIPO"; then
7888 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7897 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7907 LIPO=$ac_cv_prog_LIPO
7908 if test -n "$LIPO"; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7910 $as_echo "$LIPO" >&6; }
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7913 $as_echo "no
" >&6; }
7918 if test -z "$ac_cv_prog_LIPO"; then
7920 # Extract the first word of "lipo
", so it can be a program name with args.
7921 set dummy lipo; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7923 $as_echo_n "checking
for $ac_word...
" >&6; }
7924 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7925 $as_echo_n "(cached
) " >&6
7927 if test -n "$ac_ct_LIPO"; then
7928 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_prog_ac_ct_LIPO="lipo
"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7947 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7948 if test -n "$ac_ct_LIPO"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7950 $as_echo "$ac_ct_LIPO" >&6; }
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7953 $as_echo "no
" >&6; }
7956 if test "x
$ac_ct_LIPO" = x; then
7959 case $cross_compiling:$ac_tool_warned in
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7962 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7963 ac_tool_warned=yes ;;
7968 LIPO="$ac_cv_prog_LIPO"
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}otool; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7975 $as_echo_n "checking
for $ac_word...
" >&6; }
7976 if ${ac_cv_prog_OTOOL+:} false; then :
7977 $as_echo_n "(cached
) " >&6
7979 if test -n "$OTOOL"; then
7980 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7999 OTOOL=$ac_cv_prog_OTOOL
8000 if test -n "$OTOOL"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8002 $as_echo "$OTOOL" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8005 $as_echo "no
" >&6; }
8010 if test -z "$ac_cv_prog_OTOOL"; then
8012 # Extract the first word of "otool
", so it can be a program name with args.
8013 set dummy otool; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8015 $as_echo_n "checking
for $ac_word...
" >&6; }
8016 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8017 $as_echo_n "(cached
) " >&6
8019 if test -n "$ac_ct_OTOOL"; then
8020 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_ac_ct_OTOOL="otool
"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8039 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8040 if test -n "$ac_ct_OTOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8042 $as_echo "$ac_ct_OTOOL" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8045 $as_echo "no
" >&6; }
8048 if test "x
$ac_ct_OTOOL" = x; then
8051 case $cross_compiling:$ac_tool_warned in
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8054 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8055 ac_tool_warned=yes ;;
8060 OTOOL="$ac_cv_prog_OTOOL"
8063 if test -n "$ac_tool_prefix"; then
8064 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8065 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8067 $as_echo_n "checking
for $ac_word...
" >&6; }
8068 if ${ac_cv_prog_OTOOL64+:} false; then :
8069 $as_echo_n "(cached
) " >&6
8071 if test -n "$OTOOL64"; then
8072 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 test -z "$as_dir" && as_dir=.
8079 for ac_exec_ext in '' $ac_executable_extensions; do
8080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8081 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8091 OTOOL64=$ac_cv_prog_OTOOL64
8092 if test -n "$OTOOL64"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8094 $as_echo "$OTOOL64" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8097 $as_echo "no
" >&6; }
8102 if test -z "$ac_cv_prog_OTOOL64"; then
8103 ac_ct_OTOOL64=$OTOOL64
8104 # Extract the first word of "otool64
", so it can be a program name with args.
8105 set dummy otool64; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8107 $as_echo_n "checking
for $ac_word...
" >&6; }
8108 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8109 $as_echo_n "(cached
) " >&6
8111 if test -n "$ac_ct_OTOOL64"; then
8112 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8121 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8131 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8132 if test -n "$ac_ct_OTOOL64"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8134 $as_echo "$ac_ct_OTOOL64" >&6; }
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8137 $as_echo "no
" >&6; }
8140 if test "x
$ac_ct_OTOOL64" = x; then
8143 case $cross_compiling:$ac_tool_warned in
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8146 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8147 ac_tool_warned=yes ;;
8149 OTOOL64=$ac_ct_OTOOL64
8152 OTOOL64="$ac_cv_prog_OTOOL64"
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8182 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8183 if ${lt_cv_apple_cc_single_mod+:} false; then :
8184 $as_echo_n "(cached
) " >&6
8186 lt_cv_apple_cc_single_mod=no
8187 if test -z "${LT_MULTI_MODULE}"; then
8188 # By default we will add the -single_module flag. You can override
8189 # by either setting the environment variable LT_MULTI_MODULE
8190 # non-empty at configure time, or by adding -multi_module to the
8192 rm -rf libconftest.dylib*
8193 echo "int foo
(void
){return 1;}" > conftest.c
8194 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8195 -dynamiclib -Wl,-single_module conftest.c
" >&5
8196 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8197 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8199 # If there is a non-empty error log, and "single_module
"
8200 # appears in it, assume the flag caused a linker warning
8201 if test -s conftest.err && $GREP single_module conftest.err; then
8202 cat conftest.err >&5
8203 # Otherwise, if the output was created with a 0 exit code from
8204 # the compiler, it worked.
8205 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8206 lt_cv_apple_cc_single_mod=yes
8208 cat conftest.err >&5
8210 rm -rf libconftest.dylib*
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8215 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8218 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8219 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8220 $as_echo_n "(cached
) " >&6
8222 lt_cv_ld_exported_symbols_list=no
8223 save_LDFLAGS=$LDFLAGS
8224 echo "_main
" > conftest.sym
8225 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8237 if ac_fn_c_try_link "$LINENO"; then :
8238 lt_cv_ld_exported_symbols_list=yes
8240 lt_cv_ld_exported_symbols_list=no
8242 rm -f core conftest.err conftest.$ac_objext \
8243 conftest$ac_exeext conftest.$ac_ext
8244 LDFLAGS="$save_LDFLAGS"
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8248 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8251 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8252 if ${lt_cv_ld_force_load+:} false; then :
8253 $as_echo_n "(cached
) " >&6
8255 lt_cv_ld_force_load=no
8256 cat > conftest.c << _LT_EOF
8257 int forced_loaded() { return 2;}
8259 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8260 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8261 echo "$AR cru libconftest.a conftest.o
" >&5
8262 $AR cru libconftest.a conftest.o 2>&5
8263 echo "$RANLIB libconftest.a
" >&5
8264 $RANLIB libconftest.a 2>&5
8265 cat > conftest.c << _LT_EOF
8266 int main() { return 0;}
8268 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8269 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8271 if test -s conftest.err && $GREP force_load conftest.err; then
8272 cat conftest.err >&5
8273 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8274 lt_cv_ld_force_load=yes
8276 cat conftest.err >&5
8278 rm -f conftest.err libconftest.a conftest conftest.c
8279 rm -rf conftest.dSYM
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8283 $as_echo "$lt_cv_ld_force_load" >&6; }
8285 rhapsody* | darwin1.[012])
8286 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8288 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8289 darwin*) # darwin 5.x on
8290 # if running on 10.5 or later, the deployment target defaults
8291 # to the OS version, if on x86, and 10.4, the deployment
8292 # target defaults to 10.4. Don't you love it?
8293 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8294 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8295 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8297 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8299 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8303 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8304 _lt_dar_single_mod='$single_module'
8306 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8307 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8309 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8311 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8312 _lt_dsymutil='~$DSYMUTIL $lib || :'
8320 ac_cpp='$CPP $CPPFLAGS'
8321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8325 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8326 # On Suns, sometimes $CPP names a directory.
8327 if test -n "$CPP" && test -d "$CPP"; then
8330 if test -z "$CPP"; then
8331 if ${ac_cv_prog_CPP+:} false; then :
8332 $as_echo_n "(cached
) " >&6
8334 # Double quotes because CPP needs to be expanded
8335 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8338 for ac_c_preproc_warn_flag in '' yes
8340 # Use a header file that comes with gcc, so configuring glibc
8341 # with a fresh cross-compiler works.
8342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8343 # <limits.h> exists even on freestanding compilers.
8344 # On the NeXT, cc -E runs the code through the compiler's parser,
8345 # not just through cpp. "Syntax error
" is here to catch this case.
8346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8347 /* end confdefs.h. */
8349 # include <limits.h>
8351 # include <assert.h>
8355 if ac_fn_c_try_cpp "$LINENO"; then :
8358 # Broken: fails on valid input.
8361 rm -f conftest.err conftest.i conftest.$ac_ext
8363 # OK, works on sane cases. Now check whether nonexistent headers
8364 # can be detected and how.
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8367 #include <ac_nonexistent.h>
8369 if ac_fn_c_try_cpp "$LINENO"; then :
8370 # Broken: success on invalid input.
8373 # Passes both tests.
8377 rm -f conftest.err conftest.i conftest.$ac_ext
8380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8381 rm -f conftest.i conftest.err conftest.$ac_ext
8382 if $ac_preproc_ok; then :
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8395 $as_echo "$CPP" >&6; }
8397 for ac_c_preproc_warn_flag in '' yes
8399 # Use a header file that comes with gcc, so configuring glibc
8400 # with a fresh cross-compiler works.
8401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8402 # <limits.h> exists even on freestanding compilers.
8403 # On the NeXT, cc -E runs the code through the compiler's parser,
8404 # not just through cpp. "Syntax error
" is here to catch this case.
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8408 # include <limits.h>
8410 # include <assert.h>
8414 if ac_fn_c_try_cpp "$LINENO"; then :
8417 # Broken: fails on valid input.
8420 rm -f conftest.err conftest.i conftest.$ac_ext
8422 # OK, works on sane cases. Now check whether nonexistent headers
8423 # can be detected and how.
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 #include <ac_nonexistent.h>
8428 if ac_fn_c_try_cpp "$LINENO"; then :
8429 # Broken: success on invalid input.
8432 # Passes both tests.
8436 rm -f conftest.err conftest.i conftest.$ac_ext
8439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8440 rm -f conftest.i conftest.err conftest.$ac_ext
8441 if $ac_preproc_ok; then :
8444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8446 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8447 See \`config.log' for more details
" "$LINENO" 5; }
8451 ac_cpp='$CPP $CPPFLAGS'
8452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8458 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8459 if ${ac_cv_header_stdc+:} false; then :
8460 $as_echo_n "(cached
) " >&6
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8477 if ac_fn_c_try_compile "$LINENO"; then :
8478 ac_cv_header_stdc=yes
8480 ac_cv_header_stdc=no
8482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8484 if test $ac_cv_header_stdc = yes; then
8485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8491 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8492 $EGREP "memchr
" >/dev/null 2>&1; then :
8495 ac_cv_header_stdc=no
8501 if test $ac_cv_header_stdc = yes; then
8502 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8508 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8509 $EGREP "free
" >/dev/null 2>&1; then :
8512 ac_cv_header_stdc=no
8518 if test $ac_cv_header_stdc = yes; then
8519 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8520 if test "$cross_compiling" = yes; then :
8523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8524 /* end confdefs.h. */
8527 #if ((' ' & 0x0FF) == 0x020)
8528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8531 # define ISLOWER(c) \
8532 (('a' <= (c) && (c) <= 'i') \
8533 || ('j' <= (c) && (c) <= 'r') \
8534 || ('s' <= (c) && (c) <= 'z'))
8535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8543 for (i = 0; i < 256; i++)
8544 if (XOR (islower (i), ISLOWER (i))
8545 || toupper (i) != TOUPPER (i))
8550 if ac_fn_c_try_run "$LINENO"; then :
8553 ac_cv_header_stdc=no
8555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8556 conftest.$ac_objext conftest.beam conftest.$ac_ext
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8562 $as_echo "$ac_cv_header_stdc" >&6; }
8563 if test $ac_cv_header_stdc = yes; then
8565 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8569 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8570 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8571 inttypes.h stdint.h unistd.h
8573 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8574 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8576 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8577 cat >>confdefs.h
<<_ACEOF
8578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8586 for ac_header
in dlfcn.h
8588 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8590 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8591 cat >>confdefs.h
<<_ACEOF
8592 #define HAVE_DLFCN_H 1
8602 func_stripname_cnf
()
8605 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8606 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8608 } # func_stripname_cnf
8615 # Check whether --enable-static was given.
8616 if test "${enable_static+set}" = set; then :
8617 enableval
=$enable_static; p
=${PACKAGE-default}
8619 yes) enable_static
=yes ;;
8620 no
) enable_static
=no
;;
8623 # Look at the argument we got. We use all the common list separators.
8624 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8625 for pkg
in $enableval; do
8627 if test "X$pkg" = "X$p"; then
8653 # Check whether --enable-shared was given.
8654 if test "${enable_shared+set}" = set; then :
8655 enableval
=$enable_shared; p
=${PACKAGE-default}
8657 yes) enable_shared
=yes ;;
8658 no
) enable_shared
=no
;;
8661 # Look at the argument we got. We use all the common list separators.
8662 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8663 for pkg
in $enableval; do
8665 if test "X$pkg" = "X$p"; then
8686 # Check whether --with-pic was given.
8687 if test "${with_pic+set}" = set; then :
8688 withval
=$with_pic; lt_p
=${PACKAGE-default}
8690 yes|no
) pic_mode
=$withval ;;
8693 # Look at the argument we got. We use all the common list separators.
8694 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8695 for lt_pkg
in $withval; do
8697 if test "X$lt_pkg" = "X$lt_p"; then
8709 test -z "$pic_mode" && pic_mode
=default
8717 # Check whether --enable-fast-install was given.
8718 if test "${enable_fast_install+set}" = set; then :
8719 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8721 yes) enable_fast_install
=yes ;;
8722 no
) enable_fast_install
=no
;;
8724 enable_fast_install
=no
8725 # Look at the argument we got. We use all the common list separators.
8726 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8727 for pkg
in $enableval; do
8729 if test "X$pkg" = "X$p"; then
8730 enable_fast_install
=yes
8737 enable_fast_install
=yes
8750 # This can be used to rebuild libtool when needed
8751 LIBTOOL_DEPS
="$ltmain"
8753 # Always use our own libtool.
8754 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8785 test -z "$LN_S" && LN_S
="ln -s"
8800 if test -n "${ZSH_VERSION+set}" ; then
8801 setopt NO_GLOB_SUBST
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8805 $as_echo_n "checking for objdir... " >&6; }
8806 if ${lt_cv_objdir+:} false
; then :
8807 $as_echo_n "(cached) " >&6
8809 rm -f .libs
2>/dev
/null
8810 mkdir .libs
2>/dev
/null
8811 if test -d .libs
; then
8814 # MS-DOS does not allow filenames that begin with a dot.
8817 rmdir .libs
2>/dev
/null
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8820 $as_echo "$lt_cv_objdir" >&6; }
8821 objdir
=$lt_cv_objdir
8827 cat >>confdefs.h
<<_ACEOF
8828 #define LT_OBJDIR "$lt_cv_objdir/"
8836 # AIX sometimes has problems with the GCC collect2 program. For some
8837 # reason, if we set the COLLECT_NAMES environment variable, the problems
8838 # vanish in a puff of smoke.
8839 if test "X${COLLECT_NAMES+set}" != Xset
; then
8841 export COLLECT_NAMES
8848 can_build_shared
=yes
8850 # All known linkers require a `.a' archive for static linking (except MSVC,
8851 # which needs '.lib').
8854 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8857 old_CFLAGS
="$CFLAGS"
8859 # Set sane defaults for various variables
8860 test -z "$CC" && CC
=cc
8861 test -z "$LTCC" && LTCC
=$CC
8862 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8863 test -z "$LD" && LD
=ld
8864 test -z "$ac_objext" && ac_objext
=o
8866 for cc_temp
in $compiler""; do
8868 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8869 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8874 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8877 # Only perform the check for file, if the check method requires it
8878 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8879 case $deplibs_check_method in
8881 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8883 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8884 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8885 $as_echo_n "(cached) " >&6
8889 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8892 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8893 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8894 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8895 for ac_dir
in $ac_dummy; do
8897 test -z "$ac_dir" && ac_dir
=.
8898 if test -f $ac_dir/${ac_tool_prefix}file; then
8899 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8900 if test -n "$file_magic_test_file"; then
8901 case $deplibs_check_method in
8903 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8904 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8905 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8906 $EGREP "$file_magic_regex" > /dev
/null
; then
8911 *** Warning: the command libtool uses to detect shared libraries,
8912 *** $file_magic_cmd, produces output that libtool cannot recognize.
8913 *** The result is that libtool may fail to recognize shared libraries
8914 *** as such. This will affect the creation of libtool libraries that
8915 *** depend on shared libraries, but programs linked with such libtool
8916 *** libraries will work regardless of this problem. Nevertheless, you
8917 *** may want to report the problem to your system manager and/or to
8918 *** bug-libtool@gnu.org
8928 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8933 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8934 if test -n "$MAGIC_CMD"; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8936 $as_echo "$MAGIC_CMD" >&6; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8939 $as_echo "no" >&6; }
8946 if test -z "$lt_cv_path_MAGIC_CMD"; then
8947 if test -n "$ac_tool_prefix"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8949 $as_echo_n "checking for file... " >&6; }
8950 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8951 $as_echo_n "(cached) " >&6
8955 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8958 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8959 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8960 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8961 for ac_dir
in $ac_dummy; do
8963 test -z "$ac_dir" && ac_dir
=.
8964 if test -f $ac_dir/file; then
8965 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8966 if test -n "$file_magic_test_file"; then
8967 case $deplibs_check_method in
8969 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8970 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8971 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8972 $EGREP "$file_magic_regex" > /dev
/null
; then
8977 *** Warning: the command libtool uses to detect shared libraries,
8978 *** $file_magic_cmd, produces output that libtool cannot recognize.
8979 *** The result is that libtool may fail to recognize shared libraries
8980 *** as such. This will affect the creation of libtool libraries that
8981 *** depend on shared libraries, but programs linked with such libtool
8982 *** libraries will work regardless of this problem. Nevertheless, you
8983 *** may want to report the problem to your system manager and/or to
8984 *** bug-libtool@gnu.org
8994 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8999 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9000 if test -n "$MAGIC_CMD"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9002 $as_echo "$MAGIC_CMD" >&6; }
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9018 # Use C for the default configuration in the libtool script
9022 ac_cpp
='$CPP $CPPFLAGS'
9023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9028 # Source file extension for C test sources.
9031 # Object file extension for compiled C test sources.
9035 # Code to be used in simple compile tests
9036 lt_simple_compile_test_code
="int some_variable = 0;"
9038 # Code to be used in simple link tests
9039 lt_simple_link_test_code
='int main(){return(0);}'
9047 # If no C compiler was specified, use CC.
9050 # If no C compiler flags were specified, use CFLAGS.
9051 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9053 # Allow CC to be a program name with arguments.
9056 # Save the default compiler, since it gets overwritten when the other
9057 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9058 compiler_DEFAULT
=$CC
9060 # save warnings/boilerplate of simple test code
9061 ac_outfile
=conftest.
$ac_objext
9062 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9063 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9064 _lt_compiler_boilerplate
=`cat conftest.err`
9067 ac_outfile
=conftest.
$ac_objext
9068 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9069 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9070 _lt_linker_boilerplate
=`cat conftest.err`
9075 ## There is no encapsulation within the following macros, do not change
9076 ## the running order or otherwise move them around unless you know exactly
9077 ## what you are doing...
9078 if test -n "$compiler"; then
9080 lt_prog_compiler_no_builtin_flag
=
9082 if test "$GCC" = yes; then
9083 case $cc_basename in
9085 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9087 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9091 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9092 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9093 $as_echo_n "(cached) " >&6
9095 lt_cv_prog_compiler_rtti_exceptions
=no
9096 ac_outfile
=conftest.
$ac_objext
9097 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9098 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9099 # Insert the option either (1) after the last *FLAGS variable, or
9100 # (2) before a word containing "conftest.", or (3) at the end.
9101 # Note that $ac_compile itself does not contain backslashes and begins
9102 # with a dollar sign (not a hyphen), so the echo should work correctly.
9103 # The option is referenced via a variable to avoid confusing sed.
9104 lt_compile
=`echo "$ac_compile" | $SED \
9105 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9106 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9107 -e 's:$: $lt_compiler_flag:'`
9108 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9109 (eval "$lt_compile" 2>conftest.err
)
9111 cat conftest.err
>&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 if (exit $ac_status) && test -s "$ac_outfile"; then
9114 # The compiler can only warn and ignore the option if not recognized
9115 # So say no if there are warnings other than the usual output.
9116 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9117 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9118 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9119 lt_cv_prog_compiler_rtti_exceptions
=yes
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9126 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9128 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9129 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9141 lt_prog_compiler_wl
=
9142 lt_prog_compiler_pic
=
9143 lt_prog_compiler_static
=
9146 if test "$GCC" = yes; then
9147 lt_prog_compiler_wl
='-Wl,'
9148 lt_prog_compiler_static
='-static'
9152 # All AIX code is PIC.
9153 if test "$host_cpu" = ia64
; then
9154 # AIX 5 now supports IA64 processor
9155 lt_prog_compiler_static
='-Bstatic'
9162 # see comment about AmigaOS4 .so support
9163 lt_prog_compiler_pic
='-fPIC'
9166 # FIXME: we need at least 68020 code to build shared libraries, but
9167 # adding the `-m68020' flag to GCC prevents building anything better,
9169 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9174 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9175 # PIC is the default for these OSes.
9178 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9179 # This hack is so that the source file can tell whether it is being
9180 # built for inclusion in a dll (and should export symbols for example).
9181 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9182 # (--disable-auto-import) libraries
9183 lt_prog_compiler_pic
='-DDLL_EXPORT'
9186 darwin
* | rhapsody
*)
9187 # PIC is the default on this platform
9188 # Common symbols not allowed in MH_DYLIB files
9189 lt_prog_compiler_pic
='-fno-common'
9193 # PIC is the default for Haiku.
9194 # The "-static" flag exists, but is broken.
9195 lt_prog_compiler_static
=
9199 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9200 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9201 # sets the default TLS model and affects inlining.
9207 lt_prog_compiler_pic
='-fPIC'
9213 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9214 # Instead, we relocate shared libraries at runtime.
9218 # Just because we use GCC doesn't mean we suddenly get shared libraries
9219 # on systems that don't support them.
9220 lt_prog_compiler_can_build_shared
=no
9225 # QNX uses GNU C++, but need to define -shared option too, otherwise
9227 lt_prog_compiler_pic
='-fPIC -shared'
9231 if test -d /usr
/nec
; then
9232 lt_prog_compiler_pic
=-Kconform_pic
9237 lt_prog_compiler_pic
='-fPIC'
9241 case $cc_basename in
9242 nvcc
*) # Cuda Compiler Driver 2.2
9243 lt_prog_compiler_wl
='-Xlinker '
9244 if test -n "$lt_prog_compiler_pic"; then
9245 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9250 # PORTME Check for flag to pass linker flags through the system compiler.
9253 lt_prog_compiler_wl
='-Wl,'
9254 if test "$host_cpu" = ia64
; then
9255 # AIX 5 now supports IA64 processor
9256 lt_prog_compiler_static
='-Bstatic'
9258 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9262 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9263 # This hack is so that the source file can tell whether it is being
9264 # built for inclusion in a dll (and should export symbols for example).
9265 lt_prog_compiler_pic
='-DDLL_EXPORT'
9268 hpux9
* | hpux10
* | hpux11
*)
9269 lt_prog_compiler_wl
='-Wl,'
9270 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9277 lt_prog_compiler_pic
='+Z'
9280 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9281 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9284 irix5
* | irix6
* | nonstopux
*)
9285 lt_prog_compiler_wl
='-Wl,'
9286 # PIC (with -KPIC) is the default.
9287 lt_prog_compiler_static
='-non_shared'
9290 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9291 case $cc_basename in
9292 # old Intel for x86_64 which still supported -KPIC.
9294 lt_prog_compiler_wl
='-Wl,'
9295 lt_prog_compiler_pic
='-KPIC'
9296 lt_prog_compiler_static
='-static'
9298 # icc used to be incompatible with GCC.
9299 # ICC 10 doesn't accept -KPIC any more.
9301 lt_prog_compiler_wl
='-Wl,'
9302 lt_prog_compiler_pic
='-fPIC'
9303 lt_prog_compiler_static
='-static'
9305 # Lahey Fortran 8.1.
9307 lt_prog_compiler_wl
='-Wl,'
9308 lt_prog_compiler_pic
='--shared'
9309 lt_prog_compiler_static
='--static'
9312 # NAG Fortran compiler
9313 lt_prog_compiler_wl
='-Wl,-Wl,,'
9314 lt_prog_compiler_pic
='-PIC'
9315 lt_prog_compiler_static
='-Bstatic'
9317 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9318 # Portland Group compilers (*not* the Pentium gcc compiler,
9319 # which looks to be a dead project)
9320 lt_prog_compiler_wl
='-Wl,'
9321 lt_prog_compiler_pic
='-fpic'
9322 lt_prog_compiler_static
='-Bstatic'
9325 lt_prog_compiler_wl
='-Wl,'
9326 # All Alpha code is PIC.
9327 lt_prog_compiler_static
='-non_shared'
9329 xl
* | bgxl
* | bgf
* | mpixl
*)
9330 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9331 lt_prog_compiler_wl
='-Wl,'
9332 lt_prog_compiler_pic
='-qpic'
9333 lt_prog_compiler_static
='-qstaticlink'
9336 case `$CC -V 2>&1 | sed 5q` in
9337 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9338 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9339 lt_prog_compiler_pic
='-KPIC'
9340 lt_prog_compiler_static
='-Bstatic'
9341 lt_prog_compiler_wl
=''
9343 *Sun\ F
* | *Sun
*Fortran
*)
9344 lt_prog_compiler_pic
='-KPIC'
9345 lt_prog_compiler_static
='-Bstatic'
9346 lt_prog_compiler_wl
='-Qoption ld '
9350 lt_prog_compiler_pic
='-KPIC'
9351 lt_prog_compiler_static
='-Bstatic'
9352 lt_prog_compiler_wl
='-Wl,'
9354 *Intel
*\
[CF
]*Compiler
*)
9355 lt_prog_compiler_wl
='-Wl,'
9356 lt_prog_compiler_pic
='-fPIC'
9357 lt_prog_compiler_static
='-static'
9360 lt_prog_compiler_wl
='-Wl,'
9361 lt_prog_compiler_pic
='-fpic'
9362 lt_prog_compiler_static
='-Bstatic'
9370 lt_prog_compiler_pic
='-KPIC'
9371 lt_prog_compiler_static
='-Bstatic'
9375 # QNX uses GNU C++, but need to define -shared option too, otherwise
9377 lt_prog_compiler_pic
='-fPIC -shared'
9380 osf3
* | osf4
* | osf5
*)
9381 lt_prog_compiler_wl
='-Wl,'
9382 # All OSF/1 code is PIC.
9383 lt_prog_compiler_static
='-non_shared'
9387 lt_prog_compiler_static
='-non_shared'
9391 lt_prog_compiler_pic
='-KPIC'
9392 lt_prog_compiler_static
='-Bstatic'
9393 case $cc_basename in
9394 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9395 lt_prog_compiler_wl
='-Qoption ld ';;
9397 lt_prog_compiler_wl
='-Wl,';;
9402 lt_prog_compiler_wl
='-Qoption ld '
9403 lt_prog_compiler_pic
='-PIC'
9404 lt_prog_compiler_static
='-Bstatic'
9407 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9408 lt_prog_compiler_wl
='-Wl,'
9409 lt_prog_compiler_pic
='-KPIC'
9410 lt_prog_compiler_static
='-Bstatic'
9414 if test -d /usr
/nec
;then
9415 lt_prog_compiler_pic
='-Kconform_pic'
9416 lt_prog_compiler_static
='-Bstatic'
9420 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9421 lt_prog_compiler_wl
='-Wl,'
9422 lt_prog_compiler_pic
='-KPIC'
9423 lt_prog_compiler_static
='-Bstatic'
9427 lt_prog_compiler_wl
='-Wl,'
9428 lt_prog_compiler_can_build_shared
=no
9432 lt_prog_compiler_pic
='-pic'
9433 lt_prog_compiler_static
='-Bstatic'
9437 lt_prog_compiler_can_build_shared
=no
9443 # For platforms which do not support PIC, -DPIC is meaningless:
9445 lt_prog_compiler_pic
=
9448 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9453 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9454 if ${lt_cv_prog_compiler_pic+:} false
; then :
9455 $as_echo_n "(cached) " >&6
9457 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9460 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9461 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9464 # Check to make sure the PIC flag actually works.
9466 if test -n "$lt_prog_compiler_pic"; then
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9468 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9469 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9470 $as_echo_n "(cached) " >&6
9472 lt_cv_prog_compiler_pic_works
=no
9473 ac_outfile
=conftest.
$ac_objext
9474 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9475 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9476 # Insert the option either (1) after the last *FLAGS variable, or
9477 # (2) before a word containing "conftest.", or (3) at the end.
9478 # Note that $ac_compile itself does not contain backslashes and begins
9479 # with a dollar sign (not a hyphen), so the echo should work correctly.
9480 # The option is referenced via a variable to avoid confusing sed.
9481 lt_compile
=`echo "$ac_compile" | $SED \
9482 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9483 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9484 -e 's:$: $lt_compiler_flag:'`
9485 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9486 (eval "$lt_compile" 2>conftest.err
)
9488 cat conftest.err
>&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 if (exit $ac_status) && test -s "$ac_outfile"; then
9491 # The compiler can only warn and ignore the option if not recognized
9492 # So say no if there are warnings other than the usual output.
9493 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9494 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9495 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9496 lt_cv_prog_compiler_pic_works
=yes
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9503 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9505 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9506 case $lt_prog_compiler_pic in
9508 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9511 lt_prog_compiler_pic
=
9512 lt_prog_compiler_can_build_shared
=no
9528 # Check to make sure the static flag actually works.
9530 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9532 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9533 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9534 $as_echo_n "(cached) " >&6
9536 lt_cv_prog_compiler_static_works
=no
9537 save_LDFLAGS
="$LDFLAGS"
9538 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9539 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9540 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9541 # The linker can only warn and ignore the option if not recognized
9542 # So say no if there are warnings
9543 if test -s conftest.err
; then
9544 # Append any errors to the config.log.
9545 cat conftest.err
1>&5
9546 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9547 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9548 if diff conftest.exp conftest.er2
>/dev
/null
; then
9549 lt_cv_prog_compiler_static_works
=yes
9552 lt_cv_prog_compiler_static_works
=yes
9556 LDFLAGS
="$save_LDFLAGS"
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9560 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9562 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9565 lt_prog_compiler_static
=
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9575 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9576 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9577 $as_echo_n "(cached) " >&6
9579 lt_cv_prog_compiler_c_o
=no
9580 $RM -r conftest
2>/dev
/null
9584 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9586 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9587 # Insert the option either (1) after the last *FLAGS variable, or
9588 # (2) before a word containing "conftest.", or (3) at the end.
9589 # Note that $ac_compile itself does not contain backslashes and begins
9590 # with a dollar sign (not a hyphen), so the echo should work correctly.
9591 lt_compile
=`echo "$ac_compile" | $SED \
9592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9593 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9594 -e 's:$: $lt_compiler_flag:'`
9595 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9596 (eval "$lt_compile" 2>out
/conftest.err
)
9598 cat out
/conftest.err
>&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9602 # The compiler can only warn and ignore the option if not recognized
9603 # So say no if there are warnings
9604 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9605 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9606 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9607 lt_cv_prog_compiler_c_o
=yes
9612 # SGI C++ compiler will create directory out/ii_files/ for
9613 # template instantiation
9614 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9615 $RM out
/* && rmdir out
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9622 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9630 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9631 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9632 $as_echo_n "(cached) " >&6
9634 lt_cv_prog_compiler_c_o
=no
9635 $RM -r conftest
2>/dev
/null
9639 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9641 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9642 # Insert the option either (1) after the last *FLAGS variable, or
9643 # (2) before a word containing "conftest.", or (3) at the end.
9644 # Note that $ac_compile itself does not contain backslashes and begins
9645 # with a dollar sign (not a hyphen), so the echo should work correctly.
9646 lt_compile
=`echo "$ac_compile" | $SED \
9647 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9648 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9649 -e 's:$: $lt_compiler_flag:'`
9650 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9651 (eval "$lt_compile" 2>out
/conftest.err
)
9653 cat out
/conftest.err
>&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9657 # The compiler can only warn and ignore the option if not recognized
9658 # So say no if there are warnings
9659 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9660 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9661 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9662 lt_cv_prog_compiler_c_o
=yes
9667 # SGI C++ compiler will create directory out/ii_files/ for
9668 # template instantiation
9669 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9670 $RM out
/* && rmdir out
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9677 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9682 hard_links
="nottested"
9683 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9684 # do not overwrite the value of need_locks provided by the user
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9686 $as_echo_n "checking if we can lock with hard links... " >&6; }
9689 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9691 ln conftest.a conftest.b
2>&5 || hard_links
=no
9692 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9694 $as_echo "$hard_links" >&6; }
9695 if test "$hard_links" = no
; then
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9697 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9710 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9713 allow_undefined_flag
=
9714 always_export_symbols
=no
9716 archive_expsym_cmds
=
9717 compiler_needs_object
=no
9718 enable_shared_with_static_runtimes
=no
9719 export_dynamic_flag_spec
=
9720 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9721 hardcode_automatic
=no
9723 hardcode_direct_absolute
=no
9724 hardcode_libdir_flag_spec
=
9725 hardcode_libdir_separator
=
9727 hardcode_shlibpath_var
=unsupported
9729 link_all_deplibs
=unknown
9732 old_archive_from_new_cmds
=
9733 old_archive_from_expsyms_cmds
=
9734 thread_safe_flag_spec
=
9735 whole_archive_flag_spec
=
9736 # include_expsyms should be a list of space-separated symbols to be *always*
9737 # included in the symbol list
9739 # exclude_expsyms can be an extended regexp of symbols to exclude
9740 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9741 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9742 # as well as any symbol that contains `d'.
9743 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9744 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9745 # platforms (ab)use it in PIC code, but their linkers get confused if
9746 # the symbol is explicitly referenced. Since portable code cannot
9747 # rely on this symbol name, it's probably fine to never include it in
9748 # preloaded symbol tables.
9749 # Exclude shared library initialization/finalization symbols.
9750 extract_expsyms_cmds
=
9753 cygwin
* | mingw
* | pw32
* | cegcc
*)
9754 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9755 # When not using gcc, we currently assume that we are using
9756 # Microsoft Visual C++.
9757 if test "$GCC" != yes; then
9762 # we just hope/assume this is gcc and not c89 (= MSVC++)
9772 # On some targets, GNU ld is compatible enough with the native linker
9773 # that we're better off using the native interface for both.
9774 lt_use_gnu_ld_interface
=no
9775 if test "$with_gnu_ld" = yes; then
9778 # The AIX port of GNU ld has always aspired to compatibility
9779 # with the native linker. However, as the warning in the GNU ld
9780 # block says, versions before 2.19.5* couldn't really create working
9781 # shared libraries, regardless of the interface used.
9782 case `$LD -v 2>&1` in
9783 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9784 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9785 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9787 lt_use_gnu_ld_interface
=yes
9792 lt_use_gnu_ld_interface
=yes
9797 if test "$lt_use_gnu_ld_interface" = yes; then
9798 # If archive_cmds runs LD, not CC, wlarc should be empty
9801 # Set some defaults for GNU ld with shared library support. These
9802 # are reset later if shared libraries are not supported. Putting them
9803 # here allows them to be overridden if necessary.
9804 runpath_var
=LD_RUN_PATH
9805 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9806 export_dynamic_flag_spec
='${wl}--export-dynamic'
9807 # ancient GNU ld didn't support --whole-archive et. al.
9808 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9809 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9811 whole_archive_flag_spec
=
9813 supports_anon_versioning
=no
9814 case `$LD -v 2>&1` in
9815 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9816 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9817 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9818 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9819 *\
2.11.
*) ;; # other 2.11 versions
9820 *) supports_anon_versioning
=yes ;;
9823 # See if GNU ld supports shared libraries.
9826 # On AIX/PPC, the GNU linker is very broken
9827 if test "$host_cpu" != ia64
; then
9831 *** Warning: the GNU linker, at least up to release 2.19, is reported
9832 *** to be unable to reliably create shared libraries on AIX.
9833 *** Therefore, libtool is disabling shared libraries support. If you
9834 *** really care for shared libraries, you may want to install binutils
9835 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9836 *** You will then need to restart the configuration process.
9845 # see comment about AmigaOS4 .so support
9846 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9847 archive_expsym_cmds
=''
9850 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)'
9851 hardcode_libdir_flag_spec
='-L$libdir'
9852 hardcode_minus_L
=yes
9858 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9859 allow_undefined_flag
=unsupported
9860 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9861 # support --undefined. This deserves some investigation. FIXME
9862 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9868 cygwin
* | mingw
* | pw32
* | cegcc
*)
9869 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9870 # as there is no search path for DLLs.
9871 hardcode_libdir_flag_spec
='-L$libdir'
9872 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9873 allow_undefined_flag
=unsupported
9874 always_export_symbols
=no
9875 enable_shared_with_static_runtimes
=yes
9876 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'
9877 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9879 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9880 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9881 # If the export-symbols file already is a .def file (1st line
9882 # is EXPORTS), use it as is; otherwise, prepend...
9883 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9884 cp $export_symbols $output_objdir/$soname.def;
9886 echo EXPORTS > $output_objdir/$soname.def;
9887 cat $export_symbols >> $output_objdir/$soname.def;
9889 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9896 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9897 link_all_deplibs
=yes
9902 hardcode_shlibpath_var
=no
9903 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9904 export_dynamic_flag_spec
='${wl}-E'
9905 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9906 # Instead, shared libraries are loaded at an image base (0x10000000 by
9907 # default) and relocated if they conflict, which is a slow very memory
9908 # consuming and fragmenting process. To avoid this, we pick a random,
9909 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9910 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9911 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9912 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'
9915 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9917 if test "$host_os" = linux
-dietlibc; then
9918 case $cc_basename in
9919 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9922 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9923 && test "$tmp_diet" = no
9925 tmp_addflag
=' $pic_flag'
9926 tmp_sharedflag
='-shared'
9927 case $cc_basename,$host_cpu in
9928 pgcc
*) # Portland Group C compiler
9929 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'
9930 tmp_addflag
=' $pic_flag'
9932 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9933 # Portland Group f77 and f90 compilers
9934 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'
9935 tmp_addflag
=' $pic_flag -Mnomain' ;;
9936 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9937 tmp_addflag
=' -i_dynamic' ;;
9938 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9939 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9940 ifc
* | ifort
*) # Intel Fortran compiler
9941 tmp_addflag
=' -nofor_main' ;;
9942 lf95
*) # Lahey Fortran 8.1
9943 whole_archive_flag_spec
=
9944 tmp_sharedflag
='--shared' ;;
9945 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9946 tmp_sharedflag
='-qmkshrobj'
9948 nvcc
*) # Cuda Compiler Driver 2.2
9949 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'
9950 compiler_needs_object
=yes
9953 case `$CC -V 2>&1 | sed 5q` in
9954 *Sun\ C
*) # Sun C 5.9
9955 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'
9956 compiler_needs_object
=yes
9957 tmp_sharedflag
='-G' ;;
9958 *Sun\ F
*) # Sun Fortran 8.3
9959 tmp_sharedflag
='-G' ;;
9961 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9963 if test "x$supports_anon_versioning" = xyes
; then
9964 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9965 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9966 echo "local: *; };" >> $output_objdir/$libname.ver~
9967 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9970 case $cc_basename in
9971 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9972 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9973 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9974 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9975 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9976 if test "x$supports_anon_versioning" = xyes
; then
9977 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9978 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9979 echo "local: *; };" >> $output_objdir/$libname.ver~
9980 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9990 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9991 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9994 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9995 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10000 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10004 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10005 *** create shared libraries on Solaris systems. Therefore, libtool
10006 *** is disabling shared libraries support. We urge you to upgrade GNU
10007 *** binutils to release 2.9.1 or newer. Another option is to modify
10008 *** your PATH or compiler configuration so that the native linker is
10009 *** used, and then restart.
10012 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10013 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10014 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10020 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10021 case `$LD -v 2>&1` in
10022 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10026 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10027 *** reliably create shared libraries on SCO systems. Therefore, libtool
10028 *** is disabling shared libraries support. We urge you to upgrade GNU
10029 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10030 *** your PATH or compiler configuration so that the native linker is
10031 *** used, and then restart.
10036 # For security reasons, it is highly recommended that you always
10037 # use absolute paths for naming shared libraries, and exclude the
10038 # DT_RUNPATH tag from executables and libraries. But doing so
10039 # requires that you compile everything twice, which is a pain.
10040 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10041 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10042 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10043 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10052 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10054 hardcode_direct
=yes
10055 hardcode_shlibpath_var
=no
10059 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10060 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10061 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10068 if test "$ld_shlibs" = no
; then
10070 hardcode_libdir_flag_spec
=
10071 export_dynamic_flag_spec
=
10072 whole_archive_flag_spec
=
10075 # PORTME fill in a description of your system's linker (not GNU ld)
10078 allow_undefined_flag
=unsupported
10079 always_export_symbols
=yes
10080 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'
10081 # Note: this linker hardcodes the directories in LIBPATH if there
10082 # are no directories specified by -L.
10083 hardcode_minus_L
=yes
10084 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10085 # Neither direct hardcoding nor static linking is supported with a
10087 hardcode_direct
=unsupported
10092 if test "$host_cpu" = ia64
; then
10093 # On IA64, the linker does run time linking by default, so we don't
10094 # have to do anything special.
10095 aix_use_runtimelinking
=no
10096 exp_sym_flag
='-Bexport'
10099 # If we're using GNU nm, then we don't want the "-C" option.
10100 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10101 # Also, AIX nm treats weak defined symbols like other global
10102 # defined symbols, whereas GNU nm marks them as "W".
10103 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10104 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'
10106 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'
10108 aix_use_runtimelinking
=no
10110 # Test if we are trying to use run time linking or normal
10111 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10112 # need to do runtime linking.
10113 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10114 for ld_flag
in $LDFLAGS; do
10115 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10116 aix_use_runtimelinking
=yes
10123 exp_sym_flag
='-bexport'
10124 no_entry_flag
='-bnoentry'
10127 # When large executables or shared objects are built, AIX ld can
10128 # have problems creating the table of contents. If linking a library
10129 # or program results in "error TOC overflow" add -mminimal-toc to
10130 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10131 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10134 hardcode_direct
=yes
10135 hardcode_direct_absolute
=yes
10136 hardcode_libdir_separator
=':'
10137 link_all_deplibs
=yes
10138 file_list_spec
='${wl}-f,'
10140 if test "$GCC" = yes; then
10141 case $host_os in aix4.
[012]|aix4.
[012].
*)
10142 # We only want to do this on AIX 4.2 and lower, the check
10143 # below for broken collect2 doesn't work under 4.3+
10144 collect2name
=`${CC} -print-prog-name=collect2`
10145 if test -f "$collect2name" &&
10146 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10148 # We have reworked collect2
10151 # We have old collect2
10152 hardcode_direct
=unsupported
10153 # It fails to find uninstalled libraries when the uninstalled
10154 # path is not listed in the libpath. Setting hardcode_minus_L
10155 # to unsupported forces relinking
10156 hardcode_minus_L
=yes
10157 hardcode_libdir_flag_spec
='-L$libdir'
10158 hardcode_libdir_separator
=
10162 shared_flag
='-shared'
10163 if test "$aix_use_runtimelinking" = yes; then
10164 shared_flag
="$shared_flag "'${wl}-G'
10168 if test "$host_cpu" = ia64
; then
10169 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10170 # chokes on -Wl,-G. The following line is correct:
10173 if test "$aix_use_runtimelinking" = yes; then
10174 shared_flag
='${wl}-G'
10176 shared_flag
='${wl}-bM:SRE'
10181 export_dynamic_flag_spec
='${wl}-bexpall'
10182 # It seems that -bexpall does not export symbols beginning with
10183 # underscore (_), so it is better to generate a list of symbols to export.
10184 always_export_symbols
=yes
10185 if test "$aix_use_runtimelinking" = yes; then
10186 # Warning - without using the other runtime loading flags (-brtl),
10187 # -berok will link without error, but may produce a broken library.
10188 allow_undefined_flag
='-berok'
10189 # Determine the default libpath from the value encoded in an
10190 # empty executable.
10191 if test "${lt_cv_aix_libpath+set}" = set; then
10192 aix_libpath
=$lt_cv_aix_libpath
10194 if ${lt_cv_aix_libpath_+:} false
; then :
10195 $as_echo_n "(cached) " >&6
10197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10208 if ac_fn_c_try_link
"$LINENO"; then :
10210 lt_aix_libpath_sed
='
10211 /Import File Strings/,/^$/ {
10213 s/^0 *\([^ ]*\) *$/\1/
10217 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10218 # Check for a 64-bit object if we didn't find anything.
10219 if test -z "$lt_cv_aix_libpath_"; then
10220 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10223 rm -f core conftest.err conftest.
$ac_objext \
10224 conftest
$ac_exeext conftest.
$ac_ext
10225 if test -z "$lt_cv_aix_libpath_"; then
10226 lt_cv_aix_libpath_
="/usr/lib:/lib"
10231 aix_libpath
=$lt_cv_aix_libpath_
10234 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10235 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"
10237 if test "$host_cpu" = ia64
; then
10238 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10239 allow_undefined_flag
="-z nodefs"
10240 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"
10242 # Determine the default libpath from the value encoded in an
10243 # empty executable.
10244 if test "${lt_cv_aix_libpath+set}" = set; then
10245 aix_libpath
=$lt_cv_aix_libpath
10247 if ${lt_cv_aix_libpath_+:} false
; then :
10248 $as_echo_n "(cached) " >&6
10250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10251 /* end confdefs.h. */
10261 if ac_fn_c_try_link
"$LINENO"; then :
10263 lt_aix_libpath_sed
='
10264 /Import File Strings/,/^$/ {
10266 s/^0 *\([^ ]*\) *$/\1/
10270 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10271 # Check for a 64-bit object if we didn't find anything.
10272 if test -z "$lt_cv_aix_libpath_"; then
10273 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10276 rm -f core conftest.err conftest.
$ac_objext \
10277 conftest
$ac_exeext conftest.
$ac_ext
10278 if test -z "$lt_cv_aix_libpath_"; then
10279 lt_cv_aix_libpath_
="/usr/lib:/lib"
10284 aix_libpath
=$lt_cv_aix_libpath_
10287 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10288 # Warning - without using the other run time loading flags,
10289 # -berok will link without error, but may produce a broken library.
10290 no_undefined_flag
=' ${wl}-bernotok'
10291 allow_undefined_flag
=' ${wl}-berok'
10292 if test "$with_gnu_ld" = yes; then
10293 # We only use this code for GNU lds that support --whole-archive.
10294 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10296 # Exported symbols can be pulled into shared objects from archives
10297 whole_archive_flag_spec
='$convenience'
10299 archive_cmds_need_lc
=yes
10300 # This is similar to how AIX traditionally builds its shared libraries.
10301 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'
10309 # see comment about AmigaOS4 .so support
10310 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10311 archive_expsym_cmds
=''
10314 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)'
10315 hardcode_libdir_flag_spec
='-L$libdir'
10316 hardcode_minus_L
=yes
10322 export_dynamic_flag_spec
=-rdynamic
10325 cygwin
* | mingw
* | pw32
* | cegcc
*)
10326 # When not using gcc, we currently assume that we are using
10327 # Microsoft Visual C++.
10328 # hardcode_libdir_flag_spec is actually meaningless, as there is
10329 # no search path for DLLs.
10330 case $cc_basename in
10333 hardcode_libdir_flag_spec
=' '
10334 allow_undefined_flag
=unsupported
10335 always_export_symbols
=yes
10337 # Tell ltmain to make .lib files, not .a files.
10339 # Tell ltmain to make .dll files, not .so files.
10341 # FIXME: Setting linknames here is a bad hack.
10342 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10343 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10344 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10346 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10348 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10350 # The linker will not automatically build a static lib if we build a DLL.
10351 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10352 enable_shared_with_static_runtimes
=yes
10353 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10354 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10356 old_postinstall_cmds
='chmod 644 $oldlib'
10357 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10358 lt_tool_outputfile="@TOOL_OUTPUT@"~
10359 case $lt_outputfile in
10362 lt_outputfile="$lt_outputfile.exe"
10363 lt_tool_outputfile="$lt_tool_outputfile.exe"
10366 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10367 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10368 $RM "$lt_outputfile.manifest";
10372 # Assume MSVC wrapper
10373 hardcode_libdir_flag_spec
=' '
10374 allow_undefined_flag
=unsupported
10375 # Tell ltmain to make .lib files, not .a files.
10377 # Tell ltmain to make .dll files, not .so files.
10379 # FIXME: Setting linknames here is a bad hack.
10380 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10381 # The linker will automatically build a .lib file if we build a DLL.
10382 old_archive_from_new_cmds
='true'
10383 # FIXME: Should let the user specify the lib program.
10384 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10385 enable_shared_with_static_runtimes
=yes
10390 darwin
* | rhapsody
*)
10393 archive_cmds_need_lc
=no
10395 hardcode_automatic
=yes
10396 hardcode_shlibpath_var
=unsupported
10397 if test "$lt_cv_ld_force_load" = "yes"; then
10398 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\"`'
10401 whole_archive_flag_spec
=''
10403 link_all_deplibs
=yes
10404 allow_undefined_flag
="$_lt_dar_allow_undefined"
10405 case $cc_basename in
10406 ifort
*) _lt_dar_can_shared
=yes ;;
10407 *) _lt_dar_can_shared
=$GCC ;;
10409 if test "$_lt_dar_can_shared" = "yes"; then
10410 output_verbose_link_cmd
=func_echo_all
10411 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10412 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10413 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}"
10414 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}"
10423 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10424 hardcode_libdir_flag_spec
='-L$libdir'
10425 hardcode_shlibpath_var
=no
10428 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10429 # support. Future versions do this automatically, but an explicit c++rt0.o
10430 # does not break anything, and helps significantly (at the cost of a little
10433 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10434 hardcode_libdir_flag_spec
='-R$libdir'
10435 hardcode_direct
=yes
10436 hardcode_shlibpath_var
=no
10439 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10441 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10442 hardcode_direct
=yes
10443 hardcode_minus_L
=yes
10444 hardcode_shlibpath_var
=no
10447 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10448 freebsd
* | dragonfly
*)
10449 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10450 hardcode_libdir_flag_spec
='-R$libdir'
10451 hardcode_direct
=yes
10452 hardcode_shlibpath_var
=no
10456 if test "$GCC" = yes; then
10457 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'
10459 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'
10461 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10462 hardcode_libdir_separator
=:
10463 hardcode_direct
=yes
10465 # hardcode_minus_L: Not really in the search PATH,
10466 # but as the default location of the library.
10467 hardcode_minus_L
=yes
10468 export_dynamic_flag_spec
='${wl}-E'
10472 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10473 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10477 if test "$with_gnu_ld" = no
; then
10478 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10479 hardcode_libdir_separator
=:
10480 hardcode_direct
=yes
10481 hardcode_direct_absolute
=yes
10482 export_dynamic_flag_spec
='${wl}-E'
10483 # hardcode_minus_L: Not really in the search PATH,
10484 # but as the default location of the library.
10485 hardcode_minus_L
=yes
10490 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10493 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10496 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10499 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10505 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10508 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10512 # Older versions of the 11.00 compiler do not understand -b yet
10513 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10515 $as_echo_n "checking if $CC understands -b... " >&6; }
10516 if ${lt_cv_prog_compiler__b+:} false
; then :
10517 $as_echo_n "(cached) " >&6
10519 lt_cv_prog_compiler__b
=no
10520 save_LDFLAGS
="$LDFLAGS"
10521 LDFLAGS
="$LDFLAGS -b"
10522 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10523 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10524 # The linker can only warn and ignore the option if not recognized
10525 # So say no if there are warnings
10526 if test -s conftest.err
; then
10527 # Append any errors to the config.log.
10528 cat conftest.err
1>&5
10529 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10530 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10531 if diff conftest.exp conftest.er2
>/dev
/null
; then
10532 lt_cv_prog_compiler__b
=yes
10535 lt_cv_prog_compiler__b
=yes
10539 LDFLAGS
="$save_LDFLAGS"
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10543 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10545 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10546 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10548 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10554 if test "$with_gnu_ld" = no
; then
10555 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10556 hardcode_libdir_separator
=:
10561 hardcode_shlibpath_var
=no
10564 hardcode_direct
=yes
10565 hardcode_direct_absolute
=yes
10566 export_dynamic_flag_spec
='${wl}-E'
10568 # hardcode_minus_L: Not really in the search PATH,
10569 # but as the default location of the library.
10570 hardcode_minus_L
=yes
10576 irix5
* | irix6
* | nonstopux
*)
10577 if test "$GCC" = yes; then
10578 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'
10579 # Try to use the -exported_symbol ld option, if it does not
10580 # work, assume that -exports_file does not work either and
10581 # implicitly export all symbols.
10582 # This should be the same for all languages, so no per-tag cache variable.
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10584 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10585 if ${lt_cv_irix_exported_symbol+:} false
; then :
10586 $as_echo_n "(cached) " >&6
10588 save_LDFLAGS
="$LDFLAGS"
10589 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10592 int foo (void) { return 0; }
10594 if ac_fn_c_try_link
"$LINENO"; then :
10595 lt_cv_irix_exported_symbol
=yes
10597 lt_cv_irix_exported_symbol
=no
10599 rm -f core conftest.err conftest.
$ac_objext \
10600 conftest
$ac_exeext conftest.
$ac_ext
10601 LDFLAGS
="$save_LDFLAGS"
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10604 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10605 if test "$lt_cv_irix_exported_symbol" = yes; then
10606 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'
10609 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'
10610 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'
10612 archive_cmds_need_lc
='no'
10613 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10614 hardcode_libdir_separator
=:
10616 link_all_deplibs
=yes
10620 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10621 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10623 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10625 hardcode_libdir_flag_spec
='-R$libdir'
10626 hardcode_direct
=yes
10627 hardcode_shlibpath_var
=no
10631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10632 hardcode_direct
=yes
10633 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10634 hardcode_libdir_separator
=:
10635 hardcode_shlibpath_var
=no
10642 if test -f /usr
/libexec
/ld.so
; then
10643 hardcode_direct
=yes
10644 hardcode_shlibpath_var
=no
10645 hardcode_direct_absolute
=yes
10646 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10647 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10648 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10649 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10650 export_dynamic_flag_spec
='${wl}-E'
10653 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10654 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10655 hardcode_libdir_flag_spec
='-R$libdir'
10658 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10659 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10669 hardcode_libdir_flag_spec
='-L$libdir'
10670 hardcode_minus_L
=yes
10671 allow_undefined_flag
=unsupported
10672 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'
10673 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10677 if test "$GCC" = yes; then
10678 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10679 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'
10681 allow_undefined_flag
=' -expect_unresolved \*'
10682 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'
10684 archive_cmds_need_lc
='no'
10685 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10686 hardcode_libdir_separator
=:
10689 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10690 if test "$GCC" = yes; then
10691 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10692 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'
10693 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10695 allow_undefined_flag
=' -expect_unresolved \*'
10696 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'
10697 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~
10698 $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'
10700 # Both c and cxx compiler support -rpath directly
10701 hardcode_libdir_flag_spec
='-rpath $libdir'
10703 archive_cmds_need_lc
='no'
10704 hardcode_libdir_separator
=:
10708 no_undefined_flag
=' -z defs'
10709 if test "$GCC" = yes; then
10711 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10712 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10713 $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'
10715 case `$CC -V 2>&1` in
10718 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10719 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10720 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10724 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10725 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10726 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10730 hardcode_libdir_flag_spec
='-R$libdir'
10731 hardcode_shlibpath_var
=no
10733 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10735 # The compiler driver will combine and reorder linker options,
10736 # but understands `-z linker_flag'. GCC discards it without `$wl',
10737 # but is careful enough not to reorder.
10738 # Supported since Solaris 2.6 (maybe 2.5.1?)
10739 if test "$GCC" = yes; then
10740 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10742 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10746 link_all_deplibs
=yes
10750 if test "x$host_vendor" = xsequent
; then
10751 # Use $CC to link under sequent, because it throws in some extra .o
10752 # files that make .init and .fini sections work.
10753 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10755 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10757 hardcode_libdir_flag_spec
='-L$libdir'
10758 hardcode_direct
=yes
10759 hardcode_minus_L
=yes
10760 hardcode_shlibpath_var
=no
10764 case $host_vendor in
10766 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10767 hardcode_direct
=yes # is this really true???
10770 ## LD is ld it makes a PLAMLIB
10771 ## CC just makes a GrossModule.
10772 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10773 reload_cmds
='$CC -r -o $output$reload_objs'
10777 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10778 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10781 runpath_var
='LD_RUN_PATH'
10782 hardcode_shlibpath_var
=no
10786 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10787 hardcode_shlibpath_var
=no
10788 export_dynamic_flag_spec
='-Bexport'
10792 if test -d /usr
/nec
; then
10793 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10794 hardcode_shlibpath_var
=no
10795 runpath_var
=LD_RUN_PATH
10796 hardcode_runpath_var
=yes
10801 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10802 no_undefined_flag
='${wl}-z,text'
10803 archive_cmds_need_lc
=no
10804 hardcode_shlibpath_var
=no
10805 runpath_var
='LD_RUN_PATH'
10807 if test "$GCC" = yes; then
10808 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10809 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10811 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10812 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10816 sysv5
* | sco3.2v5
* | sco5v6
*)
10817 # Note: We can NOT use -z defs as we might desire, because we do not
10818 # link with -lc, and that would cause any symbols used from libc to
10819 # always be unresolved, which means just about no library would
10820 # ever link correctly. If we're not using GNU ld we use -z text
10821 # though, which does catch some bad symbols but isn't as heavy-handed
10823 no_undefined_flag
='${wl}-z,text'
10824 allow_undefined_flag
='${wl}-z,nodefs'
10825 archive_cmds_need_lc
=no
10826 hardcode_shlibpath_var
=no
10827 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10828 hardcode_libdir_separator
=':'
10829 link_all_deplibs
=yes
10830 export_dynamic_flag_spec
='${wl}-Bexport'
10831 runpath_var
='LD_RUN_PATH'
10833 if test "$GCC" = yes; then
10834 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10835 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10837 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10838 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10843 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10844 hardcode_libdir_flag_spec
='-L$libdir'
10845 hardcode_shlibpath_var
=no
10853 if test x
$host_vendor = xsni
; then
10855 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10856 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10863 $as_echo "$ld_shlibs" >&6; }
10864 test "$ld_shlibs" = no
&& can_build_shared
=no
10866 with_gnu_ld
=$with_gnu_ld
10883 # Do we need to explicitly link libc?
10885 case "x$archive_cmds_need_lc" in
10887 # Assume -lc should be added
10888 archive_cmds_need_lc
=yes
10890 if test "$enable_shared" = yes && test "$GCC" = yes; then
10891 case $archive_cmds in
10893 # FIXME: we may have to deal with multi-command sequences.
10896 # Test whether the compiler implicitly links with -lc since on some
10897 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10898 # to ld, don't add -lc before -lgcc.
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10900 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10901 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10902 $as_echo_n "(cached) " >&6
10905 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10908 (eval $ac_compile) 2>&5
10910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10911 test $ac_status = 0; } 2>conftest.err
; then
10914 libobjs
=conftest.
$ac_objext
10916 wl
=$lt_prog_compiler_wl
10917 pic_flag
=$lt_prog_compiler_pic
10923 lt_save_allow_undefined_flag
=$allow_undefined_flag
10924 allow_undefined_flag
=
10925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10926 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10929 test $ac_status = 0; }
10931 lt_cv_archive_cmds_need_lc
=no
10933 lt_cv_archive_cmds_need_lc
=yes
10935 allow_undefined_flag
=$lt_save_allow_undefined_flag
10937 cat conftest.err
1>&5
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10943 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10944 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11103 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11105 if test "$GCC" = yes; then
11107 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11108 *) lt_awk_arg
="/^libraries:/" ;;
11111 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11112 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11114 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11115 case $lt_search_path_spec in
11117 # if the path contains ";" then we assume it to be the separator
11118 # otherwise default to the standard path separator (i.e. ":") - it is
11119 # assumed that no part of a normal pathname contains ";" but that should
11120 # okay in the real world where ";" in dirpaths is itself problematic.
11121 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11124 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11127 # Ok, now we have the path, separated by spaces, we can step through it
11128 # and add multilib dir if necessary.
11129 lt_tmp_lt_search_path_spec
=
11130 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11131 for lt_sys_path
in $lt_search_path_spec; do
11132 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11133 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11135 test -d "$lt_sys_path" && \
11136 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11139 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11140 BEGIN {RS=" "; FS="/|\n";} {
11143 for (lt_i = NF; lt_i > 0; lt_i--) {
11144 if ($lt_i != "" && $lt_i != ".") {
11145 if ($lt_i == "..") {
11148 if (lt_count == 0) {
11149 lt_foo="/" $lt_i lt_foo;
11156 if (lt_foo != "") { lt_freq[lt_foo]++; }
11157 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11159 # AWK program above erroneously prepends '/' to C:/dos/paths
11162 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11163 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11165 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11167 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11169 library_names_spec
=
11170 libname_spec
='lib$name'
11174 postuninstall_cmds
=
11178 shlibpath_overrides_runpath
=unknown
11180 dynamic_linker
="$host_os ld.so"
11181 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11182 need_lib_prefix
=unknown
11183 hardcode_into_libs
=no
11185 # when you set need_version to no, make sure it does not cause -set_version
11186 # flags to be left without arguments
11187 need_version
=unknown
11191 version_type
=linux
# correct to gnu/linux during the next big refactor
11192 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11193 shlibpath_var
=LIBPATH
11195 # AIX 3 has no versioning support, so we append a major version to the name.
11196 soname_spec
='${libname}${release}${shared_ext}$major'
11200 version_type
=linux
# correct to gnu/linux during the next big refactor
11203 hardcode_into_libs
=yes
11204 if test "$host_cpu" = ia64
; then
11205 # AIX 5 supports IA64
11206 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11207 shlibpath_var
=LD_LIBRARY_PATH
11209 # With GCC up to 2.95.x, collect2 would create an import file
11210 # for dependence libraries. The import file would start with
11211 # the line `#! .'. This would cause the generated library to
11212 # depend on `.', always an invalid library. This was fixed in
11213 # development snapshots of GCC prior to 3.0.
11215 aix4
| aix4.
[01] | aix4.
[01].
*)
11216 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11218 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11221 can_build_shared
=no
11225 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11226 # soname into executable. Probably we can add versioning support to
11227 # collect2, so additional links can be useful in future.
11228 if test "$aix_use_runtimelinking" = yes; then
11229 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11230 # instead of lib<name>.a to let people know that these are not
11231 # typical AIX shared libraries.
11232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11234 # We preserve .a as extension for shared libraries through AIX4.2
11235 # and later when we are not doing run time linking.
11236 library_names_spec
='${libname}${release}.a $libname.a'
11237 soname_spec
='${libname}${release}${shared_ext}$major'
11239 shlibpath_var
=LIBPATH
11246 # Since July 2007 AmigaOS4 officially supports .so libraries.
11247 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11251 library_names_spec
='$libname.ixlibrary $libname.a'
11252 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11253 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'
11259 library_names_spec
='${libname}${shared_ext}'
11260 dynamic_linker
="$host_os ld.so"
11261 shlibpath_var
=LIBRARY_PATH
11265 version_type
=linux
# correct to gnu/linux during the next big refactor
11267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11268 soname_spec
='${libname}${release}${shared_ext}$major'
11269 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11270 shlibpath_var
=LD_LIBRARY_PATH
11271 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11272 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11273 # the default ld.so.conf also contains /usr/contrib/lib and
11274 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11275 # libtool to hard-code these into programs
11278 cygwin
* | mingw
* | pw32
* | cegcc
*)
11279 version_type
=windows
11284 case $GCC,$cc_basename in
11287 library_names_spec
='$libname.dll.a'
11288 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11289 postinstall_cmds
='base_file=`basename \${file}`~
11290 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11291 dldir=$destdir/`dirname \$dlpath`~
11292 test -d \$dldir || mkdir -p \$dldir~
11293 $install_prog $dir/$dlname \$dldir/$dlname~
11294 chmod a+x \$dldir/$dlname~
11295 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11296 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11298 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11299 dlpath=$dir/\$dldll~
11301 shlibpath_overrides_runpath
=yes
11305 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11306 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11308 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11311 # MinGW DLLs use traditional 'lib' prefix
11312 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11315 # pw32 DLLs use 'pw' prefix rather than 'lib'
11316 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11319 dynamic_linker
='Win32 ld.exe'
11324 libname_spec
='$name'
11325 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11326 library_names_spec
='${libname}.dll.lib'
11330 sys_lib_search_path_spec
=
11333 for lt_path
in $LIB
11336 # Let DOS variable expansion print the short 8.3 style file name.
11337 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11338 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11341 # Convert to MSYS style.
11342 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11345 # Convert to unix form, then to dos form, then back to unix form
11346 # but this time dos style (no spaces!) so that the unix form looks
11347 # like /cygdrive/c/PROGRA~1:/cygdr...
11348 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11349 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11350 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11353 sys_lib_search_path_spec
="$LIB"
11354 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11355 # It is most probably a Windows format PATH.
11356 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11358 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11360 # FIXME: find the short name or the path components, as spaces are
11361 # common. (e.g. "Program Files" -> "PROGRA~1")
11365 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11366 postinstall_cmds
='base_file=`basename \${file}`~
11367 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11368 dldir=$destdir/`dirname \$dlpath`~
11369 test -d \$dldir || mkdir -p \$dldir~
11370 $install_prog $dir/$dlname \$dldir/$dlname'
11371 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11372 dlpath=$dir/\$dldll~
11374 shlibpath_overrides_runpath
=yes
11375 dynamic_linker
='Win32 link.exe'
11379 # Assume MSVC wrapper
11380 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11381 dynamic_linker
='Win32 ld.exe'
11384 # FIXME: first we should search . and the directory the executable is in
11388 darwin
* | rhapsody
*)
11389 dynamic_linker
="$host_os dyld"
11390 version_type
=darwin
11393 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11394 soname_spec
='${libname}${release}${major}$shared_ext'
11395 shlibpath_overrides_runpath
=yes
11396 shlibpath_var
=DYLD_LIBRARY_PATH
11397 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11399 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11400 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11404 version_type
=linux
# correct to gnu/linux during the next big refactor
11407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11408 soname_spec
='${libname}${release}${shared_ext}$major'
11409 shlibpath_var
=LD_LIBRARY_PATH
11412 freebsd
* | dragonfly
*)
11413 # DragonFly does not have aout. When/if they implement a new
11414 # versioning mechanism, adjust this.
11415 if test -x /usr
/bin
/objformat
; then
11416 objformat
=`/usr/bin/objformat`
11419 freebsd
[23].
*) objformat
=aout
;;
11420 *) objformat
=elf
;;
11423 version_type
=freebsd
-$objformat
11424 case $version_type in
11426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11431 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11435 shlibpath_var
=LD_LIBRARY_PATH
11438 shlibpath_overrides_runpath
=yes
11440 freebsd3.
[01]* | freebsdelf3.
[01]*)
11441 shlibpath_overrides_runpath
=yes
11442 hardcode_into_libs
=yes
11444 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11445 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11446 shlibpath_overrides_runpath
=no
11447 hardcode_into_libs
=yes
11449 *) # from 4.6 on, and DragonFly
11450 shlibpath_overrides_runpath
=yes
11451 hardcode_into_libs
=yes
11457 version_type
=linux
# correct to gnu/linux during the next big refactor
11460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11461 soname_spec
='${libname}${release}${shared_ext}$major'
11462 shlibpath_var
=LD_LIBRARY_PATH
11463 shlibpath_overrides_runpath
=no
11464 hardcode_into_libs
=yes
11468 version_type
=linux
# correct to gnu/linux during the next big refactor
11471 dynamic_linker
="$host_os runtime_loader"
11472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11473 soname_spec
='${libname}${release}${shared_ext}$major'
11474 shlibpath_var
=LIBRARY_PATH
11475 shlibpath_overrides_runpath
=yes
11476 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11477 hardcode_into_libs
=yes
11480 hpux9
* | hpux10
* | hpux11
*)
11481 # Give a soname corresponding to the major version so that dld.sl refuses to
11482 # link against other versions.
11489 hardcode_into_libs
=yes
11490 dynamic_linker
="$host_os dld.so"
11491 shlibpath_var
=LD_LIBRARY_PATH
11492 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494 soname_spec
='${libname}${release}${shared_ext}$major'
11495 if test "X$HPUX_IA64_MODE" = X32
; then
11496 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11498 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11500 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11504 hardcode_into_libs
=yes
11505 dynamic_linker
="$host_os dld.sl"
11506 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11507 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11509 soname_spec
='${libname}${release}${shared_ext}$major'
11510 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11511 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11515 dynamic_linker
="$host_os dld.sl"
11516 shlibpath_var
=SHLIB_PATH
11517 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11519 soname_spec
='${libname}${release}${shared_ext}$major'
11522 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11523 postinstall_cmds
='chmod 555 $lib'
11524 # or fails outright, so override atomically:
11525 install_override_mode
=555
11529 version_type
=linux
# correct to gnu/linux during the next big refactor
11532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11533 soname_spec
='${libname}${release}${shared_ext}$major'
11534 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11535 shlibpath_var
=LD_LIBRARY_PATH
11536 shlibpath_overrides_runpath
=no
11537 hardcode_into_libs
=yes
11540 irix5
* | irix6
* | nonstopux
*)
11542 nonstopux
*) version_type
=nonstopux
;;
11544 if test "$lt_cv_prog_gnu_ld" = yes; then
11545 version_type
=linux
# correct to gnu/linux during the next big refactor
11552 soname_spec
='${libname}${release}${shared_ext}$major'
11553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11555 irix5
* | nonstopux
*)
11556 libsuff
= shlibsuff
=
11559 case $LD in # libtool.m4 will add one of these switches to LD
11560 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11561 libsuff
= shlibsuff
= libmagic
=32-bit;;
11562 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11563 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11564 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11565 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11566 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11570 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11571 shlibpath_overrides_runpath
=no
11572 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11573 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11574 hardcode_into_libs
=yes
11577 # No shared lib support for Linux oldld, aout, or coff.
11578 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11582 # This must be glibc/ELF.
11583 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11584 version_type
=linux
# correct to gnu/linux during the next big refactor
11587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11588 soname_spec
='${libname}${release}${shared_ext}$major'
11589 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11590 shlibpath_var
=LD_LIBRARY_PATH
11591 shlibpath_overrides_runpath
=no
11593 # Some binutils ld are patched to set DT_RUNPATH
11594 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11595 $as_echo_n "(cached) " >&6
11597 lt_cv_shlibpath_overrides_runpath
=no
11598 save_LDFLAGS
=$LDFLAGS
11599 save_libdir
=$libdir
11600 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11601 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11613 if ac_fn_c_try_link
"$LINENO"; then :
11614 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11615 lt_cv_shlibpath_overrides_runpath
=yes
11618 rm -f core conftest.err conftest.
$ac_objext \
11619 conftest
$ac_exeext conftest.
$ac_ext
11620 LDFLAGS
=$save_LDFLAGS
11621 libdir
=$save_libdir
11625 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11627 # This implies no fast_install, which is unacceptable.
11628 # Some rework will be needed to allow for fast_install
11629 # before this can be enabled.
11630 hardcode_into_libs
=yes
11632 # Append ld.so.conf contents to the search path
11633 if test -f /etc
/ld.so.conf
; then
11634 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' ' '`
11635 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11638 # We used to test for /lib/ld.so.1 and disable shared libraries on
11639 # powerpc, because MkLinux only supported shared libraries with the
11640 # GNU dynamic linker. Since this was broken with cross compilers,
11641 # most powerpc-linux boxes support dynamic linking these days and
11642 # people can always --disable-shared, the test was removed, and we
11643 # assume the GNU/Linux dynamic linker is in use.
11644 dynamic_linker
='GNU/Linux ld.so'
11651 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11653 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11654 dynamic_linker
='NetBSD (a.out) ld.so'
11656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11657 soname_spec
='${libname}${release}${shared_ext}$major'
11658 dynamic_linker
='NetBSD ld.elf_so'
11660 shlibpath_var
=LD_LIBRARY_PATH
11661 shlibpath_overrides_runpath
=yes
11662 hardcode_into_libs
=yes
11666 version_type
=linux
# correct to gnu/linux during the next big refactor
11667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11668 shlibpath_var
=LD_LIBRARY_PATH
11669 shlibpath_overrides_runpath
=yes
11676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11677 soname_spec
='${libname}${release}${shared_ext}$major'
11678 shlibpath_var
=LD_LIBRARY_PATH
11679 shlibpath_overrides_runpath
=no
11680 hardcode_into_libs
=yes
11681 dynamic_linker
='ldqnx.so'
11686 sys_lib_dlsearch_path_spec
="/usr/lib"
11688 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11690 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11691 *) need_version
=no
;;
11693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11694 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11695 shlibpath_var
=LD_LIBRARY_PATH
11696 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11698 openbsd2.
[89] | openbsd2.
[89].
*)
11699 shlibpath_overrides_runpath
=no
11702 shlibpath_overrides_runpath
=yes
11706 shlibpath_overrides_runpath
=yes
11711 libname_spec
='$name'
11714 library_names_spec
='$libname${shared_ext} $libname.a'
11715 dynamic_linker
='OS/2 ld.exe'
11716 shlibpath_var
=LIBPATH
11719 osf3
* | osf4
* | osf5
*)
11723 soname_spec
='${libname}${release}${shared_ext}$major'
11724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11725 shlibpath_var
=LD_LIBRARY_PATH
11726 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11727 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11735 version_type
=linux
# correct to gnu/linux during the next big refactor
11738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11739 soname_spec
='${libname}${release}${shared_ext}$major'
11740 shlibpath_var
=LD_LIBRARY_PATH
11741 shlibpath_overrides_runpath
=yes
11742 hardcode_into_libs
=yes
11743 # ldd complains unless libraries are executable
11744 postinstall_cmds
='chmod +x $lib'
11749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11750 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11751 shlibpath_var
=LD_LIBRARY_PATH
11752 shlibpath_overrides_runpath
=yes
11753 if test "$with_gnu_ld" = yes; then
11760 version_type
=linux
# correct to gnu/linux during the next big refactor
11761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11762 soname_spec
='${libname}${release}${shared_ext}$major'
11763 shlibpath_var
=LD_LIBRARY_PATH
11764 case $host_vendor in
11766 shlibpath_overrides_runpath
=no
11768 runpath_var
=LD_RUN_PATH
11776 shlibpath_overrides_runpath
=no
11777 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11783 if test -d /usr
/nec
;then
11784 version_type
=linux
# correct to gnu/linux during the next big refactor
11785 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11786 soname_spec
='$libname${shared_ext}.$major'
11787 shlibpath_var
=LD_LIBRARY_PATH
11791 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11792 version_type
=freebsd
-elf
11795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11796 soname_spec
='${libname}${release}${shared_ext}$major'
11797 shlibpath_var
=LD_LIBRARY_PATH
11798 shlibpath_overrides_runpath
=yes
11799 hardcode_into_libs
=yes
11800 if test "$with_gnu_ld" = yes; then
11801 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11803 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11806 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11810 sys_lib_dlsearch_path_spec
='/usr/lib'
11814 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11815 version_type
=linux
# correct to gnu/linux during the next big refactor
11818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11819 shlibpath_var
=LD_LIBRARY_PATH
11820 shlibpath_overrides_runpath
=no
11821 hardcode_into_libs
=yes
11825 version_type
=linux
# correct to gnu/linux during the next big refactor
11826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11827 soname_spec
='${libname}${release}${shared_ext}$major'
11828 shlibpath_var
=LD_LIBRARY_PATH
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11836 $as_echo "$dynamic_linker" >&6; }
11837 test "$dynamic_linker" = no
&& can_build_shared
=no
11839 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11840 if test "$GCC" = yes; then
11841 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11844 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11845 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11847 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11848 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11943 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11945 if test -n "$hardcode_libdir_flag_spec" ||
11946 test -n "$runpath_var" ||
11947 test "X$hardcode_automatic" = "Xyes" ; then
11949 # We can hardcode non-existent directories.
11950 if test "$hardcode_direct" != no
&&
11951 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11952 # have to relink, otherwise we might link with an installed library
11953 # when we should be linking with a yet-to-be-installed one
11954 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11955 test "$hardcode_minus_L" != no
; then
11956 # Linking always hardcodes the temporary library directory.
11957 hardcode_action
=relink
11959 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11960 hardcode_action
=immediate
11963 # We cannot hardcode anything, or else we can only hardcode existing
11965 hardcode_action
=unsupported
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11968 $as_echo "$hardcode_action" >&6; }
11970 if test "$hardcode_action" = relink
||
11971 test "$inherit_rpath" = yes; then
11972 # Fast installation is not supported
11973 enable_fast_install
=no
11974 elif test "$shlibpath_overrides_runpath" = yes ||
11975 test "$enable_shared" = no
; then
11976 # Fast installation is not necessary
11977 enable_fast_install
=needless
11985 if test "x$enable_dlopen" != xyes
; then
11986 enable_dlopen
=unknown
11987 enable_dlopen_self
=unknown
11988 enable_dlopen_self_static
=unknown
11995 lt_cv_dlopen
="load_add_on"
11997 lt_cv_dlopen_self
=yes
12000 mingw
* | pw32
* | cegcc
*)
12001 lt_cv_dlopen
="LoadLibrary"
12006 lt_cv_dlopen
="dlopen"
12011 # if libdl is installed we need to link against it
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12013 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12014 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12015 $as_echo_n "(cached) " >&6
12017 ac_check_lib_save_LIBS
=$LIBS
12019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12037 if ac_fn_c_try_link
"$LINENO"; then :
12038 ac_cv_lib_dl_dlopen
=yes
12040 ac_cv_lib_dl_dlopen
=no
12042 rm -f core conftest.err conftest.
$ac_objext \
12043 conftest
$ac_exeext conftest.
$ac_ext
12044 LIBS
=$ac_check_lib_save_LIBS
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12047 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12048 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12049 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12052 lt_cv_dlopen
="dyld"
12054 lt_cv_dlopen_self
=yes
12061 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12062 if test "x$ac_cv_func_shl_load" = xyes
; then :
12063 lt_cv_dlopen
="shl_load"
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12066 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12067 if ${ac_cv_lib_dld_shl_load+:} 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. */
12085 return shl_load ();
12090 if ac_fn_c_try_link
"$LINENO"; then :
12091 ac_cv_lib_dld_shl_load
=yes
12093 ac_cv_lib_dld_shl_load
=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_dld_shl_load" >&5
12100 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12101 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12102 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12104 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12105 if test "x$ac_cv_func_dlopen" = xyes
; then :
12106 lt_cv_dlopen
="dlopen"
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12109 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12110 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12111 $as_echo_n "(cached) " >&6
12113 ac_check_lib_save_LIBS
=$LIBS
12115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12133 if ac_fn_c_try_link
"$LINENO"; then :
12134 ac_cv_lib_dl_dlopen
=yes
12136 ac_cv_lib_dl_dlopen
=no
12138 rm -f core conftest.err conftest.
$ac_objext \
12139 conftest
$ac_exeext conftest.
$ac_ext
12140 LIBS
=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12143 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12144 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12145 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12148 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12149 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12150 $as_echo_n "(cached) " >&6
12152 ac_check_lib_save_LIBS
=$LIBS
12153 LIBS
="-lsvld $LIBS"
12154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12172 if ac_fn_c_try_link
"$LINENO"; then :
12173 ac_cv_lib_svld_dlopen
=yes
12175 ac_cv_lib_svld_dlopen
=no
12177 rm -f core conftest.err conftest.
$ac_objext \
12178 conftest
$ac_exeext conftest.
$ac_ext
12179 LIBS
=$ac_check_lib_save_LIBS
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12182 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12183 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12184 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12187 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12188 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12189 $as_echo_n "(cached) " >&6
12191 ac_check_lib_save_LIBS
=$LIBS
12193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12196 /* Override any GCC internal prototype to avoid an error.
12197 Use char because int might match the return type of a GCC
12198 builtin and then its argument prototype would still apply. */
12206 return dld_link ();
12211 if ac_fn_c_try_link
"$LINENO"; then :
12212 ac_cv_lib_dld_dld_link
=yes
12214 ac_cv_lib_dld_dld_link
=no
12216 rm -f core conftest.err conftest.
$ac_objext \
12217 conftest
$ac_exeext conftest.
$ac_ext
12218 LIBS
=$ac_check_lib_save_LIBS
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12221 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12222 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12223 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12244 if test "x$lt_cv_dlopen" != xno
; then
12250 case $lt_cv_dlopen in
12252 save_CPPFLAGS
="$CPPFLAGS"
12253 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12255 save_LDFLAGS
="$LDFLAGS"
12256 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12259 LIBS
="$lt_cv_dlopen_libs $LIBS"
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12262 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12263 if ${lt_cv_dlopen_self+:} false
; then :
12264 $as_echo_n "(cached) " >&6
12266 if test "$cross_compiling" = yes; then :
12267 lt_cv_dlopen_self
=cross
12269 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12270 lt_status
=$lt_dlunknown
12271 cat > conftest.
$ac_ext <<_LT_EOF
12272 #line $LINENO "configure"
12273 #include "confdefs.h"
12282 # define LT_DLGLOBAL RTLD_GLOBAL
12285 # define LT_DLGLOBAL DL_GLOBAL
12287 # define LT_DLGLOBAL 0
12291 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12292 find out it does not work in some platform. */
12293 #ifndef LT_DLLAZY_OR_NOW
12295 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12298 # define LT_DLLAZY_OR_NOW DL_LAZY
12301 # define LT_DLLAZY_OR_NOW RTLD_NOW
12304 # define LT_DLLAZY_OR_NOW DL_NOW
12306 # define LT_DLLAZY_OR_NOW 0
12313 /* When -fvisbility=hidden is used, assume the code has been annotated
12314 correspondingly for the symbols needed. */
12315 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12316 int fnord () __attribute__((visibility("default")));
12319 int fnord () { return 42; }
12322 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12323 int status = $lt_dlunknown;
12327 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12330 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12331 else puts (dlerror ());
12333 /* dlclose (self); */
12341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12342 (eval $ac_link) 2>&5
12344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12345 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12346 (.
/conftest
; exit; ) >&5 2>/dev
/null
12348 case x
$lt_status in
12349 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12350 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12351 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12354 # compilation failed
12355 lt_cv_dlopen_self
=no
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12363 $as_echo "$lt_cv_dlopen_self" >&6; }
12365 if test "x$lt_cv_dlopen_self" = xyes
; then
12366 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12368 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12369 if ${lt_cv_dlopen_self_static+:} false
; then :
12370 $as_echo_n "(cached) " >&6
12372 if test "$cross_compiling" = yes; then :
12373 lt_cv_dlopen_self_static
=cross
12375 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12376 lt_status
=$lt_dlunknown
12377 cat > conftest.
$ac_ext <<_LT_EOF
12378 #line $LINENO "configure"
12379 #include "confdefs.h"
12388 # define LT_DLGLOBAL RTLD_GLOBAL
12391 # define LT_DLGLOBAL DL_GLOBAL
12393 # define LT_DLGLOBAL 0
12397 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12398 find out it does not work in some platform. */
12399 #ifndef LT_DLLAZY_OR_NOW
12401 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12404 # define LT_DLLAZY_OR_NOW DL_LAZY
12407 # define LT_DLLAZY_OR_NOW RTLD_NOW
12410 # define LT_DLLAZY_OR_NOW DL_NOW
12412 # define LT_DLLAZY_OR_NOW 0
12419 /* When -fvisbility=hidden is used, assume the code has been annotated
12420 correspondingly for the symbols needed. */
12421 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12422 int fnord () __attribute__((visibility("default")));
12425 int fnord () { return 42; }
12428 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12429 int status = $lt_dlunknown;
12433 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12436 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12437 else puts (dlerror ());
12439 /* dlclose (self); */
12447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12448 (eval $ac_link) 2>&5
12450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12451 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12452 (.
/conftest
; exit; ) >&5 2>/dev
/null
12454 case x
$lt_status in
12455 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12456 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12457 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12460 # compilation failed
12461 lt_cv_dlopen_self_static
=no
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12469 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12472 CPPFLAGS
="$save_CPPFLAGS"
12473 LDFLAGS
="$save_LDFLAGS"
12478 case $lt_cv_dlopen_self in
12479 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12480 *) enable_dlopen_self
=unknown
;;
12483 case $lt_cv_dlopen_self_static in
12484 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12485 *) enable_dlopen_self_static
=unknown
;;
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12508 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12509 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12510 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12511 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12513 $as_echo "yes" >&6; }
12515 # FIXME - insert some real tests, host_os isn't really good enough
12518 if test -n "$STRIP" ; then
12519 striplib
="$STRIP -x"
12520 old_striplib
="$STRIP -S"
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12522 $as_echo "yes" >&6; }
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12525 $as_echo "no" >&6; }
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12530 $as_echo "no" >&6; }
12546 # Report which library types will actually be built
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12548 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12550 $as_echo "$can_build_shared" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12553 $as_echo_n "checking whether to build shared libraries... " >&6; }
12554 test "$can_build_shared" = "no" && enable_shared
=no
12556 # On AIX, shared libraries and static libraries use the same namespace, and
12557 # are all built from PIC.
12560 test "$enable_shared" = yes && enable_static
=no
12561 if test -n "$RANLIB"; then
12562 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12563 postinstall_cmds
='$RANLIB $lib'
12568 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12569 test "$enable_shared" = yes && enable_static
=no
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12574 $as_echo "$enable_shared" >&6; }
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12577 $as_echo_n "checking whether to build static libraries... " >&6; }
12578 # Make sure either enable_shared or enable_static is yes.
12579 test "$enable_shared" = yes || enable_static
=yes
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12581 $as_echo "$enable_static" >&6; }
12588 ac_cpp
='$CPP $CPPFLAGS'
12589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12595 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12596 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12597 (test "X$CXX" != "Xg++"))) ; then
12599 ac_cpp
='$CXXCPP $CPPFLAGS'
12600 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12601 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12602 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12604 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12605 if test -z "$CXXCPP"; then
12606 if ${ac_cv_prog_CXXCPP+:} false
; then :
12607 $as_echo_n "(cached) " >&6
12609 # Double quotes because CXXCPP needs to be expanded
12610 for CXXCPP
in "$CXX -E" "/lib/cpp"
12612 ac_preproc_ok
=false
12613 for ac_cxx_preproc_warn_flag
in '' yes
12615 # Use a header file that comes with gcc, so configuring glibc
12616 # with a fresh cross-compiler works.
12617 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12618 # <limits.h> exists even on freestanding compilers.
12619 # On the NeXT, cc -E runs the code through the compiler's parser,
12620 # not just through cpp. "Syntax error" is here to catch this case.
12621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12624 # include <limits.h>
12626 # include <assert.h>
12630 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12633 # Broken: fails on valid input.
12636 rm -f conftest.err conftest.i conftest.
$ac_ext
12638 # OK, works on sane cases. Now check whether nonexistent headers
12639 # can be detected and how.
12640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12642 #include <ac_nonexistent.h>
12644 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12645 # Broken: success on invalid input.
12648 # Passes both tests.
12652 rm -f conftest.err conftest.i conftest.
$ac_ext
12655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12656 rm -f conftest.i conftest.err conftest.
$ac_ext
12657 if $ac_preproc_ok; then :
12662 ac_cv_prog_CXXCPP
=$CXXCPP
12665 CXXCPP
=$ac_cv_prog_CXXCPP
12667 ac_cv_prog_CXXCPP
=$CXXCPP
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12670 $as_echo "$CXXCPP" >&6; }
12671 ac_preproc_ok
=false
12672 for ac_cxx_preproc_warn_flag
in '' yes
12674 # Use a header file that comes with gcc, so configuring glibc
12675 # with a fresh cross-compiler works.
12676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12677 # <limits.h> exists even on freestanding compilers.
12678 # On the NeXT, cc -E runs the code through the compiler's parser,
12679 # not just through cpp. "Syntax error" is here to catch this case.
12680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 # include <limits.h>
12685 # include <assert.h>
12689 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12692 # Broken: fails on valid input.
12695 rm -f conftest.err conftest.i conftest.
$ac_ext
12697 # OK, works on sane cases. Now check whether nonexistent headers
12698 # can be detected and how.
12699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12701 #include <ac_nonexistent.h>
12703 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12704 # Broken: success on invalid input.
12707 # Passes both tests.
12711 rm -f conftest.err conftest.i conftest.
$ac_ext
12714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12715 rm -f conftest.i conftest.err conftest.
$ac_ext
12716 if $ac_preproc_ok; then :
12719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12721 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12722 See \`config.log' for more details" "$LINENO" 5; }
12726 ac_cpp
='$CPP $CPPFLAGS'
12727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12732 _lt_caught_CXX_error
=yes
12736 ac_cpp
='$CXXCPP $CPPFLAGS'
12737 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12738 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12739 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12741 archive_cmds_need_lc_CXX
=no
12742 allow_undefined_flag_CXX
=
12743 always_export_symbols_CXX
=no
12744 archive_expsym_cmds_CXX
=
12745 compiler_needs_object_CXX
=no
12746 export_dynamic_flag_spec_CXX
=
12747 hardcode_direct_CXX
=no
12748 hardcode_direct_absolute_CXX
=no
12749 hardcode_libdir_flag_spec_CXX
=
12750 hardcode_libdir_separator_CXX
=
12751 hardcode_minus_L_CXX
=no
12752 hardcode_shlibpath_var_CXX
=unsupported
12753 hardcode_automatic_CXX
=no
12754 inherit_rpath_CXX
=no
12756 module_expsym_cmds_CXX
=
12757 link_all_deplibs_CXX
=unknown
12758 old_archive_cmds_CXX
=$old_archive_cmds
12759 reload_flag_CXX
=$reload_flag
12760 reload_cmds_CXX
=$reload_cmds
12761 no_undefined_flag_CXX
=
12762 whole_archive_flag_spec_CXX
=
12763 enable_shared_with_static_runtimes_CXX
=no
12765 # Source file extension for C++ test sources.
12768 # Object file extension for compiled C++ test sources.
12772 # No sense in running all these tests if we already determined that
12773 # the CXX compiler isn't working. Some variables (like enable_shared)
12774 # are currently assumed to apply to all compilers on this platform,
12775 # and will be corrupted by setting them based on a non-working compiler.
12776 if test "$_lt_caught_CXX_error" != yes; then
12777 # Code to be used in simple compile tests
12778 lt_simple_compile_test_code
="int some_variable = 0;"
12780 # Code to be used in simple link tests
12781 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12783 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12790 # If no C compiler was specified, use CC.
12793 # If no C compiler flags were specified, use CFLAGS.
12794 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12796 # Allow CC to be a program name with arguments.
12800 # save warnings/boilerplate of simple test code
12801 ac_outfile
=conftest.
$ac_objext
12802 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12803 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12804 _lt_compiler_boilerplate
=`cat conftest.err`
12807 ac_outfile
=conftest.
$ac_objext
12808 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12809 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12810 _lt_linker_boilerplate
=`cat conftest.err`
12814 # Allow CC to be a program name with arguments.
12816 lt_save_CFLAGS
=$CFLAGS
12820 lt_save_with_gnu_ld
=$with_gnu_ld
12821 lt_save_path_LD
=$lt_cv_path_LD
12822 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12823 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12825 $as_unset lt_cv_prog_gnu_ld
12827 if test -n "${lt_cv_path_LDCXX+set}"; then
12828 lt_cv_path_LD
=$lt_cv_path_LDCXX
12830 $as_unset lt_cv_path_LD
12832 test -z "${LDCXX+set}" || LD
=$LDCXX
12837 for cc_temp
in $compiler""; do
12839 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12840 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12845 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12848 if test -n "$compiler"; then
12849 # We don't want -fno-exception when compiling C++ code, so set the
12850 # no_builtin_flag separately
12851 if test "$GXX" = yes; then
12852 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12854 lt_prog_compiler_no_builtin_flag_CXX
=
12857 if test "$GXX" = yes; then
12858 # Set up default GNU C++ configuration
12862 # Check whether --with-gnu-ld was given.
12863 if test "${with_gnu_ld+set}" = set; then :
12864 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12870 if test "$GCC" = yes; then
12871 # Check if gcc -print-prog-name=ld gives a path.
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12873 $as_echo_n "checking for ld used by $CC... " >&6; }
12876 # gcc leaves a trailing carriage return which upsets mingw
12877 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12879 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12882 # Accept absolute paths.
12884 re_direlt
='/[^/][^/]*/\.\./'
12885 # Canonicalize the pathname of ld
12886 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12887 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12888 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12890 test -z "$LD" && LD
="$ac_prog"
12893 # If it fails, then pretend we aren't using GCC.
12897 # If it is relative, then search for the first ld in PATH.
12898 with_gnu_ld
=unknown
12901 elif test "$with_gnu_ld" = yes; then
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12903 $as_echo_n "checking for GNU ld... " >&6; }
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12906 $as_echo_n "checking for non-GNU ld... " >&6; }
12908 if ${lt_cv_path_LD+:} false
; then :
12909 $as_echo_n "(cached) " >&6
12911 if test -z "$LD"; then
12912 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12913 for ac_dir
in $PATH; do
12915 test -z "$ac_dir" && ac_dir
=.
12916 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12917 lt_cv_path_LD
="$ac_dir/$ac_prog"
12918 # Check to see if the program is GNU ld. I'd rather use --version,
12919 # but apparently some variants of GNU ld only accept -v.
12920 # Break only if it was the GNU/non-GNU ld that we prefer.
12921 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12922 *GNU
* | *'with BFD'*)
12923 test "$with_gnu_ld" != no
&& break
12926 test "$with_gnu_ld" != yes && break
12933 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12937 LD
="$lt_cv_path_LD"
12938 if test -n "$LD"; then
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12940 $as_echo "$LD" >&6; }
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12943 $as_echo "no" >&6; }
12945 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12947 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12948 if ${lt_cv_prog_gnu_ld+:} false
; then :
12949 $as_echo_n "(cached) " >&6
12951 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12952 case `$LD -v 2>&1 </dev/null` in
12953 *GNU
* | *'with BFD'*)
12954 lt_cv_prog_gnu_ld
=yes
12957 lt_cv_prog_gnu_ld
=no
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12962 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12963 with_gnu_ld
=$lt_cv_prog_gnu_ld
12971 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12972 # archiving commands below assume that GNU ld is being used.
12973 if test "$with_gnu_ld" = yes; then
12974 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12975 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'
12977 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12978 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12980 # If archive_cmds runs LD, not CC, wlarc should be empty
12981 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12982 # investigate it a little bit more. (MM)
12985 # ancient GNU ld didn't support --whole-archive et. al.
12986 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12987 $GREP 'no-whole-archive' > /dev
/null
; then
12988 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12990 whole_archive_flag_spec_CXX
=
12996 # A generic and very simple default shared library creation
12997 # command for GNU C++ for the case where it uses the native
12998 # linker, instead of GNU ld. If possible, this setting should
12999 # overridden to take advantage of the native linker features on
13000 # the platform it is being used on.
13001 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13004 # Commands to make compiler produce verbose output that lists
13005 # what "hidden" libraries, object files and flags are used when
13006 # linking a shared library.
13007 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13015 # PORTME: fill in a description of your system's C++ link characteristics
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13017 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13021 # FIXME: insert proper C++ library support
13025 if test "$host_cpu" = ia64
; then
13026 # On IA64, the linker does run time linking by default, so we don't
13027 # have to do anything special.
13028 aix_use_runtimelinking
=no
13029 exp_sym_flag
='-Bexport'
13032 aix_use_runtimelinking
=no
13034 # Test if we are trying to use run time linking or normal
13035 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13036 # need to do runtime linking.
13037 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13038 for ld_flag
in $LDFLAGS; do
13041 aix_use_runtimelinking
=yes
13049 exp_sym_flag
='-bexport'
13050 no_entry_flag
='-bnoentry'
13053 # When large executables or shared objects are built, AIX ld can
13054 # have problems creating the table of contents. If linking a library
13055 # or program results in "error TOC overflow" add -mminimal-toc to
13056 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13057 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13059 archive_cmds_CXX
=''
13060 hardcode_direct_CXX
=yes
13061 hardcode_direct_absolute_CXX
=yes
13062 hardcode_libdir_separator_CXX
=':'
13063 link_all_deplibs_CXX
=yes
13064 file_list_spec_CXX
='${wl}-f,'
13066 if test "$GXX" = yes; then
13067 case $host_os in aix4.
[012]|aix4.
[012].
*)
13068 # We only want to do this on AIX 4.2 and lower, the check
13069 # below for broken collect2 doesn't work under 4.3+
13070 collect2name
=`${CC} -print-prog-name=collect2`
13071 if test -f "$collect2name" &&
13072 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13074 # We have reworked collect2
13077 # We have old collect2
13078 hardcode_direct_CXX
=unsupported
13079 # It fails to find uninstalled libraries when the uninstalled
13080 # path is not listed in the libpath. Setting hardcode_minus_L
13081 # to unsupported forces relinking
13082 hardcode_minus_L_CXX
=yes
13083 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13084 hardcode_libdir_separator_CXX
=
13087 shared_flag
='-shared'
13088 if test "$aix_use_runtimelinking" = yes; then
13089 shared_flag
="$shared_flag "'${wl}-G'
13093 if test "$host_cpu" = ia64
; then
13094 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13095 # chokes on -Wl,-G. The following line is correct:
13098 if test "$aix_use_runtimelinking" = yes; then
13099 shared_flag
='${wl}-G'
13101 shared_flag
='${wl}-bM:SRE'
13106 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13107 # It seems that -bexpall does not export symbols beginning with
13108 # underscore (_), so it is better to generate a list of symbols to
13110 always_export_symbols_CXX
=yes
13111 if test "$aix_use_runtimelinking" = yes; then
13112 # Warning - without using the other runtime loading flags (-brtl),
13113 # -berok will link without error, but may produce a broken library.
13114 allow_undefined_flag_CXX
='-berok'
13115 # Determine the default libpath from the value encoded in an empty
13117 if test "${lt_cv_aix_libpath+set}" = set; then
13118 aix_libpath
=$lt_cv_aix_libpath
13120 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13121 $as_echo_n "(cached) " >&6
13123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13134 if ac_fn_cxx_try_link
"$LINENO"; then :
13136 lt_aix_libpath_sed
='
13137 /Import File Strings/,/^$/ {
13139 s/^0 *\([^ ]*\) *$/\1/
13143 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13144 # Check for a 64-bit object if we didn't find anything.
13145 if test -z "$lt_cv_aix_libpath__CXX"; then
13146 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13149 rm -f core conftest.err conftest.
$ac_objext \
13150 conftest
$ac_exeext conftest.
$ac_ext
13151 if test -z "$lt_cv_aix_libpath__CXX"; then
13152 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13157 aix_libpath
=$lt_cv_aix_libpath__CXX
13160 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13162 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"
13164 if test "$host_cpu" = ia64
; then
13165 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13166 allow_undefined_flag_CXX
="-z nodefs"
13167 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"
13169 # Determine the default libpath from the value encoded in an
13170 # empty executable.
13171 if test "${lt_cv_aix_libpath+set}" = set; then
13172 aix_libpath
=$lt_cv_aix_libpath
13174 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13175 $as_echo_n "(cached) " >&6
13177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13188 if ac_fn_cxx_try_link
"$LINENO"; then :
13190 lt_aix_libpath_sed
='
13191 /Import File Strings/,/^$/ {
13193 s/^0 *\([^ ]*\) *$/\1/
13197 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13198 # Check for a 64-bit object if we didn't find anything.
13199 if test -z "$lt_cv_aix_libpath__CXX"; then
13200 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13203 rm -f core conftest.err conftest.
$ac_objext \
13204 conftest
$ac_exeext conftest.
$ac_ext
13205 if test -z "$lt_cv_aix_libpath__CXX"; then
13206 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13211 aix_libpath
=$lt_cv_aix_libpath__CXX
13214 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13215 # Warning - without using the other run time loading flags,
13216 # -berok will link without error, but may produce a broken library.
13217 no_undefined_flag_CXX
=' ${wl}-bernotok'
13218 allow_undefined_flag_CXX
=' ${wl}-berok'
13219 if test "$with_gnu_ld" = yes; then
13220 # We only use this code for GNU lds that support --whole-archive.
13221 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13223 # Exported symbols can be pulled into shared objects from archives
13224 whole_archive_flag_spec_CXX
='$convenience'
13226 archive_cmds_need_lc_CXX
=yes
13227 # This is similar to how AIX traditionally builds its shared
13229 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'
13235 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13236 allow_undefined_flag_CXX
=unsupported
13237 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13238 # support --undefined. This deserves some investigation. FIXME
13239 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13246 case $cc_basename in
13248 # FIXME: insert proper C++ library support
13254 cygwin
* | mingw
* | pw32
* | cegcc
*)
13255 case $GXX,$cc_basename in
13258 # hardcode_libdir_flag_spec is actually meaningless, as there is
13259 # no search path for DLLs.
13260 hardcode_libdir_flag_spec_CXX
=' '
13261 allow_undefined_flag_CXX
=unsupported
13262 always_export_symbols_CXX
=yes
13263 file_list_spec_CXX
='@'
13264 # Tell ltmain to make .lib files, not .a files.
13266 # Tell ltmain to make .dll files, not .so files.
13268 # FIXME: Setting linknames here is a bad hack.
13269 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13270 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13271 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13273 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13275 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13277 # The linker will not automatically build a static lib if we build a DLL.
13278 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13279 enable_shared_with_static_runtimes_CXX
=yes
13281 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13282 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13283 lt_tool_outputfile="@TOOL_OUTPUT@"~
13284 case $lt_outputfile in
13287 lt_outputfile="$lt_outputfile.exe"
13288 lt_tool_outputfile="$lt_tool_outputfile.exe"
13291 func_to_tool_file "$lt_outputfile"~
13292 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13293 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13294 $RM "$lt_outputfile.manifest";
13299 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13300 # as there is no search path for DLLs.
13301 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13302 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13303 allow_undefined_flag_CXX
=unsupported
13304 always_export_symbols_CXX
=no
13305 enable_shared_with_static_runtimes_CXX
=yes
13307 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13308 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'
13309 # If the export-symbols file already is a .def file (1st line
13310 # is EXPORTS), use it as is; otherwise, prepend...
13311 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13312 cp $export_symbols $output_objdir/$soname.def;
13314 echo EXPORTS > $output_objdir/$soname.def;
13315 cat $export_symbols >> $output_objdir/$soname.def;
13317 $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'
13324 darwin
* | rhapsody
*)
13327 archive_cmds_need_lc_CXX
=no
13328 hardcode_direct_CXX
=no
13329 hardcode_automatic_CXX
=yes
13330 hardcode_shlibpath_var_CXX
=unsupported
13331 if test "$lt_cv_ld_force_load" = "yes"; then
13332 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\"`'
13335 whole_archive_flag_spec_CXX
=''
13337 link_all_deplibs_CXX
=yes
13338 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13339 case $cc_basename in
13340 ifort
*) _lt_dar_can_shared
=yes ;;
13341 *) _lt_dar_can_shared
=$GCC ;;
13343 if test "$_lt_dar_can_shared" = "yes"; then
13344 output_verbose_link_cmd
=func_echo_all
13345 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}"
13346 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13347 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}"
13348 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}"
13349 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13350 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}"
13351 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}"
13361 case $cc_basename in
13363 # FIXME: insert proper C++ library support
13367 # Green Hills C++ Compiler
13368 # FIXME: insert proper C++ library support
13372 # FIXME: insert proper C++ library support
13379 # C++ shared libraries reported to be fairly broken before
13385 archive_cmds_need_lc_CXX
=no
13388 freebsd
* | dragonfly
*)
13389 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13398 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13399 link_all_deplibs_CXX
=yes
13403 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13404 hardcode_libdir_separator_CXX
=:
13405 export_dynamic_flag_spec_CXX
='${wl}-E'
13406 hardcode_direct_CXX
=yes
13407 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13408 # but as the default
13409 # location of the library.
13411 case $cc_basename in
13413 # FIXME: insert proper C++ library support
13417 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'
13418 # Commands to make compiler produce verbose output that lists
13419 # what "hidden" libraries, object files and flags are used when
13420 # linking a shared library.
13422 # There doesn't appear to be a way to prevent this compiler from
13423 # explicitly linking system object files so we need to strip them
13424 # from the output so that they don't get included in the library
13426 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"'
13429 if test "$GXX" = yes; then
13430 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'
13432 # FIXME: insert proper C++ library support
13440 if test $with_gnu_ld = no
; then
13441 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13442 hardcode_libdir_separator_CXX
=:
13448 export_dynamic_flag_spec_CXX
='${wl}-E'
13454 hardcode_direct_CXX
=no
13455 hardcode_shlibpath_var_CXX
=no
13458 hardcode_direct_CXX
=yes
13459 hardcode_direct_absolute_CXX
=yes
13460 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13461 # but as the default
13462 # location of the library.
13466 case $cc_basename in
13468 # FIXME: insert proper C++ library support
13474 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13477 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13480 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13483 # Commands to make compiler produce verbose output that lists
13484 # what "hidden" libraries, object files and flags are used when
13485 # linking a shared library.
13487 # There doesn't appear to be a way to prevent this compiler from
13488 # explicitly linking system object files so we need to strip them
13489 # from the output so that they don't get included in the library
13491 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"'
13494 if test "$GXX" = yes; then
13495 if test $with_gnu_ld = no
; then
13498 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13501 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13504 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'
13509 # FIXME: insert proper C++ library support
13517 hardcode_direct_CXX
=no
13518 hardcode_shlibpath_var_CXX
=no
13519 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13520 export_dynamic_flag_spec_CXX
='${wl}-E'
13521 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13522 # Instead, shared libraries are loaded at an image base (0x10000000 by
13523 # default) and relocated if they conflict, which is a slow very memory
13524 # consuming and fragmenting process. To avoid this, we pick a random,
13525 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13526 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13527 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'
13528 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'
13531 case $cc_basename in
13534 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'
13536 # Archives containing C++ object files must be created using
13537 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13538 # necessary to make sure instantiated templates are included
13540 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13543 if test "$GXX" = yes; then
13544 if test "$with_gnu_ld" = no
; then
13545 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'
13547 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'
13550 link_all_deplibs_CXX
=yes
13553 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13554 hardcode_libdir_separator_CXX
=:
13555 inherit_rpath_CXX
=yes
13558 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13559 case $cc_basename in
13561 # Kuck and Associates, Inc. (KAI) C++ Compiler
13563 # KCC will only create a shared library if the output file
13564 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13565 # to its proper name (with version) after linking.
13566 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'
13567 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'
13568 # Commands to make compiler produce verbose output that lists
13569 # what "hidden" libraries, object files and flags are used when
13570 # linking a shared library.
13572 # There doesn't appear to be a way to prevent this compiler from
13573 # explicitly linking system object files so we need to strip them
13574 # from the output so that they don't get included in the library
13576 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"'
13578 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13579 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13581 # Archives containing C++ object files must be created using
13582 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13583 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13588 # version 8.0 and above of icpc choke on multiply defined symbols
13589 # if we add $predep_objects and $postdep_objects, however 7.1 and
13590 # earlier do not add the objects themselves.
13591 case `$CC -V 2>&1` in
13593 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13594 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'
13596 *) # Version 8.0 or newer
13599 ia64
*) tmp_idyn
=' -i_dynamic';;
13601 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13602 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'
13605 archive_cmds_need_lc_CXX
=no
13606 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13607 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13608 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13611 # Portland Group C++ compiler
13613 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13614 prelink_cmds_CXX
='tpldir=Template.dir~
13616 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13617 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13618 old_archive_cmds_CXX
='tpldir=Template.dir~
13620 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13621 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13623 archive_cmds_CXX
='tpldir=Template.dir~
13625 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13626 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13627 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13629 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13630 $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'
13632 *) # Version 6 and above use weak symbols
13633 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13634 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'
13638 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13639 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13640 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'
13644 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13645 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'
13647 runpath_var
=LD_RUN_PATH
13648 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13649 hardcode_libdir_separator_CXX
=:
13651 # Commands to make compiler produce verbose output that lists
13652 # what "hidden" libraries, object files and flags are used when
13653 # linking a shared library.
13655 # There doesn't appear to be a way to prevent this compiler from
13656 # explicitly linking system object files so we need to strip them
13657 # from the output so that they don't get included in the library
13659 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'
13661 xl
* | mpixl
* | bgxl
*)
13662 # IBM XL 8.0 on PPC, with GNU ld
13663 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13664 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13665 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13666 if test "x$supports_anon_versioning" = xyes
; then
13667 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13668 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13669 echo "local: *; };" >> $output_objdir/$libname.ver~
13670 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13674 case `$CC -V 2>&1 | sed 5q` in
13677 no_undefined_flag_CXX
=' -zdefs'
13678 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13679 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'
13680 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13681 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'
13682 compiler_needs_object_CXX
=yes
13684 # Not sure whether something based on
13685 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13687 output_verbose_link_cmd
='func_echo_all'
13689 # Archives containing C++ object files must be created using
13690 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13691 # necessary to make sure instantiated templates are included
13693 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13701 # FIXME: insert proper C++ library support
13706 # FIXME: insert proper C++ library support
13711 case $cc_basename in
13713 # FIXME: insert proper C++ library support
13717 # FIXME: insert proper C++ library support
13724 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13725 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13727 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13728 hardcode_direct_CXX
=yes
13729 hardcode_shlibpath_var_CXX
=no
13731 # Workaround some broken pre-1.5 toolchains
13732 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13740 # C++ shared libraries are fairly broken
13745 if test -f /usr
/libexec
/ld.so
; then
13746 hardcode_direct_CXX
=yes
13747 hardcode_shlibpath_var_CXX
=no
13748 hardcode_direct_absolute_CXX
=yes
13749 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13750 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13751 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13752 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13753 export_dynamic_flag_spec_CXX
='${wl}-E'
13754 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13756 output_verbose_link_cmd
=func_echo_all
13762 osf3
* | osf4
* | osf5
*)
13763 case $cc_basename in
13765 # Kuck and Associates, Inc. (KAI) C++ Compiler
13767 # KCC will only create a shared library if the output file
13768 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13769 # to its proper name (with version) after linking.
13770 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'
13772 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13773 hardcode_libdir_separator_CXX
=:
13775 # Archives containing C++ object files must be created using
13776 # the KAI C++ compiler.
13778 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13779 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13783 # Rational C++ 2.4.1
13784 # FIXME: insert proper C++ library support
13790 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13791 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'
13792 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13795 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13796 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'
13797 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13798 echo "-hidden">> $lib.exp~
13799 $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~
13801 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13805 hardcode_libdir_separator_CXX
=:
13807 # Commands to make compiler produce verbose output that lists
13808 # what "hidden" libraries, object files and flags are used when
13809 # linking a shared library.
13811 # There doesn't appear to be a way to prevent this compiler from
13812 # explicitly linking system object files so we need to strip them
13813 # from the output so that they don't get included in the library
13815 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"'
13818 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13819 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13822 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'
13825 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'
13829 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13830 hardcode_libdir_separator_CXX
=:
13832 # Commands to make compiler produce verbose output that lists
13833 # what "hidden" libraries, object files and flags are used when
13834 # linking a shared library.
13835 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13838 # FIXME: insert proper C++ library support
13846 # FIXME: insert proper C++ library support
13851 case $cc_basename in
13854 # FIXME: insert proper C++ library support
13859 # FIXME: insert proper C++ library support
13863 # FIXME: insert proper C++ library support
13870 case $cc_basename in
13872 # Sun C++ 4.2, 5.x and Centerline C++
13873 archive_cmds_need_lc_CXX
=yes
13874 no_undefined_flag_CXX
=' -zdefs'
13875 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13876 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13877 $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'
13879 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13880 hardcode_shlibpath_var_CXX
=no
13882 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13884 # The compiler driver will combine and reorder linker options,
13885 # but understands `-z linker_flag'.
13886 # Supported since Solaris 2.6 (maybe 2.5.1?)
13887 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13890 link_all_deplibs_CXX
=yes
13892 output_verbose_link_cmd
='func_echo_all'
13894 # Archives containing C++ object files must be created using
13895 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13896 # necessary to make sure instantiated templates are included
13898 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13901 # Green Hills C++ Compiler
13902 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13904 # The C++ compiler must be used to create the archive.
13905 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13908 # GNU C++ compiler with Solaris linker
13909 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13910 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13911 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13912 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13913 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13914 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13916 # Commands to make compiler produce verbose output that lists
13917 # what "hidden" libraries, object files and flags are used when
13918 # linking a shared library.
13919 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13921 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13923 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13924 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13925 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13927 # Commands to make compiler produce verbose output that lists
13928 # what "hidden" libraries, object files and flags are used when
13929 # linking a shared library.
13930 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13933 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13935 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13937 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13945 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13946 no_undefined_flag_CXX
='${wl}-z,text'
13947 archive_cmds_need_lc_CXX
=no
13948 hardcode_shlibpath_var_CXX
=no
13949 runpath_var
='LD_RUN_PATH'
13951 case $cc_basename in
13953 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13954 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13957 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13958 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13963 sysv5
* | sco3.2v5
* | sco5v6
*)
13964 # Note: We can NOT use -z defs as we might desire, because we do not
13965 # link with -lc, and that would cause any symbols used from libc to
13966 # always be unresolved, which means just about no library would
13967 # ever link correctly. If we're not using GNU ld we use -z text
13968 # though, which does catch some bad symbols but isn't as heavy-handed
13970 no_undefined_flag_CXX
='${wl}-z,text'
13971 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13972 archive_cmds_need_lc_CXX
=no
13973 hardcode_shlibpath_var_CXX
=no
13974 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13975 hardcode_libdir_separator_CXX
=':'
13976 link_all_deplibs_CXX
=yes
13977 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13978 runpath_var
='LD_RUN_PATH'
13980 case $cc_basename in
13982 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13983 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13984 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13985 '"$old_archive_cmds_CXX"
13986 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13987 '"$reload_cmds_CXX"
13990 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13991 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13997 case $cc_basename in
13999 # NonStop-UX NCC 3.20
14000 # FIXME: insert proper C++ library support
14004 # FIXME: insert proper C++ library support
14011 # FIXME: insert proper C++ library support
14016 # FIXME: insert proper C++ library support
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14022 $as_echo "$ld_shlibs_CXX" >&6; }
14023 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14029 ## There is no encapsulation within the following macros, do not change
14030 ## the running order or otherwise move them around unless you know exactly
14031 ## what you are doing...
14032 # Dependencies to place before and after the object being linked:
14033 predep_objects_CXX
=
14034 postdep_objects_CXX
=
14037 compiler_lib_search_path_CXX
=
14039 cat > conftest.
$ac_ext <<_LT_EOF
14043 Foo (void) { a = 0; }
14050 _lt_libdeps_save_CFLAGS
=$CFLAGS
14051 case "$CC $CFLAGS " in #(
14052 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14053 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14054 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14058 (eval $ac_compile) 2>&5
14060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14061 test $ac_status = 0; }; then
14062 # Parse the compiler output and extract the necessary
14063 # objects, libraries and library flags.
14065 # Sentinel used to keep track of whether or not we are before
14066 # the conftest object file.
14067 pre_test_object_deps_done
=no
14069 for p
in `eval "$output_verbose_link_cmd"`; do
14070 case ${prev}${p} in
14073 # Some compilers place space between "-{L,R}" and the path.
14074 # Remove the space.
14075 if test $p = "-L" ||
14076 test $p = "-R"; then
14081 # Expand the sysroot to ease extracting the directories later.
14082 if test -z "$prev"; then
14084 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14085 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14086 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14090 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14092 if test "$pre_test_object_deps_done" = no
; then
14095 # Internal compiler library paths should come after those
14096 # provided the user. The postdeps already come after the
14097 # user supplied libs so there is no need to process them.
14098 if test -z "$compiler_lib_search_path_CXX"; then
14099 compiler_lib_search_path_CXX
="${prev}${p}"
14101 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14104 # The "-l" case would never come before the object being
14105 # linked, so don't bother handling this case.
14108 if test -z "$postdeps_CXX"; then
14109 postdeps_CXX
="${prev}${p}"
14111 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14117 *.lto.
$objext) ;; # Ignore GCC LTO objects
14119 # This assumes that the test object file only shows up
14120 # once in the compiler output.
14121 if test "$p" = "conftest.$objext"; then
14122 pre_test_object_deps_done
=yes
14126 if test "$pre_test_object_deps_done" = no
; then
14127 if test -z "$predep_objects_CXX"; then
14128 predep_objects_CXX
="$p"
14130 predep_objects_CXX
="$predep_objects_CXX $p"
14133 if test -z "$postdep_objects_CXX"; then
14134 postdep_objects_CXX
="$p"
14136 postdep_objects_CXX
="$postdep_objects_CXX $p"
14141 *) ;; # Ignore the rest.
14149 echo "libtool.m4: error: problem compiling CXX test program"
14152 $RM -f confest.
$objext
14153 CFLAGS
=$_lt_libdeps_save_CFLAGS
14155 # PORTME: override above test on systems where it is broken
14158 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14159 # hack all around it, let's just trust "g++" to DTRT.
14160 predep_objects_CXX
=
14161 postdep_objects_CXX
=
14166 case `$CC -V 2>&1 | sed 5q` in
14170 # The more standards-conforming stlport4 library is
14171 # incompatible with the Cstd library. Avoid specifying
14172 # it if it's in CXXFLAGS. Ignore libCrun as
14173 # -library=stlport4 depends on it.
14174 case " $CXX $CXXFLAGS " in
14175 *" -library=stlport4 "*)
14176 solaris_use_stlport4
=yes
14180 if test "$solaris_use_stlport4" != yes; then
14181 postdeps_CXX
='-library=Cstd -library=Crun'
14188 case $cc_basename in
14190 # The more standards-conforming stlport4 library is
14191 # incompatible with the Cstd library. Avoid specifying
14192 # it if it's in CXXFLAGS. Ignore libCrun as
14193 # -library=stlport4 depends on it.
14194 case " $CXX $CXXFLAGS " in
14195 *" -library=stlport4 "*)
14196 solaris_use_stlport4
=yes
14200 # Adding this requires a known-good setup of shared libraries for
14201 # Sun compiler versions before 5.6, else PIC objects from an old
14202 # archive will be linked into the output, leading to subtle bugs.
14203 if test "$solaris_use_stlport4" != yes; then
14204 postdeps_CXX
='-library=Cstd -library=Crun'
14212 case " $postdeps_CXX " in
14213 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14215 compiler_lib_search_dirs_CXX
=
14216 if test -n "${compiler_lib_search_path_CXX}"; then
14217 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14250 lt_prog_compiler_wl_CXX
=
14251 lt_prog_compiler_pic_CXX
=
14252 lt_prog_compiler_static_CXX
=
14255 # C++ specific cases for pic, static, wl, etc.
14256 if test "$GXX" = yes; then
14257 lt_prog_compiler_wl_CXX
='-Wl,'
14258 lt_prog_compiler_static_CXX
='-static'
14262 # All AIX code is PIC.
14263 if test "$host_cpu" = ia64
; then
14264 # AIX 5 now supports IA64 processor
14265 lt_prog_compiler_static_CXX
='-Bstatic'
14272 # see comment about AmigaOS4 .so support
14273 lt_prog_compiler_pic_CXX
='-fPIC'
14276 # FIXME: we need at least 68020 code to build shared libraries, but
14277 # adding the `-m68020' flag to GCC prevents building anything better,
14279 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14284 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14285 # PIC is the default for these OSes.
14287 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14288 # This hack is so that the source file can tell whether it is being
14289 # built for inclusion in a dll (and should export symbols for example).
14290 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14291 # (--disable-auto-import) libraries
14292 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14294 darwin
* | rhapsody
*)
14295 # PIC is the default on this platform
14296 # Common symbols not allowed in MH_DYLIB files
14297 lt_prog_compiler_pic_CXX
='-fno-common'
14300 # DJGPP does not support shared libraries at all
14301 lt_prog_compiler_pic_CXX
=
14304 # PIC is the default for Haiku.
14305 # The "-static" flag exists, but is broken.
14306 lt_prog_compiler_static_CXX
=
14309 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14310 # Instead, we relocate shared libraries at runtime.
14313 if test -d /usr
/nec
; then
14314 lt_prog_compiler_pic_CXX
=-Kconform_pic
14318 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14319 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14320 # sets the default TLS model and affects inlining.
14325 lt_prog_compiler_pic_CXX
='-fPIC'
14330 # QNX uses GNU C++, but need to define -shared option too, otherwise
14331 # it will coredump.
14332 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14335 lt_prog_compiler_pic_CXX
='-fPIC'
14341 # All AIX code is PIC.
14342 if test "$host_cpu" = ia64
; then
14343 # AIX 5 now supports IA64 processor
14344 lt_prog_compiler_static_CXX
='-Bstatic'
14346 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14350 case $cc_basename in
14352 # Green Hills C++ Compiler
14353 # _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"
14357 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14358 # This hack is so that the source file can tell whether it is being
14359 # built for inclusion in a dll (and should export symbols for example).
14360 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14363 case $cc_basename in
14365 lt_prog_compiler_pic_CXX
='-KPIC'
14368 # Green Hills C++ Compiler
14369 lt_prog_compiler_pic_CXX
='-pic'
14375 freebsd
* | dragonfly
*)
14376 # FreeBSD uses GNU C++
14378 hpux9
* | hpux10
* | hpux11
*)
14379 case $cc_basename in
14381 lt_prog_compiler_wl_CXX
='-Wl,'
14382 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14383 if test "$host_cpu" != ia64
; then
14384 lt_prog_compiler_pic_CXX
='+Z'
14388 lt_prog_compiler_wl_CXX
='-Wl,'
14389 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14395 lt_prog_compiler_pic_CXX
='+Z'
14404 # This is c89, which is MS Visual C++ (no shared libs)
14405 # Anyone wants to do a port?
14407 irix5
* | irix6
* | nonstopux
*)
14408 case $cc_basename in
14410 lt_prog_compiler_wl_CXX
='-Wl,'
14411 lt_prog_compiler_static_CXX
='-non_shared'
14412 # CC pic flag -KPIC is the default.
14418 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14419 case $cc_basename in
14422 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14423 lt_prog_compiler_pic_CXX
='-fPIC'
14426 # old Intel C++ for x86_64 which still supported -KPIC.
14427 lt_prog_compiler_wl_CXX
='-Wl,'
14428 lt_prog_compiler_pic_CXX
='-KPIC'
14429 lt_prog_compiler_static_CXX
='-static'
14432 # Intel C++, used to be incompatible with GCC.
14433 # ICC 10 doesn't accept -KPIC any more.
14434 lt_prog_compiler_wl_CXX
='-Wl,'
14435 lt_prog_compiler_pic_CXX
='-fPIC'
14436 lt_prog_compiler_static_CXX
='-static'
14439 # Portland Group C++ compiler
14440 lt_prog_compiler_wl_CXX
='-Wl,'
14441 lt_prog_compiler_pic_CXX
='-fpic'
14442 lt_prog_compiler_static_CXX
='-Bstatic'
14446 # Make sure the PIC flag is empty. It appears that all Alpha
14447 # Linux and Compaq Tru64 Unix objects are PIC.
14448 lt_prog_compiler_pic_CXX
=
14449 lt_prog_compiler_static_CXX
='-non_shared'
14451 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14452 # IBM XL 8.0, 9.0 on PPC and BlueGene
14453 lt_prog_compiler_wl_CXX
='-Wl,'
14454 lt_prog_compiler_pic_CXX
='-qpic'
14455 lt_prog_compiler_static_CXX
='-qstaticlink'
14458 case `$CC -V 2>&1 | sed 5q` in
14461 lt_prog_compiler_pic_CXX
='-KPIC'
14462 lt_prog_compiler_static_CXX
='-Bstatic'
14463 lt_prog_compiler_wl_CXX
='-Qoption ld '
14474 case $cc_basename in
14476 lt_prog_compiler_pic_CXX
='-W c,exportall'
14485 # QNX uses GNU C++, but need to define -shared option too, otherwise
14486 # it will coredump.
14487 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14489 osf3
* | osf4
* | osf5
*)
14490 case $cc_basename in
14492 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14495 # Rational C++ 2.4.1
14496 lt_prog_compiler_pic_CXX
='-pic'
14499 # Digital/Compaq C++
14500 lt_prog_compiler_wl_CXX
='-Wl,'
14501 # Make sure the PIC flag is empty. It appears that all Alpha
14502 # Linux and Compaq Tru64 Unix objects are PIC.
14503 lt_prog_compiler_pic_CXX
=
14504 lt_prog_compiler_static_CXX
='-non_shared'
14513 case $cc_basename in
14515 # Sun C++ 4.2, 5.x and Centerline C++
14516 lt_prog_compiler_pic_CXX
='-KPIC'
14517 lt_prog_compiler_static_CXX
='-Bstatic'
14518 lt_prog_compiler_wl_CXX
='-Qoption ld '
14521 # Green Hills C++ Compiler
14522 lt_prog_compiler_pic_CXX
='-PIC'
14529 case $cc_basename in
14532 lt_prog_compiler_pic_CXX
='-pic'
14533 lt_prog_compiler_static_CXX
='-Bstatic'
14537 lt_prog_compiler_pic_CXX
='-pic'
14543 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14544 case $cc_basename in
14546 lt_prog_compiler_wl_CXX
='-Wl,'
14547 lt_prog_compiler_pic_CXX
='-KPIC'
14548 lt_prog_compiler_static_CXX
='-Bstatic'
14553 case $cc_basename in
14555 # NonStop-UX NCC 3.20
14556 lt_prog_compiler_pic_CXX
='-KPIC'
14565 lt_prog_compiler_can_build_shared_CXX
=no
14571 # For platforms which do not support PIC, -DPIC is meaningless:
14573 lt_prog_compiler_pic_CXX
=
14576 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14581 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14582 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14583 $as_echo_n "(cached) " >&6
14585 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14588 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14589 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14592 # Check to make sure the PIC flag actually works.
14594 if test -n "$lt_prog_compiler_pic_CXX"; then
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14596 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14597 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14598 $as_echo_n "(cached) " >&6
14600 lt_cv_prog_compiler_pic_works_CXX
=no
14601 ac_outfile
=conftest.
$ac_objext
14602 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14603 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14604 # Insert the option either (1) after the last *FLAGS variable, or
14605 # (2) before a word containing "conftest.", or (3) at the end.
14606 # Note that $ac_compile itself does not contain backslashes and begins
14607 # with a dollar sign (not a hyphen), so the echo should work correctly.
14608 # The option is referenced via a variable to avoid confusing sed.
14609 lt_compile
=`echo "$ac_compile" | $SED \
14610 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14611 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14612 -e 's:$: $lt_compiler_flag:'`
14613 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14614 (eval "$lt_compile" 2>conftest.err
)
14616 cat conftest.err
>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 if (exit $ac_status) && test -s "$ac_outfile"; then
14619 # The compiler can only warn and ignore the option if not recognized
14620 # So say no if there are warnings other than the usual output.
14621 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14622 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14623 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14624 lt_cv_prog_compiler_pic_works_CXX
=yes
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14631 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14633 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14634 case $lt_prog_compiler_pic_CXX in
14636 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14639 lt_prog_compiler_pic_CXX
=
14640 lt_prog_compiler_can_build_shared_CXX
=no
14650 # Check to make sure the static flag actually works.
14652 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14654 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14655 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14656 $as_echo_n "(cached) " >&6
14658 lt_cv_prog_compiler_static_works_CXX
=no
14659 save_LDFLAGS
="$LDFLAGS"
14660 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14661 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14662 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14663 # The linker can only warn and ignore the option if not recognized
14664 # So say no if there are warnings
14665 if test -s conftest.err
; then
14666 # Append any errors to the config.log.
14667 cat conftest.err
1>&5
14668 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14669 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14670 if diff conftest.exp conftest.er2
>/dev
/null
; then
14671 lt_cv_prog_compiler_static_works_CXX
=yes
14674 lt_cv_prog_compiler_static_works_CXX
=yes
14678 LDFLAGS
="$save_LDFLAGS"
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14682 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14684 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14687 lt_prog_compiler_static_CXX
=
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14694 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14695 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14696 $as_echo_n "(cached) " >&6
14698 lt_cv_prog_compiler_c_o_CXX
=no
14699 $RM -r conftest
2>/dev
/null
14703 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14705 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14706 # Insert the option either (1) after the last *FLAGS variable, or
14707 # (2) before a word containing "conftest.", or (3) at the end.
14708 # Note that $ac_compile itself does not contain backslashes and begins
14709 # with a dollar sign (not a hyphen), so the echo should work correctly.
14710 lt_compile
=`echo "$ac_compile" | $SED \
14711 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14712 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14713 -e 's:$: $lt_compiler_flag:'`
14714 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14715 (eval "$lt_compile" 2>out
/conftest.err
)
14717 cat out
/conftest.err
>&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14721 # The compiler can only warn and ignore the option if not recognized
14722 # So say no if there are warnings
14723 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14724 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14725 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14726 lt_cv_prog_compiler_c_o_CXX
=yes
14731 # SGI C++ compiler will create directory out/ii_files/ for
14732 # template instantiation
14733 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14734 $RM out
/* && rmdir out
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14741 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14746 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14747 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14748 $as_echo_n "(cached) " >&6
14750 lt_cv_prog_compiler_c_o_CXX
=no
14751 $RM -r conftest
2>/dev
/null
14755 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14757 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14758 # Insert the option either (1) after the last *FLAGS variable, or
14759 # (2) before a word containing "conftest.", or (3) at the end.
14760 # Note that $ac_compile itself does not contain backslashes and begins
14761 # with a dollar sign (not a hyphen), so the echo should work correctly.
14762 lt_compile
=`echo "$ac_compile" | $SED \
14763 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14764 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14765 -e 's:$: $lt_compiler_flag:'`
14766 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14767 (eval "$lt_compile" 2>out
/conftest.err
)
14769 cat out
/conftest.err
>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14773 # The compiler can only warn and ignore the option if not recognized
14774 # So say no if there are warnings
14775 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14776 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14777 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14778 lt_cv_prog_compiler_c_o_CXX
=yes
14783 # SGI C++ compiler will create directory out/ii_files/ for
14784 # template instantiation
14785 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14786 $RM out
/* && rmdir out
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14793 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14798 hard_links
="nottested"
14799 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14800 # do not overwrite the value of need_locks provided by the user
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14802 $as_echo_n "checking if we can lock with hard links... " >&6; }
14805 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14807 ln conftest.a conftest.b
2>&5 || hard_links
=no
14808 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14810 $as_echo "$hard_links" >&6; }
14811 if test "$hard_links" = no
; then
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14813 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14823 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14825 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14826 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14829 # If we're using GNU nm, then we don't want the "-C" option.
14830 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14831 # Also, AIX nm treats weak defined symbols like other global defined
14832 # symbols, whereas GNU nm marks them as "W".
14833 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14834 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'
14836 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'
14840 export_symbols_cmds_CXX
="$ltdll_cmds"
14842 cygwin
* | mingw
* | cegcc
*)
14843 case $cc_basename in
14845 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14848 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'
14849 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14854 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14859 $as_echo "$ld_shlibs_CXX" >&6; }
14860 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14862 with_gnu_ld_CXX
=$with_gnu_ld
14870 # Do we need to explicitly link libc?
14872 case "x$archive_cmds_need_lc_CXX" in
14874 # Assume -lc should be added
14875 archive_cmds_need_lc_CXX
=yes
14877 if test "$enable_shared" = yes && test "$GCC" = yes; then
14878 case $archive_cmds_CXX in
14880 # FIXME: we may have to deal with multi-command sequences.
14883 # Test whether the compiler implicitly links with -lc since on some
14884 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14885 # to ld, don't add -lc before -lgcc.
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14887 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14888 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14889 $as_echo_n "(cached) " >&6
14892 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14895 (eval $ac_compile) 2>&5
14897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14898 test $ac_status = 0; } 2>conftest.err
; then
14901 libobjs
=conftest.
$ac_objext
14903 wl
=$lt_prog_compiler_wl_CXX
14904 pic_flag
=$lt_prog_compiler_pic_CXX
14910 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14911 allow_undefined_flag_CXX
=
14912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14913 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14916 test $ac_status = 0; }
14918 lt_cv_archive_cmds_need_lc_CXX
=no
14920 lt_cv_archive_cmds_need_lc_CXX
=yes
14922 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14924 cat conftest.err
1>&5
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14930 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14931 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15000 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15002 library_names_spec
=
15003 libname_spec
='lib$name'
15007 postuninstall_cmds
=
15011 shlibpath_overrides_runpath
=unknown
15013 dynamic_linker
="$host_os ld.so"
15014 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15015 need_lib_prefix
=unknown
15016 hardcode_into_libs
=no
15018 # when you set need_version to no, make sure it does not cause -set_version
15019 # flags to be left without arguments
15020 need_version
=unknown
15024 version_type
=linux
# correct to gnu/linux during the next big refactor
15025 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15026 shlibpath_var
=LIBPATH
15028 # AIX 3 has no versioning support, so we append a major version to the name.
15029 soname_spec
='${libname}${release}${shared_ext}$major'
15033 version_type
=linux
# correct to gnu/linux during the next big refactor
15036 hardcode_into_libs
=yes
15037 if test "$host_cpu" = ia64
; then
15038 # AIX 5 supports IA64
15039 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15040 shlibpath_var
=LD_LIBRARY_PATH
15042 # With GCC up to 2.95.x, collect2 would create an import file
15043 # for dependence libraries. The import file would start with
15044 # the line `#! .'. This would cause the generated library to
15045 # depend on `.', always an invalid library. This was fixed in
15046 # development snapshots of GCC prior to 3.0.
15048 aix4
| aix4.
[01] | aix4.
[01].
*)
15049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15051 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15054 can_build_shared
=no
15058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15059 # soname into executable. Probably we can add versioning support to
15060 # collect2, so additional links can be useful in future.
15061 if test "$aix_use_runtimelinking" = yes; then
15062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15063 # instead of lib<name>.a to let people know that these are not
15064 # typical AIX shared libraries.
15065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15067 # We preserve .a as extension for shared libraries through AIX4.2
15068 # and later when we are not doing run time linking.
15069 library_names_spec
='${libname}${release}.a $libname.a'
15070 soname_spec
='${libname}${release}${shared_ext}$major'
15072 shlibpath_var
=LIBPATH
15079 # Since July 2007 AmigaOS4 officially supports .so libraries.
15080 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15084 library_names_spec
='$libname.ixlibrary $libname.a'
15085 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15086 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'
15092 library_names_spec
='${libname}${shared_ext}'
15093 dynamic_linker
="$host_os ld.so"
15094 shlibpath_var
=LIBRARY_PATH
15098 version_type
=linux
# correct to gnu/linux during the next big refactor
15100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15101 soname_spec
='${libname}${release}${shared_ext}$major'
15102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15103 shlibpath_var
=LD_LIBRARY_PATH
15104 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15105 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15106 # the default ld.so.conf also contains /usr/contrib/lib and
15107 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15108 # libtool to hard-code these into programs
15111 cygwin
* | mingw
* | pw32
* | cegcc
*)
15112 version_type
=windows
15117 case $GCC,$cc_basename in
15120 library_names_spec
='$libname.dll.a'
15121 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15122 postinstall_cmds
='base_file=`basename \${file}`~
15123 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15124 dldir=$destdir/`dirname \$dlpath`~
15125 test -d \$dldir || mkdir -p \$dldir~
15126 $install_prog $dir/$dlname \$dldir/$dlname~
15127 chmod a+x \$dldir/$dlname~
15128 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15129 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15131 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15132 dlpath=$dir/\$dldll~
15134 shlibpath_overrides_runpath
=yes
15138 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15139 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15143 # MinGW DLLs use traditional 'lib' prefix
15144 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15147 # pw32 DLLs use 'pw' prefix rather than 'lib'
15148 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15151 dynamic_linker
='Win32 ld.exe'
15156 libname_spec
='$name'
15157 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15158 library_names_spec
='${libname}.dll.lib'
15162 sys_lib_search_path_spec
=
15165 for lt_path
in $LIB
15168 # Let DOS variable expansion print the short 8.3 style file name.
15169 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15170 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15173 # Convert to MSYS style.
15174 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15177 # Convert to unix form, then to dos form, then back to unix form
15178 # but this time dos style (no spaces!) so that the unix form looks
15179 # like /cygdrive/c/PROGRA~1:/cygdr...
15180 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15181 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15182 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15185 sys_lib_search_path_spec
="$LIB"
15186 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15187 # It is most probably a Windows format PATH.
15188 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15190 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15192 # FIXME: find the short name or the path components, as spaces are
15193 # common. (e.g. "Program Files" -> "PROGRA~1")
15197 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15198 postinstall_cmds
='base_file=`basename \${file}`~
15199 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15200 dldir=$destdir/`dirname \$dlpath`~
15201 test -d \$dldir || mkdir -p \$dldir~
15202 $install_prog $dir/$dlname \$dldir/$dlname'
15203 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15204 dlpath=$dir/\$dldll~
15206 shlibpath_overrides_runpath
=yes
15207 dynamic_linker
='Win32 link.exe'
15211 # Assume MSVC wrapper
15212 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15213 dynamic_linker
='Win32 ld.exe'
15216 # FIXME: first we should search . and the directory the executable is in
15220 darwin
* | rhapsody
*)
15221 dynamic_linker
="$host_os dyld"
15222 version_type
=darwin
15225 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15226 soname_spec
='${libname}${release}${major}$shared_ext'
15227 shlibpath_overrides_runpath
=yes
15228 shlibpath_var
=DYLD_LIBRARY_PATH
15229 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15231 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15235 version_type
=linux
# correct to gnu/linux during the next big refactor
15238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15239 soname_spec
='${libname}${release}${shared_ext}$major'
15240 shlibpath_var
=LD_LIBRARY_PATH
15243 freebsd
* | dragonfly
*)
15244 # DragonFly does not have aout. When/if they implement a new
15245 # versioning mechanism, adjust this.
15246 if test -x /usr
/bin
/objformat
; then
15247 objformat
=`/usr/bin/objformat`
15250 freebsd
[23].
*) objformat
=aout
;;
15251 *) objformat
=elf
;;
15254 version_type
=freebsd
-$objformat
15255 case $version_type in
15257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15262 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15266 shlibpath_var
=LD_LIBRARY_PATH
15269 shlibpath_overrides_runpath
=yes
15271 freebsd3.
[01]* | freebsdelf3.
[01]*)
15272 shlibpath_overrides_runpath
=yes
15273 hardcode_into_libs
=yes
15275 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15276 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15277 shlibpath_overrides_runpath
=no
15278 hardcode_into_libs
=yes
15280 *) # from 4.6 on, and DragonFly
15281 shlibpath_overrides_runpath
=yes
15282 hardcode_into_libs
=yes
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
15294 shlibpath_overrides_runpath
=no
15295 hardcode_into_libs
=yes
15299 version_type
=linux
# correct to gnu/linux during the next big refactor
15302 dynamic_linker
="$host_os runtime_loader"
15303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15304 soname_spec
='${libname}${release}${shared_ext}$major'
15305 shlibpath_var
=LIBRARY_PATH
15306 shlibpath_overrides_runpath
=yes
15307 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15308 hardcode_into_libs
=yes
15311 hpux9
* | hpux10
* | hpux11
*)
15312 # Give a soname corresponding to the major version so that dld.sl refuses to
15313 # link against other versions.
15320 hardcode_into_libs
=yes
15321 dynamic_linker
="$host_os dld.so"
15322 shlibpath_var
=LD_LIBRARY_PATH
15323 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15325 soname_spec
='${libname}${release}${shared_ext}$major'
15326 if test "X$HPUX_IA64_MODE" = X32
; then
15327 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15329 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15331 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15335 hardcode_into_libs
=yes
15336 dynamic_linker
="$host_os dld.sl"
15337 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15338 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15340 soname_spec
='${libname}${release}${shared_ext}$major'
15341 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15342 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15346 dynamic_linker
="$host_os dld.sl"
15347 shlibpath_var
=SHLIB_PATH
15348 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15350 soname_spec
='${libname}${release}${shared_ext}$major'
15353 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15354 postinstall_cmds
='chmod 555 $lib'
15355 # or fails outright, so override atomically:
15356 install_override_mode
=555
15360 version_type
=linux
# correct to gnu/linux during the next big refactor
15363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15364 soname_spec
='${libname}${release}${shared_ext}$major'
15365 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15366 shlibpath_var
=LD_LIBRARY_PATH
15367 shlibpath_overrides_runpath
=no
15368 hardcode_into_libs
=yes
15371 irix5
* | irix6
* | nonstopux
*)
15373 nonstopux
*) version_type
=nonstopux
;;
15375 if test "$lt_cv_prog_gnu_ld" = yes; then
15376 version_type
=linux
# correct to gnu/linux during the next big refactor
15383 soname_spec
='${libname}${release}${shared_ext}$major'
15384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15386 irix5
* | nonstopux
*)
15387 libsuff
= shlibsuff
=
15390 case $LD in # libtool.m4 will add one of these switches to LD
15391 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15392 libsuff
= shlibsuff
= libmagic
=32-bit;;
15393 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15394 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15395 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15396 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15397 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15401 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15402 shlibpath_overrides_runpath
=no
15403 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15404 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15405 hardcode_into_libs
=yes
15408 # No shared lib support for Linux oldld, aout, or coff.
15409 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15413 # This must be glibc/ELF.
15414 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15415 version_type
=linux
# correct to gnu/linux during the next big refactor
15418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15419 soname_spec
='${libname}${release}${shared_ext}$major'
15420 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15421 shlibpath_var
=LD_LIBRARY_PATH
15422 shlibpath_overrides_runpath
=no
15424 # Some binutils ld are patched to set DT_RUNPATH
15425 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15426 $as_echo_n "(cached) " >&6
15428 lt_cv_shlibpath_overrides_runpath
=no
15429 save_LDFLAGS
=$LDFLAGS
15430 save_libdir
=$libdir
15431 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15432 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15444 if ac_fn_cxx_try_link
"$LINENO"; then :
15445 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15446 lt_cv_shlibpath_overrides_runpath
=yes
15449 rm -f core conftest.err conftest.
$ac_objext \
15450 conftest
$ac_exeext conftest.
$ac_ext
15451 LDFLAGS
=$save_LDFLAGS
15452 libdir
=$save_libdir
15456 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15458 # This implies no fast_install, which is unacceptable.
15459 # Some rework will be needed to allow for fast_install
15460 # before this can be enabled.
15461 hardcode_into_libs
=yes
15463 # Append ld.so.conf contents to the search path
15464 if test -f /etc
/ld.so.conf
; then
15465 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' ' '`
15466 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15469 # We used to test for /lib/ld.so.1 and disable shared libraries on
15470 # powerpc, because MkLinux only supported shared libraries with the
15471 # GNU dynamic linker. Since this was broken with cross compilers,
15472 # most powerpc-linux boxes support dynamic linking these days and
15473 # people can always --disable-shared, the test was removed, and we
15474 # assume the GNU/Linux dynamic linker is in use.
15475 dynamic_linker
='GNU/Linux ld.so'
15482 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15484 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15485 dynamic_linker
='NetBSD (a.out) ld.so'
15487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15488 soname_spec
='${libname}${release}${shared_ext}$major'
15489 dynamic_linker
='NetBSD ld.elf_so'
15491 shlibpath_var
=LD_LIBRARY_PATH
15492 shlibpath_overrides_runpath
=yes
15493 hardcode_into_libs
=yes
15497 version_type
=linux
# correct to gnu/linux during the next big refactor
15498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15499 shlibpath_var
=LD_LIBRARY_PATH
15500 shlibpath_overrides_runpath
=yes
15507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15508 soname_spec
='${libname}${release}${shared_ext}$major'
15509 shlibpath_var
=LD_LIBRARY_PATH
15510 shlibpath_overrides_runpath
=no
15511 hardcode_into_libs
=yes
15512 dynamic_linker
='ldqnx.so'
15517 sys_lib_dlsearch_path_spec
="/usr/lib"
15519 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15521 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15522 *) need_version
=no
;;
15524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15525 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15526 shlibpath_var
=LD_LIBRARY_PATH
15527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15529 openbsd2.
[89] | openbsd2.
[89].
*)
15530 shlibpath_overrides_runpath
=no
15533 shlibpath_overrides_runpath
=yes
15537 shlibpath_overrides_runpath
=yes
15542 libname_spec
='$name'
15545 library_names_spec
='$libname${shared_ext} $libname.a'
15546 dynamic_linker
='OS/2 ld.exe'
15547 shlibpath_var
=LIBPATH
15550 osf3
* | osf4
* | osf5
*)
15554 soname_spec
='${libname}${release}${shared_ext}$major'
15555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15556 shlibpath_var
=LD_LIBRARY_PATH
15557 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15558 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15566 version_type
=linux
# correct to gnu/linux during the next big refactor
15569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15570 soname_spec
='${libname}${release}${shared_ext}$major'
15571 shlibpath_var
=LD_LIBRARY_PATH
15572 shlibpath_overrides_runpath
=yes
15573 hardcode_into_libs
=yes
15574 # ldd complains unless libraries are executable
15575 postinstall_cmds
='chmod +x $lib'
15580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15581 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15582 shlibpath_var
=LD_LIBRARY_PATH
15583 shlibpath_overrides_runpath
=yes
15584 if test "$with_gnu_ld" = yes; then
15591 version_type
=linux
# correct to gnu/linux during the next big refactor
15592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15593 soname_spec
='${libname}${release}${shared_ext}$major'
15594 shlibpath_var
=LD_LIBRARY_PATH
15595 case $host_vendor in
15597 shlibpath_overrides_runpath
=no
15599 runpath_var
=LD_RUN_PATH
15607 shlibpath_overrides_runpath
=no
15608 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15614 if test -d /usr
/nec
;then
15615 version_type
=linux
# correct to gnu/linux during the next big refactor
15616 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15617 soname_spec
='$libname${shared_ext}.$major'
15618 shlibpath_var
=LD_LIBRARY_PATH
15622 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15623 version_type
=freebsd
-elf
15626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15627 soname_spec
='${libname}${release}${shared_ext}$major'
15628 shlibpath_var
=LD_LIBRARY_PATH
15629 shlibpath_overrides_runpath
=yes
15630 hardcode_into_libs
=yes
15631 if test "$with_gnu_ld" = yes; then
15632 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15634 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15637 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15641 sys_lib_dlsearch_path_spec
='/usr/lib'
15645 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15646 version_type
=linux
# correct to gnu/linux during the next big refactor
15649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15650 shlibpath_var
=LD_LIBRARY_PATH
15651 shlibpath_overrides_runpath
=no
15652 hardcode_into_libs
=yes
15656 version_type
=linux
# correct to gnu/linux during the next big refactor
15657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15658 soname_spec
='${libname}${release}${shared_ext}$major'
15659 shlibpath_var
=LD_LIBRARY_PATH
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15667 $as_echo "$dynamic_linker" >&6; }
15668 test "$dynamic_linker" = no
&& can_build_shared
=no
15670 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15671 if test "$GCC" = yes; then
15672 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15675 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15676 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15678 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15679 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15720 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15721 hardcode_action_CXX
=
15722 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15723 test -n "$runpath_var_CXX" ||
15724 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15726 # We can hardcode non-existent directories.
15727 if test "$hardcode_direct_CXX" != no
&&
15728 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15729 # have to relink, otherwise we might link with an installed library
15730 # when we should be linking with a yet-to-be-installed one
15731 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15732 test "$hardcode_minus_L_CXX" != no
; then
15733 # Linking always hardcodes the temporary library directory.
15734 hardcode_action_CXX
=relink
15736 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15737 hardcode_action_CXX
=immediate
15740 # We cannot hardcode anything, or else we can only hardcode existing
15742 hardcode_action_CXX
=unsupported
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15745 $as_echo "$hardcode_action_CXX" >&6; }
15747 if test "$hardcode_action_CXX" = relink
||
15748 test "$inherit_rpath_CXX" = yes; then
15749 # Fast installation is not supported
15750 enable_fast_install
=no
15751 elif test "$shlibpath_overrides_runpath" = yes ||
15752 test "$enable_shared" = no
; then
15753 # Fast installation is not necessary
15754 enable_fast_install
=needless
15763 fi # test -n "$compiler"
15766 CFLAGS
=$lt_save_CFLAGS
15770 with_gnu_ld
=$lt_save_with_gnu_ld
15771 lt_cv_path_LDCXX
=$lt_cv_path_LD
15772 lt_cv_path_LD
=$lt_save_path_LD
15773 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15774 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15775 fi # test "$_lt_caught_CXX_error" != yes
15778 ac_cpp
='$CPP $CPPFLAGS'
15779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15797 ac_config_commands
="$ac_config_commands libtool"
15802 # Only expand once:
15807 ac_cpp
='$CXXCPP $CPPFLAGS'
15808 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15809 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15810 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15819 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15820 if test -n "$ac_tool_prefix"; then
15821 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15822 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15824 $as_echo_n "checking for $ac_word... " >&6; }
15825 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15826 $as_echo_n "(cached) " >&6
15828 case $PKG_CONFIG in
15830 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15834 for as_dir
in $PATH
15837 test -z "$as_dir" && as_dir
=.
15838 for ac_exec_ext
in '' $ac_executable_extensions; do
15839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15840 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15851 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15852 if test -n "$PKG_CONFIG"; then
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15854 $as_echo "$PKG_CONFIG" >&6; }
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15857 $as_echo "no" >&6; }
15862 if test -z "$ac_cv_path_PKG_CONFIG"; then
15863 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15864 # Extract the first word of "pkg-config", so it can be a program name with args.
15865 set dummy pkg
-config; ac_word
=$2
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15867 $as_echo_n "checking for $ac_word... " >&6; }
15868 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15869 $as_echo_n "(cached) " >&6
15871 case $ac_pt_PKG_CONFIG in
15873 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15877 for as_dir
in $PATH
15880 test -z "$as_dir" && as_dir
=.
15881 for ac_exec_ext
in '' $ac_executable_extensions; do
15882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15883 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15894 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15895 if test -n "$ac_pt_PKG_CONFIG"; then
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15897 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15900 $as_echo "no" >&6; }
15903 if test "x$ac_pt_PKG_CONFIG" = x
; then
15906 case $cross_compiling:$ac_tool_warned in
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15910 ac_tool_warned
=yes ;;
15912 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15915 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15919 if test -n "$PKG_CONFIG"; then
15920 _pkg_min_version
=0.22
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15922 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15923 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15925 $as_echo "yes" >&6; }
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15928 $as_echo "no" >&6; }
15933 # Extract the first word of "git", so it can be a program name with args.
15934 set dummy git
; ac_word
=$2
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15936 $as_echo_n "checking for $ac_word... " >&6; }
15937 if ${ac_cv_path_GIT+:} false
; then :
15938 $as_echo_n "(cached) " >&6
15942 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
15945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15946 for as_dir
in $PATH
15949 test -z "$as_dir" && as_dir
=.
15950 for ac_exec_ext
in '' $ac_executable_extensions; do
15951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15952 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
15953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15963 GIT
=$ac_cv_path_GIT
15964 if test -n "$GIT"; then
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
15966 $as_echo "$GIT" >&6; }
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15969 $as_echo "no" >&6; }
15973 # Extract the first word of "time", so it can be a program name with args.
15974 set dummy
time; ac_word
=$2
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15976 $as_echo_n "checking for $ac_word... " >&6; }
15977 if ${ac_cv_path_TIME+:} false
; then :
15978 $as_echo_n "(cached) " >&6
15982 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
15985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15986 for as_dir
in $PATH
15989 test -z "$as_dir" && as_dir
=.
15990 for ac_exec_ext
in '' $ac_executable_extensions; do
15991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15992 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
15993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16003 TIME
=$ac_cv_path_TIME
16004 if test -n "$TIME"; then
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16006 $as_echo "$TIME" >&6; }
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16009 $as_echo "no" >&6; }
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16019 $as_echo_n "checking for bison >= 2.3... " >&6; }
16020 if test -z "$BISON"; then
16021 ac_path_BISON_found
=false
16022 # Loop through the user's path and test for each of PROGNAME-LIST
16023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16024 for as_dir
in $PATH
16027 test -z "$as_dir" && as_dir
=.
16028 for ac_prog
in bison
; do
16029 for ac_exec_ext
in '' $ac_executable_extensions; do
16030 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16031 as_fn_executable_p
"$ac_path_BISON" || continue
16032 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16033 if ${version:+false} :; then :
16036 as_awk_strverscmp
='
16037 # Use only awk features that work with 7th edition Unix awk (1978).
16038 # My, what an old awk you have, Mr. Solaris!
16040 while (length(v1) && length(v2)) {
16041 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16042 # Normally this is a single character, but if v1 and v2 contain digits,
16043 # compare them as integers and fractions as strverscmp does.
16044 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16045 # Split v1 and v2 into their leading digit string components d1 and d2,
16046 # and advance v1 and v2 past the leading digit strings.
16047 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16048 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16049 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16050 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16053 # Compare two fractions.
16054 while (d1 ~ /^0/ && d2 ~ /^0/) {
16055 d1 = substr(d1, 2); len1--
16056 d2 = substr(d2, 2); len2--
16058 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16059 # The two components differ in length, and the common prefix
16060 # contains only leading zeros. Consider the longer to be less.
16064 # Otherwise, compare as strings.
16069 # A fraction is less than an integer.
16074 # An integer is greater than a fraction.
16077 # Compare two integers.
16083 # The normal case, without worrying about digits.
16084 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16085 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16087 if (d1 < d2) exit 1
16088 if (d1 > d2) exit 2
16090 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16091 # which mishandles some comparisons of empty strings to integers.
16092 if (length(v2)) exit 1
16093 if (length(v1)) exit 2
16098 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16103 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16105 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16111 $ac_path_BISON_found && break 3
16116 if test -z "$ac_cv_path_BISON"; then
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16118 $as_echo "no" >&6; }
16121 ac_cv_path_BISON
=$BISON
16127 BISON
=$ac_cv_path_BISON
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16130 $as_echo "$BISON" >&6; }
16135 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16142 $as_echo "no" >&6; }
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16151 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16152 if test -z "$FLEX"; then
16153 ac_path_FLEX_found
=false
16154 # Loop through the user's path and test for each of PROGNAME-LIST
16155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16156 for as_dir
in $PATH
16159 test -z "$as_dir" && as_dir
=.
16160 for ac_prog
in flex
; do
16161 for ac_exec_ext
in '' $ac_executable_extensions; do
16162 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16163 as_fn_executable_p
"$ac_path_FLEX" || continue
16164 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16165 if ${version:+false} :; then :
16170 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16175 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16177 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16183 $ac_path_FLEX_found && break 3
16188 if test -z "$ac_cv_path_FLEX"; then
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16190 $as_echo "no" >&6; }
16193 ac_cv_path_FLEX
=$FLEX
16199 FLEX
=$ac_cv_path_FLEX
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16202 $as_echo "$FLEX" >&6; }
16207 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16214 $as_echo "no" >&6; }
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16223 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16224 if test -z "$GPERF"; then
16225 ac_path_GPERF_found
=false
16226 # Loop through the user's path and test for each of PROGNAME-LIST
16227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16228 for as_dir
in $PATH
16231 test -z "$as_dir" && as_dir
=.
16232 for ac_prog
in gperf
; do
16233 for ac_exec_ext
in '' $ac_executable_extensions; do
16234 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16235 as_fn_executable_p
"$ac_path_GPERF" || continue
16236 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16237 if ${version:+false} :; then :
16242 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16247 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16249 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16255 $ac_path_GPERF_found && break 3
16260 if test -z "$ac_cv_path_GPERF"; then
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16262 $as_echo "no" >&6; }
16265 ac_cv_path_GPERF
=$GPERF
16271 GPERF
=$ac_cv_path_GPERF
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16274 $as_echo "$GPERF" >&6; }
16279 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16286 $as_echo "no" >&6; }
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16295 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16296 if test -z "$GNUTAR"; then
16297 ac_path_GNUTAR_found
=false
16298 # Loop through the user's path and test for each of PROGNAME-LIST
16299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16300 for as_dir
in $PATH
16303 test -z "$as_dir" && as_dir
=.
16304 for ac_prog
in tar gtar gnutar
; do
16305 for ac_exec_ext
in '' $ac_executable_extensions; do
16306 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16307 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16308 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16309 if ${version:+false} :; then :
16314 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16319 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16321 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16327 $ac_path_GNUTAR_found && break 3
16332 if test -z "$ac_cv_path_GNUTAR"; then
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16334 $as_echo "no" >&6; }
16337 ac_cv_path_GNUTAR
=$GNUTAR
16343 GNUTAR
=$ac_cv_path_GNUTAR
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16346 $as_echo "$GNUTAR" >&6; }
16351 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16358 $as_echo "no" >&6; }
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16365 $as_echo_n "checking bison for %code{}... " >&6; }
16366 echo '%code{}%%_:' >conftest.y
16367 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16369 for element
in Bison24
; do
16371 for x
in $CY_FILTERS; do
16373 acl_save_prefix
="$prefix"
16374 prefix
="$acl_final_prefix"
16375 acl_save_exec_prefix
="$exec_prefix"
16376 exec_prefix
="$acl_final_exec_prefix"
16378 exec_prefix
="$acl_save_exec_prefix"
16379 prefix
="$acl_save_prefix"
16381 if test "X$x" = "X$element"; then
16386 if test -z "$haveit"; then
16387 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16392 $as_echo "yes" >&6; }
16395 for element
in Bison23
; do
16397 for x
in $CY_FILTERS; do
16399 acl_save_prefix
="$prefix"
16400 prefix
="$acl_final_prefix"
16401 acl_save_exec_prefix
="$exec_prefix"
16402 exec_prefix
="$acl_final_exec_prefix"
16404 exec_prefix
="$acl_save_exec_prefix"
16405 prefix
="$acl_save_prefix"
16407 if test "X$x" = "X$element"; then
16412 if test -z "$haveit"; then
16413 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16418 $as_echo "no" >&6; }
16432 if ${CFLAGS+:} false
; then :
16433 case " $CFLAGS " in
16435 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16436 (: CFLAGS already contains
) 2>&5
16438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16439 test $ac_status = 0; }
16442 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16443 (: CFLAGS
="$CFLAGS ") 2>&5
16445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16446 test $ac_status = 0; }
16455 ac_cpp
='$CPP $CPPFLAGS'
16456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16461 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16462 if ${ac_cv_cflags_warn_all+:} false
; then :
16463 $as_echo_n "(cached) " >&6
16465 ac_cv_cflags_warn_all
="no, unknown"
16466 ac_save_CFLAGS
="$CFLAGS"
16467 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
16468 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16470 /* end confdefs.h. */
16480 if ac_fn_c_try_compile
"$LINENO"; then :
16481 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16485 CFLAGS
="$ac_save_CFLAGS"
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16489 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16491 case ".$ac_cv_cflags_warn_all" in
16494 *) if ${CFLAGS+:} false
; then :
16495 case " $CFLAGS " in
16496 *" $ac_cv_cflags_warn_all "*)
16497 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16498 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16501 test $ac_status = 0; }
16504 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16505 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16508 test $ac_status = 0; }
16509 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16513 CFLAGS
="$ac_cv_cflags_warn_all"
16519 ac_cpp
='$CXXCPP $CPPFLAGS'
16520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16526 ac_cpp
='$CXXCPP $CPPFLAGS'
16527 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16528 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16529 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16532 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16533 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16534 $as_echo_n "(cached) " >&6
16536 ac_cv_cxxflags_warn_all
="no, unknown"
16537 ac_save_CXXFLAGS
="$CXXFLAGS"
16538 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
16539 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16551 if ac_fn_cxx_try_compile
"$LINENO"; then :
16552 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16556 CXXFLAGS
="$ac_save_CXXFLAGS"
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16560 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16562 case ".$ac_cv_cxxflags_warn_all" in
16565 *) if ${CXXFLAGS+:} false
; then :
16566 case " $CXXFLAGS " in
16567 *" $ac_cv_cxxflags_warn_all "*)
16568 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16569 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16572 test $ac_status = 0; }
16575 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16576 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16579 test $ac_status = 0; }
16580 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16584 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16590 ac_cpp
='$CXXCPP $CPPFLAGS'
16591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16597 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16598 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16599 $as_echo_n "(cached) " >&6
16601 ac_cv_cxxflags_warn_all
="no, unknown"
16602 ac_save_CXXFLAGS
="$CXXFLAGS"
16603 for ac_arg
in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
16604 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16606 /* end confdefs.h. */
16616 if ac_fn_cxx_try_compile
"$LINENO"; then :
16617 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16621 CXXFLAGS
="$ac_save_CXXFLAGS"
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16625 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16627 case ".$ac_cv_cxxflags_warn_all" in
16630 *) if ${CXXFLAGS+:} false
; then :
16631 case " $CXXFLAGS " in
16632 *" $ac_cv_cxxflags_warn_all "*)
16633 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16634 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16637 test $ac_status = 0; }
16640 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16641 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16644 test $ac_status = 0; }
16645 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16649 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16659 ac_cpp
='$CPP $CPPFLAGS'
16660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
16665 $as_echo_n "checking for cc -Werror... " >&6; }
16669 for element
in -Werror; do
16671 for x
in $CFLAGS; do
16673 acl_save_prefix
="$prefix"
16674 prefix
="$acl_final_prefix"
16675 acl_save_exec_prefix
="$exec_prefix"
16676 exec_prefix
="$acl_final_exec_prefix"
16678 exec_prefix
="$acl_save_exec_prefix"
16679 prefix
="$acl_save_prefix"
16681 if test "X$x" = "X$element"; then
16686 if test -z "$haveit"; then
16687 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16696 if ac_fn_c_try_compile
"$LINENO"; then :
16701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16704 if test "x$cy_good" = x1
; then :
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16706 $as_echo "yes" >&6; }
16708 for element
in -Werror; do
16710 for x
in $CFLAGS; do
16712 acl_save_prefix
="$prefix"
16713 prefix
="$acl_final_prefix"
16714 acl_save_exec_prefix
="$exec_prefix"
16715 exec_prefix
="$acl_final_exec_prefix"
16717 exec_prefix
="$acl_save_exec_prefix"
16718 prefix
="$acl_save_prefix"
16720 if test "X$x" = "X$element"; then
16725 if test -z "$haveit"; then
16726 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16733 $as_echo "no" >&6; }
16737 ac_cpp
='$CXXCPP $CPPFLAGS'
16738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16745 ac_cpp
='$CXXCPP $CPPFLAGS'
16746 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16747 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16748 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
16751 $as_echo_n "checking for c++ -Werror... " >&6; }
16755 for element
in -Werror; do
16757 for x
in $CXXFLAGS; do
16759 acl_save_prefix
="$prefix"
16760 prefix
="$acl_final_prefix"
16761 acl_save_exec_prefix
="$exec_prefix"
16762 exec_prefix
="$acl_final_exec_prefix"
16764 exec_prefix
="$acl_save_exec_prefix"
16765 prefix
="$acl_save_prefix"
16767 if test "X$x" = "X$element"; then
16772 if test -z "$haveit"; then
16773 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16782 if ac_fn_cxx_try_compile
"$LINENO"; then :
16787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16790 if test "x$cy_good" = x1
; then :
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16792 $as_echo "yes" >&6; }
16794 for element
in -Werror; do
16796 for x
in $CXXFLAGS; do
16798 acl_save_prefix
="$prefix"
16799 prefix
="$acl_final_prefix"
16800 acl_save_exec_prefix
="$exec_prefix"
16801 exec_prefix
="$acl_final_exec_prefix"
16803 exec_prefix
="$acl_save_exec_prefix"
16804 prefix
="$acl_save_prefix"
16806 if test "X$x" = "X$element"; then
16811 if test -z "$haveit"; then
16812 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16819 $as_echo "no" >&6; }
16823 ac_cpp
='$CXXCPP $CPPFLAGS'
16824 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16825 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16826 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16831 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16832 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16833 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16834 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
16837 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
16839 cy_save
=$OBJCXXFLAGS
16841 for element
in -Werror; do
16843 for x
in $OBJCXXFLAGS; do
16845 acl_save_prefix
="$prefix"
16846 prefix
="$acl_final_prefix"
16847 acl_save_exec_prefix
="$exec_prefix"
16848 exec_prefix
="$acl_final_exec_prefix"
16850 exec_prefix
="$acl_save_exec_prefix"
16851 prefix
="$acl_save_prefix"
16853 if test "X$x" = "X$element"; then
16858 if test -z "$haveit"; then
16859 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16868 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16875 OBJCXXFLAGS
=$cy_save
16876 if test "x$cy_good" = x1
; then :
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16878 $as_echo "yes" >&6; }
16880 for element
in -Werror; do
16882 for x
in $OBJCXXFLAGS; do
16884 acl_save_prefix
="$prefix"
16885 prefix
="$acl_final_prefix"
16886 acl_save_exec_prefix
="$exec_prefix"
16887 exec_prefix
="$acl_final_exec_prefix"
16889 exec_prefix
="$acl_save_exec_prefix"
16890 prefix
="$acl_save_prefix"
16892 if test "X$x" = "X$element"; then
16897 if test -z "$haveit"; then
16898 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16905 $as_echo "no" >&6; }
16909 ac_cpp
='$CXXCPP $CPPFLAGS'
16910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16920 ac_cpp
='$CPP $CPPFLAGS'
16921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
16926 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
16930 for element
in -Wno-deprecated-declarations; do
16932 for x
in $CFLAGS; do
16934 acl_save_prefix
="$prefix"
16935 prefix
="$acl_final_prefix"
16936 acl_save_exec_prefix
="$exec_prefix"
16937 exec_prefix
="$acl_final_exec_prefix"
16939 exec_prefix
="$acl_save_exec_prefix"
16940 prefix
="$acl_save_prefix"
16942 if test "X$x" = "X$element"; then
16947 if test -z "$haveit"; then
16948 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16957 if ac_fn_c_try_compile
"$LINENO"; then :
16962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16965 if test "x$cy_good" = x1
; then :
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16967 $as_echo "yes" >&6; }
16969 for element
in -Wno-deprecated-declarations; do
16971 for x
in $CFLAGS; do
16973 acl_save_prefix
="$prefix"
16974 prefix
="$acl_final_prefix"
16975 acl_save_exec_prefix
="$exec_prefix"
16976 exec_prefix
="$acl_final_exec_prefix"
16978 exec_prefix
="$acl_save_exec_prefix"
16979 prefix
="$acl_save_prefix"
16981 if test "X$x" = "X$element"; then
16986 if test -z "$haveit"; then
16987 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16994 $as_echo "no" >&6; }
16998 ac_cpp
='$CXXCPP $CPPFLAGS'
16999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17006 ac_cpp
='$CXXCPP $CPPFLAGS'
17007 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17008 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17009 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17012 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17016 for element
in -Wno-deprecated-declarations; do
17018 for x
in $CXXFLAGS; do
17020 acl_save_prefix
="$prefix"
17021 prefix
="$acl_final_prefix"
17022 acl_save_exec_prefix
="$exec_prefix"
17023 exec_prefix
="$acl_final_exec_prefix"
17025 exec_prefix
="$acl_save_exec_prefix"
17026 prefix
="$acl_save_prefix"
17028 if test "X$x" = "X$element"; then
17033 if test -z "$haveit"; then
17034 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17043 if ac_fn_cxx_try_compile
"$LINENO"; then :
17048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17051 if test "x$cy_good" = x1
; then :
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17053 $as_echo "yes" >&6; }
17055 for element
in -Wno-deprecated-declarations; do
17057 for x
in $CXXFLAGS; do
17059 acl_save_prefix
="$prefix"
17060 prefix
="$acl_final_prefix"
17061 acl_save_exec_prefix
="$exec_prefix"
17062 exec_prefix
="$acl_final_exec_prefix"
17064 exec_prefix
="$acl_save_exec_prefix"
17065 prefix
="$acl_save_prefix"
17067 if test "X$x" = "X$element"; then
17072 if test -z "$haveit"; then
17073 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17080 $as_echo "no" >&6; }
17084 ac_cpp
='$CXXCPP $CPPFLAGS'
17085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17092 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17093 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17094 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17095 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17098 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17100 cy_save
=$OBJCXXFLAGS
17102 for element
in -Wno-deprecated-declarations; do
17104 for x
in $OBJCXXFLAGS; do
17106 acl_save_prefix
="$prefix"
17107 prefix
="$acl_final_prefix"
17108 acl_save_exec_prefix
="$exec_prefix"
17109 exec_prefix
="$acl_final_exec_prefix"
17111 exec_prefix
="$acl_save_exec_prefix"
17112 prefix
="$acl_save_prefix"
17114 if test "X$x" = "X$element"; then
17119 if test -z "$haveit"; then
17120 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17129 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17136 OBJCXXFLAGS
=$cy_save
17137 if test "x$cy_good" = x1
; then :
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17139 $as_echo "yes" >&6; }
17141 for element
in -Wno-deprecated-declarations; do
17143 for x
in $OBJCXXFLAGS; do
17145 acl_save_prefix
="$prefix"
17146 prefix
="$acl_final_prefix"
17147 acl_save_exec_prefix
="$exec_prefix"
17148 exec_prefix
="$acl_final_exec_prefix"
17150 exec_prefix
="$acl_save_exec_prefix"
17151 prefix
="$acl_save_prefix"
17153 if test "X$x" = "X$element"; then
17158 if test -z "$haveit"; then
17159 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17166 $as_echo "no" >&6; }
17170 ac_cpp
='$CXXCPP $CPPFLAGS'
17171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17181 ac_cpp
='$CPP $CPPFLAGS'
17182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17187 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17191 for element
in -Wno-dangling-else; do
17193 for x
in $CFLAGS; do
17195 acl_save_prefix
="$prefix"
17196 prefix
="$acl_final_prefix"
17197 acl_save_exec_prefix
="$exec_prefix"
17198 exec_prefix
="$acl_final_exec_prefix"
17200 exec_prefix
="$acl_save_exec_prefix"
17201 prefix
="$acl_save_prefix"
17203 if test "X$x" = "X$element"; then
17208 if test -z "$haveit"; then
17209 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17218 if ac_fn_c_try_compile
"$LINENO"; then :
17223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17226 if test "x$cy_good" = x1
; then :
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17228 $as_echo "yes" >&6; }
17230 for element
in -Wno-dangling-else; do
17232 for x
in $CFLAGS; do
17234 acl_save_prefix
="$prefix"
17235 prefix
="$acl_final_prefix"
17236 acl_save_exec_prefix
="$exec_prefix"
17237 exec_prefix
="$acl_final_exec_prefix"
17239 exec_prefix
="$acl_save_exec_prefix"
17240 prefix
="$acl_save_prefix"
17242 if test "X$x" = "X$element"; then
17247 if test -z "$haveit"; then
17248 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17255 $as_echo "no" >&6; }
17259 ac_cpp
='$CXXCPP $CPPFLAGS'
17260 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17261 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17262 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17267 ac_cpp
='$CXXCPP $CPPFLAGS'
17268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
17273 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
17277 for element
in -Wno-dangling-else; do
17279 for x
in $CXXFLAGS; do
17281 acl_save_prefix
="$prefix"
17282 prefix
="$acl_final_prefix"
17283 acl_save_exec_prefix
="$exec_prefix"
17284 exec_prefix
="$acl_final_exec_prefix"
17286 exec_prefix
="$acl_save_exec_prefix"
17287 prefix
="$acl_save_prefix"
17289 if test "X$x" = "X$element"; then
17294 if test -z "$haveit"; then
17295 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17301 /* end confdefs.h. */
17304 if ac_fn_cxx_try_compile
"$LINENO"; then :
17309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17312 if test "x$cy_good" = x1
; then :
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17314 $as_echo "yes" >&6; }
17316 for element
in -Wno-dangling-else; do
17318 for x
in $CXXFLAGS; do
17320 acl_save_prefix
="$prefix"
17321 prefix
="$acl_final_prefix"
17322 acl_save_exec_prefix
="$exec_prefix"
17323 exec_prefix
="$acl_final_exec_prefix"
17325 exec_prefix
="$acl_save_exec_prefix"
17326 prefix
="$acl_save_prefix"
17328 if test "X$x" = "X$element"; then
17333 if test -z "$haveit"; then
17334 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17341 $as_echo "no" >&6; }
17345 ac_cpp
='$CXXCPP $CPPFLAGS'
17346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17353 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17354 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17355 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17356 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17359 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17361 cy_save
=$OBJCXXFLAGS
17363 for element
in -Wno-dangling-else; do
17365 for x
in $OBJCXXFLAGS; do
17367 acl_save_prefix
="$prefix"
17368 prefix
="$acl_final_prefix"
17369 acl_save_exec_prefix
="$exec_prefix"
17370 exec_prefix
="$acl_final_exec_prefix"
17372 exec_prefix
="$acl_save_exec_prefix"
17373 prefix
="$acl_save_prefix"
17375 if test "X$x" = "X$element"; then
17380 if test -z "$haveit"; then
17381 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17390 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17397 OBJCXXFLAGS
=$cy_save
17398 if test "x$cy_good" = x1
; then :
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17400 $as_echo "yes" >&6; }
17402 for element
in -Wno-dangling-else; do
17404 for x
in $OBJCXXFLAGS; do
17406 acl_save_prefix
="$prefix"
17407 prefix
="$acl_final_prefix"
17408 acl_save_exec_prefix
="$exec_prefix"
17409 exec_prefix
="$acl_final_exec_prefix"
17411 exec_prefix
="$acl_save_exec_prefix"
17412 prefix
="$acl_save_prefix"
17414 if test "X$x" = "X$element"; then
17419 if test -z "$haveit"; then
17420 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17427 $as_echo "no" >&6; }
17431 ac_cpp
='$CXXCPP $CPPFLAGS'
17432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17441 ac_cpp
='$CPP $CPPFLAGS'
17442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17447 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17451 for element
in -Wno-overloaded-virtual; do
17453 for x
in $CFLAGS; do
17455 acl_save_prefix
="$prefix"
17456 prefix
="$acl_final_prefix"
17457 acl_save_exec_prefix
="$exec_prefix"
17458 exec_prefix
="$acl_final_exec_prefix"
17460 exec_prefix
="$acl_save_exec_prefix"
17461 prefix
="$acl_save_prefix"
17463 if test "X$x" = "X$element"; then
17468 if test -z "$haveit"; then
17469 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17478 if ac_fn_c_try_compile
"$LINENO"; then :
17483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17486 if test "x$cy_good" = x1
; then :
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17488 $as_echo "yes" >&6; }
17490 for element
in -Wno-overloaded-virtual; do
17492 for x
in $CFLAGS; do
17494 acl_save_prefix
="$prefix"
17495 prefix
="$acl_final_prefix"
17496 acl_save_exec_prefix
="$exec_prefix"
17497 exec_prefix
="$acl_final_exec_prefix"
17499 exec_prefix
="$acl_save_exec_prefix"
17500 prefix
="$acl_save_prefix"
17502 if test "X$x" = "X$element"; then
17507 if test -z "$haveit"; then
17508 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17515 $as_echo "no" >&6; }
17519 ac_cpp
='$CXXCPP $CPPFLAGS'
17520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17527 ac_cpp
='$CXXCPP $CPPFLAGS'
17528 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17529 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17530 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17533 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17537 for element
in -Wno-overloaded-virtual; do
17539 for x
in $CXXFLAGS; do
17541 acl_save_prefix
="$prefix"
17542 prefix
="$acl_final_prefix"
17543 acl_save_exec_prefix
="$exec_prefix"
17544 exec_prefix
="$acl_final_exec_prefix"
17546 exec_prefix
="$acl_save_exec_prefix"
17547 prefix
="$acl_save_prefix"
17549 if test "X$x" = "X$element"; then
17554 if test -z "$haveit"; then
17555 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17564 if ac_fn_cxx_try_compile
"$LINENO"; then :
17569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17572 if test "x$cy_good" = x1
; then :
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17574 $as_echo "yes" >&6; }
17576 for element
in -Wno-overloaded-virtual; do
17578 for x
in $CXXFLAGS; do
17580 acl_save_prefix
="$prefix"
17581 prefix
="$acl_final_prefix"
17582 acl_save_exec_prefix
="$exec_prefix"
17583 exec_prefix
="$acl_final_exec_prefix"
17585 exec_prefix
="$acl_save_exec_prefix"
17586 prefix
="$acl_save_prefix"
17588 if test "X$x" = "X$element"; then
17593 if test -z "$haveit"; then
17594 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17601 $as_echo "no" >&6; }
17605 ac_cpp
='$CXXCPP $CPPFLAGS'
17606 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17607 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17608 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17613 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17614 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17615 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17616 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17619 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17621 cy_save
=$OBJCXXFLAGS
17623 for element
in -Wno-overloaded-virtual; do
17625 for x
in $OBJCXXFLAGS; do
17627 acl_save_prefix
="$prefix"
17628 prefix
="$acl_final_prefix"
17629 acl_save_exec_prefix
="$exec_prefix"
17630 exec_prefix
="$acl_final_exec_prefix"
17632 exec_prefix
="$acl_save_exec_prefix"
17633 prefix
="$acl_save_prefix"
17635 if test "X$x" = "X$element"; then
17640 if test -z "$haveit"; then
17641 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17650 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17657 OBJCXXFLAGS
=$cy_save
17658 if test "x$cy_good" = x1
; then :
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17660 $as_echo "yes" >&6; }
17662 for element
in -Wno-overloaded-virtual; do
17664 for x
in $OBJCXXFLAGS; do
17666 acl_save_prefix
="$prefix"
17667 prefix
="$acl_final_prefix"
17668 acl_save_exec_prefix
="$exec_prefix"
17669 exec_prefix
="$acl_final_exec_prefix"
17671 exec_prefix
="$acl_save_exec_prefix"
17672 prefix
="$acl_save_prefix"
17674 if test "X$x" = "X$element"; then
17679 if test -z "$haveit"; then
17680 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17687 $as_echo "no" >&6; }
17691 ac_cpp
='$CXXCPP $CPPFLAGS'
17692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17701 ac_cpp
='$CPP $CPPFLAGS'
17702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17707 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17711 for element
in -Wno-parentheses; do
17713 for x
in $CFLAGS; do
17715 acl_save_prefix
="$prefix"
17716 prefix
="$acl_final_prefix"
17717 acl_save_exec_prefix
="$exec_prefix"
17718 exec_prefix
="$acl_final_exec_prefix"
17720 exec_prefix
="$acl_save_exec_prefix"
17721 prefix
="$acl_save_prefix"
17723 if test "X$x" = "X$element"; then
17728 if test -z "$haveit"; then
17729 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17735 /* end confdefs.h. */
17738 if ac_fn_c_try_compile
"$LINENO"; then :
17743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17746 if test "x$cy_good" = x1
; then :
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17748 $as_echo "yes" >&6; }
17750 for element
in -Wno-parentheses; do
17752 for x
in $CFLAGS; do
17754 acl_save_prefix
="$prefix"
17755 prefix
="$acl_final_prefix"
17756 acl_save_exec_prefix
="$exec_prefix"
17757 exec_prefix
="$acl_final_exec_prefix"
17759 exec_prefix
="$acl_save_exec_prefix"
17760 prefix
="$acl_save_prefix"
17762 if test "X$x" = "X$element"; then
17767 if test -z "$haveit"; then
17768 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17775 $as_echo "no" >&6; }
17779 ac_cpp
='$CXXCPP $CPPFLAGS'
17780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17787 ac_cpp
='$CXXCPP $CPPFLAGS'
17788 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17789 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17790 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17793 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17797 for element
in -Wno-parentheses; do
17799 for x
in $CXXFLAGS; do
17801 acl_save_prefix
="$prefix"
17802 prefix
="$acl_final_prefix"
17803 acl_save_exec_prefix
="$exec_prefix"
17804 exec_prefix
="$acl_final_exec_prefix"
17806 exec_prefix
="$acl_save_exec_prefix"
17807 prefix
="$acl_save_prefix"
17809 if test "X$x" = "X$element"; then
17814 if test -z "$haveit"; then
17815 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17824 if ac_fn_cxx_try_compile
"$LINENO"; then :
17829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17832 if test "x$cy_good" = x1
; then :
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17834 $as_echo "yes" >&6; }
17836 for element
in -Wno-parentheses; do
17838 for x
in $CXXFLAGS; do
17840 acl_save_prefix
="$prefix"
17841 prefix
="$acl_final_prefix"
17842 acl_save_exec_prefix
="$exec_prefix"
17843 exec_prefix
="$acl_final_exec_prefix"
17845 exec_prefix
="$acl_save_exec_prefix"
17846 prefix
="$acl_save_prefix"
17848 if test "X$x" = "X$element"; then
17853 if test -z "$haveit"; then
17854 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17861 $as_echo "no" >&6; }
17865 ac_cpp
='$CXXCPP $CPPFLAGS'
17866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17873 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17874 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17879 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17881 cy_save
=$OBJCXXFLAGS
17883 for element
in -Wno-parentheses; do
17885 for x
in $OBJCXXFLAGS; do
17887 acl_save_prefix
="$prefix"
17888 prefix
="$acl_final_prefix"
17889 acl_save_exec_prefix
="$exec_prefix"
17890 exec_prefix
="$acl_final_exec_prefix"
17892 exec_prefix
="$acl_save_exec_prefix"
17893 prefix
="$acl_save_prefix"
17895 if test "X$x" = "X$element"; then
17900 if test -z "$haveit"; then
17901 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17907 /* end confdefs.h. */
17910 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17917 OBJCXXFLAGS
=$cy_save
17918 if test "x$cy_good" = x1
; then :
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17920 $as_echo "yes" >&6; }
17922 for element
in -Wno-parentheses; do
17924 for x
in $OBJCXXFLAGS; do
17926 acl_save_prefix
="$prefix"
17927 prefix
="$acl_final_prefix"
17928 acl_save_exec_prefix
="$exec_prefix"
17929 exec_prefix
="$acl_final_exec_prefix"
17931 exec_prefix
="$acl_save_exec_prefix"
17932 prefix
="$acl_save_prefix"
17934 if test "X$x" = "X$element"; then
17939 if test -z "$haveit"; then
17940 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17947 $as_echo "no" >&6; }
17951 ac_cpp
='$CXXCPP $CPPFLAGS'
17952 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17953 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17954 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17961 ac_cpp
='$CPP $CPPFLAGS'
17962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
17967 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
17971 for element
in -Wno-unneeded-internal-declaration; do
17973 for x
in $CFLAGS; do
17975 acl_save_prefix
="$prefix"
17976 prefix
="$acl_final_prefix"
17977 acl_save_exec_prefix
="$exec_prefix"
17978 exec_prefix
="$acl_final_exec_prefix"
17980 exec_prefix
="$acl_save_exec_prefix"
17981 prefix
="$acl_save_prefix"
17983 if test "X$x" = "X$element"; then
17988 if test -z "$haveit"; then
17989 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17998 if ac_fn_c_try_compile
"$LINENO"; then :
18003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18006 if test "x$cy_good" = x1
; then :
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18008 $as_echo "yes" >&6; }
18010 for element
in -Wno-unneeded-internal-declaration; do
18012 for x
in $CFLAGS; do
18014 acl_save_prefix
="$prefix"
18015 prefix
="$acl_final_prefix"
18016 acl_save_exec_prefix
="$exec_prefix"
18017 exec_prefix
="$acl_final_exec_prefix"
18019 exec_prefix
="$acl_save_exec_prefix"
18020 prefix
="$acl_save_prefix"
18022 if test "X$x" = "X$element"; then
18027 if test -z "$haveit"; then
18028 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18035 $as_echo "no" >&6; }
18039 ac_cpp
='$CXXCPP $CPPFLAGS'
18040 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18041 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18042 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18047 ac_cpp
='$CXXCPP $CPPFLAGS'
18048 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18049 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18050 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18053 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18057 for element
in -Wno-unneeded-internal-declaration; do
18059 for x
in $CXXFLAGS; do
18061 acl_save_prefix
="$prefix"
18062 prefix
="$acl_final_prefix"
18063 acl_save_exec_prefix
="$exec_prefix"
18064 exec_prefix
="$acl_final_exec_prefix"
18066 exec_prefix
="$acl_save_exec_prefix"
18067 prefix
="$acl_save_prefix"
18069 if test "X$x" = "X$element"; then
18074 if test -z "$haveit"; then
18075 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18081 /* end confdefs.h. */
18084 if ac_fn_cxx_try_compile
"$LINENO"; then :
18089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18092 if test "x$cy_good" = x1
; then :
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18094 $as_echo "yes" >&6; }
18096 for element
in -Wno-unneeded-internal-declaration; do
18098 for x
in $CXXFLAGS; do
18100 acl_save_prefix
="$prefix"
18101 prefix
="$acl_final_prefix"
18102 acl_save_exec_prefix
="$exec_prefix"
18103 exec_prefix
="$acl_final_exec_prefix"
18105 exec_prefix
="$acl_save_exec_prefix"
18106 prefix
="$acl_save_prefix"
18108 if test "X$x" = "X$element"; then
18113 if test -z "$haveit"; then
18114 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18121 $as_echo "no" >&6; }
18125 ac_cpp
='$CXXCPP $CPPFLAGS'
18126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18133 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18134 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18135 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18136 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18139 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18141 cy_save
=$OBJCXXFLAGS
18143 for element
in -Wno-unneeded-internal-declaration; do
18145 for x
in $OBJCXXFLAGS; do
18147 acl_save_prefix
="$prefix"
18148 prefix
="$acl_final_prefix"
18149 acl_save_exec_prefix
="$exec_prefix"
18150 exec_prefix
="$acl_final_exec_prefix"
18152 exec_prefix
="$acl_save_exec_prefix"
18153 prefix
="$acl_save_prefix"
18155 if test "X$x" = "X$element"; then
18160 if test -z "$haveit"; then
18161 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h. */
18170 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18177 OBJCXXFLAGS
=$cy_save
18178 if test "x$cy_good" = x1
; then :
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18180 $as_echo "yes" >&6; }
18182 for element
in -Wno-unneeded-internal-declaration; do
18184 for x
in $OBJCXXFLAGS; do
18186 acl_save_prefix
="$prefix"
18187 prefix
="$acl_final_prefix"
18188 acl_save_exec_prefix
="$exec_prefix"
18189 exec_prefix
="$acl_final_exec_prefix"
18191 exec_prefix
="$acl_save_exec_prefix"
18192 prefix
="$acl_save_prefix"
18194 if test "X$x" = "X$element"; then
18199 if test -z "$haveit"; then
18200 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18207 $as_echo "no" >&6; }
18211 ac_cpp
='$CXXCPP $CPPFLAGS'
18212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18219 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
18221 $as_echo_n "checking for -arch $cy_arch... " >&6; }
18225 for element
in "-arch $cy_arch"; do
18227 for x
in $CXXFLAGS; do
18229 acl_save_prefix
="$prefix"
18230 prefix
="$acl_final_prefix"
18231 acl_save_exec_prefix
="$exec_prefix"
18232 exec_prefix
="$acl_final_exec_prefix"
18234 exec_prefix
="$acl_save_exec_prefix"
18235 prefix
="$acl_save_prefix"
18237 if test "X$x" = "X$element"; then
18242 if test -z "$haveit"; then
18243 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18259 if ac_fn_cxx_try_link
"$LINENO"; then :
18264 rm -f core conftest.err conftest.
$ac_objext \
18265 conftest
$ac_exeext conftest.
$ac_ext
18268 if test "x$cy_good" = x1
; then :
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18270 $as_echo "yes" >&6; }
18272 for element
in "-arch $cy_arch"; do
18274 for x
in $CY_ARCH; do
18276 acl_save_prefix
="$prefix"
18277 prefix
="$acl_final_prefix"
18278 acl_save_exec_prefix
="$exec_prefix"
18279 exec_prefix
="$acl_final_exec_prefix"
18281 exec_prefix
="$acl_save_exec_prefix"
18282 prefix
="$acl_save_prefix"
18284 if test "X$x" = "X$element"; then
18289 if test -z "$haveit"; then
18290 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18297 $as_echo "no" >&6; }
18302 # Extract the first word of "xcodebuild", so it can be a program name with args.
18303 set dummy xcodebuild
; ac_word
=$2
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18305 $as_echo_n "checking for $ac_word... " >&6; }
18306 if ${ac_cv_path_XCODEBUILD+:} false
; then :
18307 $as_echo_n "(cached) " >&6
18309 case $XCODEBUILD in
18311 ac_cv_path_XCODEBUILD
="$XCODEBUILD" # Let the user override the test with a path.
18314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18315 for as_dir
in $PATH
18318 test -z "$as_dir" && as_dir
=.
18319 for ac_exec_ext
in '' $ac_executable_extensions; do
18320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18321 ac_cv_path_XCODEBUILD
="$as_dir/$ac_word$ac_exec_ext"
18322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18332 XCODEBUILD
=$ac_cv_path_XCODEBUILD
18333 if test -n "$XCODEBUILD"; then
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCODEBUILD" >&5
18335 $as_echo "$XCODEBUILD" >&6; }
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18338 $as_echo "no" >&6; }
18343 if test "x$XCODEBUILD" != x
; then :
18345 CY_IOS_SIMULATOR
=`xcodebuild -sdk iphonesimulator -version Path`
18350 if test "x$CY_IOS_SIMULATOR" != x
; then
18351 CY_IOS_SIMULATOR_TRUE
=
18352 CY_IOS_SIMULATOR_FALSE
='#'
18354 CY_IOS_SIMULATOR_TRUE
='#'
18355 CY_IOS_SIMULATOR_FALSE
=
18365 # Check whether --enable-javascript was given.
18366 if test "${enable_javascript+set}" = set; then :
18367 enableval
=$enable_javascript;
18368 case $enableval in #(
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18378 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18379 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18380 $as_echo_n "(cached) " >&6
18383 ac_check_framework_save_LIBS
=$LIBS
18384 LIBS
="-framework JavaScriptCore $LIBS"
18385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18388 #include <JavaScriptCore/JSBase.h>
18394 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18400 if ac_fn_cxx_try_link
"$LINENO"; then :
18402 ac_cv_framework_JavaScriptCore
=yes
18405 ac_cv_framework_JavaScriptCore
=no
18407 rm -f core conftest.err conftest.
$ac_objext \
18408 conftest
$ac_exeext conftest.
$ac_ext
18409 LIBS
=$ac_check_framework_save_LIBS
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18413 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18414 if test $ac_cv_framework_JavaScriptCore = yes; then :
18417 for element
in "-framework JavaScriptCore"; do
18421 acl_save_prefix
="$prefix"
18422 prefix
="$acl_final_prefix"
18423 acl_save_exec_prefix
="$exec_prefix"
18424 exec_prefix
="$acl_final_exec_prefix"
18426 exec_prefix
="$acl_save_exec_prefix"
18427 prefix
="$acl_save_prefix"
18429 if test "X$x" = "X$element"; then
18434 if test -z "$haveit"; then
18435 LIBS
="${LIBS}${LIBS:+ }$element"
18446 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18450 $as_echo_n "checking for WEBKIT... " >&6; }
18452 if test -n "$WEBKIT_CFLAGS"; then
18453 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18454 elif test -n "$PKG_CONFIG"; then
18455 if test -n "$PKG_CONFIG" && \
18456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18457 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18460 test $ac_status = 0; }; then
18461 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18468 if test -n "$WEBKIT_LIBS"; then
18469 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18470 elif test -n "$PKG_CONFIG"; then
18471 if test -n "$PKG_CONFIG" && \
18472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18473 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18476 test $ac_status = 0; }; then
18477 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18487 if test $pkg_failed = yes; then
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18489 $as_echo "no" >&6; }
18491 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18492 _pkg_short_errors_supported
=yes
18494 _pkg_short_errors_supported
=no
18496 if test $_pkg_short_errors_supported = yes; then
18497 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18499 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18501 # Put the nasty error message in config.log where it belongs
18502 echo "$WEBKIT_PKG_ERRORS" >&5
18505 elif test $pkg_failed = untried
; then
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18507 $as_echo "no" >&6; }
18510 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18511 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18513 $as_echo "yes" >&6; }
18518 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18520 for x
in $CPPFLAGS; do
18522 acl_save_prefix
="$prefix"
18523 prefix
="$acl_final_prefix"
18524 acl_save_exec_prefix
="$exec_prefix"
18525 exec_prefix
="$acl_final_exec_prefix"
18527 exec_prefix
="$acl_save_exec_prefix"
18528 prefix
="$acl_save_prefix"
18530 if test "X$x" = "X$element"; then
18535 if test -z "$haveit"; then
18536 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18541 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18545 acl_save_prefix
="$prefix"
18546 prefix
="$acl_final_prefix"
18547 acl_save_exec_prefix
="$exec_prefix"
18548 exec_prefix
="$acl_final_exec_prefix"
18550 exec_prefix
="$acl_save_exec_prefix"
18551 prefix
="$acl_save_prefix"
18553 if test "X$x" = "X$element"; then
18558 if test -z "$haveit"; then
18559 LIBS
="${LIBS}${LIBS:+ }$element"
18564 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18568 LTJAVASCRIPTCORE
=$LIBS
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18585 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18586 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18587 $as_echo_n "(cached) " >&6
18590 ac_check_framework_save_LIBS
=$LIBS
18591 LIBS
="-framework JavaScriptCore $LIBS"
18592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18593 /* end confdefs.h. */
18595 #include <JavaScriptCore/JSBase.h>
18601 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18607 if ac_fn_cxx_try_link
"$LINENO"; then :
18609 ac_cv_framework_JavaScriptCore
=yes
18612 ac_cv_framework_JavaScriptCore
=no
18614 rm -f core conftest.err conftest.
$ac_objext \
18615 conftest
$ac_exeext conftest.
$ac_ext
18616 LIBS
=$ac_check_framework_save_LIBS
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18620 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18621 if test $ac_cv_framework_JavaScriptCore = yes; then :
18624 for element
in "-framework JavaScriptCore"; do
18628 acl_save_prefix
="$prefix"
18629 prefix
="$acl_final_prefix"
18630 acl_save_exec_prefix
="$exec_prefix"
18631 exec_prefix
="$acl_final_exec_prefix"
18633 exec_prefix
="$acl_save_exec_prefix"
18634 prefix
="$acl_save_prefix"
18636 if test "X$x" = "X$element"; then
18641 if test -z "$haveit"; then
18642 LIBS
="${LIBS}${LIBS:+ }$element"
18653 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18657 $as_echo_n "checking for WEBKIT... " >&6; }
18659 if test -n "$WEBKIT_CFLAGS"; then
18660 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18661 elif test -n "$PKG_CONFIG"; then
18662 if test -n "$PKG_CONFIG" && \
18663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18664 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18667 test $ac_status = 0; }; then
18668 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18675 if test -n "$WEBKIT_LIBS"; then
18676 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18677 elif test -n "$PKG_CONFIG"; then
18678 if test -n "$PKG_CONFIG" && \
18679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18680 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18683 test $ac_status = 0; }; then
18684 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18694 if test $pkg_failed = yes; then
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18696 $as_echo "no" >&6; }
18698 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18699 _pkg_short_errors_supported
=yes
18701 _pkg_short_errors_supported
=no
18703 if test $_pkg_short_errors_supported = yes; then
18704 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18706 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18708 # Put the nasty error message in config.log where it belongs
18709 echo "$WEBKIT_PKG_ERRORS" >&5
18712 elif test $pkg_failed = untried
; then
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18714 $as_echo "no" >&6; }
18717 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18718 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18720 $as_echo "yes" >&6; }
18725 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18727 for x
in $CPPFLAGS; do
18729 acl_save_prefix
="$prefix"
18730 prefix
="$acl_final_prefix"
18731 acl_save_exec_prefix
="$exec_prefix"
18732 exec_prefix
="$acl_final_exec_prefix"
18734 exec_prefix
="$acl_save_exec_prefix"
18735 prefix
="$acl_save_prefix"
18737 if test "X$x" = "X$element"; then
18742 if test -z "$haveit"; then
18743 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18748 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18752 acl_save_prefix
="$prefix"
18753 prefix
="$acl_final_prefix"
18754 acl_save_exec_prefix
="$exec_prefix"
18755 exec_prefix
="$acl_final_exec_prefix"
18757 exec_prefix
="$acl_save_exec_prefix"
18758 prefix
="$acl_save_prefix"
18760 if test "X$x" = "X$element"; then
18765 if test -z "$haveit"; then
18766 LIBS
="${LIBS}${LIBS:+ }$element"
18771 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18775 LTJAVASCRIPTCORE
=$LIBS
18781 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18792 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18793 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18794 $as_echo_n "(cached) " >&6
18797 ac_check_framework_save_LIBS
=$LIBS
18798 LIBS
="-framework JavaScriptCore $LIBS"
18799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18802 #include <JavaScriptCore/JSBase.h>
18808 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18814 if ac_fn_cxx_try_link
"$LINENO"; then :
18816 ac_cv_framework_JavaScriptCore
=yes
18819 ac_cv_framework_JavaScriptCore
=no
18821 rm -f core conftest.err conftest.
$ac_objext \
18822 conftest
$ac_exeext conftest.
$ac_ext
18823 LIBS
=$ac_check_framework_save_LIBS
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18827 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18828 if test $ac_cv_framework_JavaScriptCore = yes; then :
18831 for element
in "-framework JavaScriptCore"; do
18835 acl_save_prefix
="$prefix"
18836 prefix
="$acl_final_prefix"
18837 acl_save_exec_prefix
="$exec_prefix"
18838 exec_prefix
="$acl_final_exec_prefix"
18840 exec_prefix
="$acl_save_exec_prefix"
18841 prefix
="$acl_save_prefix"
18843 if test "X$x" = "X$element"; then
18848 if test -z "$haveit"; then
18849 LIBS
="${LIBS}${LIBS:+ }$element"
18860 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18864 $as_echo_n "checking for WEBKIT... " >&6; }
18866 if test -n "$WEBKIT_CFLAGS"; then
18867 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18868 elif test -n "$PKG_CONFIG"; then
18869 if test -n "$PKG_CONFIG" && \
18870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18871 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18874 test $ac_status = 0; }; then
18875 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18882 if test -n "$WEBKIT_LIBS"; then
18883 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18884 elif test -n "$PKG_CONFIG"; then
18885 if test -n "$PKG_CONFIG" && \
18886 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18887 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18890 test $ac_status = 0; }; then
18891 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18901 if test $pkg_failed = yes; then
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18903 $as_echo "no" >&6; }
18905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18906 _pkg_short_errors_supported
=yes
18908 _pkg_short_errors_supported
=no
18910 if test $_pkg_short_errors_supported = yes; then
18911 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18913 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18915 # Put the nasty error message in config.log where it belongs
18916 echo "$WEBKIT_PKG_ERRORS" >&5
18919 elif test $pkg_failed = untried
; then
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18921 $as_echo "no" >&6; }
18924 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18925 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18927 $as_echo "yes" >&6; }
18932 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18934 for x
in $CPPFLAGS; do
18936 acl_save_prefix
="$prefix"
18937 prefix
="$acl_final_prefix"
18938 acl_save_exec_prefix
="$exec_prefix"
18939 exec_prefix
="$acl_final_exec_prefix"
18941 exec_prefix
="$acl_save_exec_prefix"
18942 prefix
="$acl_save_prefix"
18944 if test "X$x" = "X$element"; then
18949 if test -z "$haveit"; then
18950 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18955 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18959 acl_save_prefix
="$prefix"
18960 prefix
="$acl_final_prefix"
18961 acl_save_exec_prefix
="$exec_prefix"
18962 exec_prefix
="$acl_final_exec_prefix"
18964 exec_prefix
="$acl_save_exec_prefix"
18965 prefix
="$acl_save_prefix"
18967 if test "X$x" = "X$element"; then
18972 if test -z "$haveit"; then
18973 LIBS
="${LIBS}${LIBS:+ }$element"
18978 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18982 LTJAVASCRIPTCORE
=$LIBS
18993 if test "$target_os" = "os2-emx"; then
18994 # Scripts don't pass test -x on OS/2
19000 acceptable_majors
="1"
19002 apr_temp_acceptable_apr_config
=""
19003 for apr_temp_major
in $acceptable_majors
19005 case $apr_temp_major in
19007 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19010 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19016 $as_echo_n "checking for APR... " >&6; }
19018 # Check whether --with-apr was given.
19019 if test "${with_apr+set}" = set; then :
19021 if test "$withval" = "no" || test "$withval" = "yes"; then
19022 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19025 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19027 for lookdir
in "$withval/bin" "$withval"
19029 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19030 apr_config
="$lookdir/$apr_temp_apr_config_file"
19038 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19039 apr_config
="$withval"
19043 if test "$apr_found" != "yes"; then
19044 as_fn_error $?
"the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5
19049 if test -n "1" && test "1" = "1"; then
19050 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19052 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19053 apr_config
="$apr_temp_apr_config_file"
19058 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19059 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19060 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19069 if test "$apr_found" = "no" && test -d ""; then
19070 apr_temp_abs_srcdir
="`cd && pwd`"
19071 apr_found
="reconfig"
19072 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19073 case $apr_bundled_major in
19075 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19078 apr_temp_apr_config_file
="apr-config"
19081 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19084 if test -n ""; then
19085 apr_config
="/$apr_temp_apr_config_file"
19087 apr_config
="/$apr_temp_apr_config_file"
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19095 $as_echo "$apr_found" >&6; }
19097 case $apr_found in #(
19101 for element
in `$apr_config --includes`; do
19103 for x
in $CPPFLAGS; do
19105 acl_save_prefix
="$prefix"
19106 prefix
="$acl_final_prefix"
19107 acl_save_exec_prefix
="$exec_prefix"
19108 exec_prefix
="$acl_final_exec_prefix"
19110 exec_prefix
="$acl_save_exec_prefix"
19111 prefix
="$acl_save_prefix"
19113 if test "X$x" = "X$element"; then
19118 if test -z "$haveit"; then
19119 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19124 for element
in `$apr_config --link-libtool`; do
19126 for x
in $LTLIBAPR; do
19128 acl_save_prefix
="$prefix"
19129 prefix
="$acl_final_prefix"
19130 acl_save_exec_prefix
="$exec_prefix"
19131 exec_prefix
="$acl_final_exec_prefix"
19133 exec_prefix
="$acl_save_exec_prefix"
19134 prefix
="$acl_save_prefix"
19136 if test "X$x" = "X$element"; then
19141 if test -z "$haveit"; then
19142 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
19149 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5 ;;
19154 if test "x$CY_EXECUTE" = x1
; then
19156 CY_EXECUTE_FALSE
='#'
19158 CY_EXECUTE_TRUE
='#'
19164 case $CY_EXECUTE in #(
19167 for ac_header
in ffi.h ffi
/ffi.h
19169 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19170 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19171 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19172 cat >>confdefs.h
<<_ACEOF
19173 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19184 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19188 C compiler flags
for LIBFFI
, overriding pkg
-config
19189 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19193 $as_echo_n "checking for LIBFFI... " >&6; }
19195 if test -n "$LIBFFI_CFLAGS"; then
19196 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19197 elif test -n "$PKG_CONFIG"; then
19198 if test -n "$PKG_CONFIG" && \
19199 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19200 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19203 test $ac_status = 0; }; then
19204 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19211 if test -n "$LIBFFI_LIBS"; then
19212 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19213 elif test -n "$PKG_CONFIG"; then
19214 if test -n "$PKG_CONFIG" && \
19215 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19216 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19219 test $ac_status = 0; }; then
19220 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19230 if test $pkg_failed = yes; then
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19232 $as_echo "no" >&6; }
19234 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19235 _pkg_short_errors_supported
=yes
19237 _pkg_short_errors_supported
=no
19239 if test $_pkg_short_errors_supported = yes; then
19240 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19242 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19244 # Put the nasty error message in config.log where it belongs
19245 echo "$LIBFFI_PKG_ERRORS" >&5
19247 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19248 elif test $pkg_failed = untried
; then
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19250 $as_echo "no" >&6; }
19251 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19253 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19254 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19256 $as_echo "yes" >&6; }
19259 for element
in `$PKG_CONFIG --cflags libffi`; do
19261 for x
in $CPPFLAGS; do
19263 acl_save_prefix
="$prefix"
19264 prefix
="$acl_final_prefix"
19265 acl_save_exec_prefix
="$exec_prefix"
19266 exec_prefix
="$acl_final_exec_prefix"
19268 exec_prefix
="$acl_save_exec_prefix"
19269 prefix
="$acl_save_prefix"
19271 if test "X$x" = "X$element"; then
19276 if test -z "$haveit"; then
19277 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19282 for element
in `$PKG_CONFIG --libs libffi`; do
19286 acl_save_prefix
="$prefix"
19287 prefix
="$acl_final_prefix"
19288 acl_save_exec_prefix
="$exec_prefix"
19289 exec_prefix
="$acl_final_exec_prefix"
19291 exec_prefix
="$acl_save_exec_prefix"
19292 prefix
="$acl_save_prefix"
19294 if test "X$x" = "X$element"; then
19299 if test -z "$haveit"; then
19300 LIBS
="${LIBS}${LIBS:+ }$element"
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19310 $as_echo_n "checking for library containing ffi_call... " >&6; }
19311 if ${ac_cv_search_ffi_call+:} false
; then :
19312 $as_echo_n "(cached) " >&6
19314 ac_func_search_save_LIBS
=$LIBS
19315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19318 /* Override any GCC internal prototype to avoid an error.
19319 Use char because int might match the return type of a GCC
19320 builtin and then its argument prototype would still apply. */
19328 return ffi_call ();
19333 for ac_lib
in '' ffi
; do
19334 if test -z "$ac_lib"; then
19335 ac_res
="none required"
19338 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19340 if ac_fn_cxx_try_link
"$LINENO"; then :
19341 ac_cv_search_ffi_call
=$ac_res
19343 rm -f core conftest.err conftest.
$ac_objext \
19345 if ${ac_cv_search_ffi_call+:} false
; then :
19349 if ${ac_cv_search_ffi_call+:} false
; then :
19352 ac_cv_search_ffi_call
=no
19354 rm conftest.
$ac_ext
19355 LIBS
=$ac_func_search_save_LIBS
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19358 $as_echo "$ac_cv_search_ffi_call" >&6; }
19359 ac_res
=$ac_cv_search_ffi_call
19360 if test "$ac_res" != no
; then :
19361 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19365 case $ac_cv_search_ffi_call in #(
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19371 $as_echo_n "checking for LIBFFI... " >&6; }
19373 if test -n "$LIBFFI_CFLAGS"; then
19374 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19375 elif test -n "$PKG_CONFIG"; then
19376 if test -n "$PKG_CONFIG" && \
19377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19378 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19381 test $ac_status = 0; }; then
19382 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19389 if test -n "$LIBFFI_LIBS"; then
19390 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19391 elif test -n "$PKG_CONFIG"; then
19392 if test -n "$PKG_CONFIG" && \
19393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19394 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19397 test $ac_status = 0; }; then
19398 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19408 if test $pkg_failed = yes; then
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19410 $as_echo "no" >&6; }
19412 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19413 _pkg_short_errors_supported
=yes
19415 _pkg_short_errors_supported
=no
19417 if test $_pkg_short_errors_supported = yes; then
19418 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19420 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19422 # Put the nasty error message in config.log where it belongs
19423 echo "$LIBFFI_PKG_ERRORS" >&5
19425 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19426 elif test $pkg_failed = untried
; then
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19428 $as_echo "no" >&6; }
19429 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19431 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19432 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19434 $as_echo "yes" >&6; }
19437 for element
in `$PKG_CONFIG --cflags libffi`; do
19439 for x
in $CPPFLAGS; do
19441 acl_save_prefix
="$prefix"
19442 prefix
="$acl_final_prefix"
19443 acl_save_exec_prefix
="$exec_prefix"
19444 exec_prefix
="$acl_final_exec_prefix"
19446 exec_prefix
="$acl_save_exec_prefix"
19447 prefix
="$acl_save_prefix"
19449 if test "X$x" = "X$element"; then
19454 if test -z "$haveit"; then
19455 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19460 for element
in `$PKG_CONFIG --libs libffi`; do
19464 acl_save_prefix
="$prefix"
19465 prefix
="$acl_final_prefix"
19466 acl_save_exec_prefix
="$exec_prefix"
19467 exec_prefix
="$acl_final_exec_prefix"
19469 exec_prefix
="$acl_save_exec_prefix"
19470 prefix
="$acl_save_prefix"
19472 if test "X$x" = "X$element"; then
19477 if test -z "$haveit"; then
19478 LIBS
="${LIBS}${LIBS:+ }$element"
19495 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19496 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19497 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19498 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19502 $as_echo_n "checking if we really have Objective C++... " >&6; }
19503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19507 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19511 $as_echo "yes" >&6; }
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19515 $as_echo "no" >&6; }
19517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19519 if test "x$CY_OBJECTIVEC" = x1
; then :
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19526 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19527 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19528 $as_echo_n "(cached) " >&6
19531 ac_check_framework_save_LIBS
=$LIBS
19532 LIBS
="-framework CoreFoundation $LIBS"
19533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19536 #include <CoreFoundation/CFBase.h>
19541 CFAllocatorGetDefault();
19546 if ac_fn_objcxx_try_link
"$LINENO"; then :
19548 ac_cv_framework_CoreFoundation
=yes
19551 ac_cv_framework_CoreFoundation
=no
19553 rm -f core conftest.err conftest.
$ac_objext \
19554 conftest
$ac_exeext conftest.
$ac_ext
19555 LIBS
=$ac_check_framework_save_LIBS
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19559 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19560 if test $ac_cv_framework_CoreFoundation = yes; then :
19563 for element
in "-framework CoreFoundation"; do
19567 acl_save_prefix
="$prefix"
19568 prefix
="$acl_final_prefix"
19569 acl_save_exec_prefix
="$exec_prefix"
19570 exec_prefix
="$acl_final_exec_prefix"
19572 exec_prefix
="$acl_save_exec_prefix"
19573 prefix
="$acl_save_prefix"
19575 if test "X$x" = "X$element"; then
19580 if test -z "$haveit"; then
19581 LIBS
="${LIBS}${LIBS:+ }$element"
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19591 $as_echo_n "checking for framework Foundation... " >&6; }
19592 if ${ac_cv_framework_Foundation+:} false
; then :
19593 $as_echo_n "(cached) " >&6
19596 ac_check_framework_save_LIBS
=$LIBS
19597 LIBS
="-framework Foundation $LIBS"
19598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19601 #include <Foundation/NSObject.h>
19606 [[NSObject alloc] init];
19611 if ac_fn_objcxx_try_link
"$LINENO"; then :
19613 ac_cv_framework_Foundation
=yes
19616 ac_cv_framework_Foundation
=no
19618 rm -f core conftest.err conftest.
$ac_objext \
19619 conftest
$ac_exeext conftest.
$ac_ext
19620 LIBS
=$ac_check_framework_save_LIBS
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19624 $as_echo "$ac_cv_framework_Foundation" >&6; }
19625 if test $ac_cv_framework_Foundation = yes; then :
19628 for element
in "-framework Foundation"; do
19632 acl_save_prefix
="$prefix"
19633 prefix
="$acl_final_prefix"
19634 acl_save_exec_prefix
="$exec_prefix"
19635 exec_prefix
="$acl_final_exec_prefix"
19637 exec_prefix
="$acl_save_exec_prefix"
19638 prefix
="$acl_save_prefix"
19640 if test "X$x" = "X$element"; then
19645 if test -z "$haveit"; then
19646 LIBS
="${LIBS}${LIBS:+ }$element"
19650 cat >>confdefs.h
<<_ACEOF
19651 #define HAVE_FRAMEWORK_FOUNDATION 1
19661 for ac_prog
in gnustep
-config
19663 # Extract the first word of "$ac_prog", so it can be a program name with args.
19664 set dummy
$ac_prog; ac_word
=$2
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19666 $as_echo_n "checking for $ac_word... " >&6; }
19667 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19668 $as_echo_n "(cached) " >&6
19670 if test -n "$GNUSTEP_CONFIG"; then
19671 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19674 for as_dir
in $PATH
19677 test -z "$as_dir" && as_dir
=.
19678 for ac_exec_ext
in '' $ac_executable_extensions; do
19679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19680 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19690 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19691 if test -n "$GNUSTEP_CONFIG"; then
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19693 $as_echo "$GNUSTEP_CONFIG" >&6; }
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19696 $as_echo "no" >&6; }
19700 test -n "$GNUSTEP_CONFIG" && break
19704 if test "x$GNUSTEP_CONFIG" != x
; then :
19708 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19710 for x
in $OBJCXXFLAGS; do
19712 acl_save_prefix
="$prefix"
19713 prefix
="$acl_final_prefix"
19714 acl_save_exec_prefix
="$exec_prefix"
19715 exec_prefix
="$acl_final_exec_prefix"
19717 exec_prefix
="$acl_save_exec_prefix"
19718 prefix
="$acl_save_prefix"
19720 if test "X$x" = "X$element"; then
19725 if test -z "$haveit"; then
19726 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19731 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19735 acl_save_prefix
="$prefix"
19736 prefix
="$acl_final_prefix"
19737 acl_save_exec_prefix
="$exec_prefix"
19738 exec_prefix
="$acl_final_exec_prefix"
19740 exec_prefix
="$acl_save_exec_prefix"
19741 prefix
="$acl_save_prefix"
19743 if test "X$x" = "X$element"; then
19748 if test -z "$haveit"; then
19749 LIBS
="${LIBS}${LIBS:+ }$element"
19768 ac_cpp
='$CXXCPP $CPPFLAGS'
19769 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19770 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19771 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19778 if test "x$CY_OBJECTIVEC" = x1
; then
19779 CY_OBJECTIVEC_TRUE
=
19780 CY_OBJECTIVEC_FALSE
='#'
19782 CY_OBJECTIVEC_TRUE
='#'
19783 CY_OBJECTIVEC_FALSE
=
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19792 $as_echo_n "checking for a readline compatible library... " >&6; }
19793 if ${ax_cv_lib_readline+:} false
; then :
19794 $as_echo_n "(cached) " >&6
19798 for readline_lib
in readline edit editline
; do
19799 for termcap_lib
in "" termcap curses ncurses
; do
19800 if test -z "$termcap_lib"; then
19801 TRY_LIB
="-l$readline_lib"
19803 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19805 LIBS
="$ORIG_LIBS $TRY_LIB"
19806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19809 /* Override any GCC internal prototype to avoid an error.
19810 Use char because int might match the return type of a GCC
19811 builtin and then its argument prototype would still apply. */
19819 return readline ();
19824 if ac_fn_cxx_try_link
"$LINENO"; then :
19825 ax_cv_lib_readline
="$TRY_LIB"
19827 rm -f core conftest.err conftest.
$ac_objext \
19828 conftest
$ac_exeext conftest.
$ac_ext
19829 if test -n "$ax_cv_lib_readline"; then
19833 if test -n "$ax_cv_lib_readline"; then
19837 if test -z "$ax_cv_lib_readline"; then
19838 ax_cv_lib_readline
="no"
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19844 $as_echo "$ax_cv_lib_readline" >&6; }
19846 if test "$ax_cv_lib_readline" != "no"; then
19847 LIBS
="$LIBS $ax_cv_lib_readline"
19849 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19851 for ac_header
in readline.h readline
/readline.h
19853 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19854 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19855 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19856 cat >>confdefs.h
<<_ACEOF
19857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19865 $as_echo_n "checking whether readline supports history... " >&6; }
19866 if ${ax_cv_lib_readline_history+:} false
; then :
19867 $as_echo_n "(cached) " >&6
19870 ax_cv_lib_readline_history
="no"
19871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19874 /* Override any GCC internal prototype to avoid an error.
19875 Use char because int might match the return type of a GCC
19876 builtin and then its argument prototype would still apply. */
19880 char add_history ();
19884 return add_history ();
19889 if ac_fn_cxx_try_link
"$LINENO"; then :
19890 ax_cv_lib_readline_history
="yes"
19892 rm -f core conftest.err conftest.
$ac_objext \
19893 conftest
$ac_exeext conftest.
$ac_ext
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19897 $as_echo "$ax_cv_lib_readline_history" >&6; }
19898 if test "$ax_cv_lib_readline_history" = "yes"; then
19900 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19902 for ac_header
in history.h readline
/history.h
19904 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19905 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19906 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19907 cat >>confdefs.h
<<_ACEOF
19908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19918 LTLIBREADLINE
=$LIBS
19922 case $ax_cv_lib_readline in #(
19924 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
19933 $as_echo_n "checking for library containing cur_term... " >&6; }
19934 if ${ac_cv_search_cur_term+:} false
; then :
19935 $as_echo_n "(cached) " >&6
19937 ac_func_search_save_LIBS
=$LIBS
19938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19939 /* end confdefs.h. */
19941 /* Override any GCC internal prototype to avoid an error.
19942 Use char because int might match the return type of a GCC
19943 builtin and then its argument prototype would still apply. */
19951 return cur_term ();
19956 for ac_lib
in '' termcap
; do
19957 if test -z "$ac_lib"; then
19958 ac_res
="none required"
19961 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19963 if ac_fn_cxx_try_link
"$LINENO"; then :
19964 ac_cv_search_cur_term
=$ac_res
19966 rm -f core conftest.err conftest.
$ac_objext \
19968 if ${ac_cv_search_cur_term+:} false
; then :
19972 if ${ac_cv_search_cur_term+:} false
; then :
19975 ac_cv_search_cur_term
=no
19977 rm conftest.
$ac_ext
19978 LIBS
=$ac_func_search_save_LIBS
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
19981 $as_echo "$ac_cv_search_cur_term" >&6; }
19982 ac_res
=$ac_cv_search_cur_term
19983 if test "$ac_res" != no
; then :
19984 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19997 if test "x$CY_EXECUTE" = x1
; then :
19999 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20000 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20002 if test -n "$ac_tool_prefix"; then
20003 for ac_prog
in lipo
20005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20006 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20008 $as_echo_n "checking for $ac_word... " >&6; }
20009 if ${ac_cv_prog__LIPO+:} false
; then :
20010 $as_echo_n "(cached) " >&6
20012 if test -n "$_LIPO"; then
20013 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20016 for as_dir
in $PATH
20019 test -z "$as_dir" && as_dir
=.
20020 for ac_exec_ext
in '' $ac_executable_extensions; do
20021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20022 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20032 _LIPO
=$ac_cv_prog__LIPO
20033 if test -n "$_LIPO"; then
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20035 $as_echo "$_LIPO" >&6; }
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20038 $as_echo "no" >&6; }
20042 test -n "$_LIPO" && break
20045 if test -z "$_LIPO"; then
20047 for ac_prog
in lipo
20049 # Extract the first word of "$ac_prog", so it can be a program name with args.
20050 set dummy
$ac_prog; ac_word
=$2
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20052 $as_echo_n "checking for $ac_word... " >&6; }
20053 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20054 $as_echo_n "(cached) " >&6
20056 if test -n "$ac_ct__LIPO"; then
20057 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20060 for as_dir
in $PATH
20063 test -z "$as_dir" && as_dir
=.
20064 for ac_exec_ext
in '' $ac_executable_extensions; do
20065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20066 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20076 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20077 if test -n "$ac_ct__LIPO"; then
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20079 $as_echo "$ac_ct__LIPO" >&6; }
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20082 $as_echo "no" >&6; }
20086 test -n "$ac_ct__LIPO" && break
20089 if test "x$ac_ct__LIPO" = x
; then
20090 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20092 case $cross_compiling:$ac_tool_warned in
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20096 ac_tool_warned
=yes ;;
20102 if test -n "$ac_tool_prefix"; then
20105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20106 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20108 $as_echo_n "checking for $ac_word... " >&6; }
20109 if ${ac_cv_prog__NM+:} false
; then :
20110 $as_echo_n "(cached) " >&6
20112 if test -n "$_NM"; then
20113 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20116 for as_dir
in $PATH
20119 test -z "$as_dir" && as_dir
=.
20120 for ac_exec_ext
in '' $ac_executable_extensions; do
20121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20122 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20132 _NM
=$ac_cv_prog__NM
20133 if test -n "$_NM"; then
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20135 $as_echo "$_NM" >&6; }
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20138 $as_echo "no" >&6; }
20142 test -n "$_NM" && break
20145 if test -z "$_NM"; then
20149 # Extract the first word of "$ac_prog", so it can be a program name with args.
20150 set dummy
$ac_prog; ac_word
=$2
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20152 $as_echo_n "checking for $ac_word... " >&6; }
20153 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20154 $as_echo_n "(cached) " >&6
20156 if test -n "$ac_ct__NM"; then
20157 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20160 for as_dir
in $PATH
20163 test -z "$as_dir" && as_dir
=.
20164 for ac_exec_ext
in '' $ac_executable_extensions; do
20165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20166 ac_cv_prog_ac_ct__NM
="$ac_prog"
20167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20176 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20177 if test -n "$ac_ct__NM"; then
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20179 $as_echo "$ac_ct__NM" >&6; }
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20182 $as_echo "no" >&6; }
20186 test -n "$ac_ct__NM" && break
20189 if test "x$ac_ct__NM" = x
; then
20190 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20192 case $cross_compiling:$ac_tool_warned in
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20196 ac_tool_warned
=yes ;;
20202 if test -n "$ac_tool_prefix"; then
20203 for ac_prog
in otool
20205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20206 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20208 $as_echo_n "checking for $ac_word... " >&6; }
20209 if ${ac_cv_prog__OTOOL+:} false
; then :
20210 $as_echo_n "(cached) " >&6
20212 if test -n "$_OTOOL"; then
20213 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20216 for as_dir
in $PATH
20219 test -z "$as_dir" && as_dir
=.
20220 for ac_exec_ext
in '' $ac_executable_extensions; do
20221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20222 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20232 _OTOOL
=$ac_cv_prog__OTOOL
20233 if test -n "$_OTOOL"; then
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20235 $as_echo "$_OTOOL" >&6; }
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20238 $as_echo "no" >&6; }
20242 test -n "$_OTOOL" && break
20245 if test -z "$_OTOOL"; then
20246 ac_ct__OTOOL
=$_OTOOL
20247 for ac_prog
in otool
20249 # Extract the first word of "$ac_prog", so it can be a program name with args.
20250 set dummy
$ac_prog; ac_word
=$2
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20252 $as_echo_n "checking for $ac_word... " >&6; }
20253 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20254 $as_echo_n "(cached) " >&6
20256 if test -n "$ac_ct__OTOOL"; then
20257 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20260 for as_dir
in $PATH
20263 test -z "$as_dir" && as_dir
=.
20264 for ac_exec_ext
in '' $ac_executable_extensions; do
20265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20266 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20276 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20277 if test -n "$ac_ct__OTOOL"; then
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20279 $as_echo "$ac_ct__OTOOL" >&6; }
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20282 $as_echo "no" >&6; }
20286 test -n "$ac_ct__OTOOL" && break
20289 if test "x$ac_ct__OTOOL" = x
; then
20290 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20292 case $cross_compiling:$ac_tool_warned in
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20296 ac_tool_warned
=yes ;;
20298 _OTOOL
=$ac_ct__OTOOL
20302 CY_ATTACH_GROUP
=procmod
20310 if test "x$CY_MACH" = x1
; then
20319 ac_config_files
="$ac_config_files Makefile"
20321 cat >confcache
<<\_ACEOF
20322 # This file is a shell script that caches the results of configure
20323 # tests run on this system so they can be shared between configure
20324 # scripts and configure runs, see configure's option --config-cache.
20325 # It is not useful on other systems. If it contains results you don't
20326 # want to keep, you may remove or edit it.
20328 # config.status only pays attention to the cache file if you give it
20329 # the --recheck option to rerun configure.
20331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20333 # following values.
20337 # The following way of writing the cache mishandles newlines in values,
20338 # but we know of no workaround that is simple, portable, and efficient.
20339 # So, we kill variables containing newlines.
20340 # Ultrix sh set writes to stderr and can't be redirected directly,
20341 # and sets the high bit in the cache file unless we assign to the vars.
20343 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20344 eval ac_val
=\$
$ac_var
20348 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20352 _
| IFS
| as_nl
) ;; #(
20353 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20354 *) { eval $ac_var=; unset $ac_var;} ;;
20360 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20361 *${as_nl}ac_space
=\
*)
20362 # `set' does not quote correctly, so add quotes: double-quote
20363 # substitution turns \\\\ into \\, and sed turns \\ into \.
20366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20369 # `set' quotes correctly as required by POSIX, so do not add quotes.
20370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20381 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20383 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20384 if test -w "$cache_file"; then
20385 if test "x$cache_file" != "x/dev/null"; then
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20387 $as_echo "$as_me: updating cache $cache_file" >&6;}
20388 if test ! -f "$cache_file" || test -h "$cache_file"; then
20389 cat confcache
>"$cache_file"
20391 case $cache_file in #(
20393 mv -f confcache
"$cache_file"$$
&&
20394 mv -f "$cache_file"$$
"$cache_file" ;; #(
20396 mv -f confcache
"$cache_file" ;;
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20402 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20407 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20408 # Let make expand exec_prefix.
20409 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20411 DEFS
=-DHAVE_CONFIG_H
20416 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20417 # 1. Remove the extension, and $U if already installed.
20418 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20419 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20420 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20421 # will be set to the directory where LIBOBJS objects are built.
20422 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20423 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20425 LIBOBJS
=$ac_libobjs
20427 LTLIBOBJS
=$ac_ltlibobjs
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20431 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20432 if test -n "$am_sleep_pid"; then
20433 # Hide warnings about reused PIDs.
20434 wait $am_sleep_pid 2>/dev
/null
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20437 $as_echo "done" >&6; }
20438 if test -n "$EXEEXT"; then
20440 am__EXEEXT_FALSE
='#'
20442 am__EXEEXT_TRUE
='#'
20446 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20447 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20450 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20451 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20454 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20455 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20458 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
20459 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
20460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20462 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20463 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20466 if test -z "${CY_IOS_SIMULATOR_TRUE}" && test -z "${CY_IOS_SIMULATOR_FALSE}"; then
20467 as_fn_error $?
"conditional \"CY_IOS_SIMULATOR\" was never defined.
20468 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20470 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
20471 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
20472 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20474 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
20475 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
20476 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20478 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
20479 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
20480 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20483 : "${CONFIG_STATUS=./config.status}"
20485 ac_clean_files_save
=$ac_clean_files
20486 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20488 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20490 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20492 # Generated by $as_me.
20493 # Run this file to recreate the current configuration.
20494 # Compiler output produced by configure, useful for debugging
20495 # configure, is in config.log if it exists.
20498 ac_cs_recheck=false
20501 SHELL=\${CONFIG_SHELL-$SHELL}
20504 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20505 ## -------------------- ##
20506 ## M4sh Initialization. ##
20507 ## -------------------- ##
20509 # Be more Bourne compatible
20510 DUALCASE
=1; export DUALCASE
# for MKS sh
20511 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20514 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20515 # is contrary to our usage. Disable this feature.
20516 alias -g '${1+"$@"}'='"$@"'
20517 setopt NO_GLOB_SUBST
20519 case `(set -o) 2>/dev/null` in #(
20531 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20532 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20533 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20534 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20535 # Prefer a ksh shell builtin over an external printf program on Solaris,
20536 # but without wasting forks for bash or zsh.
20537 if test -z "$BASH_VERSION$ZSH_VERSION" \
20538 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20539 as_echo='print
-r --'
20540 as_echo_n='print
-rn --'
20541 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20542 as_echo='printf %s
\n'
20543 as_echo_n='printf %s
'
20545 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20546 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20547 as_echo_n='/usr
/ucb
/echo -n'
20549 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20550 as_echo_n_body='eval
20554 expr "X$arg" : "X\\(.*\\)$as_nl";
20555 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20557 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20559 export as_echo_n_body
20560 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20562 export as_echo_body
20563 as_echo='sh
-c $as_echo_body as_echo
'
20566 # The user is always right.
20567 if test "${PATH_SEPARATOR+set}" != set; then
20569 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20570 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20577 # We need space, tab and new line, in precisely that order. Quoting is
20578 # there to prevent editors from complaining about space-tab.
20579 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20580 # splitting by setting IFS to empty value.)
20583 # Find who we are. Look in the path if we contain no directory separator.
20586 *[\\/]* ) as_myself=$0 ;;
20587 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20588 for as_dir in $PATH
20591 test -z "$as_dir" && as_dir=.
20592 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20598 # We did not find ourselves, most probably we were run as `sh COMMAND'
20599 # in which case we are not to be found in the path.
20600 if test "x$as_myself" = x
; then
20603 if test ! -f "$as_myself"; then
20604 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20608 # Unset variables that we do not need and which cause bugs (e.g. in
20609 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20610 # suppresses any "Segmentation fault" message there. '((' could
20611 # trigger a bug in pdksh 5.2.14.
20612 for as_var
in BASH_ENV ENV MAIL MAILPATH
20613 do eval test x\
${$as_var+set} = xset \
20614 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20627 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20630 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20631 # ----------------------------------------
20632 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20633 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20634 # script with STATUS, using 1 if that was 0.
20637 as_status
=$1; test $as_status -eq 0 && as_status
=1
20639 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20640 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20642 $as_echo "$as_me: error: $2" >&2
20643 as_fn_exit
$as_status
20647 # as_fn_set_status STATUS
20648 # -----------------------
20649 # Set $? to STATUS, without forking.
20650 as_fn_set_status
()
20653 } # as_fn_set_status
20655 # as_fn_exit STATUS
20656 # -----------------
20657 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20661 as_fn_set_status
$1
20667 # Portably unset VAR.
20670 { eval $1=; unset $1;}
20672 as_unset
=as_fn_unset
20673 # as_fn_append VAR VALUE
20674 # ----------------------
20675 # Append the text in VALUE to the end of the definition contained in VAR. Take
20676 # advantage of any shell optimizations that allow amortized linear growth over
20677 # repeated appends, instead of the typical quadratic growth present in naive
20679 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20680 eval 'as_fn_append ()
20691 # as_fn_arith ARG...
20692 # ------------------
20693 # Perform arithmetic evaluation on the ARGs, and store the result in the
20694 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20695 # must be portable across $(()) and expr.
20696 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20697 eval 'as_fn_arith ()
20704 as_val
=`expr "$@" || test $? -eq 1`
20709 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20710 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20716 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20717 as_basename
=basename
20722 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20728 as_me
=`$as_basename -- "$0" ||
20729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20730 X"$0" : 'X\(//\)$' \| \
20731 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20733 sed '/^.*\/\([^/][^/]*\)\/*$/{
20747 # Avoid depending upon Character Ranges.
20748 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20749 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20750 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20751 as_cr_digits
='0123456789'
20752 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20754 ECHO_C
= ECHO_N
= ECHO_T
=
20755 case `echo -n x` in #(((((
20757 case `echo 'xy\c'` in
20758 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20760 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20767 rm -f conf$$ conf$$.exe conf$$.
file
20768 if test -d conf$$.dir
; then
20769 rm -f conf$$.dir
/conf$$.
file
20772 mkdir conf$$.dir
2>/dev
/null
20774 if (echo >conf$$.
file) 2>/dev
/null
; then
20775 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20777 # ... but there are two gotchas:
20778 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20779 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20780 # In both cases, we have to default to `cp -pR'.
20781 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20783 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20791 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20792 rmdir conf$$.dir
2>/dev
/null
20797 # Create "$as_dir" as a directory, including parents if necessary.
20802 -*) as_dir
=.
/$as_dir;;
20804 test -d "$as_dir" || eval $as_mkdir_p || {
20808 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20809 *) as_qdir
=$as_dir;;
20811 as_dirs
="'$as_qdir' $as_dirs"
20812 as_dir
=`$as_dirname -- "$as_dir" ||
20813 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20814 X"$as_dir" : 'X\(//\)[^/]' \| \
20815 X"$as_dir" : 'X\(//\)$' \| \
20816 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20817 $as_echo X"$as_dir" |
20818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20822 /^X\(\/\/\)[^/].*/{
20835 test -d "$as_dir" && break
20837 test -z "$as_dirs" || eval "mkdir $as_dirs"
20838 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20842 if mkdir -p .
2>/dev
/null
; then
20843 as_mkdir_p
='mkdir -p "$as_dir"'
20845 test -d .
/-p && rmdir .
/-p
20850 # as_fn_executable_p FILE
20851 # -----------------------
20852 # Test if FILE is an executable regular file.
20853 as_fn_executable_p
()
20855 test -f "$1" && test -x "$1"
20856 } # as_fn_executable_p
20857 as_test_x
='test -x'
20858 as_executable_p
=as_fn_executable_p
20860 # Sed expression to map a string onto a valid CPP name.
20861 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20863 # Sed expression to map a string onto a valid variable name.
20864 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20868 ## ----------------------------------- ##
20869 ## Main body of $CONFIG_STATUS script. ##
20870 ## ----------------------------------- ##
20872 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20874 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20875 # Save the log message, to keep $0 and so on meaningful, and to
20876 # report actual input values of CONFIG_FILES etc. instead of their
20877 # values after options handling.
20879 This file was extended by Cycript $as_me 0.9, which was
20880 generated by GNU Autoconf 2.69. Invocation command line was
20882 CONFIG_FILES = $CONFIG_FILES
20883 CONFIG_HEADERS = $CONFIG_HEADERS
20884 CONFIG_LINKS = $CONFIG_LINKS
20885 CONFIG_COMMANDS = $CONFIG_COMMANDS
20888 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20893 case $ac_config_files in *"
20894 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20897 case $ac_config_headers in *"
20898 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20903 # Files that config.status was made for.
20904 config_files="$ac_config_files"
20905 config_headers="$ac_config_headers"
20906 config_commands="$ac_config_commands"
20910 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20912 \`$as_me' instantiates files and other configuration actions
20913 from templates according to the current configuration. Unless the files
20914 and actions are specified as TAGs, all are instantiated by default.
20916 Usage: $0 [OPTION]... [TAG]...
20918 -h, --help print this help, then exit
20919 -V, --version print version number and configuration settings, then exit
20920 --config print configuration, then exit
20921 -q, --quiet, --silent
20922 do not print progress messages
20923 -d, --debug don't remove temporary files
20924 --recheck update $as_me by reconfiguring in the same conditions
20925 --file=FILE[:TEMPLATE]
20926 instantiate the configuration file FILE
20927 --header=FILE[:TEMPLATE]
20928 instantiate the configuration header FILE
20930 Configuration files:
20933 Configuration headers:
20936 Configuration commands:
20939 Report bugs to <saurik@saurik.com>.
20940 Cycript home page: <http://www.cycript.org/>."
20943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20944 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20946 Cycript config.status 0.9
20947 configured by $0, generated by GNU Autoconf 2.69,
20948 with options \\"\$ac_cs_config\\"
20950 Copyright (C) 2012 Free Software Foundation, Inc.
20951 This config.status script is free software; the Free Software Foundation
20952 gives unlimited permission to copy, distribute and modify it."
20959 test -n "\$AWK" || AWK=awk
20962 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20963 # The default lists apply if the user does not specify any file.
20969 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20970 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20974 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20986 # Handling of the options.
20987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20989 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20990 $as_echo "$ac_cs_version"; exit ;;
20991 --config | --confi | --conf | --con | --co | --c )
20992 $as_echo "$ac_cs_config"; exit ;;
20993 --debug | --debu | --deb | --de | --d | -d )
20995 --file | --fil | --fi | --f )
20998 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20999 '') as_fn_error $?
"missing file argument" ;;
21001 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21002 ac_need_defaults
=false
;;
21003 --header | --heade | --head | --hea )
21006 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21008 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21009 ac_need_defaults
=false
;;
21011 # Conflict between --help and --header
21012 as_fn_error $?
"ambiguous option: \`$1'
21013 Try \`$0 --help' for more information.";;
21014 --help | --hel | -h )
21015 $as_echo "$ac_cs_usage"; exit ;;
21016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21017 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21020 # This is an error.
21021 -*) as_fn_error $?
"unrecognized option: \`$1'
21022 Try \`$0 --help' for more information." ;;
21024 *) as_fn_append ac_config_targets
" $1"
21025 ac_need_defaults
=false
;;
21031 ac_configure_extra_args
=
21033 if $ac_cs_silent; then
21035 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21040 if \$ac_cs_recheck; then
21041 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21043 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21044 CONFIG_SHELL='$SHELL'
21045 export CONFIG_SHELL
21050 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21054 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21055 ## Running $as_me. ##
21061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21065 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21068 # The HP-UX ksh and POSIX shell print the target directory to stdout
21069 # if CDPATH is set.
21070 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21072 sed_quote_subst='$sed_quote_subst'
21073 double_quote_subst='$double_quote_subst'
21074 delay_variable_subst='$delay_variable_subst'
21075 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21076 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21077 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21078 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21079 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21080 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21081 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21082 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21083 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21084 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21085 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21086 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21087 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21088 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21089 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21090 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21091 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21092 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21093 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21094 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21095 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21096 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21097 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21098 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21099 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21100 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21101 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21102 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21103 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21104 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21105 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21106 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21107 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21108 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21109 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21110 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21111 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21112 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21113 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21114 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21115 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21116 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21117 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21118 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21119 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21120 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21121 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21122 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21123 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21124 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21125 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21126 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21127 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21128 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21129 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21130 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21131 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"`'
21132 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21133 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21134 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21135 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21136 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21137 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21138 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21139 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21140 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21141 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21142 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21143 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21144 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21145 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21146 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21147 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21148 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21149 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21150 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21151 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21152 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21153 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21154 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21155 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21156 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21157 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21158 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21159 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21160 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21161 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21162 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21163 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21164 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21165 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21166 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21167 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21168 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21169 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21170 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21171 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21172 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21173 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21174 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21175 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21176 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21177 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21178 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21179 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21180 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21181 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21182 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21183 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21184 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21185 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21186 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21187 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21188 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21189 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21190 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21191 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21192 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21193 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21194 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21195 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21196 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21197 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21198 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21199 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21200 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21201 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21202 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21203 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21204 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21205 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21206 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21207 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21208 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21209 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21210 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21211 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21212 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21213 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21214 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21215 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21216 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21217 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21218 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21219 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21220 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21221 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21222 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21223 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21224 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21225 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21226 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21227 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21228 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21229 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21230 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21231 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21232 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21233 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21234 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21235 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21236 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21237 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21238 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21239 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21240 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21241 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21242 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21243 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21244 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21245 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21246 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21247 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21248 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21249 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21250 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21251 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21252 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21253 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21254 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21255 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21256 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21257 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21258 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21261 LTCFLAGS='$LTCFLAGS'
21262 compiler='$compiler_DEFAULT'
21264 # A function that is used when there is no print builtin or printf.
21265 func_fallback_echo ()
21267 eval 'cat <<_LTECHO_EOF
21272 # Quote evaled strings.
21287 deplibs_check_method \
21292 sharedlib_from_linklib_cmd \
21295 archiver_list_spec \
21301 lt_cv_sys_global_symbol_pipe \
21302 lt_cv_sys_global_symbol_to_cdecl \
21303 lt_cv_sys_global_symbol_to_c_name_address \
21304 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21305 nm_file_list_spec \
21306 lt_prog_compiler_no_builtin_flag \
21307 lt_prog_compiler_pic \
21308 lt_prog_compiler_wl \
21309 lt_prog_compiler_static \
21310 lt_cv_prog_compiler_c_o \
21319 export_dynamic_flag_spec \
21320 whole_archive_flag_spec \
21321 compiler_needs_object \
21323 allow_undefined_flag \
21324 no_undefined_flag \
21325 hardcode_libdir_flag_spec \
21326 hardcode_libdir_separator \
21330 variables_saved_for_relink \
21332 library_names_spec \
21334 install_override_mode \
21338 compiler_lib_search_dirs \
21343 compiler_lib_search_path \
21347 lt_prog_compiler_no_builtin_flag_CXX \
21348 lt_prog_compiler_pic_CXX \
21349 lt_prog_compiler_wl_CXX \
21350 lt_prog_compiler_static_CXX \
21351 lt_cv_prog_compiler_c_o_CXX \
21352 export_dynamic_flag_spec_CXX \
21353 whole_archive_flag_spec_CXX \
21354 compiler_needs_object_CXX \
21356 allow_undefined_flag_CXX \
21357 no_undefined_flag_CXX \
21358 hardcode_libdir_flag_spec_CXX \
21359 hardcode_libdir_separator_CXX \
21360 exclude_expsyms_CXX \
21361 include_expsyms_CXX \
21362 file_list_spec_CXX \
21363 compiler_lib_search_dirs_CXX \
21364 predep_objects_CXX \
21365 postdep_objects_CXX \
21368 compiler_lib_search_path_CXX; do
21369 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21370 *[\\\\\\\`\\"\\\$]*)
21371 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21374 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21379 # Double-quote double-evaled strings.
21380 for var in reload_cmds \
21381 old_postinstall_cmds \
21382 old_postuninstall_cmds \
21384 extract_expsyms_cmds \
21385 old_archive_from_new_cmds \
21386 old_archive_from_expsyms_cmds \
21388 archive_expsym_cmds \
21390 module_expsym_cmds \
21391 export_symbols_cmds \
21395 postuninstall_cmds \
21397 sys_lib_search_path_spec \
21398 sys_lib_dlsearch_path_spec \
21400 old_archive_cmds_CXX \
21401 old_archive_from_new_cmds_CXX \
21402 old_archive_from_expsyms_cmds_CXX \
21404 archive_expsym_cmds_CXX \
21406 module_expsym_cmds_CXX \
21407 export_symbols_cmds_CXX \
21409 postlink_cmds_CXX; do
21410 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21411 *[\\\\\\\`\\"\\\$]*)
21412 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21415 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21420 ac_aux_dir='$ac_aux_dir'
21421 xsi_shell='$xsi_shell'
21422 lt_shell_append='$lt_shell_append'
21424 # See if we are running on zsh, and set the options which allow our
21425 # commands through without removal of \ escapes INIT.
21426 if test -n "\${ZSH_VERSION+set}" ; then
21427 setopt NO_GLOB_SUBST
21433 TIMESTAMP='$TIMESTAMP'
21444 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21446 # Handling of arguments.
21447 for ac_config_target
in $ac_config_targets
21449 case $ac_config_target in
21450 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21451 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21452 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21453 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21455 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21460 # If the user did not use the arguments to specify the items to instantiate,
21461 # then the envvar interface is used. Set only those that are not.
21462 # We use the long form for the default assignment because of an extremely
21463 # bizarre bug on SunOS 4.1.3.
21464 if $ac_need_defaults; then
21465 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21466 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21467 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21470 # Have a temporary directory for convenience. Make it in the build tree
21471 # simply because there is no reason against having it here, and in addition,
21472 # creating and moving files from /tmp can sometimes cause problems.
21473 # Hook for its removal unless debugging.
21474 # Note that there is a small window in which the directory will not be cleaned:
21475 # after its creation but before its name has been assigned to `$tmp'.
21479 trap 'exit_status=$?
21480 : "${ac_tmp:=$tmp}"
21481 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21483 trap 'as_fn_exit 1' 1 2 13 15
21485 # Create a (secure) tmp directory for tmp files.
21488 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21492 tmp
=.
/conf$$
-$RANDOM
21493 (umask 077 && mkdir "$tmp")
21494 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21497 # Set up the scripts for CONFIG_FILES section.
21498 # No need to generate them if there are no CONFIG_FILES.
21499 # This happens for instance with `./config.status config.h'.
21500 if test -n "$CONFIG_FILES"; then
21503 ac_cr
=`echo X | tr X '\015'`
21504 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21505 # But we know of no other shell where ac_cr would be empty at this
21506 # point, so we can use a bashism as a fallback.
21507 if test "x$ac_cr" = x
; then
21508 eval ac_cr
=\$
\'\\r
\'
21510 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21511 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21514 ac_cs_awk_cr
=$ac_cr
21517 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21522 echo "cat >conf$$subs.awk <<_ACEOF" &&
21523 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21525 } >conf$$subs.sh ||
21526 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21527 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21529 for ac_last_try in false false false false false :; do
21530 . ./conf$$subs.sh ||
21531 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21533 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21534 if test $ac_delim_n = $ac_delim_num; then
21536 elif $ac_last_try; then
21537 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21539 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21542 rm -f conf$$subs.sh
21544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21545 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21549 s/^/S["/; s
/!.
*/"]=/
21559 s/\(.\{148\}\)..*/\1/
21561 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21566 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21573 s/\(.\{148\}\)..*/\1/
21575 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21579 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21584 ' <conf$$subs.awk | sed '
21589 ' >>$CONFIG_STATUS || ac_write_fail=1
21590 rm -f conf$$subs.awk
21591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21593 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21594 for (key in S) S_is_set[key] = 1
21600 nfields = split(line, field, "@
")
21602 len = length(field[1])
21603 for (i = 2; i < nfields; i++) {
21605 keylen = length(key)
21606 if (S_is_set[key]) {
21608 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21609 len += length(value) + length(field[++i])
21620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21621 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21622 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21625 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21626 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21629 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21630 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21631 # trailing colons and then remove the whole line if VPATH becomes empty
21632 # (actually we leave an empty line to preserve line numbers).
21633 if test "x
$srcdir" = x.; then
21634 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21653 fi # test -n "$CONFIG_FILES"
21655 # Set up the scripts for CONFIG_HEADERS section.
21656 # No need to generate them if there are no CONFIG_HEADERS.
21657 # This happens for instance with `./config.status Makefile'.
21658 if test -n "$CONFIG_HEADERS"; then
21659 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21663 # Transform confdefs.h into an awk script `defines.awk', embedded as
21664 # here-document in config.status, that substitutes the proper values into
21665 # config.h.in to produce config.h.
21667 # Create a delimiter string that does not exist in confdefs.h, to ease
21668 # handling of long lines.
21670 for ac_last_try in false false :; do
21671 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21672 if test -z "$ac_tt"; then
21674 elif $ac_last_try; then
21675 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21677 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21681 # For the awk script, D is an array of macro values keyed by name,
21682 # likewise P contains macro parameters if any. Preserve backslash
21683 # newline sequences.
21685 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21687 s/.\{148\}/&'"$ac_delim"'/g
21690 s/^[ ]*#[ ]*define[ ][ ]*/ /
21697 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21699 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21703 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21704 D["\
1"]=" \
3\\\\\\n
"\\/p
21706 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21711 s/.\{148\}/&'"$ac_delim"'/g
21716 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21719 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21721 ' <confdefs.h | sed '
21722 s/'"$ac_delim"'/"\\\
21723 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21726 for (key in D) D_is_set[key] = 1
21729 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21731 split(line, arg, " ")
21732 if (arg[1] == "#") {
21736 defundef
= substr
(arg
[1], 2)
21739 split(mac1
, mac2
, "(") #)
21741 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21742 if (D_is_set
[macro
]) {
21743 # Preserve the white space surrounding the "#".
21744 print prefix
"define", macro P
[macro
] D
[macro
]
21747 # Replace #undef with comments. This is necessary, for example,
21748 # in the case of _POSIX_SOURCE, which is predefined and required
21749 # on some systems where configure will not decide to define it.
21750 if (defundef
== "undef") {
21751 print
"/*", prefix defundef
, macro
, "*/"
21759 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21760 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21761 fi # test -n "$CONFIG_HEADERS"
21764 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21769 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21771 case $ac_mode$ac_tag in
21773 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21774 :[FH
]-) ac_tag
=-:-;;
21775 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21792 -) ac_f
="$ac_tmp/stdin";;
21793 *) # Look for the file first in the build tree, then in the source tree
21794 # (if the path is not absolute). The absolute path cannot be DOS-style,
21795 # because $ac_f cannot contain `:'.
21799 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21801 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21803 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21804 as_fn_append ac_file_inputs
" '$ac_f'"
21807 # Let's still pretend it is `configure' which instantiates (i.e., don't
21808 # use $as_me), people would be surprised to read:
21809 # /* config.h. Generated by config.status. */
21810 configure_input
='Generated from '`
21811 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21813 if test x
"$ac_file" != x
-; then
21814 configure_input
="$ac_file. $configure_input"
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21816 $as_echo "$as_me: creating $ac_file" >&6;}
21818 # Neutralize special characters interpreted by sed in replacement strings.
21819 case $configure_input in #(
21820 *\
&* | *\
|* | *\\* )
21821 ac_sed_conf_input
=`$as_echo "$configure_input" |
21822 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21823 *) ac_sed_conf_input
=$configure_input;;
21827 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21828 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21833 ac_dir
=`$as_dirname -- "$ac_file" ||
21834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21835 X"$ac_file" : 'X\(//\)[^/]' \| \
21836 X"$ac_file" : 'X\(//\)$' \| \
21837 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21838 $as_echo X"$ac_file" |
21839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21843 /^X\(\/\/\)[^/].*/{
21856 as_dir
="$ac_dir"; as_fn_mkdir_p
21860 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21862 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21863 # A ".." for each directory in $ac_dir_suffix.
21864 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21865 case $ac_top_builddir_sub in
21866 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21867 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21870 ac_abs_top_builddir
=$ac_pwd
21871 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21872 # for backward compatibility:
21873 ac_top_builddir
=$ac_top_build_prefix
21876 .
) # We are building in place.
21878 ac_top_srcdir
=$ac_top_builddir_sub
21879 ac_abs_top_srcdir
=$ac_pwd ;;
21880 [\\/]* | ?
:[\\/]* ) # Absolute name.
21881 ac_srcdir
=$srcdir$ac_dir_suffix;
21882 ac_top_srcdir
=$srcdir
21883 ac_abs_top_srcdir
=$srcdir ;;
21884 *) # Relative name.
21885 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21886 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21887 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21889 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21899 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21900 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21902 ac_MKDIR_P
=$MKDIR_P
21904 [\\/$
]* | ?
:[\\/]* ) ;;
21905 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21909 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21910 # If the template does not know about datarootdir, expand it.
21911 # FIXME: This hack should be removed a few years after 2.60.
21912 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21923 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21924 *datarootdir
*) ac_datarootdir_seen
=yes;;
21925 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
21926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21927 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21930 ac_datarootdir_hack='
21931 s&@datadir@&$datadir&g
21932 s&@docdir@&$docdir&g
21933 s&@infodir@&$infodir&g
21934 s&@localedir@&$localedir&g
21935 s&@mandir@&$mandir&g
21936 s&\\\${datarootdir}&$datarootdir&g' ;;
21940 # Neutralize VPATH when `$srcdir' = `.'.
21941 # Shell code in configure.ac might set extrasub.
21942 # FIXME: do we really want to maintain this feature?
21943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21944 ac_sed_extra="$ac_vpsub
21947 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21949 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21950 s
|@configure_input@
|$ac_sed_conf_input|;t t
21951 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21952 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21953 s
&@srcdir@
&$ac_srcdir&;t t
21954 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21955 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21956 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21957 s
&@builddir@
&$ac_builddir&;t t
21958 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21959 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21960 s
&@INSTALL@
&$ac_INSTALL&;t t
21961 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21962 $ac_datarootdir_hack
21964 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21965 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21967 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21968 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21969 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21970 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21972 which seems to be undefined. Please make sure it is defined" >&5
21973 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21974 which seems to be undefined. Please make sure it is defined" >&2;}
21976 rm -f "$ac_tmp/stdin"
21978 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21979 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21981 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21987 if test x"$ac_file" != x-; then
21989 $as_echo "/* $configure_input */" \
21990 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21991 } >"$ac_tmp/config.h" \
21992 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21993 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21995 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21998 mv "$ac_tmp/config.h" "$ac_file" \
21999 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22002 $as_echo "/* $configure_input */" \
22003 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22004 || as_fn_error $? "could not create -" "$LINENO" 5
22006 # Compute "$ac_file"'s index
in $config_headers.
22009 for _am_header
in $config_headers :; do
22010 case $_am_header in
22011 $_am_arg | $_am_arg:* )
22014 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22017 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22018 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22019 X"$_am_arg" : 'X\(//\)[^/]' \| \
22020 X"$_am_arg" : 'X\(//\)$' \| \
22021 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22022 $as_echo X"$_am_arg" |
22023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22027 /^X\(\/\/\)[^/].*/{
22039 s/.*/./; q'`/stamp
-h$_am_stamp_count
22042 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22043 $as_echo "$as_me: executing $ac_file commands" >&6;}
22048 case $ac_file$ac_mode in
22049 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22050 # Older Autoconf quotes --file arguments for eval, but not when files
22051 # are listed without --file. Let's play safe and only enable the eval
22052 # if we detect the quoting.
22053 case $CONFIG_FILES in
22054 *\'*) eval set x
"$CONFIG_FILES" ;;
22055 *) set x
$CONFIG_FILES ;;
22060 # Strip MF so we end up with the name of the file.
22061 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22062 # Check whether this is an Automake generated Makefile or not.
22063 # We used to match only the files named 'Makefile.in', but
22064 # some people rename them; so instead we look at the file content.
22065 # Grep'ing the first line is not enough: some people post-process
22066 # each Makefile.in and add a new line on top of each file to say so.
22067 # Grep'ing the whole file is not good either: AIX grep has a line
22068 # limit of 2048, but all sed's we know have understand at least 4000.
22069 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22070 dirpart
=`$as_dirname -- "$mf" ||
22071 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22072 X"$mf" : 'X\(//\)[^/]' \| \
22073 X"$mf" : 'X\(//\)$' \| \
22074 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22080 /^X\(\/\/\)[^/].*/{
22096 # Extract the definition of DEPDIR, am__include, and am__quote
22097 # from the Makefile without running 'make'.
22098 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22099 test -z "$DEPDIR" && continue
22100 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22101 test -z "am__include" && continue
22102 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22103 # Find all dependency output files, they are included files with
22104 # $(DEPDIR) in their names. We invoke sed twice because it is the
22105 # simplest approach to changing $(DEPDIR) to its actual value in the
22107 for file in `sed -n "
22108 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22109 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22110 # Make sure the directory exists.
22111 test -f "$dirpart/$file" && continue
22112 fdir
=`$as_dirname -- "$file" ||
22113 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22114 X"$file" : 'X\(//\)[^/]' \| \
22115 X"$file" : 'X\(//\)$' \| \
22116 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22117 $as_echo X"$file" |
22118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22122 /^X\(\/\/\)[^/].*/{
22135 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22136 # echo "creating $dirpart/$file"
22137 echo '# dummy' > "$dirpart/$file"
22144 # See if we are running on zsh, and set the options which allow our
22145 # commands through without removal of \ escapes.
22146 if test -n "${ZSH_VERSION+set}" ; then
22147 setopt NO_GLOB_SUBST
22150 cfgfile
="${ofile}T"
22151 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22154 cat <<_LT_EOF >> "$cfgfile"
22157 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22158 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22159 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22160 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22162 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22163 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22165 # Written by Gordon Matzigkeit, 1996
22167 # This file is part of GNU Libtool.
22169 # GNU Libtool is free software; you can redistribute it and/or
22170 # modify it under the terms of the GNU General Public License as
22171 # published by the Free Software Foundation; either version 2 of
22172 # the License, or (at your option) any later version.
22174 # As a special exception to the GNU General Public License,
22175 # if you distribute this file as part of a program or library that
22176 # is built using GNU Libtool, you may include this file under the
22177 # same distribution terms that you use for the rest of that program.
22179 # GNU Libtool is distributed in the hope that it will be useful,
22180 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22181 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22182 # GNU General Public License for more details.
22184 # You should have received a copy of the GNU General Public License
22185 # along with GNU Libtool; see the file COPYING. If not, a copy
22186 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22187 # obtained by writing to the Free Software Foundation, Inc.,
22188 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22191 # The names of the tagged configurations supported by this script.
22192 available_tags="CXX "
22194 # ### BEGIN LIBTOOL CONFIG
22196 # Which release of libtool.m4 was used?
22197 macro_version=$macro_version
22198 macro_revision=$macro_revision
22200 # Whether or not to build static libraries.
22201 build_old_libs=$enable_static
22203 # Whether or not to build shared libraries.
22204 build_libtool_libs=$enable_shared
22206 # What type of objects to build.
22209 # Whether or not to optimize for fast installation.
22210 fast_install=$enable_fast_install
22212 # Shell to use when invoking shell scripts.
22215 # An echo program that protects backslashes.
22218 # The PATH separator for the build system.
22219 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22222 host_alias=$host_alias
22226 # The build system.
22227 build_alias=$build_alias
22231 # A sed program that does not truncate output.
22234 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22235 Xsed="\$SED -e 1s/^X//"
22237 # A grep program that handles long lines.
22243 # A literal string matcher.
22246 # A BSD- or MS-compatible name lister.
22249 # Whether we need soft or hard links.
22252 # What is the maximum length of a command?
22253 max_cmd_len=$max_cmd_len
22255 # Object file suffix (normally "o").
22258 # Executable file suffix (normally "").
22261 # whether the shell understands "unset".
22264 # turn spaces into newlines.
22267 # turn newlines into spaces.
22270 # convert \$build file names to \$host format.
22271 to_host_file_cmd=$lt_cv_to_host_file_cmd
22273 # convert \$build files to toolchain format.
22274 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22276 # An object symbol dumper.
22277 OBJDUMP=$lt_OBJDUMP
22279 # Method to check whether dependent libraries are shared objects.
22280 deplibs_check_method=$lt_deplibs_check_method
22282 # Command to use when deplibs_check_method = "file_magic".
22283 file_magic_cmd=$lt_file_magic_cmd
22285 # How to find potential files when deplibs_check_method = "file_magic".
22286 file_magic_glob=$lt_file_magic_glob
22288 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22289 want_nocaseglob=$lt_want_nocaseglob
22291 # DLL creation program.
22292 DLLTOOL=$lt_DLLTOOL
22294 # Command to associate shared and link libraries.
22295 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22300 # Flags to create an archive.
22301 AR_FLAGS=$lt_AR_FLAGS
22303 # How to feed a file listing to the archiver.
22304 archiver_list_spec=$lt_archiver_list_spec
22306 # A symbol stripping program.
22309 # Commands used to install an old-style archive.
22311 old_postinstall_cmds=$lt_old_postinstall_cmds
22312 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22314 # Whether to use a lock for old archive extraction.
22315 lock_old_archive_extraction=$lock_old_archive_extraction
22320 # LTCC compiler flags.
22321 LTCFLAGS=$lt_CFLAGS
22323 # Take the output of nm and produce a listing of raw symbols and C names.
22324 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22326 # Transform the output of nm in a proper C declaration.
22327 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22329 # Transform the output of nm in a C name address pair.
22330 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22332 # Transform the output of nm in a C name address pair when lib prefix is needed.
22333 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22335 # Specify filename containing input files for \$NM.
22336 nm_file_list_spec=$lt_nm_file_list_spec
22338 # The root where to search for dependent libraries,and in which our libraries should be installed.
22339 lt_sysroot=$lt_sysroot
22341 # The name of the directory that contains temporary libtool files.
22344 # Used to examine libraries when file_magic_cmd begins with "file".
22345 MAGIC_CMD=$MAGIC_CMD
22347 # Must we lock files when doing compilation?
22348 need_locks=$lt_need_locks
22351 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22353 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22354 DSYMUTIL=$lt_DSYMUTIL
22356 # Tool to change global to local symbols on Mac OS X.
22359 # Tool to manipulate fat objects and archives on Mac OS X.
22362 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22365 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22366 OTOOL64=$lt_OTOOL64
22368 # Old archive suffix (normally "a").
22371 # Shared library suffix (normally ".so").
22372 shrext_cmds=$lt_shrext_cmds
22374 # The commands to extract the exported symbol list from a shared archive.
22375 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22377 # Variables whose values should be saved in libtool wrapper scripts and
22378 # restored at link time.
22379 variables_saved_for_relink=$lt_variables_saved_for_relink
22381 # Do we need the "lib" prefix for modules?
22382 need_lib_prefix=$need_lib_prefix
22384 # Do we need a version for libraries?
22385 need_version=$need_version
22387 # Library versioning type.
22388 version_type=$version_type
22390 # Shared library runtime path variable.
22391 runpath_var=$runpath_var
22393 # Shared library path variable.
22394 shlibpath_var=$shlibpath_var
22396 # Is shlibpath searched before the hard-coded library search path?
22397 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22399 # Format of library name prefix.
22400 libname_spec=$lt_libname_spec
22402 # List of archive names. First name is the real one, the rest are links.
22403 # The last name is the one that the linker finds with -lNAME
22404 library_names_spec=$lt_library_names_spec
22406 # The coded name of the library, if different from the real name.
22407 soname_spec=$lt_soname_spec
22409 # Permission mode override for installation of shared libraries.
22410 install_override_mode=$lt_install_override_mode
22412 # Command to use after installation of a shared archive.
22413 postinstall_cmds=$lt_postinstall_cmds
22415 # Command to use after uninstallation of a shared archive.
22416 postuninstall_cmds=$lt_postuninstall_cmds
22418 # Commands used to finish a libtool library installation in a directory.
22419 finish_cmds=$lt_finish_cmds
22421 # As "finish_cmds", except a single script fragment to be evaled but
22423 finish_eval=$lt_finish_eval
22425 # Whether we should hardcode library paths into libraries.
22426 hardcode_into_libs=$hardcode_into_libs
22428 # Compile-time system search path for libraries.
22429 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22431 # Run-time system search path for libraries.
22432 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22434 # Whether dlopen is supported.
22435 dlopen_support=$enable_dlopen
22437 # Whether dlopen of programs is supported.
22438 dlopen_self=$enable_dlopen_self
22440 # Whether dlopen of statically linked programs is supported.
22441 dlopen_self_static=$enable_dlopen_self_static
22443 # Commands to strip libraries.
22444 old_striplib=$lt_old_striplib
22445 striplib=$lt_striplib
22448 # The linker used to build libraries.
22451 # How to create reloadable object files.
22452 reload_flag=$lt_reload_flag
22453 reload_cmds=$lt_reload_cmds
22455 # Commands used to build an old-style archive.
22456 old_archive_cmds=$lt_old_archive_cmds
22458 # A language specific compiler.
22461 # Is the compiler the GNU compiler?
22464 # Compiler flag to turn off builtin functions.
22465 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22467 # Additional compiler flags for building library objects.
22468 pic_flag=$lt_lt_prog_compiler_pic
22470 # How to pass a linker flag through the compiler.
22471 wl=$lt_lt_prog_compiler_wl
22473 # Compiler flag to prevent dynamic linking.
22474 link_static_flag=$lt_lt_prog_compiler_static
22476 # Does compiler simultaneously support -c and -o options?
22477 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22479 # Whether or not to add -lc for building shared libraries.
22480 build_libtool_need_lc=$archive_cmds_need_lc
22482 # Whether or not to disallow shared libs when runtime libs are static.
22483 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22485 # Compiler flag to allow reflexive dlopens.
22486 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22488 # Compiler flag to generate shared objects directly from archives.
22489 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22491 # Whether the compiler copes with passing no objects directly.
22492 compiler_needs_object=$lt_compiler_needs_object
22494 # Create an old-style archive from a shared archive.
22495 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22497 # Create a temporary old-style archive to link instead of a shared archive.
22498 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22500 # Commands used to build a shared archive.
22501 archive_cmds=$lt_archive_cmds
22502 archive_expsym_cmds=$lt_archive_expsym_cmds
22504 # Commands used to build a loadable module if different from building
22505 # a shared archive.
22506 module_cmds=$lt_module_cmds
22507 module_expsym_cmds=$lt_module_expsym_cmds
22509 # Whether we are building with GNU ld or not.
22510 with_gnu_ld=$lt_with_gnu_ld
22512 # Flag that allows shared libraries with undefined symbols to be built.
22513 allow_undefined_flag=$lt_allow_undefined_flag
22515 # Flag that enforces no undefined symbols.
22516 no_undefined_flag=$lt_no_undefined_flag
22518 # Flag to hardcode \$libdir into a binary during linking.
22519 # This must work even if \$libdir does not exist
22520 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22522 # Whether we need a single "-rpath" flag with a separated argument.
22523 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22525 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22526 # DIR into the resulting binary.
22527 hardcode_direct=$hardcode_direct
22529 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22530 # DIR into the resulting binary and the resulting library dependency is
22531 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22532 # library is relocated.
22533 hardcode_direct_absolute=$hardcode_direct_absolute
22535 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22536 # into the resulting binary.
22537 hardcode_minus_L=$hardcode_minus_L
22539 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22540 # into the resulting binary.
22541 hardcode_shlibpath_var=$hardcode_shlibpath_var
22543 # Set to "yes" if building a shared library automatically hardcodes DIR
22544 # into the library and all subsequent libraries and executables linked
22546 hardcode_automatic=$hardcode_automatic
22548 # Set to yes if linker adds runtime paths of dependent libraries
22549 # to runtime path list.
22550 inherit_rpath=$inherit_rpath
22552 # Whether libtool must link a program against all its dependency libraries.
22553 link_all_deplibs=$link_all_deplibs
22555 # Set to "yes" if exported symbols are required.
22556 always_export_symbols=$always_export_symbols
22558 # The commands to list exported symbols.
22559 export_symbols_cmds=$lt_export_symbols_cmds
22561 # Symbols that should not be listed in the preloaded symbols.
22562 exclude_expsyms=$lt_exclude_expsyms
22564 # Symbols that must always be exported.
22565 include_expsyms=$lt_include_expsyms
22567 # Commands necessary for linking programs (against libraries) with templates.
22568 prelink_cmds=$lt_prelink_cmds
22570 # Commands necessary for finishing linking programs.
22571 postlink_cmds=$lt_postlink_cmds
22573 # Specify filename containing input files.
22574 file_list_spec=$lt_file_list_spec
22576 # How to hardcode a shared library path into an executable.
22577 hardcode_action=$hardcode_action
22579 # The directories searched by this compiler when creating a shared library.
22580 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22582 # Dependencies to place before and after the objects being linked to
22583 # create a shared library.
22584 predep_objects=$lt_predep_objects
22585 postdep_objects=$lt_postdep_objects
22586 predeps=$lt_predeps
22587 postdeps=$lt_postdeps
22589 # The library search path used internally by the compiler when linking
22590 # a shared library.
22591 compiler_lib_search_path=$lt_compiler_lib_search_path
22593 # ### END LIBTOOL CONFIG
22599 cat <<\_LT_EOF
>> "$cfgfile"
22600 # AIX sometimes has problems with the GCC collect2 program. For some
22601 # reason, if we set the COLLECT_NAMES environment variable, the problems
22602 # vanish in a puff of smoke.
22603 if test "X${COLLECT_NAMES+set}" != Xset
; then
22605 export COLLECT_NAMES
22612 ltmain
="$ac_aux_dir/ltmain.sh"
22615 # We use sed instead of cat because bash on DJGPP gets confused if
22616 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22617 # text mode, it properly converts lines to CR/LF. This bash problem
22618 # is reportedly fixed, but why not run on old versions too?
22619 sed '$q' "$ltmain" >> "$cfgfile" \
22620 || (rm -f "$cfgfile"; exit 1)
22622 if test x
"$xsi_shell" = xyes
; then
22623 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22627 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22628 \ * ) func_dirname_result="${3}" ;;\
22630 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22631 && mv -f "$cfgfile.tmp" "$cfgfile" \
22632 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22633 test 0 -eq $?
|| _lt_function_replace_fail
=:
22636 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22639 \ func_basename_result="${1##*/}"\
22640 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22641 && mv -f "$cfgfile.tmp" "$cfgfile" \
22642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22643 test 0 -eq $?
|| _lt_function_replace_fail
=:
22646 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22647 func_dirname_and_basename ()\
22650 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22651 \ * ) func_dirname_result="${3}" ;;\
22653 \ func_basename_result="${1##*/}"\
22654 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22655 && mv -f "$cfgfile.tmp" "$cfgfile" \
22656 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22657 test 0 -eq $?
|| _lt_function_replace_fail
=:
22660 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22663 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22664 \ # positional parameters, so assign one to ordinary parameter first.\
22665 \ func_stripname_result=${3}\
22666 \ func_stripname_result=${func_stripname_result#"${1}"}\
22667 \ func_stripname_result=${func_stripname_result%"${2}"}\
22668 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22669 && mv -f "$cfgfile.tmp" "$cfgfile" \
22670 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22671 test 0 -eq $?
|| _lt_function_replace_fail
=:
22674 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22675 func_split_long_opt ()\
22677 \ func_split_long_opt_name=${1%%=*}\
22678 \ func_split_long_opt_arg=${1#*=}\
22679 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22680 && mv -f "$cfgfile.tmp" "$cfgfile" \
22681 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22682 test 0 -eq $?
|| _lt_function_replace_fail
=:
22685 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22686 func_split_short_opt ()\
22688 \ func_split_short_opt_arg=${1#??}\
22689 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22690 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22691 && mv -f "$cfgfile.tmp" "$cfgfile" \
22692 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22693 test 0 -eq $?
|| _lt_function_replace_fail
=:
22696 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22700 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22701 \ *) func_lo2o_result=${1} ;;\
22703 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22704 && mv -f "$cfgfile.tmp" "$cfgfile" \
22705 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22706 test 0 -eq $?
|| _lt_function_replace_fail
=:
22709 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22712 func_xform_result=${1%.*}.lo\
22713 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22714 && mv -f "$cfgfile.tmp" "$cfgfile" \
22715 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22716 test 0 -eq $?
|| _lt_function_replace_fail
=:
22719 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22722 func_arith_result=$(( $* ))\
22723 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22724 && mv -f "$cfgfile.tmp" "$cfgfile" \
22725 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22726 test 0 -eq $?
|| _lt_function_replace_fail
=:
22729 sed -e '/^func_len ()$/,/^} # func_len /c\
22732 func_len_result=${#1}\
22733 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22734 && mv -f "$cfgfile.tmp" "$cfgfile" \
22735 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22736 test 0 -eq $?
|| _lt_function_replace_fail
=:
22740 if test x
"$lt_shell_append" = xyes
; then
22741 sed -e '/^func_append ()$/,/^} # func_append /c\
22744 eval "${1}+=\\${2}"\
22745 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22746 && mv -f "$cfgfile.tmp" "$cfgfile" \
22747 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22748 test 0 -eq $?
|| _lt_function_replace_fail
=:
22751 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22752 func_append_quoted ()\
22754 \ func_quote_for_eval "${2}"\
22755 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22756 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22757 && mv -f "$cfgfile.tmp" "$cfgfile" \
22758 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22759 test 0 -eq $?
|| _lt_function_replace_fail
=:
22762 # Save a `func_append' function call where possible by direct use of '+='
22763 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22764 && mv -f "$cfgfile.tmp" "$cfgfile" \
22765 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22766 test 0 -eq $?
|| _lt_function_replace_fail
=:
22768 # Save a `func_append' function call even when '+=' is not available
22769 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22770 && mv -f "$cfgfile.tmp" "$cfgfile" \
22771 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22772 test 0 -eq $?
|| _lt_function_replace_fail
=:
22775 if test x
"$_lt_function_replace_fail" = x
":"; then
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22777 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22781 mv -f "$cfgfile" "$ofile" ||
22782 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22786 cat <<_LT_EOF >> "$ofile"
22788 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22790 # The linker used to build libraries.
22793 # How to create reloadable object files.
22794 reload_flag=$lt_reload_flag_CXX
22795 reload_cmds=$lt_reload_cmds_CXX
22797 # Commands used to build an old-style archive.
22798 old_archive_cmds=$lt_old_archive_cmds_CXX
22800 # A language specific compiler.
22801 CC=$lt_compiler_CXX
22803 # Is the compiler the GNU compiler?
22806 # Compiler flag to turn off builtin functions.
22807 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22809 # Additional compiler flags for building library objects.
22810 pic_flag=$lt_lt_prog_compiler_pic_CXX
22812 # How to pass a linker flag through the compiler.
22813 wl=$lt_lt_prog_compiler_wl_CXX
22815 # Compiler flag to prevent dynamic linking.
22816 link_static_flag=$lt_lt_prog_compiler_static_CXX
22818 # Does compiler simultaneously support -c and -o options?
22819 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22821 # Whether or not to add -lc for building shared libraries.
22822 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22824 # Whether or not to disallow shared libs when runtime libs are static.
22825 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22827 # Compiler flag to allow reflexive dlopens.
22828 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22830 # Compiler flag to generate shared objects directly from archives.
22831 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22833 # Whether the compiler copes with passing no objects directly.
22834 compiler_needs_object=$lt_compiler_needs_object_CXX
22836 # Create an old-style archive from a shared archive.
22837 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22839 # Create a temporary old-style archive to link instead of a shared archive.
22840 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22842 # Commands used to build a shared archive.
22843 archive_cmds=$lt_archive_cmds_CXX
22844 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22846 # Commands used to build a loadable module if different from building
22847 # a shared archive.
22848 module_cmds=$lt_module_cmds_CXX
22849 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22851 # Whether we are building with GNU ld or not.
22852 with_gnu_ld=$lt_with_gnu_ld_CXX
22854 # Flag that allows shared libraries with undefined symbols to be built.
22855 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22857 # Flag that enforces no undefined symbols.
22858 no_undefined_flag=$lt_no_undefined_flag_CXX
22860 # Flag to hardcode \$libdir into a binary during linking.
22861 # This must work even if \$libdir does not exist
22862 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22864 # Whether we need a single "-rpath" flag with a separated argument.
22865 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22867 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22868 # DIR into the resulting binary.
22869 hardcode_direct=$hardcode_direct_CXX
22871 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22872 # DIR into the resulting binary and the resulting library dependency is
22873 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22874 # library is relocated.
22875 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22877 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22878 # into the resulting binary.
22879 hardcode_minus_L=$hardcode_minus_L_CXX
22881 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22882 # into the resulting binary.
22883 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22885 # Set to "yes" if building a shared library automatically hardcodes DIR
22886 # into the library and all subsequent libraries and executables linked
22888 hardcode_automatic=$hardcode_automatic_CXX
22890 # Set to yes if linker adds runtime paths of dependent libraries
22891 # to runtime path list.
22892 inherit_rpath=$inherit_rpath_CXX
22894 # Whether libtool must link a program against all its dependency libraries.
22895 link_all_deplibs=$link_all_deplibs_CXX
22897 # Set to "yes" if exported symbols are required.
22898 always_export_symbols=$always_export_symbols_CXX
22900 # The commands to list exported symbols.
22901 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22903 # Symbols that should not be listed in the preloaded symbols.
22904 exclude_expsyms=$lt_exclude_expsyms_CXX
22906 # Symbols that must always be exported.
22907 include_expsyms=$lt_include_expsyms_CXX
22909 # Commands necessary for linking programs (against libraries) with templates.
22910 prelink_cmds=$lt_prelink_cmds_CXX
22912 # Commands necessary for finishing linking programs.
22913 postlink_cmds=$lt_postlink_cmds_CXX
22915 # Specify filename containing input files.
22916 file_list_spec=$lt_file_list_spec_CXX
22918 # How to hardcode a shared library path into an executable.
22919 hardcode_action=$hardcode_action_CXX
22921 # The directories searched by this compiler when creating a shared library.
22922 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22924 # Dependencies to place before and after the objects being linked to
22925 # create a shared library.
22926 predep_objects=$lt_predep_objects_CXX
22927 postdep_objects=$lt_postdep_objects_CXX
22928 predeps=$lt_predeps_CXX
22929 postdeps=$lt_postdeps_CXX
22931 # The library search path used internally by the compiler when linking
22932 # a shared library.
22933 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22935 # ### END LIBTOOL TAG CONFIG: CXX
22946 ac_clean_files
=$ac_clean_files_save
22948 test $ac_write_fail = 0 ||
22949 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22952 # configure is writing to config.log, and then calls config.status.
22953 # config.status does its own redirection, appending to config.log.
22954 # Unfortunately, on DOS this fails, as config.log is still kept open
22955 # by configure, so config.status won't be able to write to it; its
22956 # output is simply discarded. So we exec the FD to /dev/null,
22957 # effectively closing config.log, so it can be properly (re)opened and
22958 # appended to by config.status. When coming back to configure, we
22959 # need to make the FD available again.
22960 if test "$no_create" != yes; then
22962 ac_config_status_args
=
22963 test "$silent" = yes &&
22964 ac_config_status_args
="$ac_config_status_args --quiet"
22966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22969 # would make configure fail if this is the last instruction.
22970 $ac_cs_success || as_fn_exit
1
22972 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22974 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}