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
723 am__fastdepOBJCXX_FALSE
724 am__fastdepOBJCXX_TRUE
747 MAINTAINER_MODE_FALSE
761 INSTALL_STRIP_PROGRAM
803 program_transform_name
816 enable_option_checking
818 enable_maintainer_mode
819 enable_dependency_tracking
830 ac_precious_vars
='build_alias
859 # Initialize some variables set by options.
861 ac_init_version
=false
862 ac_unrecognized_opts
=
864 # The variables have the same names as the options, with
865 # dashes changed to underlines.
873 program_transform_name
=s
,x
,x
,
881 # Installation directory options.
882 # These are left unexpanded so users can "make install exec_prefix=/foo"
883 # and all the variables that are supposed to be based on exec_prefix
884 # by default will actually change.
885 # Use braces instead of parens because sh, perl, etc. also accept them.
886 # (The list follows the same order as the GNU Coding Standards.)
887 bindir
='${exec_prefix}/bin'
888 sbindir
='${exec_prefix}/sbin'
889 libexecdir
='${exec_prefix}/libexec'
890 datarootdir
='${prefix}/share'
891 datadir
='${datarootdir}'
892 sysconfdir
='${prefix}/etc'
893 sharedstatedir
='${prefix}/com'
894 localstatedir
='${prefix}/var'
895 includedir
='${prefix}/include'
896 oldincludedir
='/usr/include'
897 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
898 infodir
='${datarootdir}/info'
903 libdir
='${exec_prefix}/lib'
904 localedir
='${datarootdir}/locale'
905 mandir
='${datarootdir}/man'
911 # If the previous option needs an argument, assign it.
912 if test -n "$ac_prev"; then
913 eval $ac_prev=\
$ac_option
919 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924 # Accept the important Cygnus configure options, so we can diagnose typos.
926 case $ac_dashdash$ac_option in
930 -bindir | --bindir | --bindi | --bind | --bin | --bi)
932 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
935 -build | --build | --buil | --bui | --bu)
936 ac_prev
=build_alias
;;
937 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
938 build_alias
=$ac_optarg ;;
940 -cache-file | --cache-file | --cache-fil | --cache-fi \
941 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
942 ac_prev
=cache_file
;;
943 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
944 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
945 cache_file
=$ac_optarg ;;
948 cache_file
=config.cache
;;
950 -datadir | --datadir | --datadi | --datad)
952 -datadir=* | --datadir=* | --datadi=* | --datad=*)
953 datadir
=$ac_optarg ;;
955 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
956 | --dataroo | --dataro | --datar)
957 ac_prev
=datarootdir
;;
958 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
959 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
960 datarootdir
=$ac_optarg ;;
962 -disable-* | --disable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=no
;;
978 -docdir | --docdir | --docdi | --doc | --do)
980 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
983 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
985 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
988 -enable-* | --enable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 as_fn_error $?
"invalid feature name: $ac_useropt"
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=\
$ac_optarg ;;
1004 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1005 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1006 | --exec | --exe | --ex)
1007 ac_prev
=exec_prefix
;;
1008 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1009 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1010 | --exec=* | --exe=* | --ex=*)
1011 exec_prefix
=$ac_optarg ;;
1013 -gas | --gas | --ga | --g)
1014 # Obsolete; use --with-gas.
1017 -help | --help | --hel | --he | -h)
1018 ac_init_help
=long
;;
1019 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1020 ac_init_help
=recursive
;;
1021 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1022 ac_init_help
=short
;;
1024 -host | --host | --hos | --ho)
1025 ac_prev
=host_alias
;;
1026 -host=* | --host=* | --hos=* | --ho=*)
1027 host_alias
=$ac_optarg ;;
1029 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1031 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1033 htmldir
=$ac_optarg ;;
1035 -includedir | --includedir | --includedi | --included | --include \
1036 | --includ | --inclu | --incl | --inc)
1037 ac_prev
=includedir
;;
1038 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1039 | --includ=* | --inclu=* | --incl=* | --inc=*)
1040 includedir
=$ac_optarg ;;
1042 -infodir | --infodir | --infodi | --infod | --info | --inf)
1044 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1045 infodir
=$ac_optarg ;;
1047 -libdir | --libdir | --libdi | --libd)
1049 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1050 libdir
=$ac_optarg ;;
1052 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1053 | --libexe | --libex | --libe)
1054 ac_prev
=libexecdir
;;
1055 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1056 | --libexe=* | --libex=* | --libe=*)
1057 libexecdir
=$ac_optarg ;;
1059 -localedir | --localedir | --localedi | --localed | --locale)
1060 ac_prev
=localedir
;;
1061 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1062 localedir
=$ac_optarg ;;
1064 -localstatedir | --localstatedir | --localstatedi | --localstated \
1065 | --localstate | --localstat | --localsta | --localst | --locals)
1066 ac_prev
=localstatedir
;;
1067 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1068 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1069 localstatedir
=$ac_optarg ;;
1071 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1073 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1074 mandir
=$ac_optarg ;;
1076 -nfp | --nfp | --nf)
1077 # Obsolete; use --without-fp.
1080 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1081 | --no-cr | --no-c | -n)
1084 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1085 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1088 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1089 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1090 | --oldin | --oldi | --old | --ol | --o)
1091 ac_prev
=oldincludedir
;;
1092 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1093 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1094 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1095 oldincludedir
=$ac_optarg ;;
1097 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1099 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1100 prefix
=$ac_optarg ;;
1102 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1103 | --program-pre | --program-pr | --program-p)
1104 ac_prev
=program_prefix
;;
1105 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1106 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1107 program_prefix
=$ac_optarg ;;
1109 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1110 | --program-suf | --program-su | --program-s)
1111 ac_prev
=program_suffix
;;
1112 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1113 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1114 program_suffix
=$ac_optarg ;;
1116 -program-transform-name | --program-transform-name \
1117 | --program-transform-nam | --program-transform-na \
1118 | --program-transform-n | --program-transform- \
1119 | --program-transform | --program-transfor \
1120 | --program-transfo | --program-transf \
1121 | --program-trans | --program-tran \
1122 | --progr-tra | --program-tr | --program-t)
1123 ac_prev
=program_transform_name
;;
1124 -program-transform-name=* | --program-transform-name=* \
1125 | --program-transform-nam=* | --program-transform-na=* \
1126 | --program-transform-n=* | --program-transform-=* \
1127 | --program-transform=* | --program-transfor=* \
1128 | --program-transfo=* | --program-transf=* \
1129 | --program-trans=* | --program-tran=* \
1130 | --progr-tra=* | --program-tr=* | --program-t=*)
1131 program_transform_name
=$ac_optarg ;;
1133 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1135 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1136 pdfdir
=$ac_optarg ;;
1138 -psdir | --psdir | --psdi | --psd | --ps)
1140 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1143 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1144 | -silent | --silent | --silen | --sile | --sil)
1147 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1149 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1151 sbindir
=$ac_optarg ;;
1153 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1154 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1155 | --sharedst | --shareds | --shared | --share | --shar \
1157 ac_prev
=sharedstatedir
;;
1158 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1159 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1160 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1162 sharedstatedir
=$ac_optarg ;;
1164 -site | --site | --sit)
1166 -site=* | --site=* | --sit=*)
1169 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1171 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1172 srcdir
=$ac_optarg ;;
1174 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1175 | --syscon | --sysco | --sysc | --sys | --sy)
1176 ac_prev
=sysconfdir
;;
1177 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1178 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1179 sysconfdir
=$ac_optarg ;;
1181 -target | --target | --targe | --targ | --tar | --ta | --t)
1182 ac_prev
=target_alias
;;
1183 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1184 target_alias
=$ac_optarg ;;
1186 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1189 -version | --version | --versio | --versi | --vers | -V)
1190 ac_init_version
=: ;;
1193 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error $?
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=\
$ac_optarg ;;
1208 -without-* | --without-*)
1209 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1212 as_fn_error $?
"invalid package name: $ac_useropt"
1213 ac_useropt_orig
=$ac_useropt
1214 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215 case $ac_user_opts in
1219 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1220 ac_unrecognized_sep
=', ';;
1222 eval with_
$ac_useropt=no
;;
1225 # Obsolete; use --with-x.
1228 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1229 | --x-incl | --x-inc | --x-in | --x-i)
1230 ac_prev
=x_includes
;;
1231 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1232 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1233 x_includes
=$ac_optarg ;;
1235 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1236 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1237 ac_prev
=x_libraries
;;
1238 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1239 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1240 x_libraries
=$ac_optarg ;;
1242 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1243 Try \`$0 --help' for more information"
1247 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1248 # Reject names that are not valid shell variable names.
1249 case $ac_envvar in #(
1250 '' | [0-9]* | *[!_$as_cr_alnum]* )
1251 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1253 eval $ac_envvar=\
$ac_optarg
1254 export $ac_envvar ;;
1257 # FIXME: should be removed in autoconf 3.0.
1258 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1259 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1260 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1261 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1267 if test -n "$ac_prev"; then
1268 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1269 as_fn_error $?
"missing argument to $ac_option"
1272 if test -n "$ac_unrecognized_opts"; then
1273 case $enable_option_checking in
1275 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1276 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1280 # Check all directory arguments for consistency.
1281 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282 datadir sysconfdir sharedstatedir localstatedir includedir \
1283 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284 libdir localedir mandir
1286 eval ac_val
=\$
$ac_var
1287 # Remove trailing slashes.
1290 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1291 eval $ac_var=\
$ac_val;;
1293 # Be sure to have absolute directory names.
1295 [\\/$
]* | ?
:[\\/]* ) continue;;
1296 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1298 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1301 # There might be people who depend on the old broken behavior: `$host'
1302 # used to hold the argument of --host etc.
1303 # FIXME: To remove some day.
1306 target
=$target_alias
1308 # FIXME: To remove some day.
1309 if test "x$host_alias" != x
; then
1310 if test "x$build_alias" = x
; then
1311 cross_compiling
=maybe
1312 elif test "x$build_alias" != "x$host_alias"; then
1318 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1320 test "$silent" = yes && exec 6>/dev
/null
1323 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di
=`ls -di .` &&
1325 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1326 as_fn_error $?
"working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 as_fn_error $?
"pwd does not report name of working directory"
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted
=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir
=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted
=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1367 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1369 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking ...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1460 --build=BUILD configure
for building on BUILD
[guessed
]
1461 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1465 if test -n "$ac_init_help"; then
1466 case $ac_init_help in
1467 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1472 --disable-option-checking ignore unrecognized
--enable/--with options
1473 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1474 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1475 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1476 --disable-silent-rules verbose build output
(undo
: "make V=0")
1477 --enable-maintainer-mode
1478 enable make rules and dependencies not useful
(and
1479 sometimes confusing
) to the casual installer
1480 --enable-dependency-tracking
1481 do not reject slow dependency extractors
1482 --disable-dependency-tracking
1483 speeds up one
-time build
1484 --enable-static[=PKGS
] build static libraries
[default
=no
]
1485 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1486 --enable-fast-install[=PKGS
]
1487 optimize
for fast installation
[default
=yes]
1488 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1489 --enable-javascript[=ENGINE
]
1490 use a JavaScript runtime
(currently the only
1491 available option
for ENGINE is JavaScriptCore
)
1495 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1496 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1497 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1499 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1500 --with-sysroot=DIR Search
for dependent libraries within DIR
1501 (or the compiler
's sysroot if not specified).
1502 --with-apr=PATH prefix for installed APR or the full path to
1505 Some influential environment variables:
1506 CXX C++ compiler command
1507 CXXFLAGS C++ compiler flags
1508 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1509 nonstandard directory <lib dir>
1510 LIBS libraries to pass to the linker, e.g. -l<library>
1511 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1512 you have headers in a nonstandard directory <include dir>
1513 OBJCXX Objective C++ compiler command
1514 OBJCXXFLAGS Objective C++ compiler flags
1515 CC C compiler command
1516 CFLAGS C compiler flags
1518 CXXCPP C++ preprocessor
1519 PKG_CONFIG path to pkg-config utility
1521 directories to add to pkg-config's search path
1523 path overriding pkg
-config's built-in search path
1524 BISON GNU Project parser generator (yacc replacement)
1525 FLEX the fast lexical analyser generator
1526 GPERF perfect hash function generator
1527 GNUTAR a very sticky lump of files
1529 C compiler flags for WEBKIT, overriding pkg-config
1530 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1532 prints information about the current gnustep installation
1534 Use these variables to override the choices made by `configure' or to
help
1535 it to
find libraries and programs with nonstandard names
/locations.
1537 Report bugs to
<saurik@saurik.com
>.
1538 Cycript home page
: <http
://www.cycript.org
/>.
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1546 test -d "$ac_dir" ||
1547 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1552 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1554 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1555 # A ".." for each directory in $ac_dir_suffix.
1556 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1557 case $ac_top_builddir_sub in
1558 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1559 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1562 ac_abs_top_builddir
=$ac_pwd
1563 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1564 # for backward compatibility:
1565 ac_top_builddir
=$ac_top_build_prefix
1568 .
) # We are building in place.
1570 ac_top_srcdir
=$ac_top_builddir_sub
1571 ac_abs_top_srcdir
=$ac_pwd ;;
1572 [\\/]* | ?
:[\\/]* ) # Absolute name.
1573 ac_srcdir
=$srcdir$ac_dir_suffix;
1574 ac_top_srcdir
=$srcdir
1575 ac_abs_top_srcdir
=$srcdir ;;
1577 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1578 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1579 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1581 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1583 cd "$ac_dir" || { ac_status
=$?
; continue; }
1584 # Check for guested configure.
1585 if test -f "$ac_srcdir/configure.gnu"; then
1587 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1588 elif test -f "$ac_srcdir/configure"; then
1590 $SHELL "$ac_srcdir/configure" --help=recursive
1592 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594 cd "$ac_pwd" || { ac_status
=$?
; break; }
1598 test -n "$ac_init_help" && exit $ac_status
1599 if $ac_init_version; then
1601 Cycript configure
0.9
1602 generated by GNU Autoconf
2.69
1604 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1605 This configure
script is free software
; the Free Software Foundation
1606 gives unlimited permission to copy
, distribute and modify it.
1608 Copyright
(C
) 2009-2012 Jay Freeman
(saurik
)
1613 ## ------------------------ ##
1614 ## Autoconf initialization. ##
1615 ## ------------------------ ##
1617 # ac_fn_cxx_try_compile LINENO
1618 # ----------------------------
1619 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1620 ac_fn_cxx_try_compile
()
1622 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1623 rm -f conftest.
$ac_objext
1624 if { { ac_try
="$ac_compile"
1626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_compile") 2>conftest.err
1633 if test -s conftest.err; then
1634 grep -v '^ *+' conftest.err >conftest.er1
1635 cat conftest.er1 >&5
1636 mv -f conftest.er1 conftest.err
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } && {
1640 test -z "$ac_cxx_werror_flag" ||
1641 test ! -s conftest.err
1642 } && test -s conftest.$ac_objext; then :
1645 $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.$ac_ext >&5
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 as_fn_set_status $ac_retval
1653 } # ac_fn_cxx_try_compile
1655 # ac_fn_objcxx_try_compile LINENO
1656 # -------------------------------
1657 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1658 ac_fn_objcxx_try_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 rm -f conftest.$ac_objext
1662 if { { ac_try="$ac_compile"
1664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_compile") 2>conftest.err
1671 if test -s conftest.err
; then
1672 grep -v '^ *+' conftest.err
>conftest.er1
1673 cat conftest.er1
>&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && {
1678 test -z "$ac_objcxx_werror_flag" ||
1679 test ! -s conftest.err
1680 } && test -s conftest.
$ac_objext; then :
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.
$ac_ext >&5
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status
$ac_retval
1691 } # ac_fn_objcxx_try_compile
1693 # ac_fn_c_try_compile LINENO
1694 # --------------------------
1695 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_c_try_compile
()
1698 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1699 rm -f conftest.
$ac_objext
1700 if { { ac_try
="$ac_compile"
1702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_compile") 2>conftest.err
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest.$ac_objext; then :
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1729 } # ac_fn_c_try_compile
1731 # ac_fn_c_try_link LINENO
1732 # -----------------------
1733 # Try to link conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 rm -f conftest.$ac_objext conftest$ac_exeext
1738 if { { ac_try="$ac_link"
1740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1741 *) ac_try_echo
=$ac_try;;
1743 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_link") 2>conftest.err
1747 if test -s conftest.err
; then
1748 grep -v '^ *+' conftest.err
>conftest.er1
1749 cat conftest.er1
>&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest
$ac_exeext && {
1757 test "$cross_compiling" = yes ||
1758 test -x conftest
$ac_exeext
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.
$ac_ext >&5
1767 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1768 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1769 # interfere with the next link command; also delete a directory that is
1770 # left behind by Apple's compiler. We do this before executing the actions.
1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status
$ac_retval
1775 } # ac_fn_c_try_link
1777 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists and can be compiled using the include files in
1780 # INCLUDES, setting the cache variable VAR accordingly.
1781 ac_fn_c_check_header_compile
()
1783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \
${$3+:} false
; then :
1787 $as_echo_n "(cached) " >&6
1789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile
"$LINENO"; then :
1799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 } # ac_fn_c_check_header_compile
1808 # ac_fn_c_try_cpp LINENO
1809 # ----------------------
1810 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1813 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1814 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1823 if test -s conftest.err; then
1824 grep -v '^ *+' conftest.err >conftest.er1
1825 cat conftest.er1 >&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } > conftest.i && {
1830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1831 test ! -s conftest.err
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1845 # ac_fn_c_try_run LINENO
1846 # ----------------------
1847 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1848 # that executables *can* be run.
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 if { { ac_try="$ac_link"
1854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1855 *) ac_try_echo
=$ac_try;;
1857 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>&5
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1863 { { case "(($ac_try" in
1864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_try") 2>&5
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; }; }; then :
1875 $as_echo "$as_me: program exited with status $ac_status" >&5
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1879 ac_retval=$ac_status
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status $ac_retval
1887 # ac_fn_c_check_func LINENO FUNC VAR
1888 # ----------------------------------
1889 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1890 ac_fn_c_check_func ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1900 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1902 #define $2 innocuous_$2
1904 /* System header to define __stub macros and hopefully few prototypes,
1905 which can conflict with char $2 (); below.
1906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1907 <limits.h> exists even on freestanding compilers. */
1910 # include <limits.h>
1912 # include <assert.h>
1917 /* Override any GCC internal prototype to avoid an error.
1918 Use char because int might match the return type of a GCC
1919 builtin and then its argument prototype would still apply. */
1924 /* The GNU C library defines this for functions which it implements
1925 to always fail with ENOSYS. Some functions are actually named
1926 something starting with __ and the normal name is an alias. */
1927 #if defined __stub_$2 || defined __stub___$2
1939 if ac_fn_c_try_link "$LINENO"; then :
1944 rm -f core conftest.err conftest.$ac_objext \
1945 conftest$ac_exeext conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_func
1954 # ac_fn_cxx_try_cpp LINENO
1955 # ------------------------
1956 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1957 ac_fn_cxx_try_cpp ()
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { { ac_try="$ac_cpp conftest.$ac_ext"
1962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1963 *) ac_try_echo
=$ac_try;;
1965 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1969 if test -s conftest.err
; then
1970 grep -v '^ *+' conftest.err
>conftest.er1
1971 cat conftest.er1
>&5
1972 mv -f conftest.er1 conftest.err
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } > conftest.i
&& {
1976 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1977 test ! -s conftest.err
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.
$ac_ext >&5
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status
$ac_retval
1989 } # ac_fn_cxx_try_cpp
1991 # ac_fn_cxx_try_link LINENO
1992 # -------------------------
1993 # Try to link conftest.$ac_ext, and return whether this succeeded.
1994 ac_fn_cxx_try_link
()
1996 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1997 rm -f conftest.
$ac_objext conftest
$ac_exeext
1998 if { { ac_try
="$ac_link"
2000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_link") 2>conftest.err
2007 if test -s conftest.err; then
2008 grep -v '^ *+' conftest.err >conftest.er1
2009 cat conftest.er1 >&5
2010 mv -f conftest.er1 conftest.err
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } && {
2014 test -z "$ac_cxx_werror_flag" ||
2015 test ! -s conftest.err
2016 } && test -s conftest$ac_exeext && {
2017 test "$cross_compiling" = yes ||
2018 test -x conftest$ac_exeext
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2027 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2028 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2029 # interfere with the next link command; also delete a directory that is
2030 # left behind by Apple's compiler. We do this before executing the actions.
2031 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 as_fn_set_status $ac_retval
2035 } # ac_fn_cxx_try_link
2037 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2038 # ---------------------------------------------------------
2039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2040 # the include files in INCLUDES and setting the cache variable VAR
2042 ac_fn_cxx_check_header_mongrel ()
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 if eval \${$3+:} false; then :
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047 $as_echo_n "checking for $2... " >&6; }
2048 if eval \${$3+:} false; then :
2049 $as_echo_n "(cached) " >&6
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2055 # Is the header compilable?
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2057 $as_echo_n "checking $2 usability... " >&6; }
2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2063 if ac_fn_cxx_try_compile "$LINENO"; then :
2064 ac_header_compiler=yes
2066 ac_header_compiler=no
2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2070 $as_echo "$ac_header_compiler" >&6; }
2072 # Is the header present?
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2074 $as_echo_n "checking $2 presence... " >&6; }
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2079 if ac_fn_cxx_try_cpp "$LINENO"; then :
2080 ac_header_preproc=yes
2082 ac_header_preproc=no
2084 rm -f conftest.err conftest.i conftest.$ac_ext
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2086 $as_echo "$ac_header_preproc" >&6; }
2088 # So? What about this header?
2089 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2100 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2104 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2107 ( $as_echo "## -------------------------------- ##
2108 ## Report this to saurik@saurik.com ##
2109 ## -------------------------------- ##"
2110 ) | sed "s/^/$as_me: WARNING: /" >&2
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if eval \${$3+:} false; then :
2116 $as_echo_n "(cached) " >&6
2118 eval "$3=\$ac_header_compiler"
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 } # ac_fn_cxx_check_header_mongrel
2128 # ac_fn_objcxx_try_link LINENO
2129 # ----------------------------
2130 # Try to link conftest.$ac_ext, and return whether this succeeded.
2131 ac_fn_objcxx_try_link ()
2133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2134 rm -f conftest.$ac_objext conftest$ac_exeext
2135 if { { ac_try="$ac_link"
2137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2138 *) ac_try_echo
=$ac_try;;
2140 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2141 $as_echo "$ac_try_echo"; } >&5
2142 (eval "$ac_link") 2>conftest.err
2144 if test -s conftest.err
; then
2145 grep -v '^ *+' conftest.err
>conftest.er1
2146 cat conftest.er1
>&5
2147 mv -f conftest.er1 conftest.err
2149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2150 test $ac_status = 0; } && {
2151 test -z "$ac_objcxx_werror_flag" ||
2152 test ! -s conftest.err
2153 } && test -s conftest
$ac_exeext && {
2154 test "$cross_compiling" = yes ||
2155 test -x conftest
$ac_exeext
2159 $as_echo "$as_me: failed program was:" >&5
2160 sed 's/^/| /' conftest.
$ac_ext >&5
2164 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2165 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2166 # interfere with the next link command; also delete a directory that is
2167 # left behind by Apple's compiler. We do this before executing the actions.
2168 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2170 as_fn_set_status
$ac_retval
2172 } # ac_fn_objcxx_try_link
2173 cat >config.log
<<_ACEOF
2174 This file contains any messages produced by compilers while
2175 running configure, to aid debugging if configure makes a mistake.
2177 It was created by Cycript $as_me 0.9, which was
2178 generated by GNU Autoconf 2.69. Invocation command line was
2190 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2191 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2192 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2193 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2194 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2196 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2197 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2199 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2200 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2201 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2202 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2203 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2204 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2205 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 $as_echo "PATH: $as_dir"
2230 # Keep a trace of the command line.
2231 # Strip out --no-create and --no-recursion so they do not pile up.
2232 # Strip out --silent because we don't want to record it for future runs.
2233 # Also quote any args containing shell meta-characters.
2234 # Make two passes to allow for proper duplicate-argument suppression.
2238 ac_must_keep_next
=false
2244 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2246 | -silent | --silent | --silen | --sile | --sil)
2249 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2252 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2254 as_fn_append ac_configure_args1
" '$ac_arg'"
2255 if test $ac_must_keep_next = true
; then
2256 ac_must_keep_next
=false
# Got value, back to normal.
2259 *=* | --config-cache | -C | -disable-* | --disable-* \
2260 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2261 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2262 | -with-* | --with-* | -without-* | --without-* | --x)
2263 case "$ac_configure_args0 " in
2264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2267 -* ) ac_must_keep_next
=true
;;
2270 as_fn_append ac_configure_args
" '$ac_arg'"
2275 { ac_configure_args0
=; unset ac_configure_args0
;}
2276 { ac_configure_args1
=; unset ac_configure_args1
;}
2278 # When interrupted or exit'd, cleanup temporary files, and complete
2279 # config.log. We remove comments because anyway the quotes in there
2280 # would cause problems or look ugly.
2281 # WARNING: Use '\'' to represent an apostrophe within the trap.
2282 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2283 trap 'exit_status=$?
2284 # Save into config.log some information that might help in debugging.
2288 $as_echo "## ---------------- ##
2289 ## Cache variables. ##
2290 ## ---------------- ##"
2292 # The following way of writing the cache mishandles newlines in values,
2294 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2295 eval ac_val=\$$ac_var
2299 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2300 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2303 _ | IFS | as_nl) ;; #(
2304 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2305 *) { eval $ac_var=; unset $ac_var;} ;;
2310 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2311 *${as_nl}ac_space=\ *)
2313 "s/'\''/'\''\\\\'\'''\''/g;
2314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2324 $as_echo "## ----------------- ##
2325 ## Output variables. ##
2326 ## ----------------- ##"
2328 for ac_var in $ac_subst_vars
2330 eval ac_val=\$$ac_var
2332 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2334 $as_echo "$ac_var='\''$ac_val'\''"
2338 if test -n "$ac_subst_files"; then
2339 $as_echo "## ------------------- ##
2340 ## File substitutions. ##
2341 ## ------------------- ##"
2343 for ac_var
in $ac_subst_files
2345 eval ac_val
=\$
$ac_var
2347 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2349 $as_echo "$ac_var='\''$ac_val'\''"
2354 if test -s confdefs.h; then
2355 $as_echo "## ----------- ##
2362 test "$ac_signal" != 0 &&
2363 $as_echo "$as_me: caught signal $ac_signal"
2364 $as_echo "$as_me: exit $exit_status"
2366 rm -f core *.core core.conftest.* &&
2367 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2370 for ac_signal
in 1 2 13 15; do
2371 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2376 rm -f -r conftest
* confdefs.h
2378 $as_echo "/* confdefs.h */" > confdefs.h
2380 # Predefined preprocessor variables.
2382 cat >>confdefs.h
<<_ACEOF
2383 #define PACKAGE_NAME "$PACKAGE_NAME"
2386 cat >>confdefs.h
<<_ACEOF
2387 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_STRING "$PACKAGE_STRING"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2402 cat >>confdefs.h
<<_ACEOF
2403 #define PACKAGE_URL "$PACKAGE_URL"
2407 # Let the site file select an alternate cache file if it wants to.
2408 # Prefer an explicitly selected file to automatically selected ones.
2411 if test -n "$CONFIG_SITE"; then
2412 # We do not want a PATH search for config.site.
2413 case $CONFIG_SITE in #((
2414 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2415 */*) ac_site_file1
=$CONFIG_SITE;;
2416 *) ac_site_file1
=.
/$CONFIG_SITE;;
2418 elif test "x$prefix" != xNONE
; then
2419 ac_site_file1
=$prefix/share
/config.site
2420 ac_site_file2
=$prefix/etc
/config.site
2422 ac_site_file1
=$ac_default_prefix/share
/config.site
2423 ac_site_file2
=$ac_default_prefix/etc
/config.site
2425 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2427 test "x$ac_site_file" = xNONE
&& continue
2428 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2430 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2431 sed 's/^/| /' "$ac_site_file" >&5
2433 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 as_fn_error $?
"failed to load site script $ac_site_file
2436 See \`config.log' for more details" "$LINENO" 5; }
2440 if test -r "$cache_file"; then
2441 # Some versions of bash will fail to source /dev/null (special files
2442 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2443 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2445 $as_echo "$as_me: loading cache $cache_file" >&6;}
2447 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2448 *) .
"./$cache_file";;
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2453 $as_echo "$as_me: creating cache $cache_file" >&6;}
2457 # Check that the precious variables saved in the cache have kept the same
2459 ac_cache_corrupted
=false
2460 for ac_var
in $ac_precious_vars; do
2461 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2462 eval ac_new_set
=\
$ac_env_${ac_var}_set
2463 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2464 eval ac_new_val
=\
$ac_env_${ac_var}_value
2465 case $ac_old_set,$ac_new_set in
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2468 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2469 ac_cache_corrupted
=: ;;
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2472 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2473 ac_cache_corrupted
=: ;;
2476 if test "x$ac_old_val" != "x$ac_new_val"; then
2477 # differences in whitespace do not lead to failure.
2478 ac_old_val_w
=`echo x $ac_old_val`
2479 ac_new_val_w
=`echo x $ac_new_val`
2480 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2482 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2483 ac_cache_corrupted
=:
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2486 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2487 eval $ac_var=\
$ac_old_val
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2490 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2492 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2495 # Pass precious variables to config.status.
2496 if test "$ac_new_set" = set; then
2498 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2499 *) ac_arg
=$ac_var=$ac_new_val ;;
2501 case " $ac_configure_args " in
2502 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2503 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2507 if $ac_cache_corrupted; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2511 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2512 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2514 ## -------------------- ##
2515 ## Main body of script. ##
2516 ## -------------------- ##
2519 ac_cpp
='$CPP $CPPFLAGS'
2520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2529 for ac_dir
in .
"$srcdir"/.
; do
2530 if test -f "$ac_dir/install-sh"; then
2532 ac_install_sh
="$ac_aux_dir/install-sh -c"
2534 elif test -f "$ac_dir/install.sh"; then
2536 ac_install_sh
="$ac_aux_dir/install.sh -c"
2538 elif test -f "$ac_dir/shtool"; then
2540 ac_install_sh
="$ac_aux_dir/shtool install -c"
2544 if test -z "$ac_aux_dir"; then
2545 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2548 # These three variables are undocumented and unsupported,
2549 # and are intended to be withdrawn in a future Autoconf release.
2550 # They can cause serious problems if a builder's source tree is in a directory
2551 # whose full name contains unusual characters.
2552 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2553 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2554 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2558 ac_config_headers
="$ac_config_headers config.h"
2561 am__api_version
='1.13'
2563 # Find a good install program. We prefer a C program (faster),
2564 # so one script is as good as another. But avoid the broken or
2565 # incompatible versions:
2566 # SysV /etc/install, /usr/sbin/install
2567 # SunOS /usr/etc/install
2568 # IRIX /sbin/install
2570 # AmigaOS /C/install, which installs bootblocks on floppy discs
2571 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2572 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2573 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2574 # OS/2's system install, which has a completely different semantic
2575 # ./install, which can be erroneously created by make from ./install.sh.
2576 # Reject install programs that cannot install multiple files.
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2578 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2579 if test -z "$INSTALL"; then
2580 if ${ac_cv_path_install+:} false
; then :
2581 $as_echo_n "(cached) " >&6
2583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir
=.
2588 # Account for people who put trailing slashes in PATH elements.
2589 case $as_dir/ in #((
2590 .
/ | .
// | /[cC
]/* | \
2591 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2592 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2595 # OSF1 and SCO ODT 3.0 have their own names for install.
2596 # Don't use installbsd from OSF since it installs stuff as root
2598 for ac_prog
in ginstall scoinst
install; do
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2601 if test $ac_prog = install &&
2602 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2603 # AIX install. It has an incompatible calling convention.
2605 elif test $ac_prog = install &&
2606 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2607 # program-specific install script used by HP pwplus--don't use.
2610 rm -rf conftest.one conftest.two conftest.dir
2611 echo one
> conftest.one
2612 echo two
> conftest.two
2614 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2615 test -s conftest.one
&& test -s conftest.two
&&
2616 test -s conftest.dir
/conftest.one
&&
2617 test -s conftest.dir
/conftest.two
2619 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2632 rm -rf conftest.one conftest.two conftest.dir
2635 if test "${ac_cv_path_install+set}" = set; then
2636 INSTALL
=$ac_cv_path_install
2638 # As a last resort, use the slow shell script. Don't cache a
2639 # value for INSTALL within a source directory, because that will
2640 # break other packages using the cache if that directory is
2641 # removed, or if the value is a relative name.
2642 INSTALL
=$ac_install_sh
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2646 $as_echo "$INSTALL" >&6; }
2648 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2649 # It thinks the first close brace ends the variable substitution.
2650 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2652 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2654 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2657 $as_echo_n "checking whether build environment is sane... " >&6; }
2658 # Reject unsafe characters in $srcdir or the absolute working directory
2659 # name. Accept space and tab only in the latter.
2663 *[\\\"\#\$\&\'\`$am_lf]*)
2664 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2667 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2668 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2671 # Do 'set' in a subshell so we don't clobber the current shell's
2672 # arguments. Must try -L first in case configure is actually a
2673 # symlink; some systems play weird games with the mod time of symlinks
2674 # (eg FreeBSD returns the mod time of the symlink's containing
2678 for am_try
in 1 2; do
2679 echo "timestamp, slept: $am_has_slept" > conftest.
file
2680 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2681 if test "$*" = "X"; then
2683 set X
`ls -t "$srcdir/configure" conftest.file`
2685 if test "$*" != "X $srcdir/configure conftest.file" \
2686 && test "$*" != "X conftest.file $srcdir/configure"; then
2688 # If neither matched, then we have a broken ls. This can happen
2689 # if, for instance, CONFIG_SHELL is bash and it inherits a
2690 # broken ls alias from the environment. This has actually
2691 # happened. Such a system could not be considered "sane".
2692 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2693 alias in your environment" "$LINENO" 5
2695 if test "$2" = conftest.
file || test $am_try -eq 2; then
2702 test "$2" = conftest.
file
2708 as_fn_error $?
"newly created file is older than distributed files!
2709 Check your system clock" "$LINENO" 5
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2712 $as_echo "yes" >&6; }
2713 # If we didn't sleep, we still need to ensure time stamps of config.status and
2714 # generated files are strictly newer.
2716 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2723 test "$program_prefix" != NONE
&&
2724 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2725 # Use a double $ so make ignores it.
2726 test "$program_suffix" != NONE
&&
2727 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2728 # Double any \ or $.
2729 # By default was `s,x,x', remove it if useless.
2730 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2731 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2733 # expand $ac_aux_dir to an absolute path
2734 am_aux_dir
=`cd $ac_aux_dir && pwd`
2736 if test x
"${MISSING+set}" != xset
; then
2739 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2741 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2744 # Use eval to expand $SHELL
2745 if eval "$MISSING --is-lightweight"; then
2746 am_missing_run
="$MISSING "
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2750 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2753 if test x
"${install_sh}" != xset
; then
2756 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2758 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2762 # Installed binaries are usually stripped using 'strip' when the user
2763 # run "make install-strip". However 'strip' might not be the right
2764 # tool to use in cross-compilation environments, therefore Automake
2765 # will honor the 'STRIP' environment variable to overrule this program.
2766 if test "$cross_compiling" != no
; then
2767 if test -n "$ac_tool_prefix"; then
2768 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2769 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_STRIP+:} false
; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$STRIP"; then
2776 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir
=.
2783 for ac_exec_ext
in '' $ac_executable_extensions; do
2784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2785 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 STRIP
=$ac_cv_prog_STRIP
2796 if test -n "$STRIP"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2798 $as_echo "$STRIP" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2806 if test -z "$ac_cv_prog_STRIP"; then
2808 # Extract the first word of "strip", so it can be a program name with args.
2809 set dummy strip
; ac_word
=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$ac_ct_STRIP"; then
2816 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir
=.
2823 for ac_exec_ext
in '' $ac_executable_extensions; do
2824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2825 ac_cv_prog_ac_ct_STRIP
="strip"
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2836 if test -n "$ac_ct_STRIP"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2838 $as_echo "$ac_ct_STRIP" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2844 if test "x$ac_ct_STRIP" = x
; then
2847 case $cross_compiling:$ac_tool_warned in
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2851 ac_tool_warned
=yes ;;
2856 STRIP
="$ac_cv_prog_STRIP"
2860 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2863 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2864 if test -z "$MKDIR_P"; then
2865 if ${ac_cv_path_mkdir+:} false
; then :
2866 $as_echo_n "(cached) " >&6
2868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2872 test -z "$as_dir" && as_dir
=.
2873 for ac_prog
in mkdir gmkdir
; do
2874 for ac_exec_ext
in '' $ac_executable_extensions; do
2875 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2876 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2877 'mkdir (GNU coreutils) '* | \
2878 'mkdir (coreutils) '* | \
2879 'mkdir (fileutils) '4.1*)
2880 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2890 test -d .
/--version && rmdir .
/--version
2891 if test "${ac_cv_path_mkdir+set}" = set; then
2892 MKDIR_P
="$ac_cv_path_mkdir -p"
2894 # As a last resort, use the slow shell script. Don't cache a
2895 # value for MKDIR_P within a source directory, because that will
2896 # break other packages using the cache if that directory is
2897 # removed, or if the value is a relative name.
2898 MKDIR_P
="$ac_install_sh -d"
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2902 $as_echo "$MKDIR_P" >&6; }
2904 for ac_prog
in gawk mawk nawk
awk
2906 # Extract the first word of "$ac_prog", so it can be a program name with args.
2907 set dummy
$ac_prog; ac_word
=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_AWK+:} false
; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$AWK"; then
2914 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir
=.
2921 for ac_exec_ext
in '' $ac_executable_extensions; do
2922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2923 ac_cv_prog_AWK
="$ac_prog"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 if test -n "$AWK"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2936 $as_echo "$AWK" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2943 test -n "$AWK" && break
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2947 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2949 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2950 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2951 $as_echo_n "(cached) " >&6
2953 cat >conftest.
make <<\_ACEOF
2956 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2958 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2959 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2961 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2963 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2967 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2969 $as_echo "yes" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2974 SET_MAKE
="MAKE=${MAKE-make}"
2977 rm -rf .tst
2>/dev
/null
2978 mkdir .tst
2>/dev
/null
2979 if test -d .tst
; then
2984 rmdir .tst
2>/dev
/null
2986 # Check whether --enable-silent-rules was given.
2987 if test "${enable_silent_rules+set}" = set; then :
2988 enableval
=$enable_silent_rules;
2991 case $enable_silent_rules in # (((
2992 yes) AM_DEFAULT_VERBOSITY
=0;;
2993 no
) AM_DEFAULT_VERBOSITY
=1;;
2994 *) AM_DEFAULT_VERBOSITY
=1;;
2996 am_make
=${MAKE-make}
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2998 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2999 if ${am_cv_make_support_nested_variables+:} false
; then :
3000 $as_echo_n "(cached) " >&6
3002 if $as_echo 'TRUE=$(BAR$(V))
3008 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3009 am_cv_make_support_nested_variables
=yes
3011 am_cv_make_support_nested_variables
=no
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3015 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3016 if test $am_cv_make_support_nested_variables = yes; then
3018 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3020 AM_V
=$AM_DEFAULT_VERBOSITY
3021 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3025 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3026 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3027 # is not polluted with repeated "-I."
3028 am__isrc
=' -I$(srcdir)'
3029 # test to see if srcdir already configured
3030 if test -f $srcdir/config.status
; then
3031 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3035 # test whether we have cygpath
3036 if test -z "$CYGPATH_W"; then
3037 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3038 CYGPATH_W
='cygpath -w'
3045 # Define the identity of the package.
3050 cat >>confdefs.h
<<_ACEOF
3051 #define PACKAGE "$PACKAGE"
3055 cat >>confdefs.h
<<_ACEOF
3056 #define VERSION "$VERSION"
3059 # Some tools Automake needs.
3061 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3064 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3067 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3070 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3073 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3075 # For better backward compatibility. To be removed once Automake 1.9.x
3076 # dies out for good. For more background, see:
3077 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3078 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3079 mkdir_p
='$(MKDIR_P)'
3081 # We need awk for the "check" target. The system "awk" is bad on
3083 # Always define AMTAR for backward compatibility. Yes, it's still used
3084 # in the wild :-( We should find a proper way to deprecate it ...
3087 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3095 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3096 # Check whether --enable-maintainer-mode was given.
3097 if test "${enable_maintainer_mode+set}" = set; then :
3098 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3100 USE_MAINTAINER_MODE
=no
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3104 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3105 if test $USE_MAINTAINER_MODE = yes; then
3106 MAINTAINER_MODE_TRUE
=
3107 MAINTAINER_MODE_FALSE
='#'
3109 MAINTAINER_MODE_TRUE
='#'
3110 MAINTAINER_MODE_FALSE
=
3113 MAINT
=$MAINTAINER_MODE_TRUE
3117 am_cv_CC_dependencies_compiler_type
=none
3118 am_cv_CXX_dependencies_compiler_type
=none
3119 am_cv_OBJCXX_dependencies_compiler_type
=none
3122 ac_cpp
='$CXXCPP $CPPFLAGS'
3123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3126 if test -z "$CXX"; then
3127 if test -n "$CCC"; then
3130 if test -n "$ac_tool_prefix"; then
3131 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3134 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if ${ac_cv_prog_CXX+:} false
; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$CXX"; then
3141 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir
=.
3148 for ac_exec_ext
in '' $ac_executable_extensions; do
3149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3150 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 if test -n "$CXX"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3163 $as_echo "$CXX" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3170 test -n "$CXX" && break
3173 if test -z "$CXX"; then
3175 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3177 # Extract the first word of "$ac_prog", so it can be a program name with args.
3178 set dummy
$ac_prog; ac_word
=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$ac_ct_CXX"; then
3185 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir
=.
3192 for ac_exec_ext
in '' $ac_executable_extensions; do
3193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3194 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3205 if test -n "$ac_ct_CXX"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3207 $as_echo "$ac_ct_CXX" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3214 test -n "$ac_ct_CXX" && break
3217 if test "x$ac_ct_CXX" = x
; then
3220 case $cross_compiling:$ac_tool_warned in
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3224 ac_tool_warned
=yes ;;
3232 # Provide some information about the compiler.
3233 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3236 for ac_option
in --version -v -V -qversion; do
3237 { { ac_try
="$ac_compiler $ac_option >&5"
3239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3243 $as_echo "$ac_try_echo"; } >&5
3244 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3246 if test -s conftest.err; then
3248 ... rest of stderr output deleted ...
3249 10q' conftest.err >conftest.er1
3250 cat conftest.er1 >&5
3252 rm -f conftest.er1 conftest.err
3253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3254 test $ac_status = 0; }
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3268 ac_clean_files_save=$ac_clean_files
3269 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3270 # Try to create an executable without -o first, disregard a.out.
3271 # It will help us diagnose broken compilers, and finding out an intuition
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3274 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3275 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3277 # The possible output files:
3278 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3281 for ac_file in $ac_files
3284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3285 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3290 if { { ac_try="$ac_link_default"
3292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3293 *) ac_try_echo
=$ac_try;;
3295 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297 (eval "$ac_link_default") 2>&5
3299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3300 test $ac_status = 0; }; then :
3301 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3302 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3303 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3304 # so that the user can short-circuit this test for compilers unknown to
3306 for ac_file
in $ac_files ''
3308 test -f "$ac_file" || continue
3310 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3313 # We found the default executable, but exeext='' is most
3317 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3319 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3321 # We set ac_cv_exeext here because the later test for it is not
3322 # safe: cross compilers may not add the suffix if given an `-o'
3323 # argument, so we may need to know it at that point already.
3324 # Even if this section looks crufty: it has the advantage of
3331 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3336 if test -z "$ac_file"; then :
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338 $as_echo "no" >&6; }
3339 $as_echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.
$ac_ext >&5
3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error
77 "C++ compiler cannot create executables
3345 See \`config.log' for more details" "$LINENO" 5; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3348 $as_echo "yes" >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3351 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3353 $as_echo "$ac_file" >&6; }
3354 ac_exeext
=$ac_cv_exeext
3356 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3357 ac_clean_files
=$ac_clean_files_save
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3359 $as_echo_n "checking for suffix of executables... " >&6; }
3360 if { { ac_try
="$ac_link"
3362 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3366 $as_echo "$ac_try_echo"; } >&5
3367 (eval "$ac_link") 2>&5
3369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3370 test $ac_status = 0; }; then :
3371 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3372 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3373 # work properly (i.e., refer to `conftest.exe'), while it won't with
3375 for ac_file
in conftest.exe conftest conftest.
*; do
3376 test -f "$ac_file" || continue
3378 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3379 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3388 See \`config.log' for more details" "$LINENO" 5; }
3390 rm -f conftest conftest
$ac_cv_exeext
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3392 $as_echo "$ac_cv_exeext" >&6; }
3394 rm -f conftest.
$ac_ext
3395 EXEEXT
=$ac_cv_exeext
3397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3403 FILE *f = fopen ("conftest.out", "w");
3404 return ferror (f) || fclose (f) != 0;
3410 ac_clean_files
="$ac_clean_files conftest.out"
3411 # Check that the compiler produces executables we can run. If not, either
3412 # the compiler is broken, or we cross compile.
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3414 $as_echo_n "checking whether we are cross compiling... " >&6; }
3415 if test "$cross_compiling" != yes; then
3416 { { ac_try
="$ac_link"
3418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3419 *) ac_try_echo=$ac_try;;
3421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3422 $as_echo "$ac_try_echo"; } >&5
3423 (eval "$ac_link") 2>&5
3425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426 test $ac_status = 0; }
3427 if { ac_try='./conftest$ac_cv_exeext'
3428 { { case "(($ac_try" in
3429 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3430 *) ac_try_echo
=$ac_try;;
3432 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3433 $as_echo "$ac_try_echo"; } >&5
3434 (eval "$ac_try") 2>&5
3436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3437 test $ac_status = 0; }; }; then
3440 if test "$cross_compiling" = maybe
; then
3443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445 as_fn_error $?
"cannot run C++ compiled programs.
3446 If you meant to cross compile, use \`--host'.
3447 See \`config.log' for more details" "$LINENO" 5; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3452 $as_echo "$cross_compiling" >&6; }
3454 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3455 ac_clean_files
=$ac_clean_files_save
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3457 $as_echo_n "checking for suffix of object files... " >&6; }
3458 if ${ac_cv_objext+:} false
; then :
3459 $as_echo_n "(cached) " >&6
3461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3472 rm -f conftest.o conftest.obj
3473 if { { ac_try
="$ac_compile"
3475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_compile") 2>&5
3482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483 test $ac_status = 0; }; then :
3484 for ac_file in conftest.o conftest.obj conftest.*; do
3485 test -f "$ac_file" || continue;
3487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3493 $as_echo "$as_me: failed program was:" >&5
3494 sed 's/^/| /' conftest.$ac_ext >&5
3496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3498 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3499 See \
`config.log' for more details" "$LINENO" 5; }
3501 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3504 $as_echo "$ac_cv_objext" >&6; }
3505 OBJEXT=$ac_cv_objext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3508 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3509 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3510 $as_echo_n "(cached) " >&6
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3526 if ac_fn_cxx_try_compile "$LINENO"; then :
3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3532 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3536 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3537 if test $ac_compiler_gnu = yes; then
3542 ac_test_CXXFLAGS=${CXXFLAGS+set}
3543 ac_save_CXXFLAGS=$CXXFLAGS
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3545 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3546 if ${ac_cv_prog_cxx_g+:} false; then :
3547 $as_echo_n "(cached) " >&6
3549 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3550 ac_cxx_werror_flag=yes
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 if ac_fn_cxx_try_compile "$LINENO"; then :
3565 ac_cv_prog_cxx_g=yes
3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569 /* end confdefs.h. */
3579 if ac_fn_cxx_try_compile "$LINENO"; then :
3582 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 if ac_fn_cxx_try_compile "$LINENO"; then :
3596 ac_cv_prog_cxx_g=yes
3598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3606 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3607 if test "$ac_test_CXXFLAGS" = set; then
3608 CXXFLAGS=$ac_save_CXXFLAGS
3609 elif test $ac_cv_prog_cxx_g = yes; then
3610 if test "$GXX" = yes; then
3616 if test "$GXX" = yes; then
3623 ac_cpp='$CPP $CPPFLAGS'
3624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3627 DEPDIR="${am__leading_dot}deps"
3629 ac_config_commands="$ac_config_commands depfiles"
3632 am_make=${MAKE-make}
3633 cat > confinc << 'END'
3635 @echo this is the am__doit target
3638 # If we don't find an include directive, just comment out the code.
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3640 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3644 # First try GNU make style include.
3645 echo "include confinc" > confmf
3646 # Ignore all kinds of additional output from 'make'.
3647 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3648 *the\ am__doit\ target*)
3654 # Now try BSD make style include.
3655 if test "$am__include" = "#"; then
3656 echo '.include "confinc"' > confmf
3657 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3658 *the\ am__doit\ target*)
3659 am__include=.include
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3668 $as_echo "$_am_result" >&6; }
3669 rm -f confinc confmf
3671 # Check whether --enable-dependency-tracking was given.
3672 if test "${enable_dependency_tracking+set}" = set; then :
3673 enableval=$enable_dependency_tracking;
3676 if test "x$enable_dependency_tracking" != xno; then
3677 am_depcomp="$ac_aux_dir/depcomp"
3681 if test "x$enable_dependency_tracking" != xno; then
3691 depcc="$CXX" am_compiler_list=
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3694 $as_echo_n "checking dependency style of $depcc... " >&6; }
3695 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3699 # We make a subdir and do the tests there. Otherwise we can end up
3700 # making bogus files that we don't know about and never remove. For
3701 # instance it was reported that on HP-UX the gcc test will end up
3702 # making a dummy file named 'D' -- because '-MD' means "put the output
3706 # Copy depcomp to subdir because otherwise we won't find it if we're
3707 # using a relative directory.
3708 cp "$am_depcomp" conftest.dir
3710 # We will build objects and dependencies in a subdirectory because
3711 # it helps to detect inapplicable dependency modes. For instance
3712 # both Tru64's cc and ICC support -MD to output dependencies as a
3713 # side effect of compilation, but ICC will put the dependencies in
3714 # the current directory while Tru64 will put them in the object
3718 am_cv_CXX_dependencies_compiler_type=none
3719 if test "$am_compiler_list" = ""; then
3720 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3723 case " $depcc " in #(
3724 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3727 for depmode in $am_compiler_list; do
3728 # Setup a source with many dependencies, because some compilers
3729 # like to wrap large dependency lists on column 80 (with \), and
3730 # we should not choose a depcomp mode which is confused by this.
3732 # We need to recreate these files for each test, as the compiler may
3733 # overwrite some of them when testing with obscure command lines.
3734 # This happens at least with the AIX C compiler.
3736 for i in 1 2 3 4 5 6; do
3737 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3738 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3739 # Solaris 10 /bin/sh.
3740 echo '/* dummy */' > sub/conftst$i.h
3742 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3744 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3745 # mode. It turns out that the SunPro C++ compiler does not properly
3746 # handle '-M -o', and we need to detect this. Also, some Intel
3747 # versions had trouble with output in subdirs.
3748 am__obj=sub/conftest.${OBJEXT-o}
3749 am__minus_obj="-o $am__obj"
3752 # This depmode causes a compiler race in universal mode.
3753 test "$am__universal" = false || continue
3756 # After this tag, mechanisms are not by side-effect, so they'll
3757 # only be used when explicitly requested.
3758 if test "x$enable_dependency_tracking" = xyes; then
3764 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3765 # This compiler won't grok '-c -o', but also, the minuso test has
3766 # not run yet. These depmodes are late enough in the game, and
3767 # so weak that their functioning should not be impacted.
3768 am__obj=conftest.${OBJEXT-o}
3773 if depmode=$depmode \
3774 source=sub/conftest.c object=$am__obj \
3775 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3776 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3777 >/dev/null 2>conftest.err &&
3778 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3779 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3780 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3781 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3782 # icc doesn't choke on unknown options, it will just issue warnings
3783 # or remarks (even with -Werror). So we grep stderr for any message
3784 # that says an option was ignored or not supported.
3785 # When given -MP, icc 7.0 and 7.1 complain thusly:
3786 # icc: Command line warning: ignoring option '-M'; no argument required
3787 # The diagnosis changed in icc 8.0:
3788 # icc: Command line remark: option '-MP' not supported
3789 if (grep 'ignoring option' conftest.err ||
3790 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3791 am_cv_CXX_dependencies_compiler_type=$depmode
3800 am_cv_CXX_dependencies_compiler_type=none
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3805 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3806 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3809 test "x$enable_dependency_tracking" != xno \
3810 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3811 am__fastdepCXX_TRUE=
3812 am__fastdepCXX_FALSE='#'
3814 am__fastdepCXX_TRUE='#'
3815 am__fastdepCXX_FALSE=
3820 ac_cpp='$OBJCXXCPP $CPPFLAGS'
3821 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3822 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3823 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
3824 if test -n "$ac_tool_prefix"; then
3825 for ac_prog in g++ objc++ objcxx c++ CXX
3827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if ${ac_cv_prog_OBJCXX+:} false; then :
3832 $as_echo_n "(cached) " >&6
3834 if test -n "$OBJCXX"; then
3835 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 OBJCXX=$ac_cv_prog_OBJCXX
3855 if test -n "$OBJCXX"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
3857 $as_echo "$OBJCXX" >&6; }
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3864 test -n "$OBJCXX" && break
3867 if test -z "$OBJCXX"; then
3868 ac_ct_OBJCXX=$OBJCXX
3869 for ac_prog in g++ objc++ objcxx c++ CXX
3871 # Extract the first word of "$ac_prog", so it can be a program name with args.
3872 set dummy $ac_prog; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then :
3876 $as_echo_n "(cached) " >&6
3878 if test -n "$ac_ct_OBJCXX"; then
3879 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
3899 if test -n "$ac_ct_OBJCXX"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
3901 $as_echo "$ac_ct_OBJCXX" >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3908 test -n "$ac_ct_OBJCXX" && break
3911 if test "x$ac_ct_OBJCXX" = x; then
3914 case $cross_compiling:$ac_tool_warned in
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3918 ac_tool_warned=yes ;;
3920 OBJCXX=$ac_ct_OBJCXX
3924 # Provide some information about the compiler.
3925 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
3928 for ac_option in --version -v -V -qversion; do
3929 { { ac_try="$ac_compiler $ac_option >&5"
3931 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3932 *) ac_try_echo
=$ac_try;;
3934 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 $as_echo "$ac_try_echo"; } >&5
3936 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3938 if test -s conftest.err
; then
3940 ... rest of stderr output deleted ...
3941 10q' conftest.err
>conftest.er1
3942 cat conftest.er1
>&5
3944 rm -f conftest.er1 conftest.err
3945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3946 test $ac_status = 0; }
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
3950 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
3951 if ${ac_cv_objcxx_compiler_gnu+:} false
; then :
3952 $as_echo_n "(cached) " >&6
3954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3968 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3974 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
3978 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
3979 if test $ac_compiler_gnu = yes; then
3984 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
3985 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
3987 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
3988 if ${ac_cv_prog_objcxx_g+:} false
; then :
3989 $as_echo_n "(cached) " >&6
3991 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
3992 ac_objcxx_werror_flag
=yes
3993 ac_cv_prog_objcxx_g
=no
3995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
4006 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4007 ac_cv_prog_objcxx_g
=yes
4010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4021 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4024 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
4026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4037 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4038 ac_cv_prog_objcxx_g
=yes
4040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4045 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4048 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4049 if test "$ac_test_OBJCXXFLAGS" = set; then
4050 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
4051 elif test $ac_cv_prog_objcxx_g = yes; then
4052 if test "$GOBJCXX" = yes; then
4053 OBJCXXFLAGS
="-g -O2"
4058 if test "$GOBJCXX" = yes; then
4065 ac_cpp
='$CPP $CPPFLAGS'
4066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4070 depcc
="$OBJCXX" am_compiler_list
='gcc3 gcc'
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4073 $as_echo_n "checking dependency style of $depcc... " >&6; }
4074 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false
; then :
4075 $as_echo_n "(cached) " >&6
4077 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4078 # We make a subdir and do the tests there. Otherwise we can end up
4079 # making bogus files that we don't know about and never remove. For
4080 # instance it was reported that on HP-UX the gcc test will end up
4081 # making a dummy file named 'D' -- because '-MD' means "put the output
4085 # Copy depcomp to subdir because otherwise we won't find it if we're
4086 # using a relative directory.
4087 cp "$am_depcomp" conftest.dir
4089 # We will build objects and dependencies in a subdirectory because
4090 # it helps to detect inapplicable dependency modes. For instance
4091 # both Tru64's cc and ICC support -MD to output dependencies as a
4092 # side effect of compilation, but ICC will put the dependencies in
4093 # the current directory while Tru64 will put them in the object
4097 am_cv_OBJCXX_dependencies_compiler_type
=none
4098 if test "$am_compiler_list" = ""; then
4099 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4104 for depmode
in $am_compiler_list; do
4105 # Setup a source with many dependencies, because some compilers
4106 # like to wrap large dependency lists on column 80 (with \), and
4107 # we should not choose a depcomp mode which is confused by this.
4109 # We need to recreate these files for each test, as the compiler may
4110 # overwrite some of them when testing with obscure command lines.
4111 # This happens at least with the AIX C compiler.
4113 for i
in 1 2 3 4 5 6; do
4114 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4115 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4116 # Solaris 10 /bin/sh.
4117 echo '/* dummy */' > sub
/conftst
$i.h
4119 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4121 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4122 # mode. It turns out that the SunPro C++ compiler does not properly
4123 # handle '-M -o', and we need to detect this. Also, some Intel
4124 # versions had trouble with output in subdirs.
4125 am__obj
=sub
/conftest.
${OBJEXT-o}
4126 am__minus_obj
="-o $am__obj"
4129 # This depmode causes a compiler race in universal mode.
4130 test "$am__universal" = false
|| continue
4133 # After this tag, mechanisms are not by side-effect, so they'll
4134 # only be used when explicitly requested.
4135 if test "x$enable_dependency_tracking" = xyes
; then
4141 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4142 # This compiler won't grok '-c -o', but also, the minuso test has
4143 # not run yet. These depmodes are late enough in the game, and
4144 # so weak that their functioning should not be impacted.
4145 am__obj
=conftest.
${OBJEXT-o}
4150 if depmode
=$depmode \
4151 source=sub
/conftest.c object
=$am__obj \
4152 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4153 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4154 >/dev
/null
2>conftest.err
&&
4155 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4156 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4157 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4158 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4159 # icc doesn't choke on unknown options, it will just issue warnings
4160 # or remarks (even with -Werror). So we grep stderr for any message
4161 # that says an option was ignored or not supported.
4162 # When given -MP, icc 7.0 and 7.1 complain thusly:
4163 # icc: Command line warning: ignoring option '-M'; no argument required
4164 # The diagnosis changed in icc 8.0:
4165 # icc: Command line remark: option '-MP' not supported
4166 if (grep 'ignoring option' conftest.err
||
4167 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4168 am_cv_OBJCXX_dependencies_compiler_type
=$depmode
4177 am_cv_OBJCXX_dependencies_compiler_type
=none
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4182 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4183 OBJCXXDEPMODE
=depmode
=$am_cv_OBJCXX_dependencies_compiler_type
4186 test "x$enable_dependency_tracking" != xno \
4187 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3
; then
4188 am__fastdepOBJCXX_TRUE
=
4189 am__fastdepOBJCXX_FALSE
='#'
4191 am__fastdepOBJCXX_TRUE
='#'
4192 am__fastdepOBJCXX_FALSE
=
4198 ac_cpp
='$CPP $CPPFLAGS'
4199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4202 if test -n "$ac_tool_prefix"; then
4203 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4204 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4206 $as_echo_n "checking for $ac_word... " >&6; }
4207 if ${ac_cv_prog_CC+:} false
; then :
4208 $as_echo_n "(cached) " >&6
4210 if test -n "$CC"; then
4211 ac_cv_prog_CC
="$CC" # Let the user override the test.
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_exec_ext
in '' $ac_executable_extensions; do
4219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4220 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4231 if test -n "$CC"; then
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4233 $as_echo "$CC" >&6; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4236 $as_echo "no" >&6; }
4241 if test -z "$ac_cv_prog_CC"; then
4243 # Extract the first word of "gcc", so it can be a program name with args.
4244 set dummy gcc
; ac_word
=$2
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4246 $as_echo_n "checking for $ac_word... " >&6; }
4247 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4248 $as_echo_n "(cached) " >&6
4250 if test -n "$ac_ct_CC"; then
4251 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir
=.
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4260 ac_cv_prog_ac_ct_CC
="gcc"
4261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4270 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4271 if test -n "$ac_ct_CC"; then
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4273 $as_echo "$ac_ct_CC" >&6; }
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4276 $as_echo "no" >&6; }
4279 if test "x$ac_ct_CC" = x
; then
4282 case $cross_compiling:$ac_tool_warned in
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4286 ac_tool_warned
=yes ;;
4294 if test -z "$CC"; then
4295 if test -n "$ac_tool_prefix"; then
4296 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4297 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if ${ac_cv_prog_CC+:} false
; then :
4301 $as_echo_n "(cached) " >&6
4303 if test -n "$CC"; then
4304 ac_cv_prog_CC
="$CC" # Let the user override the test.
4306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4310 test -z "$as_dir" && as_dir
=.
4311 for ac_exec_ext
in '' $ac_executable_extensions; do
4312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4313 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324 if test -n "$CC"; then
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4326 $as_echo "$CC" >&6; }
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4329 $as_echo "no" >&6; }
4335 if test -z "$CC"; then
4336 # Extract the first word of "cc", so it can be a program name with args.
4337 set dummy cc
; ac_word
=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_CC+:} false
; then :
4341 $as_echo_n "(cached) " >&6
4343 if test -n "$CC"; then
4344 ac_cv_prog_CC
="$CC" # Let the user override the test.
4347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir
=.
4352 for ac_exec_ext
in '' $ac_executable_extensions; do
4353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4354 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4355 ac_prog_rejected
=yes
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366 if test $ac_prog_rejected = yes; then
4367 # We found a bogon in the path, so make sure we never use it.
4368 set dummy
$ac_cv_prog_CC
4370 if test $# != 0; then
4371 # We chose a different compiler from the bogus one.
4372 # However, it has the same basename, so the bogon will be chosen
4373 # first if we set CC to just the basename; use the full file name.
4375 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4381 if test -n "$CC"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4383 $as_echo "$CC" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4391 if test -z "$CC"; then
4392 if test -n "$ac_tool_prefix"; then
4393 for ac_prog
in cl.exe
4395 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4396 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_prog_CC+:} false
; then :
4400 $as_echo_n "(cached) " >&6
4402 if test -n "$CC"; then
4403 ac_cv_prog_CC
="$CC" # Let the user override the test.
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_exec_ext
in '' $ac_executable_extensions; do
4411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4412 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 if test -n "$CC"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4425 $as_echo "$CC" >&6; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4432 test -n "$CC" && break
4435 if test -z "$CC"; then
4437 for ac_prog
in cl.exe
4439 # Extract the first word of "$ac_prog", so it can be a program name with args.
4440 set dummy
$ac_prog; ac_word
=$2
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442 $as_echo_n "checking for $ac_word... " >&6; }
4443 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4444 $as_echo_n "(cached) " >&6
4446 if test -n "$ac_ct_CC"; then
4447 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir
=.
4454 for ac_exec_ext
in '' $ac_executable_extensions; do
4455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4456 ac_cv_prog_ac_ct_CC
="$ac_prog"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4467 if test -n "$ac_ct_CC"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4469 $as_echo "$ac_ct_CC" >&6; }
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4476 test -n "$ac_ct_CC" && break
4479 if test "x$ac_ct_CC" = x
; then
4482 case $cross_compiling:$ac_tool_warned in
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4486 ac_tool_warned
=yes ;;
4495 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4497 as_fn_error $?
"no acceptable C compiler found in \$PATH
4498 See \`config.log' for more details" "$LINENO" 5; }
4500 # Provide some information about the compiler.
4501 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4504 for ac_option
in --version -v -V -qversion; do
4505 { { ac_try
="$ac_compiler $ac_option >&5"
4507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4508 *) ac_try_echo=$ac_try;;
4510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4511 $as_echo "$ac_try_echo"; } >&5
4512 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4514 if test -s conftest.err; then
4516 ... rest of stderr output deleted ...
4517 10q' conftest.err >conftest.er1
4518 cat conftest.er1 >&5
4520 rm -f conftest.er1 conftest.err
4521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4522 test $ac_status = 0; }
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4526 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4527 if ${ac_cv_c_compiler_gnu+:} false; then :
4528 $as_echo_n "(cached) " >&6
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4544 if ac_fn_c_try_compile "$LINENO"; then :
4549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4550 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4554 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4555 if test $ac_compiler_gnu = yes; then
4560 ac_test_CFLAGS=${CFLAGS+set}
4561 ac_save_CFLAGS=$CFLAGS
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4563 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4564 if ${ac_cv_prog_cc_g+:} false; then :
4565 $as_echo_n "(cached) " >&6
4567 ac_save_c_werror_flag=$ac_c_werror_flag
4568 ac_c_werror_flag=yes
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4582 if ac_fn_c_try_compile "$LINENO"; then :
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4597 if ac_fn_c_try_compile "$LINENO"; then :
4600 ac_c_werror_flag=$ac_save_c_werror_flag
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4613 if ac_fn_c_try_compile "$LINENO"; then :
4616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 ac_c_werror_flag=$ac_save_c_werror_flag
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4624 $as_echo "$ac_cv_prog_cc_g" >&6; }
4625 if test "$ac_test_CFLAGS" = set; then
4626 CFLAGS=$ac_save_CFLAGS
4627 elif test $ac_cv_prog_cc_g = yes; then
4628 if test "$GCC" = yes; then
4634 if test "$GCC" = yes; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4641 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4642 if ${ac_cv_prog_cc_c89+:} false; then :
4643 $as_echo_n "(cached) " >&6
4645 ac_cv_prog_cc_c89=no
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4652 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4653 struct buf { int x; };
4654 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4655 static char *e (p, i)
4661 static char *f (char * (*g) (char **, int), char **p, ...)
4666 s = g (p, va_arg (v,int));
4671 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4672 function prototypes and stuff, but not '\xHH' hex character constants.
4673 These don't provoke an error unfortunately, instead are silently treated
4674 as 'x'. The following induces an error, until -std is added to get
4675 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4676 array size at least. It's necessary to write '\x00'==0 to get something
4677 that's true only with -std. */
4678 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4680 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4681 inside strings and character constants. */
4683 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4685 int test (int i, double x);
4686 struct s1 {int (*f) (int a);};
4687 struct s2 {int (*f) (double a);};
4688 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4694 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4699 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4700 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4702 CC="$ac_save_CC $ac_arg"
4703 if ac_fn_c_try_compile "$LINENO"; then :
4704 ac_cv_prog_cc_c89=$ac_arg
4706 rm -f core conftest.err conftest.$ac_objext
4707 test "x$ac_cv_prog_cc_c89" != "xno" && break
4709 rm -f conftest.$ac_ext
4714 case "x$ac_cv_prog_cc_c89" in
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4717 $as_echo "none needed" >&6; } ;;
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4720 $as_echo "unsupported" >&6; } ;;
4722 CC="$CC $ac_cv_prog_cc_c89"
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4724 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4726 if test "x$ac_cv_prog_cc_c89" != xno; then :
4731 ac_cpp='$CPP $CPPFLAGS'
4732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736 depcc="$CC" am_compiler_list=
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4739 $as_echo_n "checking dependency style of $depcc... " >&6; }
4740 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4741 $as_echo_n "(cached) " >&6
4743 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4744 # We make a subdir and do the tests there. Otherwise we can end up
4745 # making bogus files that we don't know about and never remove. For
4746 # instance it was reported that on HP-UX the gcc test will end up
4747 # making a dummy file named 'D' -- because '-MD' means "put the output
4751 # Copy depcomp to subdir because otherwise we won't find it if we're
4752 # using a relative directory.
4753 cp "$am_depcomp" conftest.dir
4755 # We will build objects and dependencies in a subdirectory because
4756 # it helps to detect inapplicable dependency modes. For instance
4757 # both Tru64's cc and ICC support -MD to output dependencies as a
4758 # side effect of compilation, but ICC will put the dependencies in
4759 # the current directory while Tru64 will put them in the object
4763 am_cv_CC_dependencies_compiler_type=none
4764 if test "$am_compiler_list" = ""; then
4765 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4768 case " $depcc " in #(
4769 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4772 for depmode in $am_compiler_list; do
4773 # Setup a source with many dependencies, because some compilers
4774 # like to wrap large dependency lists on column 80 (with \), and
4775 # we should not choose a depcomp mode which is confused by this.
4777 # We need to recreate these files for each test, as the compiler may
4778 # overwrite some of them when testing with obscure command lines.
4779 # This happens at least with the AIX C compiler.
4781 for i in 1 2 3 4 5 6; do
4782 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4783 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4784 # Solaris 10 /bin/sh.
4785 echo '/* dummy */' > sub/conftst$i.h
4787 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4789 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4790 # mode. It turns out that the SunPro C++ compiler does not properly
4791 # handle '-M -o', and we need to detect this. Also, some Intel
4792 # versions had trouble with output in subdirs.
4793 am__obj=sub/conftest.${OBJEXT-o}
4794 am__minus_obj="-o $am__obj"
4797 # This depmode causes a compiler race in universal mode.
4798 test "$am__universal" = false || continue
4801 # After this tag, mechanisms are not by side-effect, so they'll
4802 # only be used when explicitly requested.
4803 if test "x$enable_dependency_tracking" = xyes; then
4809 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4810 # This compiler won't grok '-c -o', but also, the minuso test has
4811 # not run yet. These depmodes are late enough in the game, and
4812 # so weak that their functioning should not be impacted.
4813 am__obj=conftest.${OBJEXT-o}
4818 if depmode=$depmode \
4819 source=sub/conftest.c object=$am__obj \
4820 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4821 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4822 >/dev/null 2>conftest.err &&
4823 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4824 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4825 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4826 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4827 # icc doesn't choke on unknown options, it will just issue warnings
4828 # or remarks (even with -Werror). So we grep stderr for any message
4829 # that says an option was ignored or not supported.
4830 # When given -MP, icc 7.0 and 7.1 complain thusly:
4831 # icc: Command line warning: ignoring option '-M'; no argument required
4832 # The diagnosis changed in icc 8.0:
4833 # icc: Command line remark: option '-MP' not supported
4834 if (grep 'ignoring option' conftest.err ||
4835 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4836 am_cv_CC_dependencies_compiler_type=$depmode
4845 am_cv_CC_dependencies_compiler_type=none
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4850 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4851 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4854 test "x$enable_dependency_tracking" != xno \
4855 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4857 am__fastdepCC_FALSE='#'
4859 am__fastdepCC_TRUE='#'
4860 am__fastdepCC_FALSE=
4865 if test -n "$ac_tool_prefix"; then
4866 for ac_prog in ar lib "link -lib"
4868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if ${ac_cv_prog_AR+:} false; then :
4873 $as_echo_n "(cached) " >&6
4875 if test -n "$AR"; then
4876 ac_cv_prog_AR="$AR" # Let the user override the test.
4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir=.
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 if test -n "$AR"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4898 $as_echo "$AR" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4905 test -n "$AR" && break
4908 if test -z "$AR"; then
4910 for ac_prog in ar lib "link -lib"
4912 # Extract the first word of "$ac_prog", so it can be a program name with args.
4913 set dummy $ac_prog; ac_word=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -n "$ac_ct_AR"; then
4920 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4929 ac_cv_prog_ac_ct_AR="$ac_prog"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4940 if test -n "$ac_ct_AR"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4942 $as_echo "$ac_ct_AR" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4949 test -n "$ac_ct_AR" && break
4952 if test "x$ac_ct_AR" = x; then
4955 case $cross_compiling:$ac_tool_warned in
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4959 ac_tool_warned=yes ;;
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4968 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4969 if ${am_cv_ar_interface+:} false; then :
4970 $as_echo_n "(cached) " >&6
4972 am_cv_ar_interface=ar
4973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4974 /* end confdefs.h. */
4975 int some_variable = 0;
4977 if ac_fn_c_try_compile "$LINENO"; then :
4978 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4979 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4980 (eval $am_ar_try) 2>&5
4982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4983 test $ac_status = 0; }
4984 if test "$ac_status" -eq 0; then
4985 am_cv_ar_interface=ar
4987 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4988 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4989 (eval $am_ar_try) 2>&5
4991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4992 test $ac_status = 0; }
4993 if test "$ac_status" -eq 0; then
4994 am_cv_ar_interface=lib
4996 am_cv_ar_interface=unknown
4999 rm -f conftest.lib libconftest.a
5002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5006 $as_echo "$am_cv_ar_interface" >&6; }
5008 case $am_cv_ar_interface in
5012 # Microsoft lib, so override with the ar-lib wrapper script.
5013 # FIXME: It is wrong to rewrite AR.
5014 # But if we don't then we get into trouble of one sort or another.
5015 # A longer-term fix would be to have automake use am__AR in this case,
5016 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5018 AR="$am_aux_dir/ar-lib $AR"
5021 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5030 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5035 macro_version='2.4.2'
5036 macro_revision='1.3337'
5050 ltmain="$ac_aux_dir/ltmain.sh"
5052 # Make sure we can run config.sub.
5053 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5054 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5057 $as_echo_n "checking build system type... " >&6; }
5058 if ${ac_cv_build+:} false; then :
5059 $as_echo_n "(cached) " >&6
5061 ac_build_alias=$build_alias
5062 test "x$ac_build_alias" = x &&
5063 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5064 test "x$ac_build_alias" = x &&
5065 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5066 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5067 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5071 $as_echo "$ac_cv_build" >&6; }
5072 case $ac_cv_build in
5074 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5077 ac_save_IFS=$IFS; IFS='-'
5083 # Remember, the first character of IFS is used to create $*,
5084 # except with old shells:
5087 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5091 $as_echo_n "checking host system type... " >&6; }
5092 if ${ac_cv_host+:} false; then :
5093 $as_echo_n "(cached) " >&6
5095 if test "x$host_alias" = x; then
5096 ac_cv_host=$ac_cv_build
5098 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5099 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5104 $as_echo "$ac_cv_host" >&6; }
5107 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5110 ac_save_IFS=$IFS; IFS='-'
5116 # Remember, the first character of IFS is used to create $*,
5117 # except with old shells:
5120 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5123 # Backslashify metacharacters that are still active within
5124 # double-quoted strings.
5125 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5127 # Same as above, but do not quote variable references.
5128 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5130 # Sed substitution to delay expansion of an escaped shell variable in a
5131 # double_quote_subst'ed string.
5132 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5134 # Sed substitution to delay expansion of an escaped single quote.
5135 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5137 # Sed substitution to avoid accidental globbing in evaled expressions
5138 no_glob_subst='s/\*/\\\*/g'
5140 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5141 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5142 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5145 $as_echo_n "checking how to print
strings...
" >&6; }
5146 # Test print first, because it will be a builtin if present.
5147 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5148 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5150 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5153 # Use this function as a fallback that always works.
5154 func_fallback_echo ()
5156 eval 'cat <<_LTECHO_EOF
5160 ECHO='func_fallback_echo'
5163 # func_echo_all arg...
5164 # Invoke $ECHO with all args, space-separated.
5171 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5172 $as_echo "printf" >&6; } ;;
5173 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5174 $as_echo "print
-r" >&6; } ;;
5175 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5176 $as_echo "cat" >&6; } ;;
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5193 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5194 if ${ac_cv_path_SED+:} false; then :
5195 $as_echo_n "(cached
) " >&6
5197 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5198 for ac_i in 1 2 3 4 5 6 7; do
5199 ac_script="$ac_script$as_nl$ac_script"
5201 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5202 { ac_script=; unset ac_script;}
5203 if test -z "$SED"; then
5204 ac_path_SED_found=false
5205 # Loop through the user's path and test for each of PROGNAME-LIST
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir=.
5211 for ac_prog in sed gsed; do
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5214 as_fn_executable_p "$ac_path_SED" || continue
5215 # Check for GNU ac_path_SED and select it if it is found.
5216 # Check for GNU $ac_path_SED
5217 case `"$ac_path_SED" --version 2>&1` in
5219 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5222 $as_echo_n 0123456789 >"conftest.
in"
5225 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5226 mv "conftest.tmp
" "conftest.
in"
5227 cp "conftest.
in" "conftest.
nl"
5228 $as_echo '' >> "conftest.
nl"
5229 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5230 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5231 as_fn_arith $ac_count + 1 && ac_count=$as_val
5232 if test $ac_count -gt ${ac_path_SED_max-0}; then
5233 # Best one so far, save it but keep looking for a better one
5234 ac_cv_path_SED="$ac_path_SED"
5235 ac_path_SED_max=$ac_count
5237 # 10*(2^10) chars as input seems more than enough
5238 test $ac_count -gt 10 && break
5240 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5243 $ac_path_SED_found && break 3
5248 if test -z "$ac_cv_path_SED"; then
5249 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5257 $as_echo "$ac_cv_path_SED" >&6; }
5258 SED="$ac_cv_path_SED"
5261 test -z "$SED" && SED=sed
5262 Xsed="$SED -e 1s
/^X
//"
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5275 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5276 if ${ac_cv_path_GREP+:} false; then :
5277 $as_echo_n "(cached
) " >&6
5279 if test -z "$GREP"; then
5280 ac_path_GREP_found=false
5281 # Loop through the user's path and test for each of PROGNAME-LIST
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5286 test -z "$as_dir" && as_dir=.
5287 for ac_prog in grep ggrep; do
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5290 as_fn_executable_p "$ac_path_GREP" || continue
5291 # Check for GNU ac_path_GREP and select it if it is found.
5292 # Check for GNU $ac_path_GREP
5293 case `"$ac_path_GREP" --version 2>&1` in
5295 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5298 $as_echo_n 0123456789 >"conftest.
in"
5301 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5302 mv "conftest.tmp
" "conftest.
in"
5303 cp "conftest.
in" "conftest.
nl"
5304 $as_echo 'GREP' >> "conftest.
nl"
5305 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5306 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5307 as_fn_arith $ac_count + 1 && ac_count=$as_val
5308 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5309 # Best one so far, save it but keep looking for a better one
5310 ac_cv_path_GREP="$ac_path_GREP"
5311 ac_path_GREP_max=$ac_count
5313 # 10*(2^10) chars as input seems more than enough
5314 test $ac_count -gt 10 && break
5316 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5319 $ac_path_GREP_found && break 3
5324 if test -z "$ac_cv_path_GREP"; then
5325 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5328 ac_cv_path_GREP=$GREP
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5333 $as_echo "$ac_cv_path_GREP" >&6; }
5334 GREP="$ac_cv_path_GREP"
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5338 $as_echo_n "checking
for egrep...
" >&6; }
5339 if ${ac_cv_path_EGREP+:} false; then :
5340 $as_echo_n "(cached
) " >&6
5342 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5343 then ac_cv_path_EGREP="$GREP -E"
5345 if test -z "$EGREP"; then
5346 ac_path_EGREP_found=false
5347 # Loop through the user's path and test for each of PROGNAME-LIST
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5352 test -z "$as_dir" && as_dir=.
5353 for ac_prog in egrep; do
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5356 as_fn_executable_p "$ac_path_EGREP" || continue
5357 # Check for GNU ac_path_EGREP and select it if it is found.
5358 # Check for GNU $ac_path_EGREP
5359 case `"$ac_path_EGREP" --version 2>&1` in
5361 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5364 $as_echo_n 0123456789 >"conftest.
in"
5367 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5368 mv "conftest.tmp
" "conftest.
in"
5369 cp "conftest.
in" "conftest.
nl"
5370 $as_echo 'EGREP' >> "conftest.
nl"
5371 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5372 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5373 as_fn_arith $ac_count + 1 && ac_count=$as_val
5374 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5375 # Best one so far, save it but keep looking for a better one
5376 ac_cv_path_EGREP="$ac_path_EGREP"
5377 ac_path_EGREP_max=$ac_count
5379 # 10*(2^10) chars as input seems more than enough
5380 test $ac_count -gt 10 && break
5382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5385 $ac_path_EGREP_found && break 3
5390 if test -z "$ac_cv_path_EGREP"; then
5391 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5394 ac_cv_path_EGREP=$EGREP
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5400 $as_echo "$ac_cv_path_EGREP" >&6; }
5401 EGREP="$ac_cv_path_EGREP"
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5405 $as_echo_n "checking
for fgrep...
" >&6; }
5406 if ${ac_cv_path_FGREP+:} false; then :
5407 $as_echo_n "(cached
) " >&6
5409 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5410 then ac_cv_path_FGREP="$GREP -F"
5412 if test -z "$FGREP"; then
5413 ac_path_FGREP_found=false
5414 # Loop through the user's path and test for each of PROGNAME-LIST
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5419 test -z "$as_dir" && as_dir=.
5420 for ac_prog in fgrep; do
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5422 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5423 as_fn_executable_p "$ac_path_FGREP" || continue
5424 # Check for GNU ac_path_FGREP and select it if it is found.
5425 # Check for GNU $ac_path_FGREP
5426 case `"$ac_path_FGREP" --version 2>&1` in
5428 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5431 $as_echo_n 0123456789 >"conftest.
in"
5434 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5435 mv "conftest.tmp
" "conftest.
in"
5436 cp "conftest.
in" "conftest.
nl"
5437 $as_echo 'FGREP' >> "conftest.
nl"
5438 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5439 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5440 as_fn_arith $ac_count + 1 && ac_count=$as_val
5441 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5442 # Best one so far, save it but keep looking for a better one
5443 ac_cv_path_FGREP="$ac_path_FGREP"
5444 ac_path_FGREP_max=$ac_count
5446 # 10*(2^10) chars as input seems more than enough
5447 test $ac_count -gt 10 && break
5449 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5452 $ac_path_FGREP_found && break 3
5457 if test -z "$ac_cv_path_FGREP"; then
5458 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5461 ac_cv_path_FGREP=$FGREP
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5467 $as_echo "$ac_cv_path_FGREP" >&6; }
5468 FGREP="$ac_cv_path_FGREP"
5471 test -z "$GREP" && GREP=grep
5491 # Check whether --with-gnu-ld was given.
5492 if test "${with_gnu_ld+set}" = set; then :
5493 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5499 if test "$GCC" = yes; then
5500 # Check if gcc -print-prog-name=ld gives a path.
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5502 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5505 # gcc leaves a trailing carriage return which upsets mingw
5506 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5508 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5511 # Accept absolute paths.
5513 re_direlt='/[^/][^/]*/\.\./'
5514 # Canonicalize the pathname of ld
5515 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5516 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5517 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5519 test -z "$LD" && LD="$ac_prog"
5522 # If it fails, then pretend we aren't using GCC.
5526 # If it is relative, then search for the first ld in PATH.
5530 elif test "$with_gnu_ld" = yes; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5532 $as_echo_n "checking
for GNU ld...
" >&6; }
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5535 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5537 if ${lt_cv_path_LD+:} false; then :
5538 $as_echo_n "(cached
) " >&6
5540 if test -z "$LD"; then
5541 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5542 for ac_dir in $PATH; do
5544 test -z "$ac_dir" && ac_dir=.
5545 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5546 lt_cv_path_LD="$ac_dir/$ac_prog"
5547 # Check to see if the program is GNU ld. I'd rather use --version,
5548 # but apparently some variants of GNU ld only accept -v.
5549 # Break only if it was the GNU/non-GNU ld that we prefer.
5550 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5551 *GNU* | *'with BFD'*)
5552 test "$with_gnu_ld" != no && break
5555 test "$with_gnu_ld" != yes && break
5562 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5567 if test -n "$LD"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5569 $as_echo "$LD" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5572 $as_echo "no
" >&6; }
5574 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5576 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5577 if ${lt_cv_prog_gnu_ld+:} false; then :
5578 $as_echo_n "(cached
) " >&6
5580 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5581 case `$LD -v 2>&1 </dev/null` in
5582 *GNU* | *'with BFD'*)
5583 lt_cv_prog_gnu_ld=yes
5586 lt_cv_prog_gnu_ld=no
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5591 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5592 with_gnu_ld=$lt_cv_prog_gnu_ld
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5603 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5604 if ${lt_cv_path_NM+:} false; then :
5605 $as_echo_n "(cached
) " >&6
5607 if test -n "$NM"; then
5608 # Let the user override the test.
5611 lt_nm_to_check="${ac_tool_prefix}nm
"
5612 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5613 lt_nm_to_check="$lt_nm_to_check nm
"
5615 for lt_tmp_nm in $lt_nm_to_check; do
5616 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5617 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5619 test -z "$ac_dir" && ac_dir=.
5620 tmp_nm="$ac_dir/$lt_tmp_nm"
5621 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5622 # Check to see if the nm accepts a BSD-compat flag.
5623 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5624 # nm: unknown option "B
" ignored
5625 # Tru64's nm complains that /dev/null is an invalid object file
5626 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5627 */dev/null* | *'Invalid file or object type'*)
5628 lt_cv_path_NM="$tmp_nm -B"
5632 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5634 lt_cv_path_NM="$tmp_nm -p"
5638 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5639 continue # so that we can try to find one that supports BSD flags
5648 : ${lt_cv_path_NM=no}
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5652 $as_echo "$lt_cv_path_NM" >&6; }
5653 if test "$lt_cv_path_NM" != "no
"; then
5656 # Didn't find any BSD compatible name lister, look for dumpbin.
5657 if test -n "$DUMPBIN"; then :
5658 # Let the user override the test.
5660 if test -n "$ac_tool_prefix"; then
5661 for ac_prog in dumpbin "link
-dump"
5663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5664 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5666 $as_echo_n "checking
for $ac_word...
" >&6; }
5667 if ${ac_cv_prog_DUMPBIN+:} false; then :
5668 $as_echo_n "(cached
) " >&6
5670 if test -n "$DUMPBIN"; then
5671 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5690 DUMPBIN=$ac_cv_prog_DUMPBIN
5691 if test -n "$DUMPBIN"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5693 $as_echo "$DUMPBIN" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5696 $as_echo "no
" >&6; }
5700 test -n "$DUMPBIN" && break
5703 if test -z "$DUMPBIN"; then
5704 ac_ct_DUMPBIN=$DUMPBIN
5705 for ac_prog in dumpbin "link
-dump"
5707 # Extract the first word of "$ac_prog", so it can be a program name with args.
5708 set dummy $ac_prog; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5710 $as_echo_n "checking
for $ac_word...
" >&6; }
5711 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5712 $as_echo_n "(cached
) " >&6
5714 if test -n "$ac_ct_DUMPBIN"; then
5715 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5724 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5734 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5735 if test -n "$ac_ct_DUMPBIN"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5737 $as_echo "$ac_ct_DUMPBIN" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5740 $as_echo "no
" >&6; }
5744 test -n "$ac_ct_DUMPBIN" && break
5747 if test "x
$ac_ct_DUMPBIN" = x; then
5750 case $cross_compiling:$ac_tool_warned in
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5753 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5754 ac_tool_warned=yes ;;
5756 DUMPBIN=$ac_ct_DUMPBIN
5760 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5762 DUMPBIN="$DUMPBIN -symbols"
5770 if test "$DUMPBIN" != ":"; then
5774 test -z "$NM" && NM=nm
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5782 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5783 if ${lt_cv_nm_interface+:} false; then :
5784 $as_echo_n "(cached
) " >&6
5786 lt_cv_nm_interface="BSD nm
"
5787 echo "int some_variable
= 0;" > conftest.$ac_ext
5788 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5789 (eval "$ac_compile" 2>conftest.err)
5790 cat conftest.err >&5
5791 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5792 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5793 cat conftest.err >&5
5794 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5795 cat conftest.out >&5
5796 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5797 lt_cv_nm_interface="MS dumpbin
"
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5802 $as_echo "$lt_cv_nm_interface" >&6; }
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5805 $as_echo_n "checking whether
ln -s works...
" >&6; }
5807 if test "$LN_S" = "ln -s"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5809 $as_echo "yes" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5812 $as_echo "no
, using
$LN_S" >&6; }
5815 # find the maximum length of command line arguments
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5817 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5818 if ${lt_cv_sys_max_cmd_len+:} false; then :
5819 $as_echo_n "(cached
) " >&6
5826 # On DJGPP, this test can blow up pretty badly due to problems in libc
5827 # (any single argument exceeding 2000 bytes causes a buffer overrun
5828 # during glob expansion). Even if it were fixed, the result of this
5829 # check would be larger than it should be.
5830 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5834 # Under GNU Hurd, this test is not required because there is
5835 # no limit to the length of command line arguments.
5836 # Libtool will interpret -1 as no limit whatsoever
5837 lt_cv_sys_max_cmd_len=-1;
5840 cygwin* | mingw* | cegcc*)
5841 # On Win9x/ME, this test blows up -- it succeeds, but takes
5842 # about 5 minutes as the teststring grows exponentially.
5843 # Worse, since 9x/ME are not pre-emptively multitasking,
5844 # you end up with a "frozen
" computer, even though with patience
5845 # the test eventually succeeds (with a max line length of 256k).
5846 # Instead, let's just punt: use the minimum linelength reported by
5847 # all of the supported platforms: 8192 (on NT/2K/XP).
5848 lt_cv_sys_max_cmd_len=8192;
5852 # On MiNT this can take a long time and run out of memory.
5853 lt_cv_sys_max_cmd_len=8192;
5857 # On AmigaOS with pdksh, this test takes hours, literally.
5858 # So we just punt and use a minimum line length of 8192.
5859 lt_cv_sys_max_cmd_len=8192;
5862 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5863 # This has been around since 386BSD, at least. Likely further.
5864 if test -x /sbin/sysctl; then
5865 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5866 elif test -x /usr/sbin/sysctl; then
5867 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5869 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5871 # And add a safety zone
5872 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5873 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5877 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5878 lt_cv_sys_max_cmd_len=196608
5882 # The test takes a long time on OS/2.
5883 lt_cv_sys_max_cmd_len=8192
5887 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5888 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5889 # nice to cause kernel panics so lets avoid the loop below.
5890 # First set a reasonable default.
5891 lt_cv_sys_max_cmd_len=16384
5893 if test -x /sbin/sysconfig; then
5894 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5895 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5900 lt_cv_sys_max_cmd_len=102400
5902 sysv5* | sco5v6* | sysv4.2uw2*)
5903 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5904 if test -n "$kargmax"; then
5905 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5907 lt_cv_sys_max_cmd_len=32768
5911 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5912 if test -n "$lt_cv_sys_max_cmd_len"; then
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5916 # Make teststring a little bigger before we do anything with it.
5917 # a 1K string should be a reasonable start.
5918 for i in 1 2 3 4 5 6 7 8 ; do
5919 teststring=$teststring$teststring
5921 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5922 # If test is not a shell built-in, we'll probably end up computing a
5923 # maximum length that is only half of the actual maximum length, but
5925 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5926 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5927 test $i != 17 # 1/2 MB should be enough
5930 teststring=$teststring$teststring
5932 # Only check the string length outside the loop.
5933 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5935 # Add a significant safety factor because C++ compilers can tack on
5936 # massive amounts of additional arguments before passing them to the
5937 # linker. It appears as though 1/2 is a usable value.
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5945 if test -n $lt_cv_sys_max_cmd_len ; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5947 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5950 $as_echo "none
" >&6; }
5952 max_cmd_len=$lt_cv_sys_max_cmd_len
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5964 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5965 # Try some XSI features
5968 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5970 && eval 'test $(( 1 + 1 )) -eq 2 \
5971 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5974 $as_echo "$xsi_shell" >&6; }
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5978 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5980 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5982 && lt_shell_append=yes
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5984 $as_echo "$lt_shell_append" >&6; }
5987 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5997 # test EBCDIC or ASCII
5998 case `echo X|tr X '\101'` in
5999 A) # ASCII based system
6000 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6001 lt_SP2NL='tr \040 \012'
6002 lt_NL2SP='tr \015\012 \040\040'
6004 *) # EBCDIC based system
6005 lt_SP2NL='tr \100 \n'
6006 lt_NL2SP='tr \r\n \100\100'
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6019 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6020 if ${lt_cv_to_host_file_cmd+:} false; then :
6021 $as_echo_n "(cached
) " >&6
6026 *-*-mingw* ) # actually msys
6027 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6030 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6032 * ) # otherwise, assume *nix
6033 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6039 *-*-mingw* ) # actually msys
6040 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6043 lt_cv_to_host_file_cmd=func_convert_file_noop
6045 * ) # otherwise, assume *nix
6046 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6050 * ) # unhandled hosts (and "normal
" native builds)
6051 lt_cv_to_host_file_cmd=func_convert_file_noop
6057 to_host_file_cmd=$lt_cv_to_host_file_cmd
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6059 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6066 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6067 if ${lt_cv_to_tool_file_cmd+:} false; then :
6068 $as_echo_n "(cached
) " >&6
6070 #assume ordinary cross tools, or native build.
6071 lt_cv_to_tool_file_cmd=func_convert_file_noop
6075 *-*-mingw* ) # actually msys
6076 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6084 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6086 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6093 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6094 if ${lt_cv_ld_reload_flag+:} false; then :
6095 $as_echo_n "(cached
) " >&6
6097 lt_cv_ld_reload_flag='-r'
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6100 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6101 reload_flag=$lt_cv_ld_reload_flag
6102 case $reload_flag in
6104 *) reload_flag=" $reload_flag" ;;
6106 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6108 cygwin* | mingw* | pw32* | cegcc*)
6109 if test "$GCC" != yes; then
6114 if test "$GCC" = yes; then
6115 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6117 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6130 if test -n "$ac_tool_prefix"; then
6131 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6132 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6134 $as_echo_n "checking
for $ac_word...
" >&6; }
6135 if ${ac_cv_prog_OBJDUMP+:} false; then :
6136 $as_echo_n "(cached
) " >&6
6138 if test -n "$OBJDUMP"; then
6139 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6158 OBJDUMP=$ac_cv_prog_OBJDUMP
6159 if test -n "$OBJDUMP"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6161 $as_echo "$OBJDUMP" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6164 $as_echo "no
" >&6; }
6169 if test -z "$ac_cv_prog_OBJDUMP"; then
6170 ac_ct_OBJDUMP=$OBJDUMP
6171 # Extract the first word of "objdump
", so it can be a program name with args.
6172 set dummy objdump; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6174 $as_echo_n "checking
for $ac_word...
" >&6; }
6175 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6176 $as_echo_n "(cached
) " >&6
6178 if test -n "$ac_ct_OBJDUMP"; then
6179 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6198 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6199 if test -n "$ac_ct_OBJDUMP"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6201 $as_echo "$ac_ct_OBJDUMP" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6204 $as_echo "no
" >&6; }
6207 if test "x
$ac_ct_OBJDUMP" = x; then
6210 case $cross_compiling:$ac_tool_warned in
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6213 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6214 ac_tool_warned=yes ;;
6216 OBJDUMP=$ac_ct_OBJDUMP
6219 OBJDUMP="$ac_cv_prog_OBJDUMP"
6222 test -z "$OBJDUMP" && OBJDUMP=objdump
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6233 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6234 if ${lt_cv_deplibs_check_method+:} false; then :
6235 $as_echo_n "(cached
) " >&6
6237 lt_cv_file_magic_cmd='$MAGIC_CMD'
6238 lt_cv_file_magic_test_file=
6239 lt_cv_deplibs_check_method='unknown'
6240 # Need to set the preceding variable on all platforms that support
6241 # interlibrary dependencies.
6242 # 'none' -- dependencies not supported.
6243 # `unknown' -- same as none, but documents that we really don't know.
6244 # 'pass_all' -- all dependencies passed with no checks.
6245 # 'test_compile' -- check by making test program.
6246 # 'file_magic [[regex]]' -- check by looking for files in library path
6247 # which responds to the $file_magic_cmd with a given extended regex.
6248 # If you have `file' or equivalent on your system and you're not sure
6249 # whether `pass_all' will *always* work, you probably want this one.
6253 lt_cv_deplibs_check_method=pass_all
6257 lt_cv_deplibs_check_method=pass_all
6261 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6262 lt_cv_file_magic_cmd='/usr/bin/file -L'
6263 lt_cv_file_magic_test_file=/shlib/libc.so
6267 # func_win32_libid is a shell function defined in ltmain.sh
6268 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6269 lt_cv_file_magic_cmd='func_win32_libid'
6273 # Base MSYS/MinGW do not provide the 'file' command needed by
6274 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6275 # unless we find 'file', for example because we are cross-compiling.
6276 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6277 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6278 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6279 lt_cv_file_magic_cmd='func_win32_libid'
6281 # Keep this pattern in sync with the one in func_win32_libid.
6282 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6283 lt_cv_file_magic_cmd='$OBJDUMP -f'
6288 # use the weaker test based on 'objdump'. See mingw*.
6289 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6290 lt_cv_file_magic_cmd='$OBJDUMP -f'
6293 darwin* | rhapsody*)
6294 lt_cv_deplibs_check_method=pass_all
6297 freebsd* | dragonfly*)
6298 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6301 # Not sure whether the presence of OpenBSD here was a mistake.
6302 # Let's accept both of them until this is cleared up.
6303 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6304 lt_cv_file_magic_cmd=/usr/bin/file
6305 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6309 lt_cv_deplibs_check_method=pass_all
6314 lt_cv_deplibs_check_method=pass_all
6318 lt_cv_deplibs_check_method=pass_all
6321 hpux10.20* | hpux11*)
6322 lt_cv_file_magic_cmd=/usr/bin/file
6325 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6326 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6329 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]'
6330 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6333 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6334 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6340 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6344 irix5* | irix6* | nonstopux*)
6346 *-32|*"-32 ") libmagic=32-bit;;
6347 *-n32|*"-n32 ") libmagic=N32;;
6348 *-64|*"-64 ") libmagic=64-bit;;
6349 *) libmagic=never-match;;
6351 lt_cv_deplibs_check_method=pass_all
6354 # This must be glibc/ELF.
6355 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6356 lt_cv_deplibs_check_method=pass_all
6360 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6363 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6369 lt_cv_file_magic_cmd=/usr/bin/file
6370 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6374 lt_cv_deplibs_check_method=pass_all
6378 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6379 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6381 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6385 osf3* | osf4* | osf5*)
6386 lt_cv_deplibs_check_method=pass_all
6390 lt_cv_deplibs_check_method=pass_all
6394 lt_cv_deplibs_check_method=pass_all
6397 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6398 lt_cv_deplibs_check_method=pass_all
6402 case $host_vendor in
6404 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]'
6405 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6408 lt_cv_deplibs_check_method=pass_all
6411 lt_cv_file_magic_cmd='/bin/file'
6412 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6415 lt_cv_file_magic_cmd='/bin/file'
6416 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6417 lt_cv_file_magic_test_file=/lib/libc.so
6420 lt_cv_deplibs_check_method=pass_all
6423 lt_cv_deplibs_check_method=pass_all
6429 lt_cv_deplibs_check_method=pass_all
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6435 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6439 if test "$build" = "$host"; then
6442 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6445 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6451 file_magic_cmd=$lt_cv_file_magic_cmd
6452 deplibs_check_method=$lt_cv_deplibs_check_method
6453 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6476 if test -n "$ac_tool_prefix"; then
6477 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6478 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6480 $as_echo_n "checking
for $ac_word...
" >&6; }
6481 if ${ac_cv_prog_DLLTOOL+:} false; then :
6482 $as_echo_n "(cached
) " >&6
6484 if test -n "$DLLTOOL"; then
6485 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6494 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6504 DLLTOOL=$ac_cv_prog_DLLTOOL
6505 if test -n "$DLLTOOL"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6507 $as_echo "$DLLTOOL" >&6; }
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6510 $as_echo "no
" >&6; }
6515 if test -z "$ac_cv_prog_DLLTOOL"; then
6516 ac_ct_DLLTOOL=$DLLTOOL
6517 # Extract the first word of "dlltool
", so it can be a program name with args.
6518 set dummy dlltool; ac_word=$2
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6520 $as_echo_n "checking
for $ac_word...
" >&6; }
6521 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6522 $as_echo_n "(cached
) " >&6
6524 if test -n "$ac_ct_DLLTOOL"; then
6525 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531 test -z "$as_dir" && as_dir=.
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6534 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6544 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6545 if test -n "$ac_ct_DLLTOOL"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6547 $as_echo "$ac_ct_DLLTOOL" >&6; }
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6550 $as_echo "no
" >&6; }
6553 if test "x
$ac_ct_DLLTOOL" = x; then
6556 case $cross_compiling:$ac_tool_warned in
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6559 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6560 ac_tool_warned=yes ;;
6562 DLLTOOL=$ac_ct_DLLTOOL
6565 DLLTOOL="$ac_cv_prog_DLLTOOL"
6568 test -z "$DLLTOOL" && DLLTOOL=dlltool
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6580 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6581 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6582 $as_echo_n "(cached
) " >&6
6584 lt_cv_sharedlib_from_linklib_cmd='unknown'
6587 cygwin* | mingw* | pw32* | cegcc*)
6588 # two different shell functions defined in ltmain.sh
6589 # decide which to use based on capabilities of $DLLTOOL
6590 case `$DLLTOOL --help 2>&1` in
6591 *--identify-strict*)
6592 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6595 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6600 # fallback: assume linklib IS sharedlib
6601 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6607 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6608 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6609 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6617 if test -n "$ac_tool_prefix"; then
6620 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6621 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6623 $as_echo_n "checking
for $ac_word...
" >&6; }
6624 if ${ac_cv_prog_AR+:} false; then :
6625 $as_echo_n "(cached
) " >&6
6627 if test -n "$AR"; then
6628 ac_cv_prog_AR="$AR" # Let the user override the test.
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6637 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6648 if test -n "$AR"; then
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6650 $as_echo "$AR" >&6; }
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6653 $as_echo "no
" >&6; }
6657 test -n "$AR" && break
6660 if test -z "$AR"; then
6664 # Extract the first word of "$ac_prog", so it can be a program name with args.
6665 set dummy $ac_prog; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6667 $as_echo_n "checking
for $ac_word...
" >&6; }
6668 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6669 $as_echo_n "(cached
) " >&6
6671 if test -n "$ac_ct_AR"; then
6672 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir=.
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6681 ac_cv_prog_ac_ct_AR="$ac_prog"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6691 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6692 if test -n "$ac_ct_AR"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6694 $as_echo "$ac_ct_AR" >&6; }
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6697 $as_echo "no
" >&6; }
6701 test -n "$ac_ct_AR" && break
6704 if test "x
$ac_ct_AR" = x; then
6707 case $cross_compiling:$ac_tool_warned in
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6710 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6711 ac_tool_warned=yes ;;
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6731 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6732 if ${lt_cv_ar_at_file+:} false; then :
6733 $as_echo_n "(cached
) " >&6
6736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6737 /* end confdefs.h. */
6747 if ac_fn_c_try_compile "$LINENO"; then :
6748 echo conftest.$ac_objext > conftest.lst
6749 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6750 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6751 (eval $lt_ar_try) 2>&5
6753 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6754 test $ac_status = 0; }
6755 if test "$ac_status" -eq 0; then
6756 # Ensure the archiver fails upon bogus file names.
6757 rm -f conftest.$ac_objext libconftest.a
6758 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6759 (eval $lt_ar_try) 2>&5
6761 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6762 test $ac_status = 0; }
6763 if test "$ac_status" -ne 0; then
6767 rm -f conftest.* libconftest.a
6770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6774 $as_echo "$lt_cv_ar_at_file" >&6; }
6776 if test "x
$lt_cv_ar_at_file" = xno; then
6779 archiver_list_spec=$lt_cv_ar_at_file
6788 if test -n "$ac_tool_prefix"; then
6789 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6790 set dummy ${ac_tool_prefix}strip; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6792 $as_echo_n "checking
for $ac_word...
" >&6; }
6793 if ${ac_cv_prog_STRIP+:} false; then :
6794 $as_echo_n "(cached
) " >&6
6796 if test -n "$STRIP"; then
6797 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6816 STRIP=$ac_cv_prog_STRIP
6817 if test -n "$STRIP"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6819 $as_echo "$STRIP" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6822 $as_echo "no
" >&6; }
6827 if test -z "$ac_cv_prog_STRIP"; then
6829 # Extract the first word of "strip
", so it can be a program name with args.
6830 set dummy strip; ac_word=$2
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6832 $as_echo_n "checking
for $ac_word...
" >&6; }
6833 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6834 $as_echo_n "(cached
) " >&6
6836 if test -n "$ac_ct_STRIP"; then
6837 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 test -z "$as_dir" && as_dir=.
6844 for ac_exec_ext in '' $ac_executable_extensions; do
6845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6846 ac_cv_prog_ac_ct_STRIP="strip
"
6847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6856 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6857 if test -n "$ac_ct_STRIP"; then
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6859 $as_echo "$ac_ct_STRIP" >&6; }
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6862 $as_echo "no
" >&6; }
6865 if test "x
$ac_ct_STRIP" = x; then
6868 case $cross_compiling:$ac_tool_warned in
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6871 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6872 ac_tool_warned=yes ;;
6877 STRIP="$ac_cv_prog_STRIP"
6880 test -z "$STRIP" && STRIP=:
6887 if test -n "$ac_tool_prefix"; then
6888 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6889 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6891 $as_echo_n "checking
for $ac_word...
" >&6; }
6892 if ${ac_cv_prog_RANLIB+:} false; then :
6893 $as_echo_n "(cached
) " >&6
6895 if test -n "$RANLIB"; then
6896 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir=.
6903 for ac_exec_ext in '' $ac_executable_extensions; do
6904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6905 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6915 RANLIB=$ac_cv_prog_RANLIB
6916 if test -n "$RANLIB"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6918 $as_echo "$RANLIB" >&6; }
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6921 $as_echo "no
" >&6; }
6926 if test -z "$ac_cv_prog_RANLIB"; then
6927 ac_ct_RANLIB=$RANLIB
6928 # Extract the first word of "ranlib
", so it can be a program name with args.
6929 set dummy ranlib; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6931 $as_echo_n "checking
for $ac_word...
" >&6; }
6932 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6933 $as_echo_n "(cached
) " >&6
6935 if test -n "$ac_ct_RANLIB"; then
6936 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir=.
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6945 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6955 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6956 if test -n "$ac_ct_RANLIB"; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6958 $as_echo "$ac_ct_RANLIB" >&6; }
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6961 $as_echo "no
" >&6; }
6964 if test "x
$ac_ct_RANLIB" = x; then
6967 case $cross_compiling:$ac_tool_warned in
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6970 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6971 ac_tool_warned=yes ;;
6973 RANLIB=$ac_ct_RANLIB
6976 RANLIB="$ac_cv_prog_RANLIB"
6979 test -z "$RANLIB" && RANLIB=:
6986 # Determine commands to create old-style static archives.
6987 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6988 old_postinstall_cmds='chmod 644 $oldlib'
6989 old_postuninstall_cmds=
6991 if test -n "$RANLIB"; then
6994 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6997 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7000 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7005 lock_old_archive_extraction=yes ;;
7007 lock_old_archive_extraction=no ;;
7048 # If no C compiler was specified, use CC.
7051 # If no C compiler flags were specified, use CFLAGS.
7052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7054 # Allow CC to be a program name with arguments.
7058 # Check for command to grab the raw symbol name followed by C symbol from nm.
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7060 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7061 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7062 $as_echo_n "(cached
) " >&6
7065 # These are sane defaults that work on at least a few old systems.
7066 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7068 # Character class describing NM global symbol codes.
7069 symcode='[BCDEGRST]'
7071 # Regexp to match symbols that can be accessed directly from C.
7072 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7074 # Define system-specific variables.
7079 cygwin* | mingw* | pw32* | cegcc*)
7080 symcode='[ABCDGISTW]'
7083 if test "$host_cpu" = ia64; then
7084 symcode='[ABCDEGRST]'
7088 symcode='[BCDEGRST]'
7091 symcode='[BCDEGQRST]'
7102 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7110 # If we're using GNU nm, then use its standard symbol codes.
7111 case `$NM -V 2>&1` in
7112 *GNU* | *'with BFD'*)
7113 symcode='[ABCDGIRSTW]' ;;
7116 # Transform an extracted symbol line into a proper C declaration.
7117 # Some systems (esp. on ia64) link data and code symbols differently,
7118 # so use this general approach.
7119 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7121 # Transform an extracted symbol line into symbol name and symbol address
7122 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7123 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'"
7125 # Handle CRLF in mingw tool chain
7129 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7133 # Try without a prefix underscore, then with it.
7134 for ac_symprfx in "" "_
"; do
7136 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7137 symxfrm="\\1 $ac_symprfx\\2 \\2"
7139 # Write the raw and C identifiers.
7140 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7141 # Fake it for dumpbin and say T for any non-static function
7142 # and D for any global variable.
7143 # Also find C++ and __fastcall symbols from MSVC++,
7144 # which start with @ or ?.
7145 lt_cv_sys_global_symbol_pipe="$AWK '"\
7146 " {last_section=section; section=\$ 3};"\
7147 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7148 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7149 " \$ 0!~/External *\|/{next};"\
7150 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7151 " {if(hide[section]) next};"\
7152 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7153 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7154 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7155 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7156 " ' prfx
=^
$ac_symprfx"
7158 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7160 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7162 # Check to see that the pipe works correctly.
7166 cat > conftest.$ac_ext <<_LT_EOF
7171 void nm_test_func(void);
7172 void nm_test_func(void){}
7176 int main(){nm_test_var='a';nm_test_func();return(0);}
7179 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7180 (eval $ac_compile) 2>&5
7182 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7183 test $ac_status = 0; }; then
7184 # Now try to grab the symbols.
7186 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7187 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7189 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7190 test $ac_status = 0; } && test -s "$nlist"; then
7191 # Try sorting and uniquifying the output.
7192 if sort "$nlist" | uniq > "$nlist"T; then
7193 mv -f "$nlist"T "$nlist"
7198 # Make sure that we snagged all the symbols we need.
7199 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7200 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7201 cat <<_LT_EOF > conftest.$ac_ext
7202 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7203 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7204 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7205 relocations are performed -- see ld's documentation on pseudo-relocs. */
7206 # define LT_DLSYM_CONST
7207 #elif defined(__osf__)
7208 /* This system does not cope well with relocations in const data. */
7209 # define LT_DLSYM_CONST
7211 # define LT_DLSYM_CONST const
7219 # Now generate the symbol file.
7220 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7222 cat <<_LT_EOF >> conftest.$ac_ext
7224 /* The mapping between symbol names and symbols. */
7225 LT_DLSYM_CONST struct {
7229 lt__PROGRAM__LTX_preloaded_symbols[] =
7231 { "@PROGRAM@
", (void *) 0 },
7233 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7234 cat <<\_LT_EOF >> conftest.$ac_ext
7238 /* This works around a problem in FreeBSD linker */
7239 #ifdef FREEBSD_WORKAROUND
7240 static const void *lt_preloaded_setup() {
7241 return lt__PROGRAM__LTX_preloaded_symbols;
7249 # Now try linking the two files.
7250 mv conftest.$ac_objext conftstm.$ac_objext
7251 lt_globsym_save_LIBS=$LIBS
7252 lt_globsym_save_CFLAGS=$CFLAGS
7253 LIBS="conftstm.
$ac_objext"
7254 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7255 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7256 (eval $ac_link) 2>&5
7258 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7259 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7262 LIBS=$lt_globsym_save_LIBS
7263 CFLAGS=$lt_globsym_save_CFLAGS
7265 echo "cannot
find nm_test_func
in $nlist" >&5
7268 echo "cannot
find nm_test_var
in $nlist" >&5
7271 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7274 echo "$progname: failed program was
:" >&5
7275 cat conftest.$ac_ext >&5
7277 rm -rf conftest* conftst*
7279 # Do not use the global_symbol_pipe unless it works.
7280 if test "$pipe_works" = yes; then
7283 lt_cv_sys_global_symbol_pipe=
7289 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7290 lt_cv_sys_global_symbol_to_cdecl=
7292 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7294 $as_echo "failed
" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7297 $as_echo "ok
" >&6; }
7300 # Response file support.
7301 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7302 nm_file_list_spec='@'
7303 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7304 nm_file_list_spec='@'
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7334 $as_echo_n "checking
for sysroot...
" >&6; }
7336 # Check whether --with-sysroot was given.
7337 if test "${with_sysroot+set}" = set; then :
7338 withval=$with_sysroot;
7345 case ${with_sysroot} in #(
7347 if test "$GCC" = yes; then
7348 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7352 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7358 $as_echo "${with_sysroot}" >&6; }
7359 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7364 $as_echo "${lt_sysroot:-no}" >&6; }
7370 # Check whether --enable-libtool-lock was given.
7371 if test "${enable_libtool_lock+set}" = set; then :
7372 enableval=$enable_libtool_lock;
7375 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7377 # Some flags need to be propagated to the compiler or linker for good
7381 # Find out which ABI we are using.
7382 echo 'int i;' > conftest.$ac_ext
7383 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7384 (eval $ac_compile) 2>&5
7386 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7387 test $ac_status = 0; }; then
7388 case `/usr/bin/file conftest.$ac_objext` in
7400 # Find out which ABI we are using.
7401 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7402 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7403 (eval $ac_compile) 2>&5
7405 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7406 test $ac_status = 0; }; then
7407 if test "$lt_cv_prog_gnu_ld" = yes; then
7408 case `/usr/bin/file conftest.$ac_objext` in
7410 LD="${LD-ld} -melf32bsmip"
7413 LD="${LD-ld} -melf32bmipn32"
7416 LD="${LD-ld} -melf64bmip"
7420 case `/usr/bin/file conftest.$ac_objext` in
7436 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7437 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7438 # Find out which ABI we are using.
7439 echo 'int i;' > conftest.$ac_ext
7440 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7441 (eval $ac_compile) 2>&5
7443 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7444 test $ac_status = 0; }; then
7445 case `/usr/bin/file conftest.o` in
7448 x86_64-*kfreebsd*-gnu)
7449 LD="${LD-ld} -m elf_i386_fbsd
"
7452 LD="${LD-ld} -m elf_i386
"
7454 ppc64-*linux*|powerpc64-*linux*)
7455 LD="${LD-ld} -m elf32ppclinux
"
7458 LD="${LD-ld} -m elf_s390
"
7461 LD="${LD-ld} -m elf32_sparc
"
7467 x86_64-*kfreebsd*-gnu)
7468 LD="${LD-ld} -m elf_x86_64_fbsd
"
7471 LD="${LD-ld} -m elf_x86_64
"
7473 ppc*-*linux*|powerpc*-*linux*)
7474 LD="${LD-ld} -m elf64ppc
"
7476 s390*-*linux*|s390*-*tpf*)
7477 LD="${LD-ld} -m elf64_s390
"
7480 LD="${LD-ld} -m elf64_sparc
"
7490 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7491 SAVE_CFLAGS="$CFLAGS"
7492 CFLAGS="$CFLAGS -belf"
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7494 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7495 if ${lt_cv_cc_needs_belf+:} false; then :
7496 $as_echo_n "(cached
) " >&6
7499 ac_cpp='$CPP $CPPFLAGS'
7500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7515 if ac_fn_c_try_link "$LINENO"; then :
7516 lt_cv_cc_needs_belf=yes
7518 lt_cv_cc_needs_belf=no
7520 rm -f core conftest.err conftest.$ac_objext \
7521 conftest$ac_exeext conftest.$ac_ext
7523 ac_cpp='$CPP $CPPFLAGS'
7524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7530 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7531 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7532 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7533 CFLAGS="$SAVE_CFLAGS"
7537 # Find out which ABI we are using.
7538 echo 'int i;' > conftest.$ac_ext
7539 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7540 (eval $ac_compile) 2>&5
7542 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7543 test $ac_status = 0; }; then
7544 case `/usr/bin/file conftest.o` in
7546 case $lt_cv_prog_gnu_ld in
7550 LD="${LD-ld} -m elf_x86_64
"
7553 LD="${LD-ld} -m elf64_sparc
"
7556 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7557 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7562 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7574 need_locks="$enable_libtool_lock"
7576 if test -n "$ac_tool_prefix"; then
7577 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7578 set dummy ${ac_tool_prefix}mt; ac_word=$2
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7580 $as_echo_n "checking
for $ac_word...
" >&6; }
7581 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7582 $as_echo_n "(cached
) " >&6
7584 if test -n "$MANIFEST_TOOL"; then
7585 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 test -z "$as_dir" && as_dir=.
7592 for ac_exec_ext in '' $ac_executable_extensions; do
7593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7594 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7604 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7605 if test -n "$MANIFEST_TOOL"; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7607 $as_echo "$MANIFEST_TOOL" >&6; }
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7610 $as_echo "no
" >&6; }
7615 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7616 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7617 # Extract the first word of "mt
", so it can be a program name with args.
7618 set dummy mt; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7620 $as_echo_n "checking
for $ac_word...
" >&6; }
7621 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7622 $as_echo_n "(cached
) " >&6
7624 if test -n "$ac_ct_MANIFEST_TOOL"; then
7625 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631 test -z "$as_dir" && as_dir=.
7632 for ac_exec_ext in '' $ac_executable_extensions; do
7633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7634 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7644 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7645 if test -n "$ac_ct_MANIFEST_TOOL"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7647 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7650 $as_echo "no
" >&6; }
7653 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7656 case $cross_compiling:$ac_tool_warned in
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7659 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7660 ac_tool_warned=yes ;;
7662 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7665 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7668 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7670 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7671 if ${lt_cv_path_mainfest_tool+:} false; then :
7672 $as_echo_n "(cached
) " >&6
7674 lt_cv_path_mainfest_tool=no
7675 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7676 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7677 cat conftest.err >&5
7678 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7679 lt_cv_path_mainfest_tool=yes
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7684 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7685 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7695 rhapsody* | darwin*)
7696 if test -n "$ac_tool_prefix"; then
7697 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7698 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7700 $as_echo_n "checking
for $ac_word...
" >&6; }
7701 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7702 $as_echo_n "(cached
) " >&6
7704 if test -n "$DSYMUTIL"; then
7705 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7711 test -z "$as_dir" && as_dir=.
7712 for ac_exec_ext in '' $ac_executable_extensions; do
7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7725 if test -n "$DSYMUTIL"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7727 $as_echo "$DSYMUTIL" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7730 $as_echo "no
" >&6; }
7735 if test -z "$ac_cv_prog_DSYMUTIL"; then
7736 ac_ct_DSYMUTIL=$DSYMUTIL
7737 # Extract the first word of "dsymutil
", so it can be a program name with args.
7738 set dummy dsymutil; ac_word=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7740 $as_echo_n "checking
for $ac_word...
" >&6; }
7741 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7742 $as_echo_n "(cached
) " >&6
7744 if test -n "$ac_ct_DSYMUTIL"; then
7745 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir=.
7752 for ac_exec_ext in '' $ac_executable_extensions; do
7753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7764 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7765 if test -n "$ac_ct_DSYMUTIL"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7767 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7770 $as_echo "no
" >&6; }
7773 if test "x
$ac_ct_DSYMUTIL" = x; then
7776 case $cross_compiling:$ac_tool_warned in
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7779 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7780 ac_tool_warned=yes ;;
7782 DSYMUTIL=$ac_ct_DSYMUTIL
7785 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7788 if test -n "$ac_tool_prefix"; then
7789 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7790 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7792 $as_echo_n "checking
for $ac_word...
" >&6; }
7793 if ${ac_cv_prog_NMEDIT+:} false; then :
7794 $as_echo_n "(cached
) " >&6
7796 if test -n "$NMEDIT"; then
7797 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7806 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7816 NMEDIT=$ac_cv_prog_NMEDIT
7817 if test -n "$NMEDIT"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7819 $as_echo "$NMEDIT" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7822 $as_echo "no
" >&6; }
7827 if test -z "$ac_cv_prog_NMEDIT"; then
7828 ac_ct_NMEDIT=$NMEDIT
7829 # Extract the first word of "nmedit
", so it can be a program name with args.
7830 set dummy nmedit; ac_word=$2
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7832 $as_echo_n "checking
for $ac_word...
" >&6; }
7833 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7834 $as_echo_n "(cached
) " >&6
7836 if test -n "$ac_ct_NMEDIT"; then
7837 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir=.
7844 for ac_exec_ext in '' $ac_executable_extensions; do
7845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7856 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7857 if test -n "$ac_ct_NMEDIT"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7859 $as_echo "$ac_ct_NMEDIT" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7862 $as_echo "no
" >&6; }
7865 if test "x
$ac_ct_NMEDIT" = x; then
7868 case $cross_compiling:$ac_tool_warned in
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7871 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7872 ac_tool_warned=yes ;;
7874 NMEDIT=$ac_ct_NMEDIT
7877 NMEDIT="$ac_cv_prog_NMEDIT"
7880 if test -n "$ac_tool_prefix"; then
7881 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7882 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7884 $as_echo_n "checking
for $ac_word...
" >&6; }
7885 if ${ac_cv_prog_LIPO+:} false; then :
7886 $as_echo_n "(cached
) " >&6
7888 if test -n "$LIPO"; then
7889 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7908 LIPO=$ac_cv_prog_LIPO
7909 if test -n "$LIPO"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7911 $as_echo "$LIPO" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7914 $as_echo "no
" >&6; }
7919 if test -z "$ac_cv_prog_LIPO"; then
7921 # Extract the first word of "lipo
", so it can be a program name with args.
7922 set dummy lipo; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7924 $as_echo_n "checking
for $ac_word...
" >&6; }
7925 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7926 $as_echo_n "(cached
) " >&6
7928 if test -n "$ac_ct_LIPO"; then
7929 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_ac_ct_LIPO="lipo
"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7948 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7949 if test -n "$ac_ct_LIPO"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7951 $as_echo "$ac_ct_LIPO" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7954 $as_echo "no
" >&6; }
7957 if test "x
$ac_ct_LIPO" = x; then
7960 case $cross_compiling:$ac_tool_warned in
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7963 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7964 ac_tool_warned=yes ;;
7969 LIPO="$ac_cv_prog_LIPO"
7972 if test -n "$ac_tool_prefix"; then
7973 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7974 set dummy ${ac_tool_prefix}otool; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7976 $as_echo_n "checking
for $ac_word...
" >&6; }
7977 if ${ac_cv_prog_OTOOL+:} false; then :
7978 $as_echo_n "(cached
) " >&6
7980 if test -n "$OTOOL"; then
7981 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 OTOOL=$ac_cv_prog_OTOOL
8001 if test -n "$OTOOL"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8003 $as_echo "$OTOOL" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8006 $as_echo "no
" >&6; }
8011 if test -z "$ac_cv_prog_OTOOL"; then
8013 # Extract the first word of "otool
", so it can be a program name with args.
8014 set dummy otool; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8016 $as_echo_n "checking
for $ac_word...
" >&6; }
8017 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8018 $as_echo_n "(cached
) " >&6
8020 if test -n "$ac_ct_OTOOL"; then
8021 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_prog_ac_ct_OTOOL="otool
"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8040 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8041 if test -n "$ac_ct_OTOOL"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8043 $as_echo "$ac_ct_OTOOL" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8046 $as_echo "no
" >&6; }
8049 if test "x
$ac_ct_OTOOL" = x; then
8052 case $cross_compiling:$ac_tool_warned in
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8055 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8056 ac_tool_warned=yes ;;
8061 OTOOL="$ac_cv_prog_OTOOL"
8064 if test -n "$ac_tool_prefix"; then
8065 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8066 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8068 $as_echo_n "checking
for $ac_word...
" >&6; }
8069 if ${ac_cv_prog_OTOOL64+:} false; then :
8070 $as_echo_n "(cached
) " >&6
8072 if test -n "$OTOOL64"; then
8073 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8082 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8092 OTOOL64=$ac_cv_prog_OTOOL64
8093 if test -n "$OTOOL64"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8095 $as_echo "$OTOOL64" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8098 $as_echo "no
" >&6; }
8103 if test -z "$ac_cv_prog_OTOOL64"; then
8104 ac_ct_OTOOL64=$OTOOL64
8105 # Extract the first word of "otool64
", so it can be a program name with args.
8106 set dummy otool64; ac_word=$2
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8108 $as_echo_n "checking
for $ac_word...
" >&6; }
8109 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8110 $as_echo_n "(cached
) " >&6
8112 if test -n "$ac_ct_OTOOL64"; then
8113 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119 test -z "$as_dir" && as_dir=.
8120 for ac_exec_ext in '' $ac_executable_extensions; do
8121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8122 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8132 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8133 if test -n "$ac_ct_OTOOL64"; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8135 $as_echo "$ac_ct_OTOOL64" >&6; }
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8138 $as_echo "no
" >&6; }
8141 if test "x
$ac_ct_OTOOL64" = x; then
8144 case $cross_compiling:$ac_tool_warned in
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8147 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8148 ac_tool_warned=yes ;;
8150 OTOOL64=$ac_ct_OTOOL64
8153 OTOOL64="$ac_cv_prog_OTOOL64"
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8183 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8184 if ${lt_cv_apple_cc_single_mod+:} false; then :
8185 $as_echo_n "(cached
) " >&6
8187 lt_cv_apple_cc_single_mod=no
8188 if test -z "${LT_MULTI_MODULE}"; then
8189 # By default we will add the -single_module flag. You can override
8190 # by either setting the environment variable LT_MULTI_MODULE
8191 # non-empty at configure time, or by adding -multi_module to the
8193 rm -rf libconftest.dylib*
8194 echo "int foo
(void
){return 1;}" > conftest.c
8195 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8196 -dynamiclib -Wl,-single_module conftest.c
" >&5
8197 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8198 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8200 # If there is a non-empty error log, and "single_module
"
8201 # appears in it, assume the flag caused a linker warning
8202 if test -s conftest.err && $GREP single_module conftest.err; then
8203 cat conftest.err >&5
8204 # Otherwise, if the output was created with a 0 exit code from
8205 # the compiler, it worked.
8206 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8207 lt_cv_apple_cc_single_mod=yes
8209 cat conftest.err >&5
8211 rm -rf libconftest.dylib*
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8216 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8219 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8220 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8221 $as_echo_n "(cached
) " >&6
8223 lt_cv_ld_exported_symbols_list=no
8224 save_LDFLAGS=$LDFLAGS
8225 echo "_main
" > conftest.sym
8226 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8238 if ac_fn_c_try_link "$LINENO"; then :
8239 lt_cv_ld_exported_symbols_list=yes
8241 lt_cv_ld_exported_symbols_list=no
8243 rm -f core conftest.err conftest.$ac_objext \
8244 conftest$ac_exeext conftest.$ac_ext
8245 LDFLAGS="$save_LDFLAGS"
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8249 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8252 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8253 if ${lt_cv_ld_force_load+:} false; then :
8254 $as_echo_n "(cached
) " >&6
8256 lt_cv_ld_force_load=no
8257 cat > conftest.c << _LT_EOF
8258 int forced_loaded() { return 2;}
8260 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8261 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8262 echo "$AR cru libconftest.a conftest.o
" >&5
8263 $AR cru libconftest.a conftest.o 2>&5
8264 echo "$RANLIB libconftest.a
" >&5
8265 $RANLIB libconftest.a 2>&5
8266 cat > conftest.c << _LT_EOF
8267 int main() { return 0;}
8269 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8270 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8272 if test -s conftest.err && $GREP force_load conftest.err; then
8273 cat conftest.err >&5
8274 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8275 lt_cv_ld_force_load=yes
8277 cat conftest.err >&5
8279 rm -f conftest.err libconftest.a conftest conftest.c
8280 rm -rf conftest.dSYM
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8284 $as_echo "$lt_cv_ld_force_load" >&6; }
8286 rhapsody* | darwin1.[012])
8287 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8289 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8290 darwin*) # darwin 5.x on
8291 # if running on 10.5 or later, the deployment target defaults
8292 # to the OS version, if on x86, and 10.4, the deployment
8293 # target defaults to 10.4. Don't you love it?
8294 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8295 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8296 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8298 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8300 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8304 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8305 _lt_dar_single_mod='$single_module'
8307 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8308 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8310 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8312 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8313 _lt_dsymutil='~$DSYMUTIL $lib || :'
8321 ac_cpp='$CPP $CPPFLAGS'
8322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8326 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8327 # On Suns, sometimes $CPP names a directory.
8328 if test -n "$CPP" && test -d "$CPP"; then
8331 if test -z "$CPP"; then
8332 if ${ac_cv_prog_CPP+:} false; then :
8333 $as_echo_n "(cached
) " >&6
8335 # Double quotes because CPP needs to be expanded
8336 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8339 for ac_c_preproc_warn_flag in '' yes
8341 # Use a header file that comes with gcc, so configuring glibc
8342 # with a fresh cross-compiler works.
8343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8344 # <limits.h> exists even on freestanding compilers.
8345 # On the NeXT, cc -E runs the code through the compiler's parser,
8346 # not just through cpp. "Syntax error
" is here to catch this case.
8347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8350 # include <limits.h>
8352 # include <assert.h>
8356 if ac_fn_c_try_cpp "$LINENO"; then :
8359 # Broken: fails on valid input.
8362 rm -f conftest.err conftest.i conftest.$ac_ext
8364 # OK, works on sane cases. Now check whether nonexistent headers
8365 # can be detected and how.
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8368 #include <ac_nonexistent.h>
8370 if ac_fn_c_try_cpp "$LINENO"; then :
8371 # Broken: success on invalid input.
8374 # Passes both tests.
8378 rm -f conftest.err conftest.i conftest.$ac_ext
8381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8382 rm -f conftest.i conftest.err conftest.$ac_ext
8383 if $ac_preproc_ok; then :
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8396 $as_echo "$CPP" >&6; }
8398 for ac_c_preproc_warn_flag in '' yes
8400 # Use a header file that comes with gcc, so configuring glibc
8401 # with a fresh cross-compiler works.
8402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8403 # <limits.h> exists even on freestanding compilers.
8404 # On the NeXT, cc -E runs the code through the compiler's parser,
8405 # not just through cpp. "Syntax error
" is here to catch this case.
8406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8407 /* end confdefs.h. */
8409 # include <limits.h>
8411 # include <assert.h>
8415 if ac_fn_c_try_cpp "$LINENO"; then :
8418 # Broken: fails on valid input.
8421 rm -f conftest.err conftest.i conftest.$ac_ext
8423 # OK, works on sane cases. Now check whether nonexistent headers
8424 # can be detected and how.
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8427 #include <ac_nonexistent.h>
8429 if ac_fn_c_try_cpp "$LINENO"; then :
8430 # Broken: success on invalid input.
8433 # Passes both tests.
8437 rm -f conftest.err conftest.i conftest.$ac_ext
8440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8441 rm -f conftest.i conftest.err conftest.$ac_ext
8442 if $ac_preproc_ok; then :
8445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8447 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8448 See \`config.log' for more details
" "$LINENO" 5; }
8452 ac_cpp='$CPP $CPPFLAGS'
8453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8459 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8460 if ${ac_cv_header_stdc+:} false; then :
8461 $as_echo_n "(cached
) " >&6
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8478 if ac_fn_c_try_compile "$LINENO"; then :
8479 ac_cv_header_stdc=yes
8481 ac_cv_header_stdc=no
8483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8485 if test $ac_cv_header_stdc = yes; then
8486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8492 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8493 $EGREP "memchr
" >/dev/null 2>&1; then :
8496 ac_cv_header_stdc=no
8502 if test $ac_cv_header_stdc = yes; then
8503 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8509 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8510 $EGREP "free
" >/dev/null 2>&1; then :
8513 ac_cv_header_stdc=no
8519 if test $ac_cv_header_stdc = yes; then
8520 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8521 if test "$cross_compiling" = yes; then :
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8528 #if ((' ' & 0x0FF) == 0x020)
8529 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8530 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8532 # define ISLOWER(c) \
8533 (('a' <= (c) && (c) <= 'i') \
8534 || ('j' <= (c) && (c) <= 'r') \
8535 || ('s' <= (c) && (c) <= 'z'))
8536 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8539 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8544 for (i = 0; i < 256; i++)
8545 if (XOR (islower (i), ISLOWER (i))
8546 || toupper (i) != TOUPPER (i))
8551 if ac_fn_c_try_run "$LINENO"; then :
8554 ac_cv_header_stdc=no
8556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8557 conftest.$ac_objext conftest.beam conftest.$ac_ext
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8563 $as_echo "$ac_cv_header_stdc" >&6; }
8564 if test $ac_cv_header_stdc = yes; then
8566 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8570 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8571 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8572 inttypes.h stdint.h unistd.h
8574 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8575 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8577 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8578 cat >>confdefs.h
<<_ACEOF
8579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8587 for ac_header
in dlfcn.h
8589 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8591 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8592 cat >>confdefs.h
<<_ACEOF
8593 #define HAVE_DLFCN_H 1
8603 func_stripname_cnf
()
8606 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8607 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8609 } # func_stripname_cnf
8616 # Check whether --enable-static was given.
8617 if test "${enable_static+set}" = set; then :
8618 enableval
=$enable_static; p
=${PACKAGE-default}
8620 yes) enable_static
=yes ;;
8621 no
) enable_static
=no
;;
8624 # Look at the argument we got. We use all the common list separators.
8625 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8626 for pkg
in $enableval; do
8628 if test "X$pkg" = "X$p"; then
8654 # Check whether --enable-shared was given.
8655 if test "${enable_shared+set}" = set; then :
8656 enableval
=$enable_shared; p
=${PACKAGE-default}
8658 yes) enable_shared
=yes ;;
8659 no
) enable_shared
=no
;;
8662 # Look at the argument we got. We use all the common list separators.
8663 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8664 for pkg
in $enableval; do
8666 if test "X$pkg" = "X$p"; then
8687 # Check whether --with-pic was given.
8688 if test "${with_pic+set}" = set; then :
8689 withval
=$with_pic; lt_p
=${PACKAGE-default}
8691 yes|no
) pic_mode
=$withval ;;
8694 # Look at the argument we got. We use all the common list separators.
8695 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8696 for lt_pkg
in $withval; do
8698 if test "X$lt_pkg" = "X$lt_p"; then
8710 test -z "$pic_mode" && pic_mode
=default
8718 # Check whether --enable-fast-install was given.
8719 if test "${enable_fast_install+set}" = set; then :
8720 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8722 yes) enable_fast_install
=yes ;;
8723 no
) enable_fast_install
=no
;;
8725 enable_fast_install
=no
8726 # Look at the argument we got. We use all the common list separators.
8727 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8728 for pkg
in $enableval; do
8730 if test "X$pkg" = "X$p"; then
8731 enable_fast_install
=yes
8738 enable_fast_install
=yes
8751 # This can be used to rebuild libtool when needed
8752 LIBTOOL_DEPS
="$ltmain"
8754 # Always use our own libtool.
8755 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8786 test -z "$LN_S" && LN_S
="ln -s"
8801 if test -n "${ZSH_VERSION+set}" ; then
8802 setopt NO_GLOB_SUBST
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8806 $as_echo_n "checking for objdir... " >&6; }
8807 if ${lt_cv_objdir+:} false
; then :
8808 $as_echo_n "(cached) " >&6
8810 rm -f .libs
2>/dev
/null
8811 mkdir .libs
2>/dev
/null
8812 if test -d .libs
; then
8815 # MS-DOS does not allow filenames that begin with a dot.
8818 rmdir .libs
2>/dev
/null
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8821 $as_echo "$lt_cv_objdir" >&6; }
8822 objdir
=$lt_cv_objdir
8828 cat >>confdefs.h
<<_ACEOF
8829 #define LT_OBJDIR "$lt_cv_objdir/"
8837 # AIX sometimes has problems with the GCC collect2 program. For some
8838 # reason, if we set the COLLECT_NAMES environment variable, the problems
8839 # vanish in a puff of smoke.
8840 if test "X${COLLECT_NAMES+set}" != Xset
; then
8842 export COLLECT_NAMES
8849 can_build_shared
=yes
8851 # All known linkers require a `.a' archive for static linking (except MSVC,
8852 # which needs '.lib').
8855 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8858 old_CFLAGS
="$CFLAGS"
8860 # Set sane defaults for various variables
8861 test -z "$CC" && CC
=cc
8862 test -z "$LTCC" && LTCC
=$CC
8863 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8864 test -z "$LD" && LD
=ld
8865 test -z "$ac_objext" && ac_objext
=o
8867 for cc_temp
in $compiler""; do
8869 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8870 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8875 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8878 # Only perform the check for file, if the check method requires it
8879 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8880 case $deplibs_check_method in
8882 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8884 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8885 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8886 $as_echo_n "(cached) " >&6
8890 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8893 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8894 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8895 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8896 for ac_dir
in $ac_dummy; do
8898 test -z "$ac_dir" && ac_dir
=.
8899 if test -f $ac_dir/${ac_tool_prefix}file; then
8900 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8901 if test -n "$file_magic_test_file"; then
8902 case $deplibs_check_method in
8904 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8905 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8906 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8907 $EGREP "$file_magic_regex" > /dev
/null
; then
8912 *** Warning: the command libtool uses to detect shared libraries,
8913 *** $file_magic_cmd, produces output that libtool cannot recognize.
8914 *** The result is that libtool may fail to recognize shared libraries
8915 *** as such. This will affect the creation of libtool libraries that
8916 *** depend on shared libraries, but programs linked with such libtool
8917 *** libraries will work regardless of this problem. Nevertheless, you
8918 *** may want to report the problem to your system manager and/or to
8919 *** bug-libtool@gnu.org
8929 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8934 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8935 if test -n "$MAGIC_CMD"; then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8937 $as_echo "$MAGIC_CMD" >&6; }
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8940 $as_echo "no" >&6; }
8947 if test -z "$lt_cv_path_MAGIC_CMD"; then
8948 if test -n "$ac_tool_prefix"; then
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8950 $as_echo_n "checking for file... " >&6; }
8951 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8952 $as_echo_n "(cached) " >&6
8956 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8959 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8960 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8961 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8962 for ac_dir
in $ac_dummy; do
8964 test -z "$ac_dir" && ac_dir
=.
8965 if test -f $ac_dir/file; then
8966 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8967 if test -n "$file_magic_test_file"; then
8968 case $deplibs_check_method in
8970 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8971 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8972 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8973 $EGREP "$file_magic_regex" > /dev
/null
; then
8978 *** Warning: the command libtool uses to detect shared libraries,
8979 *** $file_magic_cmd, produces output that libtool cannot recognize.
8980 *** The result is that libtool may fail to recognize shared libraries
8981 *** as such. This will affect the creation of libtool libraries that
8982 *** depend on shared libraries, but programs linked with such libtool
8983 *** libraries will work regardless of this problem. Nevertheless, you
8984 *** may want to report the problem to your system manager and/or to
8985 *** bug-libtool@gnu.org
8995 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9000 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9001 if test -n "$MAGIC_CMD"; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9003 $as_echo "$MAGIC_CMD" >&6; }
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9006 $as_echo "no" >&6; }
9019 # Use C for the default configuration in the libtool script
9023 ac_cpp
='$CPP $CPPFLAGS'
9024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9029 # Source file extension for C test sources.
9032 # Object file extension for compiled C test sources.
9036 # Code to be used in simple compile tests
9037 lt_simple_compile_test_code
="int some_variable = 0;"
9039 # Code to be used in simple link tests
9040 lt_simple_link_test_code
='int main(){return(0);}'
9048 # If no C compiler was specified, use CC.
9051 # If no C compiler flags were specified, use CFLAGS.
9052 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9054 # Allow CC to be a program name with arguments.
9057 # Save the default compiler, since it gets overwritten when the other
9058 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9059 compiler_DEFAULT
=$CC
9061 # save warnings/boilerplate of simple test code
9062 ac_outfile
=conftest.
$ac_objext
9063 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9064 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9065 _lt_compiler_boilerplate
=`cat conftest.err`
9068 ac_outfile
=conftest.
$ac_objext
9069 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9070 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9071 _lt_linker_boilerplate
=`cat conftest.err`
9076 ## There is no encapsulation within the following macros, do not change
9077 ## the running order or otherwise move them around unless you know exactly
9078 ## what you are doing...
9079 if test -n "$compiler"; then
9081 lt_prog_compiler_no_builtin_flag
=
9083 if test "$GCC" = yes; then
9084 case $cc_basename in
9086 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9088 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9092 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9093 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9094 $as_echo_n "(cached) " >&6
9096 lt_cv_prog_compiler_rtti_exceptions
=no
9097 ac_outfile
=conftest.
$ac_objext
9098 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9099 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9100 # Insert the option either (1) after the last *FLAGS variable, or
9101 # (2) before a word containing "conftest.", or (3) at the end.
9102 # Note that $ac_compile itself does not contain backslashes and begins
9103 # with a dollar sign (not a hyphen), so the echo should work correctly.
9104 # The option is referenced via a variable to avoid confusing sed.
9105 lt_compile
=`echo "$ac_compile" | $SED \
9106 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9107 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9108 -e 's:$: $lt_compiler_flag:'`
9109 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9110 (eval "$lt_compile" 2>conftest.err
)
9112 cat conftest.err
>&5
9113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114 if (exit $ac_status) && test -s "$ac_outfile"; then
9115 # The compiler can only warn and ignore the option if not recognized
9116 # So say no if there are warnings other than the usual output.
9117 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9118 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9119 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9120 lt_cv_prog_compiler_rtti_exceptions
=yes
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9127 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9129 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9130 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9142 lt_prog_compiler_wl
=
9143 lt_prog_compiler_pic
=
9144 lt_prog_compiler_static
=
9147 if test "$GCC" = yes; then
9148 lt_prog_compiler_wl
='-Wl,'
9149 lt_prog_compiler_static
='-static'
9153 # All AIX code is PIC.
9154 if test "$host_cpu" = ia64
; then
9155 # AIX 5 now supports IA64 processor
9156 lt_prog_compiler_static
='-Bstatic'
9163 # see comment about AmigaOS4 .so support
9164 lt_prog_compiler_pic
='-fPIC'
9167 # FIXME: we need at least 68020 code to build shared libraries, but
9168 # adding the `-m68020' flag to GCC prevents building anything better,
9170 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9175 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9176 # PIC is the default for these OSes.
9179 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9180 # This hack is so that the source file can tell whether it is being
9181 # built for inclusion in a dll (and should export symbols for example).
9182 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9183 # (--disable-auto-import) libraries
9184 lt_prog_compiler_pic
='-DDLL_EXPORT'
9187 darwin
* | rhapsody
*)
9188 # PIC is the default on this platform
9189 # Common symbols not allowed in MH_DYLIB files
9190 lt_prog_compiler_pic
='-fno-common'
9194 # PIC is the default for Haiku.
9195 # The "-static" flag exists, but is broken.
9196 lt_prog_compiler_static
=
9200 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9201 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9202 # sets the default TLS model and affects inlining.
9208 lt_prog_compiler_pic
='-fPIC'
9214 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9215 # Instead, we relocate shared libraries at runtime.
9219 # Just because we use GCC doesn't mean we suddenly get shared libraries
9220 # on systems that don't support them.
9221 lt_prog_compiler_can_build_shared
=no
9226 # QNX uses GNU C++, but need to define -shared option too, otherwise
9228 lt_prog_compiler_pic
='-fPIC -shared'
9232 if test -d /usr
/nec
; then
9233 lt_prog_compiler_pic
=-Kconform_pic
9238 lt_prog_compiler_pic
='-fPIC'
9242 case $cc_basename in
9243 nvcc
*) # Cuda Compiler Driver 2.2
9244 lt_prog_compiler_wl
='-Xlinker '
9245 if test -n "$lt_prog_compiler_pic"; then
9246 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9251 # PORTME Check for flag to pass linker flags through the system compiler.
9254 lt_prog_compiler_wl
='-Wl,'
9255 if test "$host_cpu" = ia64
; then
9256 # AIX 5 now supports IA64 processor
9257 lt_prog_compiler_static
='-Bstatic'
9259 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9263 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9264 # This hack is so that the source file can tell whether it is being
9265 # built for inclusion in a dll (and should export symbols for example).
9266 lt_prog_compiler_pic
='-DDLL_EXPORT'
9269 hpux9
* | hpux10
* | hpux11
*)
9270 lt_prog_compiler_wl
='-Wl,'
9271 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9278 lt_prog_compiler_pic
='+Z'
9281 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9282 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9285 irix5
* | irix6
* | nonstopux
*)
9286 lt_prog_compiler_wl
='-Wl,'
9287 # PIC (with -KPIC) is the default.
9288 lt_prog_compiler_static
='-non_shared'
9291 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9292 case $cc_basename in
9293 # old Intel for x86_64 which still supported -KPIC.
9295 lt_prog_compiler_wl
='-Wl,'
9296 lt_prog_compiler_pic
='-KPIC'
9297 lt_prog_compiler_static
='-static'
9299 # icc used to be incompatible with GCC.
9300 # ICC 10 doesn't accept -KPIC any more.
9302 lt_prog_compiler_wl
='-Wl,'
9303 lt_prog_compiler_pic
='-fPIC'
9304 lt_prog_compiler_static
='-static'
9306 # Lahey Fortran 8.1.
9308 lt_prog_compiler_wl
='-Wl,'
9309 lt_prog_compiler_pic
='--shared'
9310 lt_prog_compiler_static
='--static'
9313 # NAG Fortran compiler
9314 lt_prog_compiler_wl
='-Wl,-Wl,,'
9315 lt_prog_compiler_pic
='-PIC'
9316 lt_prog_compiler_static
='-Bstatic'
9318 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9319 # Portland Group compilers (*not* the Pentium gcc compiler,
9320 # which looks to be a dead project)
9321 lt_prog_compiler_wl
='-Wl,'
9322 lt_prog_compiler_pic
='-fpic'
9323 lt_prog_compiler_static
='-Bstatic'
9326 lt_prog_compiler_wl
='-Wl,'
9327 # All Alpha code is PIC.
9328 lt_prog_compiler_static
='-non_shared'
9330 xl
* | bgxl
* | bgf
* | mpixl
*)
9331 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9332 lt_prog_compiler_wl
='-Wl,'
9333 lt_prog_compiler_pic
='-qpic'
9334 lt_prog_compiler_static
='-qstaticlink'
9337 case `$CC -V 2>&1 | sed 5q` in
9338 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9339 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9340 lt_prog_compiler_pic
='-KPIC'
9341 lt_prog_compiler_static
='-Bstatic'
9342 lt_prog_compiler_wl
=''
9344 *Sun\ F
* | *Sun
*Fortran
*)
9345 lt_prog_compiler_pic
='-KPIC'
9346 lt_prog_compiler_static
='-Bstatic'
9347 lt_prog_compiler_wl
='-Qoption ld '
9351 lt_prog_compiler_pic
='-KPIC'
9352 lt_prog_compiler_static
='-Bstatic'
9353 lt_prog_compiler_wl
='-Wl,'
9355 *Intel
*\
[CF
]*Compiler
*)
9356 lt_prog_compiler_wl
='-Wl,'
9357 lt_prog_compiler_pic
='-fPIC'
9358 lt_prog_compiler_static
='-static'
9361 lt_prog_compiler_wl
='-Wl,'
9362 lt_prog_compiler_pic
='-fpic'
9363 lt_prog_compiler_static
='-Bstatic'
9371 lt_prog_compiler_pic
='-KPIC'
9372 lt_prog_compiler_static
='-Bstatic'
9376 # QNX uses GNU C++, but need to define -shared option too, otherwise
9378 lt_prog_compiler_pic
='-fPIC -shared'
9381 osf3
* | osf4
* | osf5
*)
9382 lt_prog_compiler_wl
='-Wl,'
9383 # All OSF/1 code is PIC.
9384 lt_prog_compiler_static
='-non_shared'
9388 lt_prog_compiler_static
='-non_shared'
9392 lt_prog_compiler_pic
='-KPIC'
9393 lt_prog_compiler_static
='-Bstatic'
9394 case $cc_basename in
9395 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9396 lt_prog_compiler_wl
='-Qoption ld ';;
9398 lt_prog_compiler_wl
='-Wl,';;
9403 lt_prog_compiler_wl
='-Qoption ld '
9404 lt_prog_compiler_pic
='-PIC'
9405 lt_prog_compiler_static
='-Bstatic'
9408 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9409 lt_prog_compiler_wl
='-Wl,'
9410 lt_prog_compiler_pic
='-KPIC'
9411 lt_prog_compiler_static
='-Bstatic'
9415 if test -d /usr
/nec
;then
9416 lt_prog_compiler_pic
='-Kconform_pic'
9417 lt_prog_compiler_static
='-Bstatic'
9421 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9422 lt_prog_compiler_wl
='-Wl,'
9423 lt_prog_compiler_pic
='-KPIC'
9424 lt_prog_compiler_static
='-Bstatic'
9428 lt_prog_compiler_wl
='-Wl,'
9429 lt_prog_compiler_can_build_shared
=no
9433 lt_prog_compiler_pic
='-pic'
9434 lt_prog_compiler_static
='-Bstatic'
9438 lt_prog_compiler_can_build_shared
=no
9444 # For platforms which do not support PIC, -DPIC is meaningless:
9446 lt_prog_compiler_pic
=
9449 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9454 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9455 if ${lt_cv_prog_compiler_pic+:} false
; then :
9456 $as_echo_n "(cached) " >&6
9458 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9461 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9462 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9465 # Check to make sure the PIC flag actually works.
9467 if test -n "$lt_prog_compiler_pic"; then
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9469 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9470 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9471 $as_echo_n "(cached) " >&6
9473 lt_cv_prog_compiler_pic_works
=no
9474 ac_outfile
=conftest.
$ac_objext
9475 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9476 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9477 # Insert the option either (1) after the last *FLAGS variable, or
9478 # (2) before a word containing "conftest.", or (3) at the end.
9479 # Note that $ac_compile itself does not contain backslashes and begins
9480 # with a dollar sign (not a hyphen), so the echo should work correctly.
9481 # The option is referenced via a variable to avoid confusing sed.
9482 lt_compile
=`echo "$ac_compile" | $SED \
9483 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9484 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9485 -e 's:$: $lt_compiler_flag:'`
9486 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9487 (eval "$lt_compile" 2>conftest.err
)
9489 cat conftest.err
>&5
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 if (exit $ac_status) && test -s "$ac_outfile"; then
9492 # The compiler can only warn and ignore the option if not recognized
9493 # So say no if there are warnings other than the usual output.
9494 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9495 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9496 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9497 lt_cv_prog_compiler_pic_works
=yes
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9504 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9506 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9507 case $lt_prog_compiler_pic in
9509 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9512 lt_prog_compiler_pic
=
9513 lt_prog_compiler_can_build_shared
=no
9529 # Check to make sure the static flag actually works.
9531 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9533 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9534 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9535 $as_echo_n "(cached) " >&6
9537 lt_cv_prog_compiler_static_works
=no
9538 save_LDFLAGS
="$LDFLAGS"
9539 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9540 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9541 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9542 # The linker can only warn and ignore the option if not recognized
9543 # So say no if there are warnings
9544 if test -s conftest.err
; then
9545 # Append any errors to the config.log.
9546 cat conftest.err
1>&5
9547 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9548 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9549 if diff conftest.exp conftest.er2
>/dev
/null
; then
9550 lt_cv_prog_compiler_static_works
=yes
9553 lt_cv_prog_compiler_static_works
=yes
9557 LDFLAGS
="$save_LDFLAGS"
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9561 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9563 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9566 lt_prog_compiler_static
=
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9576 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9577 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9578 $as_echo_n "(cached) " >&6
9580 lt_cv_prog_compiler_c_o
=no
9581 $RM -r conftest
2>/dev
/null
9585 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9587 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9588 # Insert the option either (1) after the last *FLAGS variable, or
9589 # (2) before a word containing "conftest.", or (3) at the end.
9590 # Note that $ac_compile itself does not contain backslashes and begins
9591 # with a dollar sign (not a hyphen), so the echo should work correctly.
9592 lt_compile
=`echo "$ac_compile" | $SED \
9593 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9594 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9595 -e 's:$: $lt_compiler_flag:'`
9596 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9597 (eval "$lt_compile" 2>out
/conftest.err
)
9599 cat out
/conftest.err
>&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9603 # The compiler can only warn and ignore the option if not recognized
9604 # So say no if there are warnings
9605 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9606 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9607 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9608 lt_cv_prog_compiler_c_o
=yes
9613 # SGI C++ compiler will create directory out/ii_files/ for
9614 # template instantiation
9615 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9616 $RM out
/* && rmdir out
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9623 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9631 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9632 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9633 $as_echo_n "(cached) " >&6
9635 lt_cv_prog_compiler_c_o
=no
9636 $RM -r conftest
2>/dev
/null
9640 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9642 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9643 # Insert the option either (1) after the last *FLAGS variable, or
9644 # (2) before a word containing "conftest.", or (3) at the end.
9645 # Note that $ac_compile itself does not contain backslashes and begins
9646 # with a dollar sign (not a hyphen), so the echo should work correctly.
9647 lt_compile
=`echo "$ac_compile" | $SED \
9648 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9649 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9650 -e 's:$: $lt_compiler_flag:'`
9651 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9652 (eval "$lt_compile" 2>out
/conftest.err
)
9654 cat out
/conftest.err
>&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9658 # The compiler can only warn and ignore the option if not recognized
9659 # So say no if there are warnings
9660 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9661 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9662 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9663 lt_cv_prog_compiler_c_o
=yes
9668 # SGI C++ compiler will create directory out/ii_files/ for
9669 # template instantiation
9670 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9671 $RM out
/* && rmdir out
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9678 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9683 hard_links
="nottested"
9684 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9685 # do not overwrite the value of need_locks provided by the user
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9687 $as_echo_n "checking if we can lock with hard links... " >&6; }
9690 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9692 ln conftest.a conftest.b
2>&5 || hard_links
=no
9693 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9695 $as_echo "$hard_links" >&6; }
9696 if test "$hard_links" = no
; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9698 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9711 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9714 allow_undefined_flag
=
9715 always_export_symbols
=no
9717 archive_expsym_cmds
=
9718 compiler_needs_object
=no
9719 enable_shared_with_static_runtimes
=no
9720 export_dynamic_flag_spec
=
9721 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9722 hardcode_automatic
=no
9724 hardcode_direct_absolute
=no
9725 hardcode_libdir_flag_spec
=
9726 hardcode_libdir_separator
=
9728 hardcode_shlibpath_var
=unsupported
9730 link_all_deplibs
=unknown
9733 old_archive_from_new_cmds
=
9734 old_archive_from_expsyms_cmds
=
9735 thread_safe_flag_spec
=
9736 whole_archive_flag_spec
=
9737 # include_expsyms should be a list of space-separated symbols to be *always*
9738 # included in the symbol list
9740 # exclude_expsyms can be an extended regexp of symbols to exclude
9741 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9742 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9743 # as well as any symbol that contains `d'.
9744 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9745 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9746 # platforms (ab)use it in PIC code, but their linkers get confused if
9747 # the symbol is explicitly referenced. Since portable code cannot
9748 # rely on this symbol name, it's probably fine to never include it in
9749 # preloaded symbol tables.
9750 # Exclude shared library initialization/finalization symbols.
9751 extract_expsyms_cmds
=
9754 cygwin
* | mingw
* | pw32
* | cegcc
*)
9755 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9756 # When not using gcc, we currently assume that we are using
9757 # Microsoft Visual C++.
9758 if test "$GCC" != yes; then
9763 # we just hope/assume this is gcc and not c89 (= MSVC++)
9773 # On some targets, GNU ld is compatible enough with the native linker
9774 # that we're better off using the native interface for both.
9775 lt_use_gnu_ld_interface
=no
9776 if test "$with_gnu_ld" = yes; then
9779 # The AIX port of GNU ld has always aspired to compatibility
9780 # with the native linker. However, as the warning in the GNU ld
9781 # block says, versions before 2.19.5* couldn't really create working
9782 # shared libraries, regardless of the interface used.
9783 case `$LD -v 2>&1` in
9784 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9785 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9786 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9788 lt_use_gnu_ld_interface
=yes
9793 lt_use_gnu_ld_interface
=yes
9798 if test "$lt_use_gnu_ld_interface" = yes; then
9799 # If archive_cmds runs LD, not CC, wlarc should be empty
9802 # Set some defaults for GNU ld with shared library support. These
9803 # are reset later if shared libraries are not supported. Putting them
9804 # here allows them to be overridden if necessary.
9805 runpath_var
=LD_RUN_PATH
9806 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9807 export_dynamic_flag_spec
='${wl}--export-dynamic'
9808 # ancient GNU ld didn't support --whole-archive et. al.
9809 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9810 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9812 whole_archive_flag_spec
=
9814 supports_anon_versioning
=no
9815 case `$LD -v 2>&1` in
9816 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9817 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9818 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9819 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9820 *\
2.11.
*) ;; # other 2.11 versions
9821 *) supports_anon_versioning
=yes ;;
9824 # See if GNU ld supports shared libraries.
9827 # On AIX/PPC, the GNU linker is very broken
9828 if test "$host_cpu" != ia64
; then
9832 *** Warning: the GNU linker, at least up to release 2.19, is reported
9833 *** to be unable to reliably create shared libraries on AIX.
9834 *** Therefore, libtool is disabling shared libraries support. If you
9835 *** really care for shared libraries, you may want to install binutils
9836 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9837 *** You will then need to restart the configuration process.
9846 # see comment about AmigaOS4 .so support
9847 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9848 archive_expsym_cmds
=''
9851 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)'
9852 hardcode_libdir_flag_spec
='-L$libdir'
9853 hardcode_minus_L
=yes
9859 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9860 allow_undefined_flag
=unsupported
9861 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9862 # support --undefined. This deserves some investigation. FIXME
9863 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9869 cygwin
* | mingw
* | pw32
* | cegcc
*)
9870 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9871 # as there is no search path for DLLs.
9872 hardcode_libdir_flag_spec
='-L$libdir'
9873 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9874 allow_undefined_flag
=unsupported
9875 always_export_symbols
=no
9876 enable_shared_with_static_runtimes
=yes
9877 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'
9878 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9880 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9881 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9882 # If the export-symbols file already is a .def file (1st line
9883 # is EXPORTS), use it as is; otherwise, prepend...
9884 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9885 cp $export_symbols $output_objdir/$soname.def;
9887 echo EXPORTS > $output_objdir/$soname.def;
9888 cat $export_symbols >> $output_objdir/$soname.def;
9890 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9897 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9898 link_all_deplibs
=yes
9903 hardcode_shlibpath_var
=no
9904 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9905 export_dynamic_flag_spec
='${wl}-E'
9906 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9907 # Instead, shared libraries are loaded at an image base (0x10000000 by
9908 # default) and relocated if they conflict, which is a slow very memory
9909 # consuming and fragmenting process. To avoid this, we pick a random,
9910 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9911 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9912 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9913 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'
9916 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9918 if test "$host_os" = linux
-dietlibc; then
9919 case $cc_basename in
9920 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9923 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9924 && test "$tmp_diet" = no
9926 tmp_addflag
=' $pic_flag'
9927 tmp_sharedflag
='-shared'
9928 case $cc_basename,$host_cpu in
9929 pgcc
*) # Portland Group C compiler
9930 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'
9931 tmp_addflag
=' $pic_flag'
9933 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9934 # Portland Group f77 and f90 compilers
9935 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'
9936 tmp_addflag
=' $pic_flag -Mnomain' ;;
9937 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9938 tmp_addflag
=' -i_dynamic' ;;
9939 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9940 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9941 ifc
* | ifort
*) # Intel Fortran compiler
9942 tmp_addflag
=' -nofor_main' ;;
9943 lf95
*) # Lahey Fortran 8.1
9944 whole_archive_flag_spec
=
9945 tmp_sharedflag
='--shared' ;;
9946 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9947 tmp_sharedflag
='-qmkshrobj'
9949 nvcc
*) # Cuda Compiler Driver 2.2
9950 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'
9951 compiler_needs_object
=yes
9954 case `$CC -V 2>&1 | sed 5q` in
9955 *Sun\ C
*) # Sun C 5.9
9956 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'
9957 compiler_needs_object
=yes
9958 tmp_sharedflag
='-G' ;;
9959 *Sun\ F
*) # Sun Fortran 8.3
9960 tmp_sharedflag
='-G' ;;
9962 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9964 if test "x$supports_anon_versioning" = xyes
; then
9965 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9966 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9967 echo "local: *; };" >> $output_objdir/$libname.ver~
9968 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9971 case $cc_basename in
9972 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9973 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9974 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9975 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9976 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9977 if test "x$supports_anon_versioning" = xyes
; then
9978 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9979 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9980 echo "local: *; };" >> $output_objdir/$libname.ver~
9981 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9991 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9992 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9995 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9996 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10001 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10005 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10006 *** create shared libraries on Solaris systems. Therefore, libtool
10007 *** is disabling shared libraries support. We urge you to upgrade GNU
10008 *** binutils to release 2.9.1 or newer. Another option is to modify
10009 *** your PATH or compiler configuration so that the native linker is
10010 *** used, and then restart.
10013 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10014 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10015 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10021 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10022 case `$LD -v 2>&1` in
10023 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10027 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10028 *** reliably create shared libraries on SCO systems. Therefore, libtool
10029 *** is disabling shared libraries support. We urge you to upgrade GNU
10030 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10031 *** your PATH or compiler configuration so that the native linker is
10032 *** used, and then restart.
10037 # For security reasons, it is highly recommended that you always
10038 # use absolute paths for naming shared libraries, and exclude the
10039 # DT_RUNPATH tag from executables and libraries. But doing so
10040 # requires that you compile everything twice, which is a pain.
10041 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10042 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10043 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10044 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10053 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_direct
=yes
10056 hardcode_shlibpath_var
=no
10060 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10061 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10062 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10069 if test "$ld_shlibs" = no
; then
10071 hardcode_libdir_flag_spec
=
10072 export_dynamic_flag_spec
=
10073 whole_archive_flag_spec
=
10076 # PORTME fill in a description of your system's linker (not GNU ld)
10079 allow_undefined_flag
=unsupported
10080 always_export_symbols
=yes
10081 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'
10082 # Note: this linker hardcodes the directories in LIBPATH if there
10083 # are no directories specified by -L.
10084 hardcode_minus_L
=yes
10085 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10086 # Neither direct hardcoding nor static linking is supported with a
10088 hardcode_direct
=unsupported
10093 if test "$host_cpu" = ia64
; then
10094 # On IA64, the linker does run time linking by default, so we don't
10095 # have to do anything special.
10096 aix_use_runtimelinking
=no
10097 exp_sym_flag
='-Bexport'
10100 # If we're using GNU nm, then we don't want the "-C" option.
10101 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10102 # Also, AIX nm treats weak defined symbols like other global
10103 # defined symbols, whereas GNU nm marks them as "W".
10104 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10105 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'
10107 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'
10109 aix_use_runtimelinking
=no
10111 # Test if we are trying to use run time linking or normal
10112 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10113 # need to do runtime linking.
10114 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10115 for ld_flag
in $LDFLAGS; do
10116 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10117 aix_use_runtimelinking
=yes
10124 exp_sym_flag
='-bexport'
10125 no_entry_flag
='-bnoentry'
10128 # When large executables or shared objects are built, AIX ld can
10129 # have problems creating the table of contents. If linking a library
10130 # or program results in "error TOC overflow" add -mminimal-toc to
10131 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10132 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10135 hardcode_direct
=yes
10136 hardcode_direct_absolute
=yes
10137 hardcode_libdir_separator
=':'
10138 link_all_deplibs
=yes
10139 file_list_spec
='${wl}-f,'
10141 if test "$GCC" = yes; then
10142 case $host_os in aix4.
[012]|aix4.
[012].
*)
10143 # We only want to do this on AIX 4.2 and lower, the check
10144 # below for broken collect2 doesn't work under 4.3+
10145 collect2name
=`${CC} -print-prog-name=collect2`
10146 if test -f "$collect2name" &&
10147 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10149 # We have reworked collect2
10152 # We have old collect2
10153 hardcode_direct
=unsupported
10154 # It fails to find uninstalled libraries when the uninstalled
10155 # path is not listed in the libpath. Setting hardcode_minus_L
10156 # to unsupported forces relinking
10157 hardcode_minus_L
=yes
10158 hardcode_libdir_flag_spec
='-L$libdir'
10159 hardcode_libdir_separator
=
10163 shared_flag
='-shared'
10164 if test "$aix_use_runtimelinking" = yes; then
10165 shared_flag
="$shared_flag "'${wl}-G'
10169 if test "$host_cpu" = ia64
; then
10170 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10171 # chokes on -Wl,-G. The following line is correct:
10174 if test "$aix_use_runtimelinking" = yes; then
10175 shared_flag
='${wl}-G'
10177 shared_flag
='${wl}-bM:SRE'
10182 export_dynamic_flag_spec
='${wl}-bexpall'
10183 # It seems that -bexpall does not export symbols beginning with
10184 # underscore (_), so it is better to generate a list of symbols to export.
10185 always_export_symbols
=yes
10186 if test "$aix_use_runtimelinking" = yes; then
10187 # Warning - without using the other runtime loading flags (-brtl),
10188 # -berok will link without error, but may produce a broken library.
10189 allow_undefined_flag
='-berok'
10190 # Determine the default libpath from the value encoded in an
10191 # empty executable.
10192 if test "${lt_cv_aix_libpath+set}" = set; then
10193 aix_libpath
=$lt_cv_aix_libpath
10195 if ${lt_cv_aix_libpath_+:} false
; then :
10196 $as_echo_n "(cached) " >&6
10198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10209 if ac_fn_c_try_link
"$LINENO"; then :
10211 lt_aix_libpath_sed
='
10212 /Import File Strings/,/^$/ {
10214 s/^0 *\([^ ]*\) *$/\1/
10218 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10219 # Check for a 64-bit object if we didn't find anything.
10220 if test -z "$lt_cv_aix_libpath_"; then
10221 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10224 rm -f core conftest.err conftest.
$ac_objext \
10225 conftest
$ac_exeext conftest.
$ac_ext
10226 if test -z "$lt_cv_aix_libpath_"; then
10227 lt_cv_aix_libpath_
="/usr/lib:/lib"
10232 aix_libpath
=$lt_cv_aix_libpath_
10235 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10236 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"
10238 if test "$host_cpu" = ia64
; then
10239 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10240 allow_undefined_flag
="-z nodefs"
10241 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"
10243 # Determine the default libpath from the value encoded in an
10244 # empty executable.
10245 if test "${lt_cv_aix_libpath+set}" = set; then
10246 aix_libpath
=$lt_cv_aix_libpath
10248 if ${lt_cv_aix_libpath_+:} false
; then :
10249 $as_echo_n "(cached) " >&6
10251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10262 if ac_fn_c_try_link
"$LINENO"; then :
10264 lt_aix_libpath_sed
='
10265 /Import File Strings/,/^$/ {
10267 s/^0 *\([^ ]*\) *$/\1/
10271 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10272 # Check for a 64-bit object if we didn't find anything.
10273 if test -z "$lt_cv_aix_libpath_"; then
10274 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10277 rm -f core conftest.err conftest.
$ac_objext \
10278 conftest
$ac_exeext conftest.
$ac_ext
10279 if test -z "$lt_cv_aix_libpath_"; then
10280 lt_cv_aix_libpath_
="/usr/lib:/lib"
10285 aix_libpath
=$lt_cv_aix_libpath_
10288 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10289 # Warning - without using the other run time loading flags,
10290 # -berok will link without error, but may produce a broken library.
10291 no_undefined_flag
=' ${wl}-bernotok'
10292 allow_undefined_flag
=' ${wl}-berok'
10293 if test "$with_gnu_ld" = yes; then
10294 # We only use this code for GNU lds that support --whole-archive.
10295 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10297 # Exported symbols can be pulled into shared objects from archives
10298 whole_archive_flag_spec
='$convenience'
10300 archive_cmds_need_lc
=yes
10301 # This is similar to how AIX traditionally builds its shared libraries.
10302 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'
10310 # see comment about AmigaOS4 .so support
10311 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10312 archive_expsym_cmds
=''
10315 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)'
10316 hardcode_libdir_flag_spec
='-L$libdir'
10317 hardcode_minus_L
=yes
10323 export_dynamic_flag_spec
=-rdynamic
10326 cygwin
* | mingw
* | pw32
* | cegcc
*)
10327 # When not using gcc, we currently assume that we are using
10328 # Microsoft Visual C++.
10329 # hardcode_libdir_flag_spec is actually meaningless, as there is
10330 # no search path for DLLs.
10331 case $cc_basename in
10334 hardcode_libdir_flag_spec
=' '
10335 allow_undefined_flag
=unsupported
10336 always_export_symbols
=yes
10338 # Tell ltmain to make .lib files, not .a files.
10340 # Tell ltmain to make .dll files, not .so files.
10342 # FIXME: Setting linknames here is a bad hack.
10343 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10344 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10345 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10347 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10349 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10351 # The linker will not automatically build a static lib if we build a DLL.
10352 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10353 enable_shared_with_static_runtimes
=yes
10354 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10355 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10357 old_postinstall_cmds
='chmod 644 $oldlib'
10358 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10359 lt_tool_outputfile="@TOOL_OUTPUT@"~
10360 case $lt_outputfile in
10363 lt_outputfile="$lt_outputfile.exe"
10364 lt_tool_outputfile="$lt_tool_outputfile.exe"
10367 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10368 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10369 $RM "$lt_outputfile.manifest";
10373 # Assume MSVC wrapper
10374 hardcode_libdir_flag_spec
=' '
10375 allow_undefined_flag
=unsupported
10376 # Tell ltmain to make .lib files, not .a files.
10378 # Tell ltmain to make .dll files, not .so files.
10380 # FIXME: Setting linknames here is a bad hack.
10381 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10382 # The linker will automatically build a .lib file if we build a DLL.
10383 old_archive_from_new_cmds
='true'
10384 # FIXME: Should let the user specify the lib program.
10385 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10386 enable_shared_with_static_runtimes
=yes
10391 darwin
* | rhapsody
*)
10394 archive_cmds_need_lc
=no
10396 hardcode_automatic
=yes
10397 hardcode_shlibpath_var
=unsupported
10398 if test "$lt_cv_ld_force_load" = "yes"; then
10399 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\"`'
10402 whole_archive_flag_spec
=''
10404 link_all_deplibs
=yes
10405 allow_undefined_flag
="$_lt_dar_allow_undefined"
10406 case $cc_basename in
10407 ifort
*) _lt_dar_can_shared
=yes ;;
10408 *) _lt_dar_can_shared
=$GCC ;;
10410 if test "$_lt_dar_can_shared" = "yes"; then
10411 output_verbose_link_cmd
=func_echo_all
10412 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10413 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10414 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}"
10415 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}"
10424 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10425 hardcode_libdir_flag_spec
='-L$libdir'
10426 hardcode_shlibpath_var
=no
10429 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10430 # support. Future versions do this automatically, but an explicit c++rt0.o
10431 # does not break anything, and helps significantly (at the cost of a little
10434 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10435 hardcode_libdir_flag_spec
='-R$libdir'
10436 hardcode_direct
=yes
10437 hardcode_shlibpath_var
=no
10440 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10442 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10443 hardcode_direct
=yes
10444 hardcode_minus_L
=yes
10445 hardcode_shlibpath_var
=no
10448 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10449 freebsd
* | dragonfly
*)
10450 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10451 hardcode_libdir_flag_spec
='-R$libdir'
10452 hardcode_direct
=yes
10453 hardcode_shlibpath_var
=no
10457 if test "$GCC" = yes; then
10458 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'
10460 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'
10462 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10463 hardcode_libdir_separator
=:
10464 hardcode_direct
=yes
10466 # hardcode_minus_L: Not really in the search PATH,
10467 # but as the default location of the library.
10468 hardcode_minus_L
=yes
10469 export_dynamic_flag_spec
='${wl}-E'
10473 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10474 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10476 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10478 if test "$with_gnu_ld" = no
; then
10479 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10480 hardcode_libdir_separator
=:
10481 hardcode_direct
=yes
10482 hardcode_direct_absolute
=yes
10483 export_dynamic_flag_spec
='${wl}-E'
10484 # hardcode_minus_L: Not really in the search PATH,
10485 # but as the default location of the library.
10486 hardcode_minus_L
=yes
10491 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10494 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10497 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10500 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10506 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10509 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10513 # Older versions of the 11.00 compiler do not understand -b yet
10514 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10516 $as_echo_n "checking if $CC understands -b... " >&6; }
10517 if ${lt_cv_prog_compiler__b+:} false
; then :
10518 $as_echo_n "(cached) " >&6
10520 lt_cv_prog_compiler__b
=no
10521 save_LDFLAGS
="$LDFLAGS"
10522 LDFLAGS
="$LDFLAGS -b"
10523 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10524 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10525 # The linker can only warn and ignore the option if not recognized
10526 # So say no if there are warnings
10527 if test -s conftest.err
; then
10528 # Append any errors to the config.log.
10529 cat conftest.err
1>&5
10530 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10531 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10532 if diff conftest.exp conftest.er2
>/dev
/null
; then
10533 lt_cv_prog_compiler__b
=yes
10536 lt_cv_prog_compiler__b
=yes
10540 LDFLAGS
="$save_LDFLAGS"
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10544 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10546 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10547 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10549 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10555 if test "$with_gnu_ld" = no
; then
10556 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10557 hardcode_libdir_separator
=:
10562 hardcode_shlibpath_var
=no
10565 hardcode_direct
=yes
10566 hardcode_direct_absolute
=yes
10567 export_dynamic_flag_spec
='${wl}-E'
10569 # hardcode_minus_L: Not really in the search PATH,
10570 # but as the default location of the library.
10571 hardcode_minus_L
=yes
10577 irix5
* | irix6
* | nonstopux
*)
10578 if test "$GCC" = yes; then
10579 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'
10580 # Try to use the -exported_symbol ld option, if it does not
10581 # work, assume that -exports_file does not work either and
10582 # implicitly export all symbols.
10583 # This should be the same for all languages, so no per-tag cache variable.
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10585 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10586 if ${lt_cv_irix_exported_symbol+:} false
; then :
10587 $as_echo_n "(cached) " >&6
10589 save_LDFLAGS
="$LDFLAGS"
10590 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10593 int foo (void) { return 0; }
10595 if ac_fn_c_try_link
"$LINENO"; then :
10596 lt_cv_irix_exported_symbol
=yes
10598 lt_cv_irix_exported_symbol
=no
10600 rm -f core conftest.err conftest.
$ac_objext \
10601 conftest
$ac_exeext conftest.
$ac_ext
10602 LDFLAGS
="$save_LDFLAGS"
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10605 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10606 if test "$lt_cv_irix_exported_symbol" = yes; then
10607 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'
10610 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'
10611 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'
10613 archive_cmds_need_lc
='no'
10614 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10615 hardcode_libdir_separator
=:
10617 link_all_deplibs
=yes
10621 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10622 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10624 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10626 hardcode_libdir_flag_spec
='-R$libdir'
10627 hardcode_direct
=yes
10628 hardcode_shlibpath_var
=no
10632 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10633 hardcode_direct
=yes
10634 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10635 hardcode_libdir_separator
=:
10636 hardcode_shlibpath_var
=no
10643 if test -f /usr
/libexec
/ld.so
; then
10644 hardcode_direct
=yes
10645 hardcode_shlibpath_var
=no
10646 hardcode_direct_absolute
=yes
10647 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10648 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10649 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10650 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10651 export_dynamic_flag_spec
='${wl}-E'
10654 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10655 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10656 hardcode_libdir_flag_spec
='-R$libdir'
10659 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10660 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10670 hardcode_libdir_flag_spec
='-L$libdir'
10671 hardcode_minus_L
=yes
10672 allow_undefined_flag
=unsupported
10673 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'
10674 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10678 if test "$GCC" = yes; then
10679 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10680 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'
10682 allow_undefined_flag
=' -expect_unresolved \*'
10683 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'
10685 archive_cmds_need_lc
='no'
10686 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10687 hardcode_libdir_separator
=:
10690 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10691 if test "$GCC" = yes; then
10692 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10693 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'
10694 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10696 allow_undefined_flag
=' -expect_unresolved \*'
10697 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'
10698 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~
10699 $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'
10701 # Both c and cxx compiler support -rpath directly
10702 hardcode_libdir_flag_spec
='-rpath $libdir'
10704 archive_cmds_need_lc
='no'
10705 hardcode_libdir_separator
=:
10709 no_undefined_flag
=' -z defs'
10710 if test "$GCC" = yes; then
10712 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10713 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10714 $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'
10716 case `$CC -V 2>&1` in
10719 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10720 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10721 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10725 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10726 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10727 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10731 hardcode_libdir_flag_spec
='-R$libdir'
10732 hardcode_shlibpath_var
=no
10734 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10736 # The compiler driver will combine and reorder linker options,
10737 # but understands `-z linker_flag'. GCC discards it without `$wl',
10738 # but is careful enough not to reorder.
10739 # Supported since Solaris 2.6 (maybe 2.5.1?)
10740 if test "$GCC" = yes; then
10741 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10743 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10747 link_all_deplibs
=yes
10751 if test "x$host_vendor" = xsequent
; then
10752 # Use $CC to link under sequent, because it throws in some extra .o
10753 # files that make .init and .fini sections work.
10754 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10756 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10758 hardcode_libdir_flag_spec
='-L$libdir'
10759 hardcode_direct
=yes
10760 hardcode_minus_L
=yes
10761 hardcode_shlibpath_var
=no
10765 case $host_vendor in
10767 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10768 hardcode_direct
=yes # is this really true???
10771 ## LD is ld it makes a PLAMLIB
10772 ## CC just makes a GrossModule.
10773 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10774 reload_cmds
='$CC -r -o $output$reload_objs'
10778 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10779 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10782 runpath_var
='LD_RUN_PATH'
10783 hardcode_shlibpath_var
=no
10787 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10788 hardcode_shlibpath_var
=no
10789 export_dynamic_flag_spec
='-Bexport'
10793 if test -d /usr
/nec
; then
10794 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10795 hardcode_shlibpath_var
=no
10796 runpath_var
=LD_RUN_PATH
10797 hardcode_runpath_var
=yes
10802 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10803 no_undefined_flag
='${wl}-z,text'
10804 archive_cmds_need_lc
=no
10805 hardcode_shlibpath_var
=no
10806 runpath_var
='LD_RUN_PATH'
10808 if test "$GCC" = yes; then
10809 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10810 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10812 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10813 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10817 sysv5
* | sco3.2v5
* | sco5v6
*)
10818 # Note: We can NOT use -z defs as we might desire, because we do not
10819 # link with -lc, and that would cause any symbols used from libc to
10820 # always be unresolved, which means just about no library would
10821 # ever link correctly. If we're not using GNU ld we use -z text
10822 # though, which does catch some bad symbols but isn't as heavy-handed
10824 no_undefined_flag
='${wl}-z,text'
10825 allow_undefined_flag
='${wl}-z,nodefs'
10826 archive_cmds_need_lc
=no
10827 hardcode_shlibpath_var
=no
10828 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10829 hardcode_libdir_separator
=':'
10830 link_all_deplibs
=yes
10831 export_dynamic_flag_spec
='${wl}-Bexport'
10832 runpath_var
='LD_RUN_PATH'
10834 if test "$GCC" = yes; then
10835 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10836 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10838 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10839 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10844 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10845 hardcode_libdir_flag_spec
='-L$libdir'
10846 hardcode_shlibpath_var
=no
10854 if test x
$host_vendor = xsni
; then
10856 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10857 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10864 $as_echo "$ld_shlibs" >&6; }
10865 test "$ld_shlibs" = no
&& can_build_shared
=no
10867 with_gnu_ld
=$with_gnu_ld
10884 # Do we need to explicitly link libc?
10886 case "x$archive_cmds_need_lc" in
10888 # Assume -lc should be added
10889 archive_cmds_need_lc
=yes
10891 if test "$enable_shared" = yes && test "$GCC" = yes; then
10892 case $archive_cmds in
10894 # FIXME: we may have to deal with multi-command sequences.
10897 # Test whether the compiler implicitly links with -lc since on some
10898 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10899 # to ld, don't add -lc before -lgcc.
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10901 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10902 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10903 $as_echo_n "(cached) " >&6
10906 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10909 (eval $ac_compile) 2>&5
10911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10912 test $ac_status = 0; } 2>conftest.err
; then
10915 libobjs
=conftest.
$ac_objext
10917 wl
=$lt_prog_compiler_wl
10918 pic_flag
=$lt_prog_compiler_pic
10924 lt_save_allow_undefined_flag
=$allow_undefined_flag
10925 allow_undefined_flag
=
10926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10927 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10930 test $ac_status = 0; }
10932 lt_cv_archive_cmds_need_lc
=no
10934 lt_cv_archive_cmds_need_lc
=yes
10936 allow_undefined_flag
=$lt_save_allow_undefined_flag
10938 cat conftest.err
1>&5
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10944 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10945 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11104 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11106 if test "$GCC" = yes; then
11108 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11109 *) lt_awk_arg
="/^libraries:/" ;;
11112 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11113 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11115 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11116 case $lt_search_path_spec in
11118 # if the path contains ";" then we assume it to be the separator
11119 # otherwise default to the standard path separator (i.e. ":") - it is
11120 # assumed that no part of a normal pathname contains ";" but that should
11121 # okay in the real world where ";" in dirpaths is itself problematic.
11122 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11125 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11128 # Ok, now we have the path, separated by spaces, we can step through it
11129 # and add multilib dir if necessary.
11130 lt_tmp_lt_search_path_spec
=
11131 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11132 for lt_sys_path
in $lt_search_path_spec; do
11133 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11134 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11136 test -d "$lt_sys_path" && \
11137 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11140 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11141 BEGIN {RS=" "; FS="/|\n";} {
11144 for (lt_i = NF; lt_i > 0; lt_i--) {
11145 if ($lt_i != "" && $lt_i != ".") {
11146 if ($lt_i == "..") {
11149 if (lt_count == 0) {
11150 lt_foo="/" $lt_i lt_foo;
11157 if (lt_foo != "") { lt_freq[lt_foo]++; }
11158 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11160 # AWK program above erroneously prepends '/' to C:/dos/paths
11163 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11164 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11166 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11168 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11170 library_names_spec
=
11171 libname_spec
='lib$name'
11175 postuninstall_cmds
=
11179 shlibpath_overrides_runpath
=unknown
11181 dynamic_linker
="$host_os ld.so"
11182 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11183 need_lib_prefix
=unknown
11184 hardcode_into_libs
=no
11186 # when you set need_version to no, make sure it does not cause -set_version
11187 # flags to be left without arguments
11188 need_version
=unknown
11192 version_type
=linux
# correct to gnu/linux during the next big refactor
11193 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11194 shlibpath_var
=LIBPATH
11196 # AIX 3 has no versioning support, so we append a major version to the name.
11197 soname_spec
='${libname}${release}${shared_ext}$major'
11201 version_type
=linux
# correct to gnu/linux during the next big refactor
11204 hardcode_into_libs
=yes
11205 if test "$host_cpu" = ia64
; then
11206 # AIX 5 supports IA64
11207 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11208 shlibpath_var
=LD_LIBRARY_PATH
11210 # With GCC up to 2.95.x, collect2 would create an import file
11211 # for dependence libraries. The import file would start with
11212 # the line `#! .'. This would cause the generated library to
11213 # depend on `.', always an invalid library. This was fixed in
11214 # development snapshots of GCC prior to 3.0.
11216 aix4
| aix4.
[01] | aix4.
[01].
*)
11217 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11219 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11222 can_build_shared
=no
11226 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11227 # soname into executable. Probably we can add versioning support to
11228 # collect2, so additional links can be useful in future.
11229 if test "$aix_use_runtimelinking" = yes; then
11230 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11231 # instead of lib<name>.a to let people know that these are not
11232 # typical AIX shared libraries.
11233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11235 # We preserve .a as extension for shared libraries through AIX4.2
11236 # and later when we are not doing run time linking.
11237 library_names_spec
='${libname}${release}.a $libname.a'
11238 soname_spec
='${libname}${release}${shared_ext}$major'
11240 shlibpath_var
=LIBPATH
11247 # Since July 2007 AmigaOS4 officially supports .so libraries.
11248 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11252 library_names_spec
='$libname.ixlibrary $libname.a'
11253 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11254 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'
11260 library_names_spec
='${libname}${shared_ext}'
11261 dynamic_linker
="$host_os ld.so"
11262 shlibpath_var
=LIBRARY_PATH
11266 version_type
=linux
# correct to gnu/linux during the next big refactor
11268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11269 soname_spec
='${libname}${release}${shared_ext}$major'
11270 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11271 shlibpath_var
=LD_LIBRARY_PATH
11272 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11273 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11274 # the default ld.so.conf also contains /usr/contrib/lib and
11275 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11276 # libtool to hard-code these into programs
11279 cygwin
* | mingw
* | pw32
* | cegcc
*)
11280 version_type
=windows
11285 case $GCC,$cc_basename in
11288 library_names_spec
='$libname.dll.a'
11289 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11290 postinstall_cmds
='base_file=`basename \${file}`~
11291 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11292 dldir=$destdir/`dirname \$dlpath`~
11293 test -d \$dldir || mkdir -p \$dldir~
11294 $install_prog $dir/$dlname \$dldir/$dlname~
11295 chmod a+x \$dldir/$dlname~
11296 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11297 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11299 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11300 dlpath=$dir/\$dldll~
11302 shlibpath_overrides_runpath
=yes
11306 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11307 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11309 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11312 # MinGW DLLs use traditional 'lib' prefix
11313 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11316 # pw32 DLLs use 'pw' prefix rather than 'lib'
11317 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11320 dynamic_linker
='Win32 ld.exe'
11325 libname_spec
='$name'
11326 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11327 library_names_spec
='${libname}.dll.lib'
11331 sys_lib_search_path_spec
=
11334 for lt_path
in $LIB
11337 # Let DOS variable expansion print the short 8.3 style file name.
11338 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11339 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11342 # Convert to MSYS style.
11343 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11346 # Convert to unix form, then to dos form, then back to unix form
11347 # but this time dos style (no spaces!) so that the unix form looks
11348 # like /cygdrive/c/PROGRA~1:/cygdr...
11349 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11350 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11351 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11354 sys_lib_search_path_spec
="$LIB"
11355 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11356 # It is most probably a Windows format PATH.
11357 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11359 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11361 # FIXME: find the short name or the path components, as spaces are
11362 # common. (e.g. "Program Files" -> "PROGRA~1")
11366 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11367 postinstall_cmds
='base_file=`basename \${file}`~
11368 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11369 dldir=$destdir/`dirname \$dlpath`~
11370 test -d \$dldir || mkdir -p \$dldir~
11371 $install_prog $dir/$dlname \$dldir/$dlname'
11372 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11373 dlpath=$dir/\$dldll~
11375 shlibpath_overrides_runpath
=yes
11376 dynamic_linker
='Win32 link.exe'
11380 # Assume MSVC wrapper
11381 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11382 dynamic_linker
='Win32 ld.exe'
11385 # FIXME: first we should search . and the directory the executable is in
11389 darwin
* | rhapsody
*)
11390 dynamic_linker
="$host_os dyld"
11391 version_type
=darwin
11394 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11395 soname_spec
='${libname}${release}${major}$shared_ext'
11396 shlibpath_overrides_runpath
=yes
11397 shlibpath_var
=DYLD_LIBRARY_PATH
11398 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11400 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11401 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11405 version_type
=linux
# correct to gnu/linux during the next big refactor
11408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11409 soname_spec
='${libname}${release}${shared_ext}$major'
11410 shlibpath_var
=LD_LIBRARY_PATH
11413 freebsd
* | dragonfly
*)
11414 # DragonFly does not have aout. When/if they implement a new
11415 # versioning mechanism, adjust this.
11416 if test -x /usr
/bin
/objformat
; then
11417 objformat
=`/usr/bin/objformat`
11420 freebsd
[23].
*) objformat
=aout
;;
11421 *) objformat
=elf
;;
11424 version_type
=freebsd
-$objformat
11425 case $version_type in
11427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11432 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11436 shlibpath_var
=LD_LIBRARY_PATH
11439 shlibpath_overrides_runpath
=yes
11441 freebsd3.
[01]* | freebsdelf3.
[01]*)
11442 shlibpath_overrides_runpath
=yes
11443 hardcode_into_libs
=yes
11445 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11446 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11447 shlibpath_overrides_runpath
=no
11448 hardcode_into_libs
=yes
11450 *) # from 4.6 on, and DragonFly
11451 shlibpath_overrides_runpath
=yes
11452 hardcode_into_libs
=yes
11458 version_type
=linux
# correct to gnu/linux during the next big refactor
11461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11462 soname_spec
='${libname}${release}${shared_ext}$major'
11463 shlibpath_var
=LD_LIBRARY_PATH
11464 shlibpath_overrides_runpath
=no
11465 hardcode_into_libs
=yes
11469 version_type
=linux
# correct to gnu/linux during the next big refactor
11472 dynamic_linker
="$host_os runtime_loader"
11473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11474 soname_spec
='${libname}${release}${shared_ext}$major'
11475 shlibpath_var
=LIBRARY_PATH
11476 shlibpath_overrides_runpath
=yes
11477 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11478 hardcode_into_libs
=yes
11481 hpux9
* | hpux10
* | hpux11
*)
11482 # Give a soname corresponding to the major version so that dld.sl refuses to
11483 # link against other versions.
11490 hardcode_into_libs
=yes
11491 dynamic_linker
="$host_os dld.so"
11492 shlibpath_var
=LD_LIBRARY_PATH
11493 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11495 soname_spec
='${libname}${release}${shared_ext}$major'
11496 if test "X$HPUX_IA64_MODE" = X32
; then
11497 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11499 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11501 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11505 hardcode_into_libs
=yes
11506 dynamic_linker
="$host_os dld.sl"
11507 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11508 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11510 soname_spec
='${libname}${release}${shared_ext}$major'
11511 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11512 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11516 dynamic_linker
="$host_os dld.sl"
11517 shlibpath_var
=SHLIB_PATH
11518 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11520 soname_spec
='${libname}${release}${shared_ext}$major'
11523 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11524 postinstall_cmds
='chmod 555 $lib'
11525 # or fails outright, so override atomically:
11526 install_override_mode
=555
11530 version_type
=linux
# correct to gnu/linux during the next big refactor
11533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11534 soname_spec
='${libname}${release}${shared_ext}$major'
11535 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11536 shlibpath_var
=LD_LIBRARY_PATH
11537 shlibpath_overrides_runpath
=no
11538 hardcode_into_libs
=yes
11541 irix5
* | irix6
* | nonstopux
*)
11543 nonstopux
*) version_type
=nonstopux
;;
11545 if test "$lt_cv_prog_gnu_ld" = yes; then
11546 version_type
=linux
# correct to gnu/linux during the next big refactor
11553 soname_spec
='${libname}${release}${shared_ext}$major'
11554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11556 irix5
* | nonstopux
*)
11557 libsuff
= shlibsuff
=
11560 case $LD in # libtool.m4 will add one of these switches to LD
11561 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11562 libsuff
= shlibsuff
= libmagic
=32-bit;;
11563 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11564 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11565 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11566 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11567 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11571 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11572 shlibpath_overrides_runpath
=no
11573 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11574 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11575 hardcode_into_libs
=yes
11578 # No shared lib support for Linux oldld, aout, or coff.
11579 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11583 # This must be glibc/ELF.
11584 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11585 version_type
=linux
# correct to gnu/linux during the next big refactor
11588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11589 soname_spec
='${libname}${release}${shared_ext}$major'
11590 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11591 shlibpath_var
=LD_LIBRARY_PATH
11592 shlibpath_overrides_runpath
=no
11594 # Some binutils ld are patched to set DT_RUNPATH
11595 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11596 $as_echo_n "(cached) " >&6
11598 lt_cv_shlibpath_overrides_runpath
=no
11599 save_LDFLAGS
=$LDFLAGS
11600 save_libdir
=$libdir
11601 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11602 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11614 if ac_fn_c_try_link
"$LINENO"; then :
11615 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11616 lt_cv_shlibpath_overrides_runpath
=yes
11619 rm -f core conftest.err conftest.
$ac_objext \
11620 conftest
$ac_exeext conftest.
$ac_ext
11621 LDFLAGS
=$save_LDFLAGS
11622 libdir
=$save_libdir
11626 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11628 # This implies no fast_install, which is unacceptable.
11629 # Some rework will be needed to allow for fast_install
11630 # before this can be enabled.
11631 hardcode_into_libs
=yes
11633 # Append ld.so.conf contents to the search path
11634 if test -f /etc
/ld.so.conf
; then
11635 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' ' '`
11636 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11639 # We used to test for /lib/ld.so.1 and disable shared libraries on
11640 # powerpc, because MkLinux only supported shared libraries with the
11641 # GNU dynamic linker. Since this was broken with cross compilers,
11642 # most powerpc-linux boxes support dynamic linking these days and
11643 # people can always --disable-shared, the test was removed, and we
11644 # assume the GNU/Linux dynamic linker is in use.
11645 dynamic_linker
='GNU/Linux ld.so'
11652 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11654 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11655 dynamic_linker
='NetBSD (a.out) ld.so'
11657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11658 soname_spec
='${libname}${release}${shared_ext}$major'
11659 dynamic_linker
='NetBSD ld.elf_so'
11661 shlibpath_var
=LD_LIBRARY_PATH
11662 shlibpath_overrides_runpath
=yes
11663 hardcode_into_libs
=yes
11667 version_type
=linux
# correct to gnu/linux during the next big refactor
11668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11669 shlibpath_var
=LD_LIBRARY_PATH
11670 shlibpath_overrides_runpath
=yes
11677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11678 soname_spec
='${libname}${release}${shared_ext}$major'
11679 shlibpath_var
=LD_LIBRARY_PATH
11680 shlibpath_overrides_runpath
=no
11681 hardcode_into_libs
=yes
11682 dynamic_linker
='ldqnx.so'
11687 sys_lib_dlsearch_path_spec
="/usr/lib"
11689 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11691 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11692 *) need_version
=no
;;
11694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11695 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11696 shlibpath_var
=LD_LIBRARY_PATH
11697 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11699 openbsd2.
[89] | openbsd2.
[89].
*)
11700 shlibpath_overrides_runpath
=no
11703 shlibpath_overrides_runpath
=yes
11707 shlibpath_overrides_runpath
=yes
11712 libname_spec
='$name'
11715 library_names_spec
='$libname${shared_ext} $libname.a'
11716 dynamic_linker
='OS/2 ld.exe'
11717 shlibpath_var
=LIBPATH
11720 osf3
* | osf4
* | osf5
*)
11724 soname_spec
='${libname}${release}${shared_ext}$major'
11725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11726 shlibpath_var
=LD_LIBRARY_PATH
11727 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11728 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11736 version_type
=linux
# correct to gnu/linux during the next big refactor
11739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11740 soname_spec
='${libname}${release}${shared_ext}$major'
11741 shlibpath_var
=LD_LIBRARY_PATH
11742 shlibpath_overrides_runpath
=yes
11743 hardcode_into_libs
=yes
11744 # ldd complains unless libraries are executable
11745 postinstall_cmds
='chmod +x $lib'
11750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11751 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11752 shlibpath_var
=LD_LIBRARY_PATH
11753 shlibpath_overrides_runpath
=yes
11754 if test "$with_gnu_ld" = yes; then
11761 version_type
=linux
# correct to gnu/linux during the next big refactor
11762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11763 soname_spec
='${libname}${release}${shared_ext}$major'
11764 shlibpath_var
=LD_LIBRARY_PATH
11765 case $host_vendor in
11767 shlibpath_overrides_runpath
=no
11769 runpath_var
=LD_RUN_PATH
11777 shlibpath_overrides_runpath
=no
11778 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11784 if test -d /usr
/nec
;then
11785 version_type
=linux
# correct to gnu/linux during the next big refactor
11786 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11787 soname_spec
='$libname${shared_ext}.$major'
11788 shlibpath_var
=LD_LIBRARY_PATH
11792 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11793 version_type
=freebsd
-elf
11796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11797 soname_spec
='${libname}${release}${shared_ext}$major'
11798 shlibpath_var
=LD_LIBRARY_PATH
11799 shlibpath_overrides_runpath
=yes
11800 hardcode_into_libs
=yes
11801 if test "$with_gnu_ld" = yes; then
11802 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11804 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11807 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11811 sys_lib_dlsearch_path_spec
='/usr/lib'
11815 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11816 version_type
=linux
# correct to gnu/linux during the next big refactor
11819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11820 shlibpath_var
=LD_LIBRARY_PATH
11821 shlibpath_overrides_runpath
=no
11822 hardcode_into_libs
=yes
11826 version_type
=linux
# correct to gnu/linux during the next big refactor
11827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11828 soname_spec
='${libname}${release}${shared_ext}$major'
11829 shlibpath_var
=LD_LIBRARY_PATH
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11837 $as_echo "$dynamic_linker" >&6; }
11838 test "$dynamic_linker" = no
&& can_build_shared
=no
11840 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11841 if test "$GCC" = yes; then
11842 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11845 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11846 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11848 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11849 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11944 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11946 if test -n "$hardcode_libdir_flag_spec" ||
11947 test -n "$runpath_var" ||
11948 test "X$hardcode_automatic" = "Xyes" ; then
11950 # We can hardcode non-existent directories.
11951 if test "$hardcode_direct" != no
&&
11952 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11953 # have to relink, otherwise we might link with an installed library
11954 # when we should be linking with a yet-to-be-installed one
11955 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11956 test "$hardcode_minus_L" != no
; then
11957 # Linking always hardcodes the temporary library directory.
11958 hardcode_action
=relink
11960 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11961 hardcode_action
=immediate
11964 # We cannot hardcode anything, or else we can only hardcode existing
11966 hardcode_action
=unsupported
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11969 $as_echo "$hardcode_action" >&6; }
11971 if test "$hardcode_action" = relink
||
11972 test "$inherit_rpath" = yes; then
11973 # Fast installation is not supported
11974 enable_fast_install
=no
11975 elif test "$shlibpath_overrides_runpath" = yes ||
11976 test "$enable_shared" = no
; then
11977 # Fast installation is not necessary
11978 enable_fast_install
=needless
11986 if test "x$enable_dlopen" != xyes
; then
11987 enable_dlopen
=unknown
11988 enable_dlopen_self
=unknown
11989 enable_dlopen_self_static
=unknown
11996 lt_cv_dlopen
="load_add_on"
11998 lt_cv_dlopen_self
=yes
12001 mingw
* | pw32
* | cegcc
*)
12002 lt_cv_dlopen
="LoadLibrary"
12007 lt_cv_dlopen
="dlopen"
12012 # if libdl is installed we need to link against it
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12014 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12015 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12016 $as_echo_n "(cached) " >&6
12018 ac_check_lib_save_LIBS
=$LIBS
12020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12021 /* end confdefs.h. */
12023 /* Override any GCC internal prototype to avoid an error.
12024 Use char because int might match the return type of a GCC
12025 builtin and then its argument prototype would still apply. */
12038 if ac_fn_c_try_link
"$LINENO"; then :
12039 ac_cv_lib_dl_dlopen
=yes
12041 ac_cv_lib_dl_dlopen
=no
12043 rm -f core conftest.err conftest.
$ac_objext \
12044 conftest
$ac_exeext conftest.
$ac_ext
12045 LIBS
=$ac_check_lib_save_LIBS
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12048 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12049 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12050 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12053 lt_cv_dlopen
="dyld"
12055 lt_cv_dlopen_self
=yes
12062 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12063 if test "x$ac_cv_func_shl_load" = xyes
; then :
12064 lt_cv_dlopen
="shl_load"
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12067 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12068 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12069 $as_echo_n "(cached) " >&6
12071 ac_check_lib_save_LIBS
=$LIBS
12073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12086 return shl_load ();
12091 if ac_fn_c_try_link
"$LINENO"; then :
12092 ac_cv_lib_dld_shl_load
=yes
12094 ac_cv_lib_dld_shl_load
=no
12096 rm -f core conftest.err conftest.
$ac_objext \
12097 conftest
$ac_exeext conftest.
$ac_ext
12098 LIBS
=$ac_check_lib_save_LIBS
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12101 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12102 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12103 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12105 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12106 if test "x$ac_cv_func_dlopen" = xyes
; then :
12107 lt_cv_dlopen
="dlopen"
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12110 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12111 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12112 $as_echo_n "(cached) " >&6
12114 ac_check_lib_save_LIBS
=$LIBS
12116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12117 /* end confdefs.h. */
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12134 if ac_fn_c_try_link
"$LINENO"; then :
12135 ac_cv_lib_dl_dlopen
=yes
12137 ac_cv_lib_dl_dlopen
=no
12139 rm -f core conftest.err conftest.
$ac_objext \
12140 conftest
$ac_exeext conftest.
$ac_ext
12141 LIBS
=$ac_check_lib_save_LIBS
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12144 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12145 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12146 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12149 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12150 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12151 $as_echo_n "(cached) " >&6
12153 ac_check_lib_save_LIBS
=$LIBS
12154 LIBS
="-lsvld $LIBS"
12155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12158 /* Override any GCC internal prototype to avoid an error.
12159 Use char because int might match the return type of a GCC
12160 builtin and then its argument prototype would still apply. */
12173 if ac_fn_c_try_link
"$LINENO"; then :
12174 ac_cv_lib_svld_dlopen
=yes
12176 ac_cv_lib_svld_dlopen
=no
12178 rm -f core conftest.err conftest.
$ac_objext \
12179 conftest
$ac_exeext conftest.
$ac_ext
12180 LIBS
=$ac_check_lib_save_LIBS
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12183 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12184 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12185 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12188 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12189 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12190 $as_echo_n "(cached) " >&6
12192 ac_check_lib_save_LIBS
=$LIBS
12194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12207 return dld_link ();
12212 if ac_fn_c_try_link
"$LINENO"; then :
12213 ac_cv_lib_dld_dld_link
=yes
12215 ac_cv_lib_dld_dld_link
=no
12217 rm -f core conftest.err conftest.
$ac_objext \
12218 conftest
$ac_exeext conftest.
$ac_ext
12219 LIBS
=$ac_check_lib_save_LIBS
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12222 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12223 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12224 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12245 if test "x$lt_cv_dlopen" != xno
; then
12251 case $lt_cv_dlopen in
12253 save_CPPFLAGS
="$CPPFLAGS"
12254 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12256 save_LDFLAGS
="$LDFLAGS"
12257 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12260 LIBS
="$lt_cv_dlopen_libs $LIBS"
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12263 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12264 if ${lt_cv_dlopen_self+:} false
; then :
12265 $as_echo_n "(cached) " >&6
12267 if test "$cross_compiling" = yes; then :
12268 lt_cv_dlopen_self
=cross
12270 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12271 lt_status
=$lt_dlunknown
12272 cat > conftest.
$ac_ext <<_LT_EOF
12273 #line $LINENO "configure"
12274 #include "confdefs.h"
12283 # define LT_DLGLOBAL RTLD_GLOBAL
12286 # define LT_DLGLOBAL DL_GLOBAL
12288 # define LT_DLGLOBAL 0
12292 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12293 find out it does not work in some platform. */
12294 #ifndef LT_DLLAZY_OR_NOW
12296 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12299 # define LT_DLLAZY_OR_NOW DL_LAZY
12302 # define LT_DLLAZY_OR_NOW RTLD_NOW
12305 # define LT_DLLAZY_OR_NOW DL_NOW
12307 # define LT_DLLAZY_OR_NOW 0
12314 /* When -fvisbility=hidden is used, assume the code has been annotated
12315 correspondingly for the symbols needed. */
12316 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12317 int fnord () __attribute__((visibility("default")));
12320 int fnord () { return 42; }
12323 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12324 int status = $lt_dlunknown;
12328 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12331 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12332 else puts (dlerror ());
12334 /* dlclose (self); */
12342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12343 (eval $ac_link) 2>&5
12345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12346 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12347 (.
/conftest
; exit; ) >&5 2>/dev
/null
12349 case x
$lt_status in
12350 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12351 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12352 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12355 # compilation failed
12356 lt_cv_dlopen_self
=no
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12364 $as_echo "$lt_cv_dlopen_self" >&6; }
12366 if test "x$lt_cv_dlopen_self" = xyes
; then
12367 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12369 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12370 if ${lt_cv_dlopen_self_static+:} false
; then :
12371 $as_echo_n "(cached) " >&6
12373 if test "$cross_compiling" = yes; then :
12374 lt_cv_dlopen_self_static
=cross
12376 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12377 lt_status
=$lt_dlunknown
12378 cat > conftest.
$ac_ext <<_LT_EOF
12379 #line $LINENO "configure"
12380 #include "confdefs.h"
12389 # define LT_DLGLOBAL RTLD_GLOBAL
12392 # define LT_DLGLOBAL DL_GLOBAL
12394 # define LT_DLGLOBAL 0
12398 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12399 find out it does not work in some platform. */
12400 #ifndef LT_DLLAZY_OR_NOW
12402 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12405 # define LT_DLLAZY_OR_NOW DL_LAZY
12408 # define LT_DLLAZY_OR_NOW RTLD_NOW
12411 # define LT_DLLAZY_OR_NOW DL_NOW
12413 # define LT_DLLAZY_OR_NOW 0
12420 /* When -fvisbility=hidden is used, assume the code has been annotated
12421 correspondingly for the symbols needed. */
12422 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12423 int fnord () __attribute__((visibility("default")));
12426 int fnord () { return 42; }
12429 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12430 int status = $lt_dlunknown;
12434 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12437 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12438 else puts (dlerror ());
12440 /* dlclose (self); */
12448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12449 (eval $ac_link) 2>&5
12451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12452 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12453 (.
/conftest
; exit; ) >&5 2>/dev
/null
12455 case x
$lt_status in
12456 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12457 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12458 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12461 # compilation failed
12462 lt_cv_dlopen_self_static
=no
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12470 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12473 CPPFLAGS
="$save_CPPFLAGS"
12474 LDFLAGS
="$save_LDFLAGS"
12479 case $lt_cv_dlopen_self in
12480 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12481 *) enable_dlopen_self
=unknown
;;
12484 case $lt_cv_dlopen_self_static in
12485 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12486 *) enable_dlopen_self_static
=unknown
;;
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12509 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12510 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12511 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12512 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12514 $as_echo "yes" >&6; }
12516 # FIXME - insert some real tests, host_os isn't really good enough
12519 if test -n "$STRIP" ; then
12520 striplib
="$STRIP -x"
12521 old_striplib
="$STRIP -S"
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12523 $as_echo "yes" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12526 $as_echo "no" >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12531 $as_echo "no" >&6; }
12547 # Report which library types will actually be built
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12549 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12551 $as_echo "$can_build_shared" >&6; }
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12554 $as_echo_n "checking whether to build shared libraries... " >&6; }
12555 test "$can_build_shared" = "no" && enable_shared
=no
12557 # On AIX, shared libraries and static libraries use the same namespace, and
12558 # are all built from PIC.
12561 test "$enable_shared" = yes && enable_static
=no
12562 if test -n "$RANLIB"; then
12563 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12564 postinstall_cmds
='$RANLIB $lib'
12569 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12570 test "$enable_shared" = yes && enable_static
=no
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12575 $as_echo "$enable_shared" >&6; }
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12578 $as_echo_n "checking whether to build static libraries... " >&6; }
12579 # Make sure either enable_shared or enable_static is yes.
12580 test "$enable_shared" = yes || enable_static
=yes
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12582 $as_echo "$enable_static" >&6; }
12589 ac_cpp
='$CPP $CPPFLAGS'
12590 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12591 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12592 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12596 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12597 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12598 (test "X$CXX" != "Xg++"))) ; then
12600 ac_cpp
='$CXXCPP $CPPFLAGS'
12601 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12602 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12603 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12605 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12606 if test -z "$CXXCPP"; then
12607 if ${ac_cv_prog_CXXCPP+:} false
; then :
12608 $as_echo_n "(cached) " >&6
12610 # Double quotes because CXXCPP needs to be expanded
12611 for CXXCPP
in "$CXX -E" "/lib/cpp"
12613 ac_preproc_ok
=false
12614 for ac_cxx_preproc_warn_flag
in '' yes
12616 # Use a header file that comes with gcc, so configuring glibc
12617 # with a fresh cross-compiler works.
12618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12619 # <limits.h> exists even on freestanding compilers.
12620 # On the NeXT, cc -E runs the code through the compiler's parser,
12621 # not just through cpp. "Syntax error" is here to catch this case.
12622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12625 # include <limits.h>
12627 # include <assert.h>
12631 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12634 # Broken: fails on valid input.
12637 rm -f conftest.err conftest.i conftest.
$ac_ext
12639 # OK, works on sane cases. Now check whether nonexistent headers
12640 # can be detected and how.
12641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12643 #include <ac_nonexistent.h>
12645 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12646 # Broken: success on invalid input.
12649 # Passes both tests.
12653 rm -f conftest.err conftest.i conftest.
$ac_ext
12656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12657 rm -f conftest.i conftest.err conftest.
$ac_ext
12658 if $ac_preproc_ok; then :
12663 ac_cv_prog_CXXCPP
=$CXXCPP
12666 CXXCPP
=$ac_cv_prog_CXXCPP
12668 ac_cv_prog_CXXCPP
=$CXXCPP
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12671 $as_echo "$CXXCPP" >&6; }
12672 ac_preproc_ok
=false
12673 for ac_cxx_preproc_warn_flag
in '' yes
12675 # Use a header file that comes with gcc, so configuring glibc
12676 # with a fresh cross-compiler works.
12677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12678 # <limits.h> exists even on freestanding compilers.
12679 # On the NeXT, cc -E runs the code through the compiler's parser,
12680 # not just through cpp. "Syntax error" is here to catch this case.
12681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 # include <limits.h>
12686 # include <assert.h>
12690 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12693 # Broken: fails on valid input.
12696 rm -f conftest.err conftest.i conftest.
$ac_ext
12698 # OK, works on sane cases. Now check whether nonexistent headers
12699 # can be detected and how.
12700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12702 #include <ac_nonexistent.h>
12704 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12705 # Broken: success on invalid input.
12708 # Passes both tests.
12712 rm -f conftest.err conftest.i conftest.
$ac_ext
12715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12716 rm -f conftest.i conftest.err conftest.
$ac_ext
12717 if $ac_preproc_ok; then :
12720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12722 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12723 See \`config.log' for more details" "$LINENO" 5; }
12727 ac_cpp
='$CPP $CPPFLAGS'
12728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12733 _lt_caught_CXX_error
=yes
12737 ac_cpp
='$CXXCPP $CPPFLAGS'
12738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12742 archive_cmds_need_lc_CXX
=no
12743 allow_undefined_flag_CXX
=
12744 always_export_symbols_CXX
=no
12745 archive_expsym_cmds_CXX
=
12746 compiler_needs_object_CXX
=no
12747 export_dynamic_flag_spec_CXX
=
12748 hardcode_direct_CXX
=no
12749 hardcode_direct_absolute_CXX
=no
12750 hardcode_libdir_flag_spec_CXX
=
12751 hardcode_libdir_separator_CXX
=
12752 hardcode_minus_L_CXX
=no
12753 hardcode_shlibpath_var_CXX
=unsupported
12754 hardcode_automatic_CXX
=no
12755 inherit_rpath_CXX
=no
12757 module_expsym_cmds_CXX
=
12758 link_all_deplibs_CXX
=unknown
12759 old_archive_cmds_CXX
=$old_archive_cmds
12760 reload_flag_CXX
=$reload_flag
12761 reload_cmds_CXX
=$reload_cmds
12762 no_undefined_flag_CXX
=
12763 whole_archive_flag_spec_CXX
=
12764 enable_shared_with_static_runtimes_CXX
=no
12766 # Source file extension for C++ test sources.
12769 # Object file extension for compiled C++ test sources.
12773 # No sense in running all these tests if we already determined that
12774 # the CXX compiler isn't working. Some variables (like enable_shared)
12775 # are currently assumed to apply to all compilers on this platform,
12776 # and will be corrupted by setting them based on a non-working compiler.
12777 if test "$_lt_caught_CXX_error" != yes; then
12778 # Code to be used in simple compile tests
12779 lt_simple_compile_test_code
="int some_variable = 0;"
12781 # Code to be used in simple link tests
12782 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12784 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12791 # If no C compiler was specified, use CC.
12794 # If no C compiler flags were specified, use CFLAGS.
12795 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12797 # Allow CC to be a program name with arguments.
12801 # save warnings/boilerplate of simple test code
12802 ac_outfile
=conftest.
$ac_objext
12803 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12804 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12805 _lt_compiler_boilerplate
=`cat conftest.err`
12808 ac_outfile
=conftest.
$ac_objext
12809 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12810 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12811 _lt_linker_boilerplate
=`cat conftest.err`
12815 # Allow CC to be a program name with arguments.
12817 lt_save_CFLAGS
=$CFLAGS
12821 lt_save_with_gnu_ld
=$with_gnu_ld
12822 lt_save_path_LD
=$lt_cv_path_LD
12823 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12824 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12826 $as_unset lt_cv_prog_gnu_ld
12828 if test -n "${lt_cv_path_LDCXX+set}"; then
12829 lt_cv_path_LD
=$lt_cv_path_LDCXX
12831 $as_unset lt_cv_path_LD
12833 test -z "${LDCXX+set}" || LD
=$LDCXX
12838 for cc_temp
in $compiler""; do
12840 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12841 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12846 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12849 if test -n "$compiler"; then
12850 # We don't want -fno-exception when compiling C++ code, so set the
12851 # no_builtin_flag separately
12852 if test "$GXX" = yes; then
12853 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12855 lt_prog_compiler_no_builtin_flag_CXX
=
12858 if test "$GXX" = yes; then
12859 # Set up default GNU C++ configuration
12863 # Check whether --with-gnu-ld was given.
12864 if test "${with_gnu_ld+set}" = set; then :
12865 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12871 if test "$GCC" = yes; then
12872 # Check if gcc -print-prog-name=ld gives a path.
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12874 $as_echo_n "checking for ld used by $CC... " >&6; }
12877 # gcc leaves a trailing carriage return which upsets mingw
12878 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12880 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12883 # Accept absolute paths.
12885 re_direlt
='/[^/][^/]*/\.\./'
12886 # Canonicalize the pathname of ld
12887 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12888 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12889 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12891 test -z "$LD" && LD
="$ac_prog"
12894 # If it fails, then pretend we aren't using GCC.
12898 # If it is relative, then search for the first ld in PATH.
12899 with_gnu_ld
=unknown
12902 elif test "$with_gnu_ld" = yes; then
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12904 $as_echo_n "checking for GNU ld... " >&6; }
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12907 $as_echo_n "checking for non-GNU ld... " >&6; }
12909 if ${lt_cv_path_LD+:} false
; then :
12910 $as_echo_n "(cached) " >&6
12912 if test -z "$LD"; then
12913 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12914 for ac_dir
in $PATH; do
12916 test -z "$ac_dir" && ac_dir
=.
12917 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12918 lt_cv_path_LD
="$ac_dir/$ac_prog"
12919 # Check to see if the program is GNU ld. I'd rather use --version,
12920 # but apparently some variants of GNU ld only accept -v.
12921 # Break only if it was the GNU/non-GNU ld that we prefer.
12922 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12923 *GNU
* | *'with BFD'*)
12924 test "$with_gnu_ld" != no
&& break
12927 test "$with_gnu_ld" != yes && break
12934 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12938 LD
="$lt_cv_path_LD"
12939 if test -n "$LD"; then
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12941 $as_echo "$LD" >&6; }
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12944 $as_echo "no" >&6; }
12946 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12948 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12949 if ${lt_cv_prog_gnu_ld+:} false
; then :
12950 $as_echo_n "(cached) " >&6
12952 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12953 case `$LD -v 2>&1 </dev/null` in
12954 *GNU
* | *'with BFD'*)
12955 lt_cv_prog_gnu_ld
=yes
12958 lt_cv_prog_gnu_ld
=no
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12963 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12964 with_gnu_ld
=$lt_cv_prog_gnu_ld
12972 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12973 # archiving commands below assume that GNU ld is being used.
12974 if test "$with_gnu_ld" = yes; then
12975 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12976 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'
12978 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12979 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12981 # If archive_cmds runs LD, not CC, wlarc should be empty
12982 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12983 # investigate it a little bit more. (MM)
12986 # ancient GNU ld didn't support --whole-archive et. al.
12987 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12988 $GREP 'no-whole-archive' > /dev
/null
; then
12989 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12991 whole_archive_flag_spec_CXX
=
12997 # A generic and very simple default shared library creation
12998 # command for GNU C++ for the case where it uses the native
12999 # linker, instead of GNU ld. If possible, this setting should
13000 # overridden to take advantage of the native linker features on
13001 # the platform it is being used on.
13002 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13005 # Commands to make compiler produce verbose output that lists
13006 # what "hidden" libraries, object files and flags are used when
13007 # linking a shared library.
13008 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13016 # PORTME: fill in a description of your system's C++ link characteristics
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13018 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13022 # FIXME: insert proper C++ library support
13026 if test "$host_cpu" = ia64
; then
13027 # On IA64, the linker does run time linking by default, so we don't
13028 # have to do anything special.
13029 aix_use_runtimelinking
=no
13030 exp_sym_flag
='-Bexport'
13033 aix_use_runtimelinking
=no
13035 # Test if we are trying to use run time linking or normal
13036 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13037 # need to do runtime linking.
13038 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13039 for ld_flag
in $LDFLAGS; do
13042 aix_use_runtimelinking
=yes
13050 exp_sym_flag
='-bexport'
13051 no_entry_flag
='-bnoentry'
13054 # When large executables or shared objects are built, AIX ld can
13055 # have problems creating the table of contents. If linking a library
13056 # or program results in "error TOC overflow" add -mminimal-toc to
13057 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13058 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13060 archive_cmds_CXX
=''
13061 hardcode_direct_CXX
=yes
13062 hardcode_direct_absolute_CXX
=yes
13063 hardcode_libdir_separator_CXX
=':'
13064 link_all_deplibs_CXX
=yes
13065 file_list_spec_CXX
='${wl}-f,'
13067 if test "$GXX" = yes; then
13068 case $host_os in aix4.
[012]|aix4.
[012].
*)
13069 # We only want to do this on AIX 4.2 and lower, the check
13070 # below for broken collect2 doesn't work under 4.3+
13071 collect2name
=`${CC} -print-prog-name=collect2`
13072 if test -f "$collect2name" &&
13073 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13075 # We have reworked collect2
13078 # We have old collect2
13079 hardcode_direct_CXX
=unsupported
13080 # It fails to find uninstalled libraries when the uninstalled
13081 # path is not listed in the libpath. Setting hardcode_minus_L
13082 # to unsupported forces relinking
13083 hardcode_minus_L_CXX
=yes
13084 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13085 hardcode_libdir_separator_CXX
=
13088 shared_flag
='-shared'
13089 if test "$aix_use_runtimelinking" = yes; then
13090 shared_flag
="$shared_flag "'${wl}-G'
13094 if test "$host_cpu" = ia64
; then
13095 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13096 # chokes on -Wl,-G. The following line is correct:
13099 if test "$aix_use_runtimelinking" = yes; then
13100 shared_flag
='${wl}-G'
13102 shared_flag
='${wl}-bM:SRE'
13107 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13108 # It seems that -bexpall does not export symbols beginning with
13109 # underscore (_), so it is better to generate a list of symbols to
13111 always_export_symbols_CXX
=yes
13112 if test "$aix_use_runtimelinking" = yes; then
13113 # Warning - without using the other runtime loading flags (-brtl),
13114 # -berok will link without error, but may produce a broken library.
13115 allow_undefined_flag_CXX
='-berok'
13116 # Determine the default libpath from the value encoded in an empty
13118 if test "${lt_cv_aix_libpath+set}" = set; then
13119 aix_libpath
=$lt_cv_aix_libpath
13121 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13122 $as_echo_n "(cached) " >&6
13124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13125 /* end confdefs.h. */
13135 if ac_fn_cxx_try_link
"$LINENO"; then :
13137 lt_aix_libpath_sed
='
13138 /Import File Strings/,/^$/ {
13140 s/^0 *\([^ ]*\) *$/\1/
13144 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13145 # Check for a 64-bit object if we didn't find anything.
13146 if test -z "$lt_cv_aix_libpath__CXX"; then
13147 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13150 rm -f core conftest.err conftest.
$ac_objext \
13151 conftest
$ac_exeext conftest.
$ac_ext
13152 if test -z "$lt_cv_aix_libpath__CXX"; then
13153 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13158 aix_libpath
=$lt_cv_aix_libpath__CXX
13161 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13163 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"
13165 if test "$host_cpu" = ia64
; then
13166 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13167 allow_undefined_flag_CXX
="-z nodefs"
13168 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"
13170 # Determine the default libpath from the value encoded in an
13171 # empty executable.
13172 if test "${lt_cv_aix_libpath+set}" = set; then
13173 aix_libpath
=$lt_cv_aix_libpath
13175 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13176 $as_echo_n "(cached) " >&6
13178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13189 if ac_fn_cxx_try_link
"$LINENO"; then :
13191 lt_aix_libpath_sed
='
13192 /Import File Strings/,/^$/ {
13194 s/^0 *\([^ ]*\) *$/\1/
13198 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13199 # Check for a 64-bit object if we didn't find anything.
13200 if test -z "$lt_cv_aix_libpath__CXX"; then
13201 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13204 rm -f core conftest.err conftest.
$ac_objext \
13205 conftest
$ac_exeext conftest.
$ac_ext
13206 if test -z "$lt_cv_aix_libpath__CXX"; then
13207 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13212 aix_libpath
=$lt_cv_aix_libpath__CXX
13215 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13216 # Warning - without using the other run time loading flags,
13217 # -berok will link without error, but may produce a broken library.
13218 no_undefined_flag_CXX
=' ${wl}-bernotok'
13219 allow_undefined_flag_CXX
=' ${wl}-berok'
13220 if test "$with_gnu_ld" = yes; then
13221 # We only use this code for GNU lds that support --whole-archive.
13222 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13224 # Exported symbols can be pulled into shared objects from archives
13225 whole_archive_flag_spec_CXX
='$convenience'
13227 archive_cmds_need_lc_CXX
=yes
13228 # This is similar to how AIX traditionally builds its shared
13230 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'
13236 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13237 allow_undefined_flag_CXX
=unsupported
13238 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13239 # support --undefined. This deserves some investigation. FIXME
13240 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13247 case $cc_basename in
13249 # FIXME: insert proper C++ library support
13255 cygwin
* | mingw
* | pw32
* | cegcc
*)
13256 case $GXX,$cc_basename in
13259 # hardcode_libdir_flag_spec is actually meaningless, as there is
13260 # no search path for DLLs.
13261 hardcode_libdir_flag_spec_CXX
=' '
13262 allow_undefined_flag_CXX
=unsupported
13263 always_export_symbols_CXX
=yes
13264 file_list_spec_CXX
='@'
13265 # Tell ltmain to make .lib files, not .a files.
13267 # Tell ltmain to make .dll files, not .so files.
13269 # FIXME: Setting linknames here is a bad hack.
13270 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13271 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13272 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13274 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13276 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13278 # The linker will not automatically build a static lib if we build a DLL.
13279 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13280 enable_shared_with_static_runtimes_CXX
=yes
13282 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13283 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13284 lt_tool_outputfile="@TOOL_OUTPUT@"~
13285 case $lt_outputfile in
13288 lt_outputfile="$lt_outputfile.exe"
13289 lt_tool_outputfile="$lt_tool_outputfile.exe"
13292 func_to_tool_file "$lt_outputfile"~
13293 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13294 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13295 $RM "$lt_outputfile.manifest";
13300 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13301 # as there is no search path for DLLs.
13302 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13303 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13304 allow_undefined_flag_CXX
=unsupported
13305 always_export_symbols_CXX
=no
13306 enable_shared_with_static_runtimes_CXX
=yes
13308 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13309 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'
13310 # If the export-symbols file already is a .def file (1st line
13311 # is EXPORTS), use it as is; otherwise, prepend...
13312 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13313 cp $export_symbols $output_objdir/$soname.def;
13315 echo EXPORTS > $output_objdir/$soname.def;
13316 cat $export_symbols >> $output_objdir/$soname.def;
13318 $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'
13325 darwin
* | rhapsody
*)
13328 archive_cmds_need_lc_CXX
=no
13329 hardcode_direct_CXX
=no
13330 hardcode_automatic_CXX
=yes
13331 hardcode_shlibpath_var_CXX
=unsupported
13332 if test "$lt_cv_ld_force_load" = "yes"; then
13333 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\"`'
13336 whole_archive_flag_spec_CXX
=''
13338 link_all_deplibs_CXX
=yes
13339 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13340 case $cc_basename in
13341 ifort
*) _lt_dar_can_shared
=yes ;;
13342 *) _lt_dar_can_shared
=$GCC ;;
13344 if test "$_lt_dar_can_shared" = "yes"; then
13345 output_verbose_link_cmd
=func_echo_all
13346 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}"
13347 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13348 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}"
13349 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}"
13350 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13351 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}"
13352 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}"
13362 case $cc_basename in
13364 # FIXME: insert proper C++ library support
13368 # Green Hills C++ Compiler
13369 # FIXME: insert proper C++ library support
13373 # FIXME: insert proper C++ library support
13380 # C++ shared libraries reported to be fairly broken before
13386 archive_cmds_need_lc_CXX
=no
13389 freebsd
* | dragonfly
*)
13390 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13399 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13400 link_all_deplibs_CXX
=yes
13404 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13405 hardcode_libdir_separator_CXX
=:
13406 export_dynamic_flag_spec_CXX
='${wl}-E'
13407 hardcode_direct_CXX
=yes
13408 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13409 # but as the default
13410 # location of the library.
13412 case $cc_basename in
13414 # FIXME: insert proper C++ library support
13418 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'
13419 # Commands to make compiler produce verbose output that lists
13420 # what "hidden" libraries, object files and flags are used when
13421 # linking a shared library.
13423 # There doesn't appear to be a way to prevent this compiler from
13424 # explicitly linking system object files so we need to strip them
13425 # from the output so that they don't get included in the library
13427 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"'
13430 if test "$GXX" = yes; then
13431 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'
13433 # FIXME: insert proper C++ library support
13441 if test $with_gnu_ld = no
; then
13442 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13443 hardcode_libdir_separator_CXX
=:
13449 export_dynamic_flag_spec_CXX
='${wl}-E'
13455 hardcode_direct_CXX
=no
13456 hardcode_shlibpath_var_CXX
=no
13459 hardcode_direct_CXX
=yes
13460 hardcode_direct_absolute_CXX
=yes
13461 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13462 # but as the default
13463 # location of the library.
13467 case $cc_basename in
13469 # FIXME: insert proper C++ library support
13475 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13478 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13481 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13484 # Commands to make compiler produce verbose output that lists
13485 # what "hidden" libraries, object files and flags are used when
13486 # linking a shared library.
13488 # There doesn't appear to be a way to prevent this compiler from
13489 # explicitly linking system object files so we need to strip them
13490 # from the output so that they don't get included in the library
13492 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"'
13495 if test "$GXX" = yes; then
13496 if test $with_gnu_ld = no
; then
13499 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13502 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13505 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'
13510 # FIXME: insert proper C++ library support
13518 hardcode_direct_CXX
=no
13519 hardcode_shlibpath_var_CXX
=no
13520 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13521 export_dynamic_flag_spec_CXX
='${wl}-E'
13522 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13523 # Instead, shared libraries are loaded at an image base (0x10000000 by
13524 # default) and relocated if they conflict, which is a slow very memory
13525 # consuming and fragmenting process. To avoid this, we pick a random,
13526 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13527 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13528 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'
13529 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'
13532 case $cc_basename in
13535 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'
13537 # Archives containing C++ object files must be created using
13538 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13539 # necessary to make sure instantiated templates are included
13541 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13544 if test "$GXX" = yes; then
13545 if test "$with_gnu_ld" = no
; then
13546 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'
13548 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'
13551 link_all_deplibs_CXX
=yes
13554 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13555 hardcode_libdir_separator_CXX
=:
13556 inherit_rpath_CXX
=yes
13559 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13560 case $cc_basename in
13562 # Kuck and Associates, Inc. (KAI) C++ Compiler
13564 # KCC will only create a shared library if the output file
13565 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13566 # to its proper name (with version) after linking.
13567 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'
13568 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'
13569 # Commands to make compiler produce verbose output that lists
13570 # what "hidden" libraries, object files and flags are used when
13571 # linking a shared library.
13573 # There doesn't appear to be a way to prevent this compiler from
13574 # explicitly linking system object files so we need to strip them
13575 # from the output so that they don't get included in the library
13577 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"'
13579 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13580 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13582 # Archives containing C++ object files must be created using
13583 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13584 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13589 # version 8.0 and above of icpc choke on multiply defined symbols
13590 # if we add $predep_objects and $postdep_objects, however 7.1 and
13591 # earlier do not add the objects themselves.
13592 case `$CC -V 2>&1` in
13594 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13595 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'
13597 *) # Version 8.0 or newer
13600 ia64
*) tmp_idyn
=' -i_dynamic';;
13602 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13603 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'
13606 archive_cmds_need_lc_CXX
=no
13607 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13608 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13609 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13612 # Portland Group C++ compiler
13614 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13615 prelink_cmds_CXX
='tpldir=Template.dir~
13617 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13618 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13619 old_archive_cmds_CXX
='tpldir=Template.dir~
13621 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13622 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13624 archive_cmds_CXX
='tpldir=Template.dir~
13626 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13627 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13628 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13630 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13631 $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'
13633 *) # Version 6 and above use weak symbols
13634 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13635 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'
13639 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13640 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13641 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'
13645 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13646 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'
13648 runpath_var
=LD_RUN_PATH
13649 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13650 hardcode_libdir_separator_CXX
=:
13652 # Commands to make compiler produce verbose output that lists
13653 # what "hidden" libraries, object files and flags are used when
13654 # linking a shared library.
13656 # There doesn't appear to be a way to prevent this compiler from
13657 # explicitly linking system object files so we need to strip them
13658 # from the output so that they don't get included in the library
13660 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'
13662 xl
* | mpixl
* | bgxl
*)
13663 # IBM XL 8.0 on PPC, with GNU ld
13664 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13665 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13666 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13667 if test "x$supports_anon_versioning" = xyes
; then
13668 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13669 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13670 echo "local: *; };" >> $output_objdir/$libname.ver~
13671 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13675 case `$CC -V 2>&1 | sed 5q` in
13678 no_undefined_flag_CXX
=' -zdefs'
13679 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13680 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'
13681 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13682 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'
13683 compiler_needs_object_CXX
=yes
13685 # Not sure whether something based on
13686 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13688 output_verbose_link_cmd
='func_echo_all'
13690 # Archives containing C++ object files must be created using
13691 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13692 # necessary to make sure instantiated templates are included
13694 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13702 # FIXME: insert proper C++ library support
13707 # FIXME: insert proper C++ library support
13712 case $cc_basename in
13714 # FIXME: insert proper C++ library support
13718 # FIXME: insert proper C++ library support
13725 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13726 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13728 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13729 hardcode_direct_CXX
=yes
13730 hardcode_shlibpath_var_CXX
=no
13732 # Workaround some broken pre-1.5 toolchains
13733 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13741 # C++ shared libraries are fairly broken
13746 if test -f /usr
/libexec
/ld.so
; then
13747 hardcode_direct_CXX
=yes
13748 hardcode_shlibpath_var_CXX
=no
13749 hardcode_direct_absolute_CXX
=yes
13750 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13751 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13752 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13753 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13754 export_dynamic_flag_spec_CXX
='${wl}-E'
13755 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13757 output_verbose_link_cmd
=func_echo_all
13763 osf3
* | osf4
* | osf5
*)
13764 case $cc_basename in
13766 # Kuck and Associates, Inc. (KAI) C++ Compiler
13768 # KCC will only create a shared library if the output file
13769 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13770 # to its proper name (with version) after linking.
13771 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'
13773 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13774 hardcode_libdir_separator_CXX
=:
13776 # Archives containing C++ object files must be created using
13777 # the KAI C++ compiler.
13779 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13780 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13784 # Rational C++ 2.4.1
13785 # FIXME: insert proper C++ library support
13791 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13792 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'
13793 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13796 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13797 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'
13798 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13799 echo "-hidden">> $lib.exp~
13800 $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~
13802 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13806 hardcode_libdir_separator_CXX
=:
13808 # Commands to make compiler produce verbose output that lists
13809 # what "hidden" libraries, object files and flags are used when
13810 # linking a shared library.
13812 # There doesn't appear to be a way to prevent this compiler from
13813 # explicitly linking system object files so we need to strip them
13814 # from the output so that they don't get included in the library
13816 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"'
13819 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13820 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13823 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'
13826 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'
13830 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13831 hardcode_libdir_separator_CXX
=:
13833 # Commands to make compiler produce verbose output that lists
13834 # what "hidden" libraries, object files and flags are used when
13835 # linking a shared library.
13836 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13839 # FIXME: insert proper C++ library support
13847 # FIXME: insert proper C++ library support
13852 case $cc_basename in
13855 # FIXME: insert proper C++ library support
13860 # FIXME: insert proper C++ library support
13864 # FIXME: insert proper C++ library support
13871 case $cc_basename in
13873 # Sun C++ 4.2, 5.x and Centerline C++
13874 archive_cmds_need_lc_CXX
=yes
13875 no_undefined_flag_CXX
=' -zdefs'
13876 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13877 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13878 $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'
13880 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13881 hardcode_shlibpath_var_CXX
=no
13883 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13885 # The compiler driver will combine and reorder linker options,
13886 # but understands `-z linker_flag'.
13887 # Supported since Solaris 2.6 (maybe 2.5.1?)
13888 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13891 link_all_deplibs_CXX
=yes
13893 output_verbose_link_cmd
='func_echo_all'
13895 # Archives containing C++ object files must be created using
13896 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13897 # necessary to make sure instantiated templates are included
13899 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13902 # Green Hills C++ Compiler
13903 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13905 # The C++ compiler must be used to create the archive.
13906 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13909 # GNU C++ compiler with Solaris linker
13910 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13911 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13912 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13913 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13914 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13915 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13917 # Commands to make compiler produce verbose output that lists
13918 # what "hidden" libraries, object files and flags are used when
13919 # linking a shared library.
13920 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13922 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13924 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13925 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13926 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13928 # Commands to make compiler produce verbose output that lists
13929 # what "hidden" libraries, object files and flags are used when
13930 # linking a shared library.
13931 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13934 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13936 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13938 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13946 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13947 no_undefined_flag_CXX
='${wl}-z,text'
13948 archive_cmds_need_lc_CXX
=no
13949 hardcode_shlibpath_var_CXX
=no
13950 runpath_var
='LD_RUN_PATH'
13952 case $cc_basename in
13954 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13955 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13958 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13959 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13964 sysv5
* | sco3.2v5
* | sco5v6
*)
13965 # Note: We can NOT use -z defs as we might desire, because we do not
13966 # link with -lc, and that would cause any symbols used from libc to
13967 # always be unresolved, which means just about no library would
13968 # ever link correctly. If we're not using GNU ld we use -z text
13969 # though, which does catch some bad symbols but isn't as heavy-handed
13971 no_undefined_flag_CXX
='${wl}-z,text'
13972 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13973 archive_cmds_need_lc_CXX
=no
13974 hardcode_shlibpath_var_CXX
=no
13975 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13976 hardcode_libdir_separator_CXX
=':'
13977 link_all_deplibs_CXX
=yes
13978 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13979 runpath_var
='LD_RUN_PATH'
13981 case $cc_basename in
13983 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13984 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13985 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13986 '"$old_archive_cmds_CXX"
13987 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13988 '"$reload_cmds_CXX"
13991 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13992 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13998 case $cc_basename in
14000 # NonStop-UX NCC 3.20
14001 # FIXME: insert proper C++ library support
14005 # FIXME: insert proper C++ library support
14012 # FIXME: insert proper C++ library support
14017 # FIXME: insert proper C++ library support
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14023 $as_echo "$ld_shlibs_CXX" >&6; }
14024 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14030 ## There is no encapsulation within the following macros, do not change
14031 ## the running order or otherwise move them around unless you know exactly
14032 ## what you are doing...
14033 # Dependencies to place before and after the object being linked:
14034 predep_objects_CXX
=
14035 postdep_objects_CXX
=
14038 compiler_lib_search_path_CXX
=
14040 cat > conftest.
$ac_ext <<_LT_EOF
14044 Foo (void) { a = 0; }
14051 _lt_libdeps_save_CFLAGS
=$CFLAGS
14052 case "$CC $CFLAGS " in #(
14053 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14054 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14055 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14059 (eval $ac_compile) 2>&5
14061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14062 test $ac_status = 0; }; then
14063 # Parse the compiler output and extract the necessary
14064 # objects, libraries and library flags.
14066 # Sentinel used to keep track of whether or not we are before
14067 # the conftest object file.
14068 pre_test_object_deps_done
=no
14070 for p
in `eval "$output_verbose_link_cmd"`; do
14071 case ${prev}${p} in
14074 # Some compilers place space between "-{L,R}" and the path.
14075 # Remove the space.
14076 if test $p = "-L" ||
14077 test $p = "-R"; then
14082 # Expand the sysroot to ease extracting the directories later.
14083 if test -z "$prev"; then
14085 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14086 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14087 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14091 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14093 if test "$pre_test_object_deps_done" = no
; then
14096 # Internal compiler library paths should come after those
14097 # provided the user. The postdeps already come after the
14098 # user supplied libs so there is no need to process them.
14099 if test -z "$compiler_lib_search_path_CXX"; then
14100 compiler_lib_search_path_CXX
="${prev}${p}"
14102 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14105 # The "-l" case would never come before the object being
14106 # linked, so don't bother handling this case.
14109 if test -z "$postdeps_CXX"; then
14110 postdeps_CXX
="${prev}${p}"
14112 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14118 *.lto.
$objext) ;; # Ignore GCC LTO objects
14120 # This assumes that the test object file only shows up
14121 # once in the compiler output.
14122 if test "$p" = "conftest.$objext"; then
14123 pre_test_object_deps_done
=yes
14127 if test "$pre_test_object_deps_done" = no
; then
14128 if test -z "$predep_objects_CXX"; then
14129 predep_objects_CXX
="$p"
14131 predep_objects_CXX
="$predep_objects_CXX $p"
14134 if test -z "$postdep_objects_CXX"; then
14135 postdep_objects_CXX
="$p"
14137 postdep_objects_CXX
="$postdep_objects_CXX $p"
14142 *) ;; # Ignore the rest.
14150 echo "libtool.m4: error: problem compiling CXX test program"
14153 $RM -f confest.
$objext
14154 CFLAGS
=$_lt_libdeps_save_CFLAGS
14156 # PORTME: override above test on systems where it is broken
14159 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14160 # hack all around it, let's just trust "g++" to DTRT.
14161 predep_objects_CXX
=
14162 postdep_objects_CXX
=
14167 case `$CC -V 2>&1 | sed 5q` in
14171 # The more standards-conforming stlport4 library is
14172 # incompatible with the Cstd library. Avoid specifying
14173 # it if it's in CXXFLAGS. Ignore libCrun as
14174 # -library=stlport4 depends on it.
14175 case " $CXX $CXXFLAGS " in
14176 *" -library=stlport4 "*)
14177 solaris_use_stlport4
=yes
14181 if test "$solaris_use_stlport4" != yes; then
14182 postdeps_CXX
='-library=Cstd -library=Crun'
14189 case $cc_basename in
14191 # The more standards-conforming stlport4 library is
14192 # incompatible with the Cstd library. Avoid specifying
14193 # it if it's in CXXFLAGS. Ignore libCrun as
14194 # -library=stlport4 depends on it.
14195 case " $CXX $CXXFLAGS " in
14196 *" -library=stlport4 "*)
14197 solaris_use_stlport4
=yes
14201 # Adding this requires a known-good setup of shared libraries for
14202 # Sun compiler versions before 5.6, else PIC objects from an old
14203 # archive will be linked into the output, leading to subtle bugs.
14204 if test "$solaris_use_stlport4" != yes; then
14205 postdeps_CXX
='-library=Cstd -library=Crun'
14213 case " $postdeps_CXX " in
14214 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14216 compiler_lib_search_dirs_CXX
=
14217 if test -n "${compiler_lib_search_path_CXX}"; then
14218 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14251 lt_prog_compiler_wl_CXX
=
14252 lt_prog_compiler_pic_CXX
=
14253 lt_prog_compiler_static_CXX
=
14256 # C++ specific cases for pic, static, wl, etc.
14257 if test "$GXX" = yes; then
14258 lt_prog_compiler_wl_CXX
='-Wl,'
14259 lt_prog_compiler_static_CXX
='-static'
14263 # All AIX code is PIC.
14264 if test "$host_cpu" = ia64
; then
14265 # AIX 5 now supports IA64 processor
14266 lt_prog_compiler_static_CXX
='-Bstatic'
14273 # see comment about AmigaOS4 .so support
14274 lt_prog_compiler_pic_CXX
='-fPIC'
14277 # FIXME: we need at least 68020 code to build shared libraries, but
14278 # adding the `-m68020' flag to GCC prevents building anything better,
14280 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14285 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14286 # PIC is the default for these OSes.
14288 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14289 # This hack is so that the source file can tell whether it is being
14290 # built for inclusion in a dll (and should export symbols for example).
14291 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14292 # (--disable-auto-import) libraries
14293 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14295 darwin
* | rhapsody
*)
14296 # PIC is the default on this platform
14297 # Common symbols not allowed in MH_DYLIB files
14298 lt_prog_compiler_pic_CXX
='-fno-common'
14301 # DJGPP does not support shared libraries at all
14302 lt_prog_compiler_pic_CXX
=
14305 # PIC is the default for Haiku.
14306 # The "-static" flag exists, but is broken.
14307 lt_prog_compiler_static_CXX
=
14310 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14311 # Instead, we relocate shared libraries at runtime.
14314 if test -d /usr
/nec
; then
14315 lt_prog_compiler_pic_CXX
=-Kconform_pic
14319 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14320 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14321 # sets the default TLS model and affects inlining.
14326 lt_prog_compiler_pic_CXX
='-fPIC'
14331 # QNX uses GNU C++, but need to define -shared option too, otherwise
14332 # it will coredump.
14333 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14336 lt_prog_compiler_pic_CXX
='-fPIC'
14342 # All AIX code is PIC.
14343 if test "$host_cpu" = ia64
; then
14344 # AIX 5 now supports IA64 processor
14345 lt_prog_compiler_static_CXX
='-Bstatic'
14347 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14351 case $cc_basename in
14353 # Green Hills C++ Compiler
14354 # _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"
14358 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14359 # This hack is so that the source file can tell whether it is being
14360 # built for inclusion in a dll (and should export symbols for example).
14361 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14364 case $cc_basename in
14366 lt_prog_compiler_pic_CXX
='-KPIC'
14369 # Green Hills C++ Compiler
14370 lt_prog_compiler_pic_CXX
='-pic'
14376 freebsd
* | dragonfly
*)
14377 # FreeBSD uses GNU C++
14379 hpux9
* | hpux10
* | hpux11
*)
14380 case $cc_basename in
14382 lt_prog_compiler_wl_CXX
='-Wl,'
14383 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14384 if test "$host_cpu" != ia64
; then
14385 lt_prog_compiler_pic_CXX
='+Z'
14389 lt_prog_compiler_wl_CXX
='-Wl,'
14390 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14396 lt_prog_compiler_pic_CXX
='+Z'
14405 # This is c89, which is MS Visual C++ (no shared libs)
14406 # Anyone wants to do a port?
14408 irix5
* | irix6
* | nonstopux
*)
14409 case $cc_basename in
14411 lt_prog_compiler_wl_CXX
='-Wl,'
14412 lt_prog_compiler_static_CXX
='-non_shared'
14413 # CC pic flag -KPIC is the default.
14419 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14420 case $cc_basename in
14423 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14424 lt_prog_compiler_pic_CXX
='-fPIC'
14427 # old Intel C++ for x86_64 which still supported -KPIC.
14428 lt_prog_compiler_wl_CXX
='-Wl,'
14429 lt_prog_compiler_pic_CXX
='-KPIC'
14430 lt_prog_compiler_static_CXX
='-static'
14433 # Intel C++, used to be incompatible with GCC.
14434 # ICC 10 doesn't accept -KPIC any more.
14435 lt_prog_compiler_wl_CXX
='-Wl,'
14436 lt_prog_compiler_pic_CXX
='-fPIC'
14437 lt_prog_compiler_static_CXX
='-static'
14440 # Portland Group C++ compiler
14441 lt_prog_compiler_wl_CXX
='-Wl,'
14442 lt_prog_compiler_pic_CXX
='-fpic'
14443 lt_prog_compiler_static_CXX
='-Bstatic'
14447 # Make sure the PIC flag is empty. It appears that all Alpha
14448 # Linux and Compaq Tru64 Unix objects are PIC.
14449 lt_prog_compiler_pic_CXX
=
14450 lt_prog_compiler_static_CXX
='-non_shared'
14452 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14453 # IBM XL 8.0, 9.0 on PPC and BlueGene
14454 lt_prog_compiler_wl_CXX
='-Wl,'
14455 lt_prog_compiler_pic_CXX
='-qpic'
14456 lt_prog_compiler_static_CXX
='-qstaticlink'
14459 case `$CC -V 2>&1 | sed 5q` in
14462 lt_prog_compiler_pic_CXX
='-KPIC'
14463 lt_prog_compiler_static_CXX
='-Bstatic'
14464 lt_prog_compiler_wl_CXX
='-Qoption ld '
14475 case $cc_basename in
14477 lt_prog_compiler_pic_CXX
='-W c,exportall'
14486 # QNX uses GNU C++, but need to define -shared option too, otherwise
14487 # it will coredump.
14488 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14490 osf3
* | osf4
* | osf5
*)
14491 case $cc_basename in
14493 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14496 # Rational C++ 2.4.1
14497 lt_prog_compiler_pic_CXX
='-pic'
14500 # Digital/Compaq C++
14501 lt_prog_compiler_wl_CXX
='-Wl,'
14502 # Make sure the PIC flag is empty. It appears that all Alpha
14503 # Linux and Compaq Tru64 Unix objects are PIC.
14504 lt_prog_compiler_pic_CXX
=
14505 lt_prog_compiler_static_CXX
='-non_shared'
14514 case $cc_basename in
14516 # Sun C++ 4.2, 5.x and Centerline C++
14517 lt_prog_compiler_pic_CXX
='-KPIC'
14518 lt_prog_compiler_static_CXX
='-Bstatic'
14519 lt_prog_compiler_wl_CXX
='-Qoption ld '
14522 # Green Hills C++ Compiler
14523 lt_prog_compiler_pic_CXX
='-PIC'
14530 case $cc_basename in
14533 lt_prog_compiler_pic_CXX
='-pic'
14534 lt_prog_compiler_static_CXX
='-Bstatic'
14538 lt_prog_compiler_pic_CXX
='-pic'
14544 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14545 case $cc_basename in
14547 lt_prog_compiler_wl_CXX
='-Wl,'
14548 lt_prog_compiler_pic_CXX
='-KPIC'
14549 lt_prog_compiler_static_CXX
='-Bstatic'
14554 case $cc_basename in
14556 # NonStop-UX NCC 3.20
14557 lt_prog_compiler_pic_CXX
='-KPIC'
14566 lt_prog_compiler_can_build_shared_CXX
=no
14572 # For platforms which do not support PIC, -DPIC is meaningless:
14574 lt_prog_compiler_pic_CXX
=
14577 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14582 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14583 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14584 $as_echo_n "(cached) " >&6
14586 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14589 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14590 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14593 # Check to make sure the PIC flag actually works.
14595 if test -n "$lt_prog_compiler_pic_CXX"; then
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14597 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14598 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14599 $as_echo_n "(cached) " >&6
14601 lt_cv_prog_compiler_pic_works_CXX
=no
14602 ac_outfile
=conftest.
$ac_objext
14603 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14604 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14605 # Insert the option either (1) after the last *FLAGS variable, or
14606 # (2) before a word containing "conftest.", or (3) at the end.
14607 # Note that $ac_compile itself does not contain backslashes and begins
14608 # with a dollar sign (not a hyphen), so the echo should work correctly.
14609 # The option is referenced via a variable to avoid confusing sed.
14610 lt_compile
=`echo "$ac_compile" | $SED \
14611 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14612 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14613 -e 's:$: $lt_compiler_flag:'`
14614 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14615 (eval "$lt_compile" 2>conftest.err
)
14617 cat conftest.err
>&5
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 if (exit $ac_status) && test -s "$ac_outfile"; then
14620 # The compiler can only warn and ignore the option if not recognized
14621 # So say no if there are warnings other than the usual output.
14622 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14623 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14624 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14625 lt_cv_prog_compiler_pic_works_CXX
=yes
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14632 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14634 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14635 case $lt_prog_compiler_pic_CXX in
14637 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14640 lt_prog_compiler_pic_CXX
=
14641 lt_prog_compiler_can_build_shared_CXX
=no
14651 # Check to make sure the static flag actually works.
14653 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14655 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14656 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14657 $as_echo_n "(cached) " >&6
14659 lt_cv_prog_compiler_static_works_CXX
=no
14660 save_LDFLAGS
="$LDFLAGS"
14661 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14662 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14663 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14664 # The linker can only warn and ignore the option if not recognized
14665 # So say no if there are warnings
14666 if test -s conftest.err
; then
14667 # Append any errors to the config.log.
14668 cat conftest.err
1>&5
14669 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14670 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14671 if diff conftest.exp conftest.er2
>/dev
/null
; then
14672 lt_cv_prog_compiler_static_works_CXX
=yes
14675 lt_cv_prog_compiler_static_works_CXX
=yes
14679 LDFLAGS
="$save_LDFLAGS"
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14683 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14685 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14688 lt_prog_compiler_static_CXX
=
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14695 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14696 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14697 $as_echo_n "(cached) " >&6
14699 lt_cv_prog_compiler_c_o_CXX
=no
14700 $RM -r conftest
2>/dev
/null
14704 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14706 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14707 # Insert the option either (1) after the last *FLAGS variable, or
14708 # (2) before a word containing "conftest.", or (3) at the end.
14709 # Note that $ac_compile itself does not contain backslashes and begins
14710 # with a dollar sign (not a hyphen), so the echo should work correctly.
14711 lt_compile
=`echo "$ac_compile" | $SED \
14712 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14713 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14714 -e 's:$: $lt_compiler_flag:'`
14715 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14716 (eval "$lt_compile" 2>out
/conftest.err
)
14718 cat out
/conftest.err
>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14722 # The compiler can only warn and ignore the option if not recognized
14723 # So say no if there are warnings
14724 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14725 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14726 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14727 lt_cv_prog_compiler_c_o_CXX
=yes
14732 # SGI C++ compiler will create directory out/ii_files/ for
14733 # template instantiation
14734 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14735 $RM out
/* && rmdir out
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14742 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14747 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14748 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14749 $as_echo_n "(cached) " >&6
14751 lt_cv_prog_compiler_c_o_CXX
=no
14752 $RM -r conftest
2>/dev
/null
14756 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14758 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14759 # Insert the option either (1) after the last *FLAGS variable, or
14760 # (2) before a word containing "conftest.", or (3) at the end.
14761 # Note that $ac_compile itself does not contain backslashes and begins
14762 # with a dollar sign (not a hyphen), so the echo should work correctly.
14763 lt_compile
=`echo "$ac_compile" | $SED \
14764 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14766 -e 's:$: $lt_compiler_flag:'`
14767 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14768 (eval "$lt_compile" 2>out
/conftest.err
)
14770 cat out
/conftest.err
>&5
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14774 # The compiler can only warn and ignore the option if not recognized
14775 # So say no if there are warnings
14776 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14777 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14778 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14779 lt_cv_prog_compiler_c_o_CXX
=yes
14784 # SGI C++ compiler will create directory out/ii_files/ for
14785 # template instantiation
14786 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14787 $RM out
/* && rmdir out
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14794 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14799 hard_links
="nottested"
14800 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14801 # do not overwrite the value of need_locks provided by the user
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14803 $as_echo_n "checking if we can lock with hard links... " >&6; }
14806 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14808 ln conftest.a conftest.b
2>&5 || hard_links
=no
14809 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14811 $as_echo "$hard_links" >&6; }
14812 if test "$hard_links" = no
; then
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14814 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14824 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14826 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14827 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14830 # If we're using GNU nm, then we don't want the "-C" option.
14831 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14832 # Also, AIX nm treats weak defined symbols like other global defined
14833 # symbols, whereas GNU nm marks them as "W".
14834 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14835 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'
14837 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'
14841 export_symbols_cmds_CXX
="$ltdll_cmds"
14843 cygwin
* | mingw
* | cegcc
*)
14844 case $cc_basename in
14846 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14849 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'
14850 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14855 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14860 $as_echo "$ld_shlibs_CXX" >&6; }
14861 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14863 with_gnu_ld_CXX
=$with_gnu_ld
14871 # Do we need to explicitly link libc?
14873 case "x$archive_cmds_need_lc_CXX" in
14875 # Assume -lc should be added
14876 archive_cmds_need_lc_CXX
=yes
14878 if test "$enable_shared" = yes && test "$GCC" = yes; then
14879 case $archive_cmds_CXX in
14881 # FIXME: we may have to deal with multi-command sequences.
14884 # Test whether the compiler implicitly links with -lc since on some
14885 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14886 # to ld, don't add -lc before -lgcc.
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14888 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14889 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14890 $as_echo_n "(cached) " >&6
14893 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14896 (eval $ac_compile) 2>&5
14898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14899 test $ac_status = 0; } 2>conftest.err
; then
14902 libobjs
=conftest.
$ac_objext
14904 wl
=$lt_prog_compiler_wl_CXX
14905 pic_flag
=$lt_prog_compiler_pic_CXX
14911 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14912 allow_undefined_flag_CXX
=
14913 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14914 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14917 test $ac_status = 0; }
14919 lt_cv_archive_cmds_need_lc_CXX
=no
14921 lt_cv_archive_cmds_need_lc_CXX
=yes
14923 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14925 cat conftest.err
1>&5
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14931 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14932 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15001 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15003 library_names_spec
=
15004 libname_spec
='lib$name'
15008 postuninstall_cmds
=
15012 shlibpath_overrides_runpath
=unknown
15014 dynamic_linker
="$host_os ld.so"
15015 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15016 need_lib_prefix
=unknown
15017 hardcode_into_libs
=no
15019 # when you set need_version to no, make sure it does not cause -set_version
15020 # flags to be left without arguments
15021 need_version
=unknown
15025 version_type
=linux
# correct to gnu/linux during the next big refactor
15026 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15027 shlibpath_var
=LIBPATH
15029 # AIX 3 has no versioning support, so we append a major version to the name.
15030 soname_spec
='${libname}${release}${shared_ext}$major'
15034 version_type
=linux
# correct to gnu/linux during the next big refactor
15037 hardcode_into_libs
=yes
15038 if test "$host_cpu" = ia64
; then
15039 # AIX 5 supports IA64
15040 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15041 shlibpath_var
=LD_LIBRARY_PATH
15043 # With GCC up to 2.95.x, collect2 would create an import file
15044 # for dependence libraries. The import file would start with
15045 # the line `#! .'. This would cause the generated library to
15046 # depend on `.', always an invalid library. This was fixed in
15047 # development snapshots of GCC prior to 3.0.
15049 aix4
| aix4.
[01] | aix4.
[01].
*)
15050 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15052 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15055 can_build_shared
=no
15059 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15060 # soname into executable. Probably we can add versioning support to
15061 # collect2, so additional links can be useful in future.
15062 if test "$aix_use_runtimelinking" = yes; then
15063 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15064 # instead of lib<name>.a to let people know that these are not
15065 # typical AIX shared libraries.
15066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15068 # We preserve .a as extension for shared libraries through AIX4.2
15069 # and later when we are not doing run time linking.
15070 library_names_spec
='${libname}${release}.a $libname.a'
15071 soname_spec
='${libname}${release}${shared_ext}$major'
15073 shlibpath_var
=LIBPATH
15080 # Since July 2007 AmigaOS4 officially supports .so libraries.
15081 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15085 library_names_spec
='$libname.ixlibrary $libname.a'
15086 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15087 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'
15093 library_names_spec
='${libname}${shared_ext}'
15094 dynamic_linker
="$host_os ld.so"
15095 shlibpath_var
=LIBRARY_PATH
15099 version_type
=linux
# correct to gnu/linux during the next big refactor
15101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15102 soname_spec
='${libname}${release}${shared_ext}$major'
15103 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15104 shlibpath_var
=LD_LIBRARY_PATH
15105 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15106 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15107 # the default ld.so.conf also contains /usr/contrib/lib and
15108 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15109 # libtool to hard-code these into programs
15112 cygwin
* | mingw
* | pw32
* | cegcc
*)
15113 version_type
=windows
15118 case $GCC,$cc_basename in
15121 library_names_spec
='$libname.dll.a'
15122 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15123 postinstall_cmds
='base_file=`basename \${file}`~
15124 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15125 dldir=$destdir/`dirname \$dlpath`~
15126 test -d \$dldir || mkdir -p \$dldir~
15127 $install_prog $dir/$dlname \$dldir/$dlname~
15128 chmod a+x \$dldir/$dlname~
15129 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15130 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15132 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15133 dlpath=$dir/\$dldll~
15135 shlibpath_overrides_runpath
=yes
15139 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15140 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15144 # MinGW DLLs use traditional 'lib' prefix
15145 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15148 # pw32 DLLs use 'pw' prefix rather than 'lib'
15149 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15152 dynamic_linker
='Win32 ld.exe'
15157 libname_spec
='$name'
15158 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15159 library_names_spec
='${libname}.dll.lib'
15163 sys_lib_search_path_spec
=
15166 for lt_path
in $LIB
15169 # Let DOS variable expansion print the short 8.3 style file name.
15170 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15171 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15174 # Convert to MSYS style.
15175 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15178 # Convert to unix form, then to dos form, then back to unix form
15179 # but this time dos style (no spaces!) so that the unix form looks
15180 # like /cygdrive/c/PROGRA~1:/cygdr...
15181 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15182 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15183 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15186 sys_lib_search_path_spec
="$LIB"
15187 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15188 # It is most probably a Windows format PATH.
15189 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15191 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15193 # FIXME: find the short name or the path components, as spaces are
15194 # common. (e.g. "Program Files" -> "PROGRA~1")
15198 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15199 postinstall_cmds
='base_file=`basename \${file}`~
15200 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15201 dldir=$destdir/`dirname \$dlpath`~
15202 test -d \$dldir || mkdir -p \$dldir~
15203 $install_prog $dir/$dlname \$dldir/$dlname'
15204 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15205 dlpath=$dir/\$dldll~
15207 shlibpath_overrides_runpath
=yes
15208 dynamic_linker
='Win32 link.exe'
15212 # Assume MSVC wrapper
15213 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15214 dynamic_linker
='Win32 ld.exe'
15217 # FIXME: first we should search . and the directory the executable is in
15221 darwin
* | rhapsody
*)
15222 dynamic_linker
="$host_os dyld"
15223 version_type
=darwin
15226 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15227 soname_spec
='${libname}${release}${major}$shared_ext'
15228 shlibpath_overrides_runpath
=yes
15229 shlibpath_var
=DYLD_LIBRARY_PATH
15230 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15232 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15236 version_type
=linux
# correct to gnu/linux during the next big refactor
15239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15240 soname_spec
='${libname}${release}${shared_ext}$major'
15241 shlibpath_var
=LD_LIBRARY_PATH
15244 freebsd
* | dragonfly
*)
15245 # DragonFly does not have aout. When/if they implement a new
15246 # versioning mechanism, adjust this.
15247 if test -x /usr
/bin
/objformat
; then
15248 objformat
=`/usr/bin/objformat`
15251 freebsd
[23].
*) objformat
=aout
;;
15252 *) objformat
=elf
;;
15255 version_type
=freebsd
-$objformat
15256 case $version_type in
15258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15263 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15267 shlibpath_var
=LD_LIBRARY_PATH
15270 shlibpath_overrides_runpath
=yes
15272 freebsd3.
[01]* | freebsdelf3.
[01]*)
15273 shlibpath_overrides_runpath
=yes
15274 hardcode_into_libs
=yes
15276 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15277 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15278 shlibpath_overrides_runpath
=no
15279 hardcode_into_libs
=yes
15281 *) # from 4.6 on, and DragonFly
15282 shlibpath_overrides_runpath
=yes
15283 hardcode_into_libs
=yes
15289 version_type
=linux
# correct to gnu/linux during the next big refactor
15292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15293 soname_spec
='${libname}${release}${shared_ext}$major'
15294 shlibpath_var
=LD_LIBRARY_PATH
15295 shlibpath_overrides_runpath
=no
15296 hardcode_into_libs
=yes
15300 version_type
=linux
# correct to gnu/linux during the next big refactor
15303 dynamic_linker
="$host_os runtime_loader"
15304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15305 soname_spec
='${libname}${release}${shared_ext}$major'
15306 shlibpath_var
=LIBRARY_PATH
15307 shlibpath_overrides_runpath
=yes
15308 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15309 hardcode_into_libs
=yes
15312 hpux9
* | hpux10
* | hpux11
*)
15313 # Give a soname corresponding to the major version so that dld.sl refuses to
15314 # link against other versions.
15321 hardcode_into_libs
=yes
15322 dynamic_linker
="$host_os dld.so"
15323 shlibpath_var
=LD_LIBRARY_PATH
15324 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15326 soname_spec
='${libname}${release}${shared_ext}$major'
15327 if test "X$HPUX_IA64_MODE" = X32
; then
15328 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15330 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15332 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15336 hardcode_into_libs
=yes
15337 dynamic_linker
="$host_os dld.sl"
15338 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15339 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15341 soname_spec
='${libname}${release}${shared_ext}$major'
15342 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15343 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15347 dynamic_linker
="$host_os dld.sl"
15348 shlibpath_var
=SHLIB_PATH
15349 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15351 soname_spec
='${libname}${release}${shared_ext}$major'
15354 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15355 postinstall_cmds
='chmod 555 $lib'
15356 # or fails outright, so override atomically:
15357 install_override_mode
=555
15361 version_type
=linux
# correct to gnu/linux during the next big refactor
15364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15365 soname_spec
='${libname}${release}${shared_ext}$major'
15366 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15367 shlibpath_var
=LD_LIBRARY_PATH
15368 shlibpath_overrides_runpath
=no
15369 hardcode_into_libs
=yes
15372 irix5
* | irix6
* | nonstopux
*)
15374 nonstopux
*) version_type
=nonstopux
;;
15376 if test "$lt_cv_prog_gnu_ld" = yes; then
15377 version_type
=linux
# correct to gnu/linux during the next big refactor
15384 soname_spec
='${libname}${release}${shared_ext}$major'
15385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15387 irix5
* | nonstopux
*)
15388 libsuff
= shlibsuff
=
15391 case $LD in # libtool.m4 will add one of these switches to LD
15392 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15393 libsuff
= shlibsuff
= libmagic
=32-bit;;
15394 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15395 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15396 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15397 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15398 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15402 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15403 shlibpath_overrides_runpath
=no
15404 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15405 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15406 hardcode_into_libs
=yes
15409 # No shared lib support for Linux oldld, aout, or coff.
15410 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15414 # This must be glibc/ELF.
15415 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15416 version_type
=linux
# correct to gnu/linux during the next big refactor
15419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15420 soname_spec
='${libname}${release}${shared_ext}$major'
15421 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15422 shlibpath_var
=LD_LIBRARY_PATH
15423 shlibpath_overrides_runpath
=no
15425 # Some binutils ld are patched to set DT_RUNPATH
15426 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15427 $as_echo_n "(cached) " >&6
15429 lt_cv_shlibpath_overrides_runpath
=no
15430 save_LDFLAGS
=$LDFLAGS
15431 save_libdir
=$libdir
15432 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15433 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15445 if ac_fn_cxx_try_link
"$LINENO"; then :
15446 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15447 lt_cv_shlibpath_overrides_runpath
=yes
15450 rm -f core conftest.err conftest.
$ac_objext \
15451 conftest
$ac_exeext conftest.
$ac_ext
15452 LDFLAGS
=$save_LDFLAGS
15453 libdir
=$save_libdir
15457 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15459 # This implies no fast_install, which is unacceptable.
15460 # Some rework will be needed to allow for fast_install
15461 # before this can be enabled.
15462 hardcode_into_libs
=yes
15464 # Append ld.so.conf contents to the search path
15465 if test -f /etc
/ld.so.conf
; then
15466 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' ' '`
15467 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15470 # We used to test for /lib/ld.so.1 and disable shared libraries on
15471 # powerpc, because MkLinux only supported shared libraries with the
15472 # GNU dynamic linker. Since this was broken with cross compilers,
15473 # most powerpc-linux boxes support dynamic linking these days and
15474 # people can always --disable-shared, the test was removed, and we
15475 # assume the GNU/Linux dynamic linker is in use.
15476 dynamic_linker
='GNU/Linux ld.so'
15483 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15485 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15486 dynamic_linker
='NetBSD (a.out) ld.so'
15488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15489 soname_spec
='${libname}${release}${shared_ext}$major'
15490 dynamic_linker
='NetBSD ld.elf_so'
15492 shlibpath_var
=LD_LIBRARY_PATH
15493 shlibpath_overrides_runpath
=yes
15494 hardcode_into_libs
=yes
15498 version_type
=linux
# correct to gnu/linux during the next big refactor
15499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15500 shlibpath_var
=LD_LIBRARY_PATH
15501 shlibpath_overrides_runpath
=yes
15508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15509 soname_spec
='${libname}${release}${shared_ext}$major'
15510 shlibpath_var
=LD_LIBRARY_PATH
15511 shlibpath_overrides_runpath
=no
15512 hardcode_into_libs
=yes
15513 dynamic_linker
='ldqnx.so'
15518 sys_lib_dlsearch_path_spec
="/usr/lib"
15520 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15522 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15523 *) need_version
=no
;;
15525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15526 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15527 shlibpath_var
=LD_LIBRARY_PATH
15528 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15530 openbsd2.
[89] | openbsd2.
[89].
*)
15531 shlibpath_overrides_runpath
=no
15534 shlibpath_overrides_runpath
=yes
15538 shlibpath_overrides_runpath
=yes
15543 libname_spec
='$name'
15546 library_names_spec
='$libname${shared_ext} $libname.a'
15547 dynamic_linker
='OS/2 ld.exe'
15548 shlibpath_var
=LIBPATH
15551 osf3
* | osf4
* | osf5
*)
15555 soname_spec
='${libname}${release}${shared_ext}$major'
15556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15557 shlibpath_var
=LD_LIBRARY_PATH
15558 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15559 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15567 version_type
=linux
# correct to gnu/linux during the next big refactor
15570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15571 soname_spec
='${libname}${release}${shared_ext}$major'
15572 shlibpath_var
=LD_LIBRARY_PATH
15573 shlibpath_overrides_runpath
=yes
15574 hardcode_into_libs
=yes
15575 # ldd complains unless libraries are executable
15576 postinstall_cmds
='chmod +x $lib'
15581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15582 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15583 shlibpath_var
=LD_LIBRARY_PATH
15584 shlibpath_overrides_runpath
=yes
15585 if test "$with_gnu_ld" = yes; then
15592 version_type
=linux
# correct to gnu/linux during the next big refactor
15593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15594 soname_spec
='${libname}${release}${shared_ext}$major'
15595 shlibpath_var
=LD_LIBRARY_PATH
15596 case $host_vendor in
15598 shlibpath_overrides_runpath
=no
15600 runpath_var
=LD_RUN_PATH
15608 shlibpath_overrides_runpath
=no
15609 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15615 if test -d /usr
/nec
;then
15616 version_type
=linux
# correct to gnu/linux during the next big refactor
15617 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15618 soname_spec
='$libname${shared_ext}.$major'
15619 shlibpath_var
=LD_LIBRARY_PATH
15623 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15624 version_type
=freebsd
-elf
15627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15628 soname_spec
='${libname}${release}${shared_ext}$major'
15629 shlibpath_var
=LD_LIBRARY_PATH
15630 shlibpath_overrides_runpath
=yes
15631 hardcode_into_libs
=yes
15632 if test "$with_gnu_ld" = yes; then
15633 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15635 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15638 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15642 sys_lib_dlsearch_path_spec
='/usr/lib'
15646 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15647 version_type
=linux
# correct to gnu/linux during the next big refactor
15650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15651 shlibpath_var
=LD_LIBRARY_PATH
15652 shlibpath_overrides_runpath
=no
15653 hardcode_into_libs
=yes
15657 version_type
=linux
# correct to gnu/linux during the next big refactor
15658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15659 soname_spec
='${libname}${release}${shared_ext}$major'
15660 shlibpath_var
=LD_LIBRARY_PATH
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15668 $as_echo "$dynamic_linker" >&6; }
15669 test "$dynamic_linker" = no
&& can_build_shared
=no
15671 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15672 if test "$GCC" = yes; then
15673 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15676 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15677 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15679 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15680 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15721 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15722 hardcode_action_CXX
=
15723 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15724 test -n "$runpath_var_CXX" ||
15725 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15727 # We can hardcode non-existent directories.
15728 if test "$hardcode_direct_CXX" != no
&&
15729 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15730 # have to relink, otherwise we might link with an installed library
15731 # when we should be linking with a yet-to-be-installed one
15732 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15733 test "$hardcode_minus_L_CXX" != no
; then
15734 # Linking always hardcodes the temporary library directory.
15735 hardcode_action_CXX
=relink
15737 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15738 hardcode_action_CXX
=immediate
15741 # We cannot hardcode anything, or else we can only hardcode existing
15743 hardcode_action_CXX
=unsupported
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15746 $as_echo "$hardcode_action_CXX" >&6; }
15748 if test "$hardcode_action_CXX" = relink
||
15749 test "$inherit_rpath_CXX" = yes; then
15750 # Fast installation is not supported
15751 enable_fast_install
=no
15752 elif test "$shlibpath_overrides_runpath" = yes ||
15753 test "$enable_shared" = no
; then
15754 # Fast installation is not necessary
15755 enable_fast_install
=needless
15764 fi # test -n "$compiler"
15767 CFLAGS
=$lt_save_CFLAGS
15771 with_gnu_ld
=$lt_save_with_gnu_ld
15772 lt_cv_path_LDCXX
=$lt_cv_path_LD
15773 lt_cv_path_LD
=$lt_save_path_LD
15774 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15775 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15776 fi # test "$_lt_caught_CXX_error" != yes
15779 ac_cpp
='$CPP $CPPFLAGS'
15780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15798 ac_config_commands
="$ac_config_commands libtool"
15803 # Only expand once:
15808 ac_cpp
='$CXXCPP $CPPFLAGS'
15809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15820 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15821 if test -n "$ac_tool_prefix"; then
15822 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15823 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15825 $as_echo_n "checking for $ac_word... " >&6; }
15826 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15827 $as_echo_n "(cached) " >&6
15829 case $PKG_CONFIG in
15831 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15835 for as_dir
in $PATH
15838 test -z "$as_dir" && as_dir
=.
15839 for ac_exec_ext
in '' $ac_executable_extensions; do
15840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15841 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15852 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15853 if test -n "$PKG_CONFIG"; then
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15855 $as_echo "$PKG_CONFIG" >&6; }
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15858 $as_echo "no" >&6; }
15863 if test -z "$ac_cv_path_PKG_CONFIG"; then
15864 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15865 # Extract the first word of "pkg-config", so it can be a program name with args.
15866 set dummy pkg
-config; ac_word
=$2
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15868 $as_echo_n "checking for $ac_word... " >&6; }
15869 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15870 $as_echo_n "(cached) " >&6
15872 case $ac_pt_PKG_CONFIG in
15874 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15878 for as_dir
in $PATH
15881 test -z "$as_dir" && as_dir
=.
15882 for ac_exec_ext
in '' $ac_executable_extensions; do
15883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15884 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15895 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15896 if test -n "$ac_pt_PKG_CONFIG"; then
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15898 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15901 $as_echo "no" >&6; }
15904 if test "x$ac_pt_PKG_CONFIG" = x
; then
15907 case $cross_compiling:$ac_tool_warned in
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15911 ac_tool_warned
=yes ;;
15913 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15916 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15920 if test -n "$PKG_CONFIG"; then
15921 _pkg_min_version
=0.22
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15923 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15924 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15926 $as_echo "yes" >&6; }
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15929 $as_echo "no" >&6; }
15934 # Extract the first word of "git", so it can be a program name with args.
15935 set dummy git
; ac_word
=$2
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15937 $as_echo_n "checking for $ac_word... " >&6; }
15938 if ${ac_cv_path_GIT+:} false
; then :
15939 $as_echo_n "(cached) " >&6
15943 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
15946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15947 for as_dir
in $PATH
15950 test -z "$as_dir" && as_dir
=.
15951 for ac_exec_ext
in '' $ac_executable_extensions; do
15952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15953 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
15954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15964 GIT
=$ac_cv_path_GIT
15965 if test -n "$GIT"; then
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
15967 $as_echo "$GIT" >&6; }
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15970 $as_echo "no" >&6; }
15974 # Extract the first word of "time", so it can be a program name with args.
15975 set dummy
time; ac_word
=$2
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15977 $as_echo_n "checking for $ac_word... " >&6; }
15978 if ${ac_cv_path_TIME+:} false
; then :
15979 $as_echo_n "(cached) " >&6
15983 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
15986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15987 for as_dir
in $PATH
15990 test -z "$as_dir" && as_dir
=.
15991 for ac_exec_ext
in '' $ac_executable_extensions; do
15992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15993 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
15994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16004 TIME
=$ac_cv_path_TIME
16005 if test -n "$TIME"; then
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16007 $as_echo "$TIME" >&6; }
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16010 $as_echo "no" >&6; }
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16020 $as_echo_n "checking for bison >= 2.3... " >&6; }
16021 if test -z "$BISON"; then
16022 ac_path_BISON_found
=false
16023 # Loop through the user's path and test for each of PROGNAME-LIST
16024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16025 for as_dir
in $PATH
16028 test -z "$as_dir" && as_dir
=.
16029 for ac_prog
in bison
; do
16030 for ac_exec_ext
in '' $ac_executable_extensions; do
16031 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16032 as_fn_executable_p
"$ac_path_BISON" || continue
16033 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16034 if ${version:+false} :; then :
16037 as_awk_strverscmp
='
16038 # Use only awk features that work with 7th edition Unix awk (1978).
16039 # My, what an old awk you have, Mr. Solaris!
16041 while (length(v1) && length(v2)) {
16042 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16043 # Normally this is a single character, but if v1 and v2 contain digits,
16044 # compare them as integers and fractions as strverscmp does.
16045 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16046 # Split v1 and v2 into their leading digit string components d1 and d2,
16047 # and advance v1 and v2 past the leading digit strings.
16048 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16049 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16050 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16051 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16054 # Compare two fractions.
16055 while (d1 ~ /^0/ && d2 ~ /^0/) {
16056 d1 = substr(d1, 2); len1--
16057 d2 = substr(d2, 2); len2--
16059 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16060 # The two components differ in length, and the common prefix
16061 # contains only leading zeros. Consider the longer to be less.
16065 # Otherwise, compare as strings.
16070 # A fraction is less than an integer.
16075 # An integer is greater than a fraction.
16078 # Compare two integers.
16084 # The normal case, without worrying about digits.
16085 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16086 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16088 if (d1 < d2) exit 1
16089 if (d1 > d2) exit 2
16091 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16092 # which mishandles some comparisons of empty strings to integers.
16093 if (length(v2)) exit 1
16094 if (length(v1)) exit 2
16099 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16104 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16106 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16112 $ac_path_BISON_found && break 3
16117 if test -z "$ac_cv_path_BISON"; then
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16119 $as_echo "no" >&6; }
16122 ac_cv_path_BISON
=$BISON
16128 BISON
=$ac_cv_path_BISON
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16131 $as_echo "$BISON" >&6; }
16136 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16143 $as_echo "no" >&6; }
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16152 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16153 if test -z "$FLEX"; then
16154 ac_path_FLEX_found
=false
16155 # Loop through the user's path and test for each of PROGNAME-LIST
16156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16157 for as_dir
in $PATH
16160 test -z "$as_dir" && as_dir
=.
16161 for ac_prog
in flex
; do
16162 for ac_exec_ext
in '' $ac_executable_extensions; do
16163 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16164 as_fn_executable_p
"$ac_path_FLEX" || continue
16165 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16166 if ${version:+false} :; then :
16171 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16176 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16178 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16184 $ac_path_FLEX_found && break 3
16189 if test -z "$ac_cv_path_FLEX"; then
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16191 $as_echo "no" >&6; }
16194 ac_cv_path_FLEX
=$FLEX
16200 FLEX
=$ac_cv_path_FLEX
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16203 $as_echo "$FLEX" >&6; }
16208 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16215 $as_echo "no" >&6; }
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16224 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16225 if test -z "$GPERF"; then
16226 ac_path_GPERF_found
=false
16227 # Loop through the user's path and test for each of PROGNAME-LIST
16228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16229 for as_dir
in $PATH
16232 test -z "$as_dir" && as_dir
=.
16233 for ac_prog
in gperf
; do
16234 for ac_exec_ext
in '' $ac_executable_extensions; do
16235 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16236 as_fn_executable_p
"$ac_path_GPERF" || continue
16237 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16238 if ${version:+false} :; then :
16243 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16248 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16250 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16256 $ac_path_GPERF_found && break 3
16261 if test -z "$ac_cv_path_GPERF"; then
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16263 $as_echo "no" >&6; }
16266 ac_cv_path_GPERF
=$GPERF
16272 GPERF
=$ac_cv_path_GPERF
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16275 $as_echo "$GPERF" >&6; }
16280 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16287 $as_echo "no" >&6; }
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16296 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16297 if test -z "$GNUTAR"; then
16298 ac_path_GNUTAR_found
=false
16299 # Loop through the user's path and test for each of PROGNAME-LIST
16300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16301 for as_dir
in $PATH
16304 test -z "$as_dir" && as_dir
=.
16305 for ac_prog
in tar gtar gnutar
; do
16306 for ac_exec_ext
in '' $ac_executable_extensions; do
16307 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16308 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16309 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16310 if ${version:+false} :; then :
16315 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16320 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16322 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16328 $ac_path_GNUTAR_found && break 3
16333 if test -z "$ac_cv_path_GNUTAR"; then
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16335 $as_echo "no" >&6; }
16338 ac_cv_path_GNUTAR
=$GNUTAR
16344 GNUTAR
=$ac_cv_path_GNUTAR
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16347 $as_echo "$GNUTAR" >&6; }
16352 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16359 $as_echo "no" >&6; }
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16366 $as_echo_n "checking bison for %code{}... " >&6; }
16367 echo '%code{}%%_:' >conftest.y
16368 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16370 for element
in Bison24
; do
16372 for x
in $CY_FILTERS; do
16374 acl_save_prefix
="$prefix"
16375 prefix
="$acl_final_prefix"
16376 acl_save_exec_prefix
="$exec_prefix"
16377 exec_prefix
="$acl_final_exec_prefix"
16379 exec_prefix
="$acl_save_exec_prefix"
16380 prefix
="$acl_save_prefix"
16382 if test "X$x" = "X$element"; then
16387 if test -z "$haveit"; then
16388 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16393 $as_echo "yes" >&6; }
16396 for element
in Bison23
; do
16398 for x
in $CY_FILTERS; do
16400 acl_save_prefix
="$prefix"
16401 prefix
="$acl_final_prefix"
16402 acl_save_exec_prefix
="$exec_prefix"
16403 exec_prefix
="$acl_final_exec_prefix"
16405 exec_prefix
="$acl_save_exec_prefix"
16406 prefix
="$acl_save_prefix"
16408 if test "X$x" = "X$element"; then
16413 if test -z "$haveit"; then
16414 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16419 $as_echo "no" >&6; }
16433 if ${CFLAGS+:} false
; then :
16434 case " $CFLAGS " in
16436 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16437 (: CFLAGS already contains
) 2>&5
16439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16440 test $ac_status = 0; }
16443 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16444 (: CFLAGS
="$CFLAGS ") 2>&5
16446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16447 test $ac_status = 0; }
16456 ac_cpp
='$CPP $CPPFLAGS'
16457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16462 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16463 if ${ac_cv_cflags_warn_all+:} false
; then :
16464 $as_echo_n "(cached) " >&6
16466 ac_cv_cflags_warn_all
="no, unknown"
16467 ac_save_CFLAGS
="$CFLAGS"
16468 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" #
16469 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16481 if ac_fn_c_try_compile
"$LINENO"; then :
16482 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16486 CFLAGS
="$ac_save_CFLAGS"
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16490 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16492 case ".$ac_cv_cflags_warn_all" in
16495 *) if ${CFLAGS+:} false
; then :
16496 case " $CFLAGS " in
16497 *" $ac_cv_cflags_warn_all "*)
16498 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16499 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16502 test $ac_status = 0; }
16505 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16506 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16509 test $ac_status = 0; }
16510 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16514 CFLAGS
="$ac_cv_cflags_warn_all"
16520 ac_cpp
='$CXXCPP $CPPFLAGS'
16521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16527 ac_cpp
='$CXXCPP $CPPFLAGS'
16528 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16529 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16530 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16533 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16534 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16535 $as_echo_n "(cached) " >&6
16537 ac_cv_cxxflags_warn_all
="no, unknown"
16538 ac_save_CXXFLAGS
="$CXXFLAGS"
16539 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" #
16540 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16542 /* end confdefs.h. */
16552 if ac_fn_cxx_try_compile
"$LINENO"; then :
16553 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16557 CXXFLAGS
="$ac_save_CXXFLAGS"
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16561 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16563 case ".$ac_cv_cxxflags_warn_all" in
16566 *) if ${CXXFLAGS+:} false
; then :
16567 case " $CXXFLAGS " in
16568 *" $ac_cv_cxxflags_warn_all "*)
16569 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16570 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16573 test $ac_status = 0; }
16576 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16577 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16580 test $ac_status = 0; }
16581 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16585 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16591 ac_cpp
='$CXXCPP $CPPFLAGS'
16592 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16593 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16594 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16598 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16599 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16600 $as_echo_n "(cached) " >&6
16602 ac_cv_cxxflags_warn_all
="no, unknown"
16603 ac_save_CXXFLAGS
="$CXXFLAGS"
16604 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" #
16605 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16617 if ac_fn_cxx_try_compile
"$LINENO"; then :
16618 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16622 CXXFLAGS
="$ac_save_CXXFLAGS"
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16626 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16628 case ".$ac_cv_cxxflags_warn_all" in
16631 *) if ${CXXFLAGS+:} false
; then :
16632 case " $CXXFLAGS " in
16633 *" $ac_cv_cxxflags_warn_all "*)
16634 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16635 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16638 test $ac_status = 0; }
16641 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16642 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16645 test $ac_status = 0; }
16646 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16650 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16660 ac_cpp
='$CPP $CPPFLAGS'
16661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
16666 $as_echo_n "checking for cc -Werror... " >&6; }
16670 for element
in -Werror; do
16672 for x
in $CFLAGS; do
16674 acl_save_prefix
="$prefix"
16675 prefix
="$acl_final_prefix"
16676 acl_save_exec_prefix
="$exec_prefix"
16677 exec_prefix
="$acl_final_exec_prefix"
16679 exec_prefix
="$acl_save_exec_prefix"
16680 prefix
="$acl_save_prefix"
16682 if test "X$x" = "X$element"; then
16687 if test -z "$haveit"; then
16688 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16697 if ac_fn_c_try_compile
"$LINENO"; then :
16702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16705 if test "x$cy_good" = x1
; then :
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16707 $as_echo "yes" >&6; }
16709 for element
in -Werror; do
16711 for x
in $CFLAGS; do
16713 acl_save_prefix
="$prefix"
16714 prefix
="$acl_final_prefix"
16715 acl_save_exec_prefix
="$exec_prefix"
16716 exec_prefix
="$acl_final_exec_prefix"
16718 exec_prefix
="$acl_save_exec_prefix"
16719 prefix
="$acl_save_prefix"
16721 if test "X$x" = "X$element"; then
16726 if test -z "$haveit"; then
16727 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16734 $as_echo "no" >&6; }
16738 ac_cpp
='$CXXCPP $CPPFLAGS'
16739 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16740 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16741 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16746 ac_cpp
='$CXXCPP $CPPFLAGS'
16747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
16752 $as_echo_n "checking for c++ -Werror... " >&6; }
16756 for element
in -Werror; do
16758 for x
in $CXXFLAGS; do
16760 acl_save_prefix
="$prefix"
16761 prefix
="$acl_final_prefix"
16762 acl_save_exec_prefix
="$exec_prefix"
16763 exec_prefix
="$acl_final_exec_prefix"
16765 exec_prefix
="$acl_save_exec_prefix"
16766 prefix
="$acl_save_prefix"
16768 if test "X$x" = "X$element"; then
16773 if test -z "$haveit"; then
16774 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16783 if ac_fn_cxx_try_compile
"$LINENO"; then :
16788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16791 if test "x$cy_good" = x1
; then :
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16793 $as_echo "yes" >&6; }
16795 for element
in -Werror; do
16797 for x
in $CXXFLAGS; do
16799 acl_save_prefix
="$prefix"
16800 prefix
="$acl_final_prefix"
16801 acl_save_exec_prefix
="$exec_prefix"
16802 exec_prefix
="$acl_final_exec_prefix"
16804 exec_prefix
="$acl_save_exec_prefix"
16805 prefix
="$acl_save_prefix"
16807 if test "X$x" = "X$element"; then
16812 if test -z "$haveit"; then
16813 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16820 $as_echo "no" >&6; }
16824 ac_cpp
='$CXXCPP $CPPFLAGS'
16825 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16826 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16827 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16832 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16833 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16834 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16835 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
16838 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
16840 cy_save
=$OBJCXXFLAGS
16842 for element
in -Werror; do
16844 for x
in $OBJCXXFLAGS; do
16846 acl_save_prefix
="$prefix"
16847 prefix
="$acl_final_prefix"
16848 acl_save_exec_prefix
="$exec_prefix"
16849 exec_prefix
="$acl_final_exec_prefix"
16851 exec_prefix
="$acl_save_exec_prefix"
16852 prefix
="$acl_save_prefix"
16854 if test "X$x" = "X$element"; then
16859 if test -z "$haveit"; then
16860 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16869 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16876 OBJCXXFLAGS
=$cy_save
16877 if test "x$cy_good" = x1
; then :
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16879 $as_echo "yes" >&6; }
16881 for element
in -Werror; do
16883 for x
in $OBJCXXFLAGS; do
16885 acl_save_prefix
="$prefix"
16886 prefix
="$acl_final_prefix"
16887 acl_save_exec_prefix
="$exec_prefix"
16888 exec_prefix
="$acl_final_exec_prefix"
16890 exec_prefix
="$acl_save_exec_prefix"
16891 prefix
="$acl_save_prefix"
16893 if test "X$x" = "X$element"; then
16898 if test -z "$haveit"; then
16899 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16906 $as_echo "no" >&6; }
16910 ac_cpp
='$CXXCPP $CPPFLAGS'
16911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16921 ac_cpp
='$CPP $CPPFLAGS'
16922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
16927 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
16931 for element
in -Wno-deprecated-declarations; do
16933 for x
in $CFLAGS; do
16935 acl_save_prefix
="$prefix"
16936 prefix
="$acl_final_prefix"
16937 acl_save_exec_prefix
="$exec_prefix"
16938 exec_prefix
="$acl_final_exec_prefix"
16940 exec_prefix
="$acl_save_exec_prefix"
16941 prefix
="$acl_save_prefix"
16943 if test "X$x" = "X$element"; then
16948 if test -z "$haveit"; then
16949 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16958 if ac_fn_c_try_compile
"$LINENO"; then :
16963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16966 if test "x$cy_good" = x1
; then :
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16968 $as_echo "yes" >&6; }
16970 for element
in -Wno-deprecated-declarations; do
16972 for x
in $CFLAGS; do
16974 acl_save_prefix
="$prefix"
16975 prefix
="$acl_final_prefix"
16976 acl_save_exec_prefix
="$exec_prefix"
16977 exec_prefix
="$acl_final_exec_prefix"
16979 exec_prefix
="$acl_save_exec_prefix"
16980 prefix
="$acl_save_prefix"
16982 if test "X$x" = "X$element"; then
16987 if test -z "$haveit"; then
16988 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16995 $as_echo "no" >&6; }
16999 ac_cpp
='$CXXCPP $CPPFLAGS'
17000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17007 ac_cpp
='$CXXCPP $CPPFLAGS'
17008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17013 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17017 for element
in -Wno-deprecated-declarations; do
17019 for x
in $CXXFLAGS; do
17021 acl_save_prefix
="$prefix"
17022 prefix
="$acl_final_prefix"
17023 acl_save_exec_prefix
="$exec_prefix"
17024 exec_prefix
="$acl_final_exec_prefix"
17026 exec_prefix
="$acl_save_exec_prefix"
17027 prefix
="$acl_save_prefix"
17029 if test "X$x" = "X$element"; then
17034 if test -z "$haveit"; then
17035 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17044 if ac_fn_cxx_try_compile
"$LINENO"; then :
17049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17052 if test "x$cy_good" = x1
; then :
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17054 $as_echo "yes" >&6; }
17056 for element
in -Wno-deprecated-declarations; do
17058 for x
in $CXXFLAGS; do
17060 acl_save_prefix
="$prefix"
17061 prefix
="$acl_final_prefix"
17062 acl_save_exec_prefix
="$exec_prefix"
17063 exec_prefix
="$acl_final_exec_prefix"
17065 exec_prefix
="$acl_save_exec_prefix"
17066 prefix
="$acl_save_prefix"
17068 if test "X$x" = "X$element"; then
17073 if test -z "$haveit"; then
17074 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17081 $as_echo "no" >&6; }
17085 ac_cpp
='$CXXCPP $CPPFLAGS'
17086 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17087 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17088 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17093 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17094 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17095 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17096 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17099 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17101 cy_save
=$OBJCXXFLAGS
17103 for element
in -Wno-deprecated-declarations; do
17105 for x
in $OBJCXXFLAGS; do
17107 acl_save_prefix
="$prefix"
17108 prefix
="$acl_final_prefix"
17109 acl_save_exec_prefix
="$exec_prefix"
17110 exec_prefix
="$acl_final_exec_prefix"
17112 exec_prefix
="$acl_save_exec_prefix"
17113 prefix
="$acl_save_prefix"
17115 if test "X$x" = "X$element"; then
17120 if test -z "$haveit"; then
17121 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17130 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17137 OBJCXXFLAGS
=$cy_save
17138 if test "x$cy_good" = x1
; then :
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17140 $as_echo "yes" >&6; }
17142 for element
in -Wno-deprecated-declarations; do
17144 for x
in $OBJCXXFLAGS; do
17146 acl_save_prefix
="$prefix"
17147 prefix
="$acl_final_prefix"
17148 acl_save_exec_prefix
="$exec_prefix"
17149 exec_prefix
="$acl_final_exec_prefix"
17151 exec_prefix
="$acl_save_exec_prefix"
17152 prefix
="$acl_save_prefix"
17154 if test "X$x" = "X$element"; then
17159 if test -z "$haveit"; then
17160 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17167 $as_echo "no" >&6; }
17171 ac_cpp
='$CXXCPP $CPPFLAGS'
17172 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17173 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17174 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17182 ac_cpp
='$CPP $CPPFLAGS'
17183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17188 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17192 for element
in -Wno-dangling-else; do
17194 for x
in $CFLAGS; do
17196 acl_save_prefix
="$prefix"
17197 prefix
="$acl_final_prefix"
17198 acl_save_exec_prefix
="$exec_prefix"
17199 exec_prefix
="$acl_final_exec_prefix"
17201 exec_prefix
="$acl_save_exec_prefix"
17202 prefix
="$acl_save_prefix"
17204 if test "X$x" = "X$element"; then
17209 if test -z "$haveit"; then
17210 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17219 if ac_fn_c_try_compile
"$LINENO"; then :
17224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17227 if test "x$cy_good" = x1
; then :
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17229 $as_echo "yes" >&6; }
17231 for element
in -Wno-dangling-else; do
17233 for x
in $CFLAGS; do
17235 acl_save_prefix
="$prefix"
17236 prefix
="$acl_final_prefix"
17237 acl_save_exec_prefix
="$exec_prefix"
17238 exec_prefix
="$acl_final_exec_prefix"
17240 exec_prefix
="$acl_save_exec_prefix"
17241 prefix
="$acl_save_prefix"
17243 if test "X$x" = "X$element"; then
17248 if test -z "$haveit"; then
17249 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17256 $as_echo "no" >&6; }
17260 ac_cpp
='$CXXCPP $CPPFLAGS'
17261 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17262 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17263 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17268 ac_cpp
='$CXXCPP $CPPFLAGS'
17269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
17274 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
17278 for element
in -Wno-dangling-else; do
17280 for x
in $CXXFLAGS; do
17282 acl_save_prefix
="$prefix"
17283 prefix
="$acl_final_prefix"
17284 acl_save_exec_prefix
="$exec_prefix"
17285 exec_prefix
="$acl_final_exec_prefix"
17287 exec_prefix
="$acl_save_exec_prefix"
17288 prefix
="$acl_save_prefix"
17290 if test "X$x" = "X$element"; then
17295 if test -z "$haveit"; then
17296 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17305 if ac_fn_cxx_try_compile
"$LINENO"; then :
17310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17313 if test "x$cy_good" = x1
; then :
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17315 $as_echo "yes" >&6; }
17317 for element
in -Wno-dangling-else; do
17319 for x
in $CXXFLAGS; do
17321 acl_save_prefix
="$prefix"
17322 prefix
="$acl_final_prefix"
17323 acl_save_exec_prefix
="$exec_prefix"
17324 exec_prefix
="$acl_final_exec_prefix"
17326 exec_prefix
="$acl_save_exec_prefix"
17327 prefix
="$acl_save_prefix"
17329 if test "X$x" = "X$element"; then
17334 if test -z "$haveit"; then
17335 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17342 $as_echo "no" >&6; }
17346 ac_cpp
='$CXXCPP $CPPFLAGS'
17347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17354 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17355 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17356 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17357 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17360 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17362 cy_save
=$OBJCXXFLAGS
17364 for element
in -Wno-dangling-else; do
17366 for x
in $OBJCXXFLAGS; do
17368 acl_save_prefix
="$prefix"
17369 prefix
="$acl_final_prefix"
17370 acl_save_exec_prefix
="$exec_prefix"
17371 exec_prefix
="$acl_final_exec_prefix"
17373 exec_prefix
="$acl_save_exec_prefix"
17374 prefix
="$acl_save_prefix"
17376 if test "X$x" = "X$element"; then
17381 if test -z "$haveit"; then
17382 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17391 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17398 OBJCXXFLAGS
=$cy_save
17399 if test "x$cy_good" = x1
; then :
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17401 $as_echo "yes" >&6; }
17403 for element
in -Wno-dangling-else; do
17405 for x
in $OBJCXXFLAGS; do
17407 acl_save_prefix
="$prefix"
17408 prefix
="$acl_final_prefix"
17409 acl_save_exec_prefix
="$exec_prefix"
17410 exec_prefix
="$acl_final_exec_prefix"
17412 exec_prefix
="$acl_save_exec_prefix"
17413 prefix
="$acl_save_prefix"
17415 if test "X$x" = "X$element"; then
17420 if test -z "$haveit"; then
17421 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17428 $as_echo "no" >&6; }
17432 ac_cpp
='$CXXCPP $CPPFLAGS'
17433 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17434 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17435 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17442 ac_cpp
='$CPP $CPPFLAGS'
17443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17448 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17452 for element
in -Wno-overloaded-virtual; do
17454 for x
in $CFLAGS; do
17456 acl_save_prefix
="$prefix"
17457 prefix
="$acl_final_prefix"
17458 acl_save_exec_prefix
="$exec_prefix"
17459 exec_prefix
="$acl_final_exec_prefix"
17461 exec_prefix
="$acl_save_exec_prefix"
17462 prefix
="$acl_save_prefix"
17464 if test "X$x" = "X$element"; then
17469 if test -z "$haveit"; then
17470 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h. */
17479 if ac_fn_c_try_compile
"$LINENO"; then :
17484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17487 if test "x$cy_good" = x1
; then :
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17489 $as_echo "yes" >&6; }
17491 for element
in -Wno-overloaded-virtual; do
17493 for x
in $CFLAGS; do
17495 acl_save_prefix
="$prefix"
17496 prefix
="$acl_final_prefix"
17497 acl_save_exec_prefix
="$exec_prefix"
17498 exec_prefix
="$acl_final_exec_prefix"
17500 exec_prefix
="$acl_save_exec_prefix"
17501 prefix
="$acl_save_prefix"
17503 if test "X$x" = "X$element"; then
17508 if test -z "$haveit"; then
17509 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17516 $as_echo "no" >&6; }
17520 ac_cpp
='$CXXCPP $CPPFLAGS'
17521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17528 ac_cpp
='$CXXCPP $CPPFLAGS'
17529 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17534 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17538 for element
in -Wno-overloaded-virtual; do
17540 for x
in $CXXFLAGS; do
17542 acl_save_prefix
="$prefix"
17543 prefix
="$acl_final_prefix"
17544 acl_save_exec_prefix
="$exec_prefix"
17545 exec_prefix
="$acl_final_exec_prefix"
17547 exec_prefix
="$acl_save_exec_prefix"
17548 prefix
="$acl_save_prefix"
17550 if test "X$x" = "X$element"; then
17555 if test -z "$haveit"; then
17556 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17565 if ac_fn_cxx_try_compile
"$LINENO"; then :
17570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17573 if test "x$cy_good" = x1
; then :
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17575 $as_echo "yes" >&6; }
17577 for element
in -Wno-overloaded-virtual; do
17579 for x
in $CXXFLAGS; do
17581 acl_save_prefix
="$prefix"
17582 prefix
="$acl_final_prefix"
17583 acl_save_exec_prefix
="$exec_prefix"
17584 exec_prefix
="$acl_final_exec_prefix"
17586 exec_prefix
="$acl_save_exec_prefix"
17587 prefix
="$acl_save_prefix"
17589 if test "X$x" = "X$element"; then
17594 if test -z "$haveit"; then
17595 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17602 $as_echo "no" >&6; }
17606 ac_cpp
='$CXXCPP $CPPFLAGS'
17607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17614 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17615 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17616 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17617 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17620 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17622 cy_save
=$OBJCXXFLAGS
17624 for element
in -Wno-overloaded-virtual; do
17626 for x
in $OBJCXXFLAGS; do
17628 acl_save_prefix
="$prefix"
17629 prefix
="$acl_final_prefix"
17630 acl_save_exec_prefix
="$exec_prefix"
17631 exec_prefix
="$acl_final_exec_prefix"
17633 exec_prefix
="$acl_save_exec_prefix"
17634 prefix
="$acl_save_prefix"
17636 if test "X$x" = "X$element"; then
17641 if test -z "$haveit"; then
17642 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17651 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17658 OBJCXXFLAGS
=$cy_save
17659 if test "x$cy_good" = x1
; then :
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17661 $as_echo "yes" >&6; }
17663 for element
in -Wno-overloaded-virtual; do
17665 for x
in $OBJCXXFLAGS; do
17667 acl_save_prefix
="$prefix"
17668 prefix
="$acl_final_prefix"
17669 acl_save_exec_prefix
="$exec_prefix"
17670 exec_prefix
="$acl_final_exec_prefix"
17672 exec_prefix
="$acl_save_exec_prefix"
17673 prefix
="$acl_save_prefix"
17675 if test "X$x" = "X$element"; then
17680 if test -z "$haveit"; then
17681 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17688 $as_echo "no" >&6; }
17692 ac_cpp
='$CXXCPP $CPPFLAGS'
17693 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17694 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17695 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17702 ac_cpp
='$CPP $CPPFLAGS'
17703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17708 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17712 for element
in -Wno-parentheses; do
17714 for x
in $CFLAGS; do
17716 acl_save_prefix
="$prefix"
17717 prefix
="$acl_final_prefix"
17718 acl_save_exec_prefix
="$exec_prefix"
17719 exec_prefix
="$acl_final_exec_prefix"
17721 exec_prefix
="$acl_save_exec_prefix"
17722 prefix
="$acl_save_prefix"
17724 if test "X$x" = "X$element"; then
17729 if test -z "$haveit"; then
17730 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17739 if ac_fn_c_try_compile
"$LINENO"; then :
17744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17747 if test "x$cy_good" = x1
; then :
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17749 $as_echo "yes" >&6; }
17751 for element
in -Wno-parentheses; do
17753 for x
in $CFLAGS; do
17755 acl_save_prefix
="$prefix"
17756 prefix
="$acl_final_prefix"
17757 acl_save_exec_prefix
="$exec_prefix"
17758 exec_prefix
="$acl_final_exec_prefix"
17760 exec_prefix
="$acl_save_exec_prefix"
17761 prefix
="$acl_save_prefix"
17763 if test "X$x" = "X$element"; then
17768 if test -z "$haveit"; then
17769 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17776 $as_echo "no" >&6; }
17780 ac_cpp
='$CXXCPP $CPPFLAGS'
17781 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17788 ac_cpp
='$CXXCPP $CPPFLAGS'
17789 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17790 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17791 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17794 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17798 for element
in -Wno-parentheses; do
17800 for x
in $CXXFLAGS; do
17802 acl_save_prefix
="$prefix"
17803 prefix
="$acl_final_prefix"
17804 acl_save_exec_prefix
="$exec_prefix"
17805 exec_prefix
="$acl_final_exec_prefix"
17807 exec_prefix
="$acl_save_exec_prefix"
17808 prefix
="$acl_save_prefix"
17810 if test "X$x" = "X$element"; then
17815 if test -z "$haveit"; then
17816 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17822 /* end confdefs.h. */
17825 if ac_fn_cxx_try_compile
"$LINENO"; then :
17830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17833 if test "x$cy_good" = x1
; then :
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17835 $as_echo "yes" >&6; }
17837 for element
in -Wno-parentheses; do
17839 for x
in $CXXFLAGS; do
17841 acl_save_prefix
="$prefix"
17842 prefix
="$acl_final_prefix"
17843 acl_save_exec_prefix
="$exec_prefix"
17844 exec_prefix
="$acl_final_exec_prefix"
17846 exec_prefix
="$acl_save_exec_prefix"
17847 prefix
="$acl_save_prefix"
17849 if test "X$x" = "X$element"; then
17854 if test -z "$haveit"; then
17855 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17862 $as_echo "no" >&6; }
17866 ac_cpp
='$CXXCPP $CPPFLAGS'
17867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17874 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17875 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17876 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17877 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17880 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17882 cy_save
=$OBJCXXFLAGS
17884 for element
in -Wno-parentheses; do
17886 for x
in $OBJCXXFLAGS; do
17888 acl_save_prefix
="$prefix"
17889 prefix
="$acl_final_prefix"
17890 acl_save_exec_prefix
="$exec_prefix"
17891 exec_prefix
="$acl_final_exec_prefix"
17893 exec_prefix
="$acl_save_exec_prefix"
17894 prefix
="$acl_save_prefix"
17896 if test "X$x" = "X$element"; then
17901 if test -z "$haveit"; then
17902 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17911 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17918 OBJCXXFLAGS
=$cy_save
17919 if test "x$cy_good" = x1
; then :
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17921 $as_echo "yes" >&6; }
17923 for element
in -Wno-parentheses; do
17925 for x
in $OBJCXXFLAGS; do
17927 acl_save_prefix
="$prefix"
17928 prefix
="$acl_final_prefix"
17929 acl_save_exec_prefix
="$exec_prefix"
17930 exec_prefix
="$acl_final_exec_prefix"
17932 exec_prefix
="$acl_save_exec_prefix"
17933 prefix
="$acl_save_prefix"
17935 if test "X$x" = "X$element"; then
17940 if test -z "$haveit"; then
17941 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17948 $as_echo "no" >&6; }
17952 ac_cpp
='$CXXCPP $CPPFLAGS'
17953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17962 ac_cpp
='$CPP $CPPFLAGS'
17963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
17968 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
17972 for element
in -Wno-unneeded-internal-declaration; do
17974 for x
in $CFLAGS; do
17976 acl_save_prefix
="$prefix"
17977 prefix
="$acl_final_prefix"
17978 acl_save_exec_prefix
="$exec_prefix"
17979 exec_prefix
="$acl_final_exec_prefix"
17981 exec_prefix
="$acl_save_exec_prefix"
17982 prefix
="$acl_save_prefix"
17984 if test "X$x" = "X$element"; then
17989 if test -z "$haveit"; then
17990 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17996 /* end confdefs.h. */
17999 if ac_fn_c_try_compile
"$LINENO"; then :
18004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18007 if test "x$cy_good" = x1
; then :
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18009 $as_echo "yes" >&6; }
18011 for element
in -Wno-unneeded-internal-declaration; do
18013 for x
in $CFLAGS; do
18015 acl_save_prefix
="$prefix"
18016 prefix
="$acl_final_prefix"
18017 acl_save_exec_prefix
="$exec_prefix"
18018 exec_prefix
="$acl_final_exec_prefix"
18020 exec_prefix
="$acl_save_exec_prefix"
18021 prefix
="$acl_save_prefix"
18023 if test "X$x" = "X$element"; then
18028 if test -z "$haveit"; then
18029 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18036 $as_echo "no" >&6; }
18040 ac_cpp
='$CXXCPP $CPPFLAGS'
18041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18048 ac_cpp
='$CXXCPP $CPPFLAGS'
18049 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18050 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18051 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18054 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18058 for element
in -Wno-unneeded-internal-declaration; do
18060 for x
in $CXXFLAGS; do
18062 acl_save_prefix
="$prefix"
18063 prefix
="$acl_final_prefix"
18064 acl_save_exec_prefix
="$exec_prefix"
18065 exec_prefix
="$acl_final_exec_prefix"
18067 exec_prefix
="$acl_save_exec_prefix"
18068 prefix
="$acl_save_prefix"
18070 if test "X$x" = "X$element"; then
18075 if test -z "$haveit"; then
18076 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18085 if ac_fn_cxx_try_compile
"$LINENO"; then :
18090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18093 if test "x$cy_good" = x1
; then :
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18095 $as_echo "yes" >&6; }
18097 for element
in -Wno-unneeded-internal-declaration; do
18099 for x
in $CXXFLAGS; do
18101 acl_save_prefix
="$prefix"
18102 prefix
="$acl_final_prefix"
18103 acl_save_exec_prefix
="$exec_prefix"
18104 exec_prefix
="$acl_final_exec_prefix"
18106 exec_prefix
="$acl_save_exec_prefix"
18107 prefix
="$acl_save_prefix"
18109 if test "X$x" = "X$element"; then
18114 if test -z "$haveit"; then
18115 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18122 $as_echo "no" >&6; }
18126 ac_cpp
='$CXXCPP $CPPFLAGS'
18127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18134 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18135 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18136 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18137 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18140 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18142 cy_save
=$OBJCXXFLAGS
18144 for element
in -Wno-unneeded-internal-declaration; do
18146 for x
in $OBJCXXFLAGS; do
18148 acl_save_prefix
="$prefix"
18149 prefix
="$acl_final_prefix"
18150 acl_save_exec_prefix
="$exec_prefix"
18151 exec_prefix
="$acl_final_exec_prefix"
18153 exec_prefix
="$acl_save_exec_prefix"
18154 prefix
="$acl_save_prefix"
18156 if test "X$x" = "X$element"; then
18161 if test -z "$haveit"; then
18162 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18171 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18178 OBJCXXFLAGS
=$cy_save
18179 if test "x$cy_good" = x1
; then :
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18181 $as_echo "yes" >&6; }
18183 for element
in -Wno-unneeded-internal-declaration; do
18185 for x
in $OBJCXXFLAGS; do
18187 acl_save_prefix
="$prefix"
18188 prefix
="$acl_final_prefix"
18189 acl_save_exec_prefix
="$exec_prefix"
18190 exec_prefix
="$acl_final_exec_prefix"
18192 exec_prefix
="$acl_save_exec_prefix"
18193 prefix
="$acl_save_prefix"
18195 if test "X$x" = "X$element"; then
18200 if test -z "$haveit"; then
18201 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18208 $as_echo "no" >&6; }
18212 ac_cpp
='$CXXCPP $CPPFLAGS'
18213 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18214 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18215 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18220 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
18221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
18222 $as_echo_n "checking for -arch $cy_arch... " >&6; }
18226 for element
in "-arch $cy_arch"; do
18228 for x
in $CXXFLAGS; do
18230 acl_save_prefix
="$prefix"
18231 prefix
="$acl_final_prefix"
18232 acl_save_exec_prefix
="$exec_prefix"
18233 exec_prefix
="$acl_final_exec_prefix"
18235 exec_prefix
="$acl_save_exec_prefix"
18236 prefix
="$acl_save_prefix"
18238 if test "X$x" = "X$element"; then
18243 if test -z "$haveit"; then
18244 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18260 if ac_fn_cxx_try_link
"$LINENO"; then :
18265 rm -f core conftest.err conftest.
$ac_objext \
18266 conftest
$ac_exeext conftest.
$ac_ext
18269 if test "x$cy_good" = x1
; then :
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18271 $as_echo "yes" >&6; }
18273 for element
in "-arch $cy_arch"; do
18275 for x
in $CY_ARCH; do
18277 acl_save_prefix
="$prefix"
18278 prefix
="$acl_final_prefix"
18279 acl_save_exec_prefix
="$exec_prefix"
18280 exec_prefix
="$acl_final_exec_prefix"
18282 exec_prefix
="$acl_save_exec_prefix"
18283 prefix
="$acl_save_prefix"
18285 if test "X$x" = "X$element"; then
18290 if test -z "$haveit"; then
18291 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18298 $as_echo "no" >&6; }
18303 # Extract the first word of "xcodebuild", so it can be a program name with args.
18304 set dummy xcodebuild
; ac_word
=$2
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18306 $as_echo_n "checking for $ac_word... " >&6; }
18307 if ${ac_cv_path_XCODEBUILD+:} false
; then :
18308 $as_echo_n "(cached) " >&6
18310 case $XCODEBUILD in
18312 ac_cv_path_XCODEBUILD
="$XCODEBUILD" # Let the user override the test with a path.
18315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18316 for as_dir
in $PATH
18319 test -z "$as_dir" && as_dir
=.
18320 for ac_exec_ext
in '' $ac_executable_extensions; do
18321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18322 ac_cv_path_XCODEBUILD
="$as_dir/$ac_word$ac_exec_ext"
18323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18333 XCODEBUILD
=$ac_cv_path_XCODEBUILD
18334 if test -n "$XCODEBUILD"; then
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XCODEBUILD" >&5
18336 $as_echo "$XCODEBUILD" >&6; }
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18339 $as_echo "no" >&6; }
18344 if test "x$XCODEBUILD" != x
; then :
18346 CY_XCODE_MACOSXSDK
=`xcodebuild -sdk macosx -version Path`
18348 CY_XCODE_IOSSIMSDK
=`xcodebuild -sdk iphonesimulator -version Path`
18353 if test "x$CY_XCODE_IOSSIMSDK" != x
; then
18354 CY_IOS_SIMULATOR_TRUE
=
18355 CY_IOS_SIMULATOR_FALSE
='#'
18357 CY_IOS_SIMULATOR_TRUE
='#'
18358 CY_IOS_SIMULATOR_FALSE
=
18368 # Check whether --enable-javascript was given.
18369 if test "${enable_javascript+set}" = set; then :
18370 enableval
=$enable_javascript;
18371 case $enableval in #(
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18381 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18382 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18383 $as_echo_n "(cached) " >&6
18386 ac_check_framework_save_LIBS
=$LIBS
18387 LIBS
="-framework JavaScriptCore $LIBS"
18388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18389 /* end confdefs.h. */
18391 #include <JavaScriptCore/JSBase.h>
18397 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18403 if ac_fn_cxx_try_link
"$LINENO"; then :
18405 ac_cv_framework_JavaScriptCore
=yes
18408 ac_cv_framework_JavaScriptCore
=no
18410 rm -f core conftest.err conftest.
$ac_objext \
18411 conftest
$ac_exeext conftest.
$ac_ext
18412 LIBS
=$ac_check_framework_save_LIBS
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18416 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18417 if test $ac_cv_framework_JavaScriptCore = yes; then :
18420 for element
in "-framework JavaScriptCore"; do
18424 acl_save_prefix
="$prefix"
18425 prefix
="$acl_final_prefix"
18426 acl_save_exec_prefix
="$exec_prefix"
18427 exec_prefix
="$acl_final_exec_prefix"
18429 exec_prefix
="$acl_save_exec_prefix"
18430 prefix
="$acl_save_prefix"
18432 if test "X$x" = "X$element"; then
18437 if test -z "$haveit"; then
18438 LIBS
="${LIBS}${LIBS:+ }$element"
18449 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18453 $as_echo_n "checking for WEBKIT... " >&6; }
18455 if test -n "$WEBKIT_CFLAGS"; then
18456 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18457 elif test -n "$PKG_CONFIG"; then
18458 if test -n "$PKG_CONFIG" && \
18459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18460 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18463 test $ac_status = 0; }; then
18464 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18471 if test -n "$WEBKIT_LIBS"; then
18472 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18473 elif test -n "$PKG_CONFIG"; then
18474 if test -n "$PKG_CONFIG" && \
18475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18476 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18479 test $ac_status = 0; }; then
18480 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18490 if test $pkg_failed = yes; then
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18492 $as_echo "no" >&6; }
18494 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18495 _pkg_short_errors_supported
=yes
18497 _pkg_short_errors_supported
=no
18499 if test $_pkg_short_errors_supported = yes; then
18500 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18502 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18504 # Put the nasty error message in config.log where it belongs
18505 echo "$WEBKIT_PKG_ERRORS" >&5
18508 elif test $pkg_failed = untried
; then
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18510 $as_echo "no" >&6; }
18513 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18514 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18516 $as_echo "yes" >&6; }
18521 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18523 for x
in $CPPFLAGS; do
18525 acl_save_prefix
="$prefix"
18526 prefix
="$acl_final_prefix"
18527 acl_save_exec_prefix
="$exec_prefix"
18528 exec_prefix
="$acl_final_exec_prefix"
18530 exec_prefix
="$acl_save_exec_prefix"
18531 prefix
="$acl_save_prefix"
18533 if test "X$x" = "X$element"; then
18538 if test -z "$haveit"; then
18539 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18544 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18548 acl_save_prefix
="$prefix"
18549 prefix
="$acl_final_prefix"
18550 acl_save_exec_prefix
="$exec_prefix"
18551 exec_prefix
="$acl_final_exec_prefix"
18553 exec_prefix
="$acl_save_exec_prefix"
18554 prefix
="$acl_save_prefix"
18556 if test "X$x" = "X$element"; then
18561 if test -z "$haveit"; then
18562 LIBS
="${LIBS}${LIBS:+ }$element"
18567 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18571 LTJAVASCRIPTCORE
=$LIBS
18587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18588 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18589 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18590 $as_echo_n "(cached) " >&6
18593 ac_check_framework_save_LIBS
=$LIBS
18594 LIBS
="-framework JavaScriptCore $LIBS"
18595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18598 #include <JavaScriptCore/JSBase.h>
18604 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18610 if ac_fn_cxx_try_link
"$LINENO"; then :
18612 ac_cv_framework_JavaScriptCore
=yes
18615 ac_cv_framework_JavaScriptCore
=no
18617 rm -f core conftest.err conftest.
$ac_objext \
18618 conftest
$ac_exeext conftest.
$ac_ext
18619 LIBS
=$ac_check_framework_save_LIBS
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18623 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18624 if test $ac_cv_framework_JavaScriptCore = yes; then :
18627 for element
in "-framework JavaScriptCore"; do
18631 acl_save_prefix
="$prefix"
18632 prefix
="$acl_final_prefix"
18633 acl_save_exec_prefix
="$exec_prefix"
18634 exec_prefix
="$acl_final_exec_prefix"
18636 exec_prefix
="$acl_save_exec_prefix"
18637 prefix
="$acl_save_prefix"
18639 if test "X$x" = "X$element"; then
18644 if test -z "$haveit"; then
18645 LIBS
="${LIBS}${LIBS:+ }$element"
18656 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18660 $as_echo_n "checking for WEBKIT... " >&6; }
18662 if test -n "$WEBKIT_CFLAGS"; then
18663 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18664 elif test -n "$PKG_CONFIG"; then
18665 if test -n "$PKG_CONFIG" && \
18666 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18667 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18670 test $ac_status = 0; }; then
18671 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18678 if test -n "$WEBKIT_LIBS"; then
18679 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18680 elif test -n "$PKG_CONFIG"; then
18681 if test -n "$PKG_CONFIG" && \
18682 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18683 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18686 test $ac_status = 0; }; then
18687 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18697 if test $pkg_failed = yes; then
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18699 $as_echo "no" >&6; }
18701 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18702 _pkg_short_errors_supported
=yes
18704 _pkg_short_errors_supported
=no
18706 if test $_pkg_short_errors_supported = yes; then
18707 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18709 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18711 # Put the nasty error message in config.log where it belongs
18712 echo "$WEBKIT_PKG_ERRORS" >&5
18715 elif test $pkg_failed = untried
; then
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18717 $as_echo "no" >&6; }
18720 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18721 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18723 $as_echo "yes" >&6; }
18728 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18730 for x
in $CPPFLAGS; do
18732 acl_save_prefix
="$prefix"
18733 prefix
="$acl_final_prefix"
18734 acl_save_exec_prefix
="$exec_prefix"
18735 exec_prefix
="$acl_final_exec_prefix"
18737 exec_prefix
="$acl_save_exec_prefix"
18738 prefix
="$acl_save_prefix"
18740 if test "X$x" = "X$element"; then
18745 if test -z "$haveit"; then
18746 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18751 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18755 acl_save_prefix
="$prefix"
18756 prefix
="$acl_final_prefix"
18757 acl_save_exec_prefix
="$exec_prefix"
18758 exec_prefix
="$acl_final_exec_prefix"
18760 exec_prefix
="$acl_save_exec_prefix"
18761 prefix
="$acl_save_prefix"
18763 if test "X$x" = "X$element"; then
18768 if test -z "$haveit"; then
18769 LIBS
="${LIBS}${LIBS:+ }$element"
18774 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18778 LTJAVASCRIPTCORE
=$LIBS
18784 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18795 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18796 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18797 $as_echo_n "(cached) " >&6
18800 ac_check_framework_save_LIBS
=$LIBS
18801 LIBS
="-framework JavaScriptCore $LIBS"
18802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18805 #include <JavaScriptCore/JSBase.h>
18811 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18817 if ac_fn_cxx_try_link
"$LINENO"; then :
18819 ac_cv_framework_JavaScriptCore
=yes
18822 ac_cv_framework_JavaScriptCore
=no
18824 rm -f core conftest.err conftest.
$ac_objext \
18825 conftest
$ac_exeext conftest.
$ac_ext
18826 LIBS
=$ac_check_framework_save_LIBS
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18830 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18831 if test $ac_cv_framework_JavaScriptCore = yes; then :
18834 for element
in "-framework JavaScriptCore"; do
18838 acl_save_prefix
="$prefix"
18839 prefix
="$acl_final_prefix"
18840 acl_save_exec_prefix
="$exec_prefix"
18841 exec_prefix
="$acl_final_exec_prefix"
18843 exec_prefix
="$acl_save_exec_prefix"
18844 prefix
="$acl_save_prefix"
18846 if test "X$x" = "X$element"; then
18851 if test -z "$haveit"; then
18852 LIBS
="${LIBS}${LIBS:+ }$element"
18863 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18867 $as_echo_n "checking for WEBKIT... " >&6; }
18869 if test -n "$WEBKIT_CFLAGS"; then
18870 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18871 elif test -n "$PKG_CONFIG"; then
18872 if test -n "$PKG_CONFIG" && \
18873 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18874 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18877 test $ac_status = 0; }; then
18878 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18885 if test -n "$WEBKIT_LIBS"; then
18886 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18887 elif test -n "$PKG_CONFIG"; then
18888 if test -n "$PKG_CONFIG" && \
18889 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18890 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18893 test $ac_status = 0; }; then
18894 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18904 if test $pkg_failed = yes; then
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18906 $as_echo "no" >&6; }
18908 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18909 _pkg_short_errors_supported
=yes
18911 _pkg_short_errors_supported
=no
18913 if test $_pkg_short_errors_supported = yes; then
18914 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18916 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18918 # Put the nasty error message in config.log where it belongs
18919 echo "$WEBKIT_PKG_ERRORS" >&5
18922 elif test $pkg_failed = untried
; then
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18924 $as_echo "no" >&6; }
18927 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18928 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18930 $as_echo "yes" >&6; }
18935 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18937 for x
in $CPPFLAGS; do
18939 acl_save_prefix
="$prefix"
18940 prefix
="$acl_final_prefix"
18941 acl_save_exec_prefix
="$exec_prefix"
18942 exec_prefix
="$acl_final_exec_prefix"
18944 exec_prefix
="$acl_save_exec_prefix"
18945 prefix
="$acl_save_prefix"
18947 if test "X$x" = "X$element"; then
18952 if test -z "$haveit"; then
18953 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18958 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18962 acl_save_prefix
="$prefix"
18963 prefix
="$acl_final_prefix"
18964 acl_save_exec_prefix
="$exec_prefix"
18965 exec_prefix
="$acl_final_exec_prefix"
18967 exec_prefix
="$acl_save_exec_prefix"
18968 prefix
="$acl_save_prefix"
18970 if test "X$x" = "X$element"; then
18975 if test -z "$haveit"; then
18976 LIBS
="${LIBS}${LIBS:+ }$element"
18981 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18985 LTJAVASCRIPTCORE
=$LIBS
18996 if test "$target_os" = "os2-emx"; then
18997 # Scripts don't pass test -x on OS/2
19003 acceptable_majors
="1"
19005 apr_temp_acceptable_apr_config
=""
19006 for apr_temp_major
in $acceptable_majors
19008 case $apr_temp_major in
19010 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19013 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19019 $as_echo_n "checking for APR... " >&6; }
19021 # Check whether --with-apr was given.
19022 if test "${with_apr+set}" = set; then :
19024 if test "$withval" = "no" || test "$withval" = "yes"; then
19025 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19028 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19030 for lookdir
in "$withval/bin" "$withval"
19032 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19033 apr_config
="$lookdir/$apr_temp_apr_config_file"
19041 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19042 apr_config
="$withval"
19046 if test "$apr_found" != "yes"; then
19047 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
19052 if test -n "1" && test "1" = "1"; then
19053 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19055 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19056 apr_config
="$apr_temp_apr_config_file"
19061 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19062 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19063 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19072 if test "$apr_found" = "no" && test -d ""; then
19073 apr_temp_abs_srcdir
="`cd && pwd`"
19074 apr_found
="reconfig"
19075 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19076 case $apr_bundled_major in
19078 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19081 apr_temp_apr_config_file
="apr-config"
19084 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19087 if test -n ""; then
19088 apr_config
="/$apr_temp_apr_config_file"
19090 apr_config
="/$apr_temp_apr_config_file"
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19098 $as_echo "$apr_found" >&6; }
19100 case $apr_found in #(
19104 for element
in `$apr_config --includes`; do
19106 for x
in $CPPFLAGS; do
19108 acl_save_prefix
="$prefix"
19109 prefix
="$acl_final_prefix"
19110 acl_save_exec_prefix
="$exec_prefix"
19111 exec_prefix
="$acl_final_exec_prefix"
19113 exec_prefix
="$acl_save_exec_prefix"
19114 prefix
="$acl_save_prefix"
19116 if test "X$x" = "X$element"; then
19121 if test -z "$haveit"; then
19122 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19127 for element
in `$apr_config --link-libtool`; do
19129 for x
in $LTLIBAPR; do
19131 acl_save_prefix
="$prefix"
19132 prefix
="$acl_final_prefix"
19133 acl_save_exec_prefix
="$exec_prefix"
19134 exec_prefix
="$acl_final_exec_prefix"
19136 exec_prefix
="$acl_save_exec_prefix"
19137 prefix
="$acl_save_prefix"
19139 if test "X$x" = "X$element"; then
19144 if test -z "$haveit"; then
19145 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
19152 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5 ;;
19157 if test "x$CY_EXECUTE" = x1
; then
19159 CY_EXECUTE_FALSE
='#'
19161 CY_EXECUTE_TRUE
='#'
19167 case $CY_EXECUTE in #(
19170 for ac_header
in ffi.h ffi
/ffi.h
19172 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19173 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19174 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19175 cat >>confdefs.h
<<_ACEOF
19176 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19187 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19191 C compiler flags
for LIBFFI
, overriding pkg
-config
19192 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19196 $as_echo_n "checking for LIBFFI... " >&6; }
19198 if test -n "$LIBFFI_CFLAGS"; then
19199 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19200 elif test -n "$PKG_CONFIG"; then
19201 if test -n "$PKG_CONFIG" && \
19202 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19203 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19206 test $ac_status = 0; }; then
19207 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19214 if test -n "$LIBFFI_LIBS"; then
19215 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19216 elif test -n "$PKG_CONFIG"; then
19217 if test -n "$PKG_CONFIG" && \
19218 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19219 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19222 test $ac_status = 0; }; then
19223 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19233 if test $pkg_failed = yes; then
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19235 $as_echo "no" >&6; }
19237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19238 _pkg_short_errors_supported
=yes
19240 _pkg_short_errors_supported
=no
19242 if test $_pkg_short_errors_supported = yes; then
19243 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19245 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19247 # Put the nasty error message in config.log where it belongs
19248 echo "$LIBFFI_PKG_ERRORS" >&5
19250 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19251 elif test $pkg_failed = untried
; then
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19253 $as_echo "no" >&6; }
19254 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19256 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19257 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19259 $as_echo "yes" >&6; }
19262 for element
in `$PKG_CONFIG --cflags libffi`; do
19264 for x
in $CPPFLAGS; do
19266 acl_save_prefix
="$prefix"
19267 prefix
="$acl_final_prefix"
19268 acl_save_exec_prefix
="$exec_prefix"
19269 exec_prefix
="$acl_final_exec_prefix"
19271 exec_prefix
="$acl_save_exec_prefix"
19272 prefix
="$acl_save_prefix"
19274 if test "X$x" = "X$element"; then
19279 if test -z "$haveit"; then
19280 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19285 for element
in `$PKG_CONFIG --libs libffi`; do
19289 acl_save_prefix
="$prefix"
19290 prefix
="$acl_final_prefix"
19291 acl_save_exec_prefix
="$exec_prefix"
19292 exec_prefix
="$acl_final_exec_prefix"
19294 exec_prefix
="$acl_save_exec_prefix"
19295 prefix
="$acl_save_prefix"
19297 if test "X$x" = "X$element"; then
19302 if test -z "$haveit"; then
19303 LIBS
="${LIBS}${LIBS:+ }$element"
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19313 $as_echo_n "checking for library containing ffi_call... " >&6; }
19314 if ${ac_cv_search_ffi_call+:} false
; then :
19315 $as_echo_n "(cached) " >&6
19317 ac_func_search_save_LIBS
=$LIBS
19318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19319 /* end confdefs.h. */
19321 /* Override any GCC internal prototype to avoid an error.
19322 Use char because int might match the return type of a GCC
19323 builtin and then its argument prototype would still apply. */
19331 return ffi_call ();
19336 for ac_lib
in '' ffi
; do
19337 if test -z "$ac_lib"; then
19338 ac_res
="none required"
19341 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19343 if ac_fn_cxx_try_link
"$LINENO"; then :
19344 ac_cv_search_ffi_call
=$ac_res
19346 rm -f core conftest.err conftest.
$ac_objext \
19348 if ${ac_cv_search_ffi_call+:} false
; then :
19352 if ${ac_cv_search_ffi_call+:} false
; then :
19355 ac_cv_search_ffi_call
=no
19357 rm conftest.
$ac_ext
19358 LIBS
=$ac_func_search_save_LIBS
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19361 $as_echo "$ac_cv_search_ffi_call" >&6; }
19362 ac_res
=$ac_cv_search_ffi_call
19363 if test "$ac_res" != no
; then :
19364 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19368 case $ac_cv_search_ffi_call in #(
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19374 $as_echo_n "checking for LIBFFI... " >&6; }
19376 if test -n "$LIBFFI_CFLAGS"; then
19377 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19378 elif test -n "$PKG_CONFIG"; then
19379 if test -n "$PKG_CONFIG" && \
19380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19381 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19384 test $ac_status = 0; }; then
19385 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19392 if test -n "$LIBFFI_LIBS"; then
19393 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19394 elif test -n "$PKG_CONFIG"; then
19395 if test -n "$PKG_CONFIG" && \
19396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19397 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19400 test $ac_status = 0; }; then
19401 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19411 if test $pkg_failed = yes; then
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19413 $as_echo "no" >&6; }
19415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19416 _pkg_short_errors_supported
=yes
19418 _pkg_short_errors_supported
=no
19420 if test $_pkg_short_errors_supported = yes; then
19421 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19423 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19425 # Put the nasty error message in config.log where it belongs
19426 echo "$LIBFFI_PKG_ERRORS" >&5
19428 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19429 elif test $pkg_failed = untried
; then
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19431 $as_echo "no" >&6; }
19432 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19434 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19435 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19437 $as_echo "yes" >&6; }
19440 for element
in `$PKG_CONFIG --cflags libffi`; do
19442 for x
in $CPPFLAGS; do
19444 acl_save_prefix
="$prefix"
19445 prefix
="$acl_final_prefix"
19446 acl_save_exec_prefix
="$exec_prefix"
19447 exec_prefix
="$acl_final_exec_prefix"
19449 exec_prefix
="$acl_save_exec_prefix"
19450 prefix
="$acl_save_prefix"
19452 if test "X$x" = "X$element"; then
19457 if test -z "$haveit"; then
19458 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19463 for element
in `$PKG_CONFIG --libs libffi`; do
19467 acl_save_prefix
="$prefix"
19468 prefix
="$acl_final_prefix"
19469 acl_save_exec_prefix
="$exec_prefix"
19470 exec_prefix
="$acl_final_exec_prefix"
19472 exec_prefix
="$acl_save_exec_prefix"
19473 prefix
="$acl_save_prefix"
19475 if test "X$x" = "X$element"; then
19480 if test -z "$haveit"; then
19481 LIBS
="${LIBS}${LIBS:+ }$element"
19498 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19499 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19500 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19501 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19505 $as_echo_n "checking if we really have Objective C++... " >&6; }
19506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19510 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19514 $as_echo "yes" >&6; }
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19518 $as_echo "no" >&6; }
19520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19522 if test "x$CY_OBJECTIVEC" = x1
; then :
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19529 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19530 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19531 $as_echo_n "(cached) " >&6
19534 ac_check_framework_save_LIBS
=$LIBS
19535 LIBS
="-framework CoreFoundation $LIBS"
19536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19539 #include <CoreFoundation/CFBase.h>
19544 CFAllocatorGetDefault();
19549 if ac_fn_objcxx_try_link
"$LINENO"; then :
19551 ac_cv_framework_CoreFoundation
=yes
19554 ac_cv_framework_CoreFoundation
=no
19556 rm -f core conftest.err conftest.
$ac_objext \
19557 conftest
$ac_exeext conftest.
$ac_ext
19558 LIBS
=$ac_check_framework_save_LIBS
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19562 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19563 if test $ac_cv_framework_CoreFoundation = yes; then :
19566 for element
in "-framework CoreFoundation"; do
19570 acl_save_prefix
="$prefix"
19571 prefix
="$acl_final_prefix"
19572 acl_save_exec_prefix
="$exec_prefix"
19573 exec_prefix
="$acl_final_exec_prefix"
19575 exec_prefix
="$acl_save_exec_prefix"
19576 prefix
="$acl_save_prefix"
19578 if test "X$x" = "X$element"; then
19583 if test -z "$haveit"; then
19584 LIBS
="${LIBS}${LIBS:+ }$element"
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19594 $as_echo_n "checking for framework Foundation... " >&6; }
19595 if ${ac_cv_framework_Foundation+:} false
; then :
19596 $as_echo_n "(cached) " >&6
19599 ac_check_framework_save_LIBS
=$LIBS
19600 LIBS
="-framework Foundation $LIBS"
19601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h. */
19604 #include <Foundation/NSObject.h>
19609 [[NSObject alloc] init];
19614 if ac_fn_objcxx_try_link
"$LINENO"; then :
19616 ac_cv_framework_Foundation
=yes
19619 ac_cv_framework_Foundation
=no
19621 rm -f core conftest.err conftest.
$ac_objext \
19622 conftest
$ac_exeext conftest.
$ac_ext
19623 LIBS
=$ac_check_framework_save_LIBS
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19627 $as_echo "$ac_cv_framework_Foundation" >&6; }
19628 if test $ac_cv_framework_Foundation = yes; then :
19631 for element
in "-framework Foundation"; do
19635 acl_save_prefix
="$prefix"
19636 prefix
="$acl_final_prefix"
19637 acl_save_exec_prefix
="$exec_prefix"
19638 exec_prefix
="$acl_final_exec_prefix"
19640 exec_prefix
="$acl_save_exec_prefix"
19641 prefix
="$acl_save_prefix"
19643 if test "X$x" = "X$element"; then
19648 if test -z "$haveit"; then
19649 LIBS
="${LIBS}${LIBS:+ }$element"
19653 cat >>confdefs.h
<<_ACEOF
19654 #define HAVE_FRAMEWORK_FOUNDATION 1
19664 for ac_prog
in gnustep
-config
19666 # Extract the first word of "$ac_prog", so it can be a program name with args.
19667 set dummy
$ac_prog; ac_word
=$2
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19669 $as_echo_n "checking for $ac_word... " >&6; }
19670 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19671 $as_echo_n "(cached) " >&6
19673 if test -n "$GNUSTEP_CONFIG"; then
19674 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19677 for as_dir
in $PATH
19680 test -z "$as_dir" && as_dir
=.
19681 for ac_exec_ext
in '' $ac_executable_extensions; do
19682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19683 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19693 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19694 if test -n "$GNUSTEP_CONFIG"; then
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19696 $as_echo "$GNUSTEP_CONFIG" >&6; }
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19699 $as_echo "no" >&6; }
19703 test -n "$GNUSTEP_CONFIG" && break
19707 if test "x$GNUSTEP_CONFIG" != x
; then :
19711 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19713 for x
in $OBJCXXFLAGS; do
19715 acl_save_prefix
="$prefix"
19716 prefix
="$acl_final_prefix"
19717 acl_save_exec_prefix
="$exec_prefix"
19718 exec_prefix
="$acl_final_exec_prefix"
19720 exec_prefix
="$acl_save_exec_prefix"
19721 prefix
="$acl_save_prefix"
19723 if test "X$x" = "X$element"; then
19728 if test -z "$haveit"; then
19729 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19734 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19738 acl_save_prefix
="$prefix"
19739 prefix
="$acl_final_prefix"
19740 acl_save_exec_prefix
="$exec_prefix"
19741 exec_prefix
="$acl_final_exec_prefix"
19743 exec_prefix
="$acl_save_exec_prefix"
19744 prefix
="$acl_save_prefix"
19746 if test "X$x" = "X$element"; then
19751 if test -z "$haveit"; then
19752 LIBS
="${LIBS}${LIBS:+ }$element"
19771 ac_cpp
='$CXXCPP $CPPFLAGS'
19772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19781 if test "x$CY_OBJECTIVEC" = x1
; then
19782 CY_OBJECTIVEC_TRUE
=
19783 CY_OBJECTIVEC_FALSE
='#'
19785 CY_OBJECTIVEC_TRUE
='#'
19786 CY_OBJECTIVEC_FALSE
=
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19795 $as_echo_n "checking for a readline compatible library... " >&6; }
19796 if ${ax_cv_lib_readline+:} false
; then :
19797 $as_echo_n "(cached) " >&6
19801 for readline_lib
in readline edit editline
; do
19802 for termcap_lib
in "" termcap curses ncurses
; do
19803 if test -z "$termcap_lib"; then
19804 TRY_LIB
="-l$readline_lib"
19806 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19808 LIBS
="$ORIG_LIBS $TRY_LIB"
19809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19812 /* Override any GCC internal prototype to avoid an error.
19813 Use char because int might match the return type of a GCC
19814 builtin and then its argument prototype would still apply. */
19822 return readline ();
19827 if ac_fn_cxx_try_link
"$LINENO"; then :
19828 ax_cv_lib_readline
="$TRY_LIB"
19830 rm -f core conftest.err conftest.
$ac_objext \
19831 conftest
$ac_exeext conftest.
$ac_ext
19832 if test -n "$ax_cv_lib_readline"; then
19836 if test -n "$ax_cv_lib_readline"; then
19840 if test -z "$ax_cv_lib_readline"; then
19841 ax_cv_lib_readline
="no"
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19847 $as_echo "$ax_cv_lib_readline" >&6; }
19849 if test "$ax_cv_lib_readline" != "no"; then
19850 LIBS
="$LIBS $ax_cv_lib_readline"
19852 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19854 for ac_header
in readline.h readline
/readline.h
19856 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19857 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19858 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19859 cat >>confdefs.h
<<_ACEOF
19860 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19868 $as_echo_n "checking whether readline supports history... " >&6; }
19869 if ${ax_cv_lib_readline_history+:} false
; then :
19870 $as_echo_n "(cached) " >&6
19873 ax_cv_lib_readline_history
="no"
19874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19875 /* end confdefs.h. */
19877 /* Override any GCC internal prototype to avoid an error.
19878 Use char because int might match the return type of a GCC
19879 builtin and then its argument prototype would still apply. */
19883 char add_history ();
19887 return add_history ();
19892 if ac_fn_cxx_try_link
"$LINENO"; then :
19893 ax_cv_lib_readline_history
="yes"
19895 rm -f core conftest.err conftest.
$ac_objext \
19896 conftest
$ac_exeext conftest.
$ac_ext
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19900 $as_echo "$ax_cv_lib_readline_history" >&6; }
19901 if test "$ax_cv_lib_readline_history" = "yes"; then
19903 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19905 for ac_header
in history.h readline
/history.h
19907 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19908 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19909 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19910 cat >>confdefs.h
<<_ACEOF
19911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19921 LTLIBREADLINE
=$LIBS
19925 case $ax_cv_lib_readline in #(
19927 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
19935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
19936 $as_echo_n "checking for library containing cur_term... " >&6; }
19937 if ${ac_cv_search_cur_term+:} false
; then :
19938 $as_echo_n "(cached) " >&6
19940 ac_func_search_save_LIBS
=$LIBS
19941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h. */
19944 /* Override any GCC internal prototype to avoid an error.
19945 Use char because int might match the return type of a GCC
19946 builtin and then its argument prototype would still apply. */
19954 return cur_term ();
19959 for ac_lib
in '' termcap
; do
19960 if test -z "$ac_lib"; then
19961 ac_res
="none required"
19964 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19966 if ac_fn_cxx_try_link
"$LINENO"; then :
19967 ac_cv_search_cur_term
=$ac_res
19969 rm -f core conftest.err conftest.
$ac_objext \
19971 if ${ac_cv_search_cur_term+:} false
; then :
19975 if ${ac_cv_search_cur_term+:} false
; then :
19978 ac_cv_search_cur_term
=no
19980 rm conftest.
$ac_ext
19981 LIBS
=$ac_func_search_save_LIBS
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
19984 $as_echo "$ac_cv_search_cur_term" >&6; }
19985 ac_res
=$ac_cv_search_cur_term
19986 if test "$ac_res" != no
; then :
19987 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20000 if test "x$CY_EXECUTE" = x1
; then :
20002 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20003 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20005 if test -n "$ac_tool_prefix"; then
20006 for ac_prog
in lipo
20008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20009 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20011 $as_echo_n "checking for $ac_word... " >&6; }
20012 if ${ac_cv_prog__LIPO+:} false
; then :
20013 $as_echo_n "(cached) " >&6
20015 if test -n "$_LIPO"; then
20016 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20019 for as_dir
in $PATH
20022 test -z "$as_dir" && as_dir
=.
20023 for ac_exec_ext
in '' $ac_executable_extensions; do
20024 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20025 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20035 _LIPO
=$ac_cv_prog__LIPO
20036 if test -n "$_LIPO"; then
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20038 $as_echo "$_LIPO" >&6; }
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20041 $as_echo "no" >&6; }
20045 test -n "$_LIPO" && break
20048 if test -z "$_LIPO"; then
20050 for ac_prog
in lipo
20052 # Extract the first word of "$ac_prog", so it can be a program name with args.
20053 set dummy
$ac_prog; ac_word
=$2
20054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20055 $as_echo_n "checking for $ac_word... " >&6; }
20056 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20057 $as_echo_n "(cached) " >&6
20059 if test -n "$ac_ct__LIPO"; then
20060 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20063 for as_dir
in $PATH
20066 test -z "$as_dir" && as_dir
=.
20067 for ac_exec_ext
in '' $ac_executable_extensions; do
20068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20069 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20079 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20080 if test -n "$ac_ct__LIPO"; then
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20082 $as_echo "$ac_ct__LIPO" >&6; }
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20085 $as_echo "no" >&6; }
20089 test -n "$ac_ct__LIPO" && break
20092 if test "x$ac_ct__LIPO" = x
; then
20093 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20095 case $cross_compiling:$ac_tool_warned in
20097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20099 ac_tool_warned
=yes ;;
20105 if test -n "$ac_tool_prefix"; then
20108 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20109 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20111 $as_echo_n "checking for $ac_word... " >&6; }
20112 if ${ac_cv_prog__NM+:} false
; then :
20113 $as_echo_n "(cached) " >&6
20115 if test -n "$_NM"; then
20116 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20119 for as_dir
in $PATH
20122 test -z "$as_dir" && as_dir
=.
20123 for ac_exec_ext
in '' $ac_executable_extensions; do
20124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20125 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20135 _NM
=$ac_cv_prog__NM
20136 if test -n "$_NM"; then
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20138 $as_echo "$_NM" >&6; }
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20141 $as_echo "no" >&6; }
20145 test -n "$_NM" && break
20148 if test -z "$_NM"; then
20152 # Extract the first word of "$ac_prog", so it can be a program name with args.
20153 set dummy
$ac_prog; ac_word
=$2
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20155 $as_echo_n "checking for $ac_word... " >&6; }
20156 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20157 $as_echo_n "(cached) " >&6
20159 if test -n "$ac_ct__NM"; then
20160 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20163 for as_dir
in $PATH
20166 test -z "$as_dir" && as_dir
=.
20167 for ac_exec_ext
in '' $ac_executable_extensions; do
20168 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20169 ac_cv_prog_ac_ct__NM
="$ac_prog"
20170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20179 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20180 if test -n "$ac_ct__NM"; then
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20182 $as_echo "$ac_ct__NM" >&6; }
20184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20185 $as_echo "no" >&6; }
20189 test -n "$ac_ct__NM" && break
20192 if test "x$ac_ct__NM" = x
; then
20193 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20195 case $cross_compiling:$ac_tool_warned in
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20199 ac_tool_warned
=yes ;;
20205 if test -n "$ac_tool_prefix"; then
20206 for ac_prog
in otool
20208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20209 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20211 $as_echo_n "checking for $ac_word... " >&6; }
20212 if ${ac_cv_prog__OTOOL+:} false
; then :
20213 $as_echo_n "(cached) " >&6
20215 if test -n "$_OTOOL"; then
20216 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20219 for as_dir
in $PATH
20222 test -z "$as_dir" && as_dir
=.
20223 for ac_exec_ext
in '' $ac_executable_extensions; do
20224 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20225 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20235 _OTOOL
=$ac_cv_prog__OTOOL
20236 if test -n "$_OTOOL"; then
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20238 $as_echo "$_OTOOL" >&6; }
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20241 $as_echo "no" >&6; }
20245 test -n "$_OTOOL" && break
20248 if test -z "$_OTOOL"; then
20249 ac_ct__OTOOL
=$_OTOOL
20250 for ac_prog
in otool
20252 # Extract the first word of "$ac_prog", so it can be a program name with args.
20253 set dummy
$ac_prog; ac_word
=$2
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20255 $as_echo_n "checking for $ac_word... " >&6; }
20256 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20257 $as_echo_n "(cached) " >&6
20259 if test -n "$ac_ct__OTOOL"; then
20260 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20263 for as_dir
in $PATH
20266 test -z "$as_dir" && as_dir
=.
20267 for ac_exec_ext
in '' $ac_executable_extensions; do
20268 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20269 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20279 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20280 if test -n "$ac_ct__OTOOL"; then
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20282 $as_echo "$ac_ct__OTOOL" >&6; }
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20285 $as_echo "no" >&6; }
20289 test -n "$ac_ct__OTOOL" && break
20292 if test "x$ac_ct__OTOOL" = x
; then
20293 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20295 case $cross_compiling:$ac_tool_warned in
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20299 ac_tool_warned
=yes ;;
20301 _OTOOL
=$ac_ct__OTOOL
20305 CY_ATTACH_GROUP
=procmod
20313 if test "x$CY_MACH" = x1
; then
20322 ac_config_files
="$ac_config_files Makefile"
20324 cat >confcache
<<\_ACEOF
20325 # This file is a shell script that caches the results of configure
20326 # tests run on this system so they can be shared between configure
20327 # scripts and configure runs, see configure's option --config-cache.
20328 # It is not useful on other systems. If it contains results you don't
20329 # want to keep, you may remove or edit it.
20331 # config.status only pays attention to the cache file if you give it
20332 # the --recheck option to rerun configure.
20334 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20335 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20336 # following values.
20340 # The following way of writing the cache mishandles newlines in values,
20341 # but we know of no workaround that is simple, portable, and efficient.
20342 # So, we kill variables containing newlines.
20343 # Ultrix sh set writes to stderr and can't be redirected directly,
20344 # and sets the high bit in the cache file unless we assign to the vars.
20346 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20347 eval ac_val
=\$
$ac_var
20351 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20352 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20355 _
| IFS
| as_nl
) ;; #(
20356 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20357 *) { eval $ac_var=; unset $ac_var;} ;;
20363 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20364 *${as_nl}ac_space
=\
*)
20365 # `set' does not quote correctly, so add quotes: double-quote
20366 # substitution turns \\\\ into \\, and sed turns \\ into \.
20369 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20372 # `set' quotes correctly as required by POSIX, so do not add quotes.
20373 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20382 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20384 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20386 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20387 if test -w "$cache_file"; then
20388 if test "x$cache_file" != "x/dev/null"; then
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20390 $as_echo "$as_me: updating cache $cache_file" >&6;}
20391 if test ! -f "$cache_file" || test -h "$cache_file"; then
20392 cat confcache
>"$cache_file"
20394 case $cache_file in #(
20396 mv -f confcache
"$cache_file"$$
&&
20397 mv -f "$cache_file"$$
"$cache_file" ;; #(
20399 mv -f confcache
"$cache_file" ;;
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20405 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20410 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20411 # Let make expand exec_prefix.
20412 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20414 DEFS
=-DHAVE_CONFIG_H
20419 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20420 # 1. Remove the extension, and $U if already installed.
20421 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20422 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20423 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20424 # will be set to the directory where LIBOBJS objects are built.
20425 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20426 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20428 LIBOBJS
=$ac_libobjs
20430 LTLIBOBJS
=$ac_ltlibobjs
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20434 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20435 if test -n "$am_sleep_pid"; then
20436 # Hide warnings about reused PIDs.
20437 wait $am_sleep_pid 2>/dev
/null
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20440 $as_echo "done" >&6; }
20441 if test -n "$EXEEXT"; then
20443 am__EXEEXT_FALSE
='#'
20445 am__EXEEXT_TRUE
='#'
20449 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20450 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20453 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20454 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20457 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20458 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20461 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
20462 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
20463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20465 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20466 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20469 if test -z "${CY_IOS_SIMULATOR_TRUE}" && test -z "${CY_IOS_SIMULATOR_FALSE}"; then
20470 as_fn_error $?
"conditional \"CY_IOS_SIMULATOR\" was never defined.
20471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20473 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
20474 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
20475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20477 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
20478 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
20479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20481 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
20482 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
20483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20486 : "${CONFIG_STATUS=./config.status}"
20488 ac_clean_files_save
=$ac_clean_files
20489 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20491 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20493 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20495 # Generated by $as_me.
20496 # Run this file to recreate the current configuration.
20497 # Compiler output produced by configure, useful for debugging
20498 # configure, is in config.log if it exists.
20501 ac_cs_recheck=false
20504 SHELL=\${CONFIG_SHELL-$SHELL}
20507 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20508 ## -------------------- ##
20509 ## M4sh Initialization. ##
20510 ## -------------------- ##
20512 # Be more Bourne compatible
20513 DUALCASE
=1; export DUALCASE
# for MKS sh
20514 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20517 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20518 # is contrary to our usage. Disable this feature.
20519 alias -g '${1+"$@"}'='"$@"'
20520 setopt NO_GLOB_SUBST
20522 case `(set -o) 2>/dev/null` in #(
20534 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20535 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20536 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20537 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20538 # Prefer a ksh shell builtin over an external printf program on Solaris,
20539 # but without wasting forks for bash or zsh.
20540 if test -z "$BASH_VERSION$ZSH_VERSION" \
20541 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20542 as_echo='print
-r --'
20543 as_echo_n='print
-rn --'
20544 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20545 as_echo='printf %s
\n'
20546 as_echo_n='printf %s
'
20548 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20549 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20550 as_echo_n='/usr
/ucb
/echo -n'
20552 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20553 as_echo_n_body='eval
20557 expr "X$arg" : "X\\(.*\\)$as_nl";
20558 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20560 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20562 export as_echo_n_body
20563 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20565 export as_echo_body
20566 as_echo='sh
-c $as_echo_body as_echo
'
20569 # The user is always right.
20570 if test "${PATH_SEPARATOR+set}" != set; then
20572 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20573 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20580 # We need space, tab and new line, in precisely that order. Quoting is
20581 # there to prevent editors from complaining about space-tab.
20582 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20583 # splitting by setting IFS to empty value.)
20586 # Find who we are. Look in the path if we contain no directory separator.
20589 *[\\/]* ) as_myself=$0 ;;
20590 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20591 for as_dir in $PATH
20594 test -z "$as_dir" && as_dir=.
20595 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20601 # We did not find ourselves, most probably we were run as `sh COMMAND'
20602 # in which case we are not to be found in the path.
20603 if test "x$as_myself" = x
; then
20606 if test ! -f "$as_myself"; then
20607 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20611 # Unset variables that we do not need and which cause bugs (e.g. in
20612 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20613 # suppresses any "Segmentation fault" message there. '((' could
20614 # trigger a bug in pdksh 5.2.14.
20615 for as_var
in BASH_ENV ENV MAIL MAILPATH
20616 do eval test x\
${$as_var+set} = xset \
20617 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20630 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20633 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20634 # ----------------------------------------
20635 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20636 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20637 # script with STATUS, using 1 if that was 0.
20640 as_status
=$1; test $as_status -eq 0 && as_status
=1
20642 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20643 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20645 $as_echo "$as_me: error: $2" >&2
20646 as_fn_exit
$as_status
20650 # as_fn_set_status STATUS
20651 # -----------------------
20652 # Set $? to STATUS, without forking.
20653 as_fn_set_status
()
20656 } # as_fn_set_status
20658 # as_fn_exit STATUS
20659 # -----------------
20660 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20664 as_fn_set_status
$1
20670 # Portably unset VAR.
20673 { eval $1=; unset $1;}
20675 as_unset
=as_fn_unset
20676 # as_fn_append VAR VALUE
20677 # ----------------------
20678 # Append the text in VALUE to the end of the definition contained in VAR. Take
20679 # advantage of any shell optimizations that allow amortized linear growth over
20680 # repeated appends, instead of the typical quadratic growth present in naive
20682 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20683 eval 'as_fn_append ()
20694 # as_fn_arith ARG...
20695 # ------------------
20696 # Perform arithmetic evaluation on the ARGs, and store the result in the
20697 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20698 # must be portable across $(()) and expr.
20699 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20700 eval 'as_fn_arith ()
20707 as_val
=`expr "$@" || test $? -eq 1`
20712 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20713 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20719 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20720 as_basename
=basename
20725 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20731 as_me
=`$as_basename -- "$0" ||
20732 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20733 X"$0" : 'X\(//\)$' \| \
20734 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20736 sed '/^.*\/\([^/][^/]*\)\/*$/{
20750 # Avoid depending upon Character Ranges.
20751 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20752 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20753 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20754 as_cr_digits
='0123456789'
20755 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20757 ECHO_C
= ECHO_N
= ECHO_T
=
20758 case `echo -n x` in #(((((
20760 case `echo 'xy\c'` in
20761 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20763 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20770 rm -f conf$$ conf$$.exe conf$$.
file
20771 if test -d conf$$.dir
; then
20772 rm -f conf$$.dir
/conf$$.
file
20775 mkdir conf$$.dir
2>/dev
/null
20777 if (echo >conf$$.
file) 2>/dev
/null
; then
20778 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20780 # ... but there are two gotchas:
20781 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20782 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20783 # In both cases, we have to default to `cp -pR'.
20784 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20786 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20794 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20795 rmdir conf$$.dir
2>/dev
/null
20800 # Create "$as_dir" as a directory, including parents if necessary.
20805 -*) as_dir
=.
/$as_dir;;
20807 test -d "$as_dir" || eval $as_mkdir_p || {
20811 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20812 *) as_qdir
=$as_dir;;
20814 as_dirs
="'$as_qdir' $as_dirs"
20815 as_dir
=`$as_dirname -- "$as_dir" ||
20816 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20817 X"$as_dir" : 'X\(//\)[^/]' \| \
20818 X"$as_dir" : 'X\(//\)$' \| \
20819 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20820 $as_echo X"$as_dir" |
20821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20825 /^X\(\/\/\)[^/].*/{
20838 test -d "$as_dir" && break
20840 test -z "$as_dirs" || eval "mkdir $as_dirs"
20841 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20845 if mkdir -p .
2>/dev
/null
; then
20846 as_mkdir_p
='mkdir -p "$as_dir"'
20848 test -d .
/-p && rmdir .
/-p
20853 # as_fn_executable_p FILE
20854 # -----------------------
20855 # Test if FILE is an executable regular file.
20856 as_fn_executable_p
()
20858 test -f "$1" && test -x "$1"
20859 } # as_fn_executable_p
20860 as_test_x
='test -x'
20861 as_executable_p
=as_fn_executable_p
20863 # Sed expression to map a string onto a valid CPP name.
20864 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20866 # Sed expression to map a string onto a valid variable name.
20867 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20871 ## ----------------------------------- ##
20872 ## Main body of $CONFIG_STATUS script. ##
20873 ## ----------------------------------- ##
20875 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20877 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20878 # Save the log message, to keep $0 and so on meaningful, and to
20879 # report actual input values of CONFIG_FILES etc. instead of their
20880 # values after options handling.
20882 This file was extended by Cycript $as_me 0.9, which was
20883 generated by GNU Autoconf 2.69. Invocation command line was
20885 CONFIG_FILES = $CONFIG_FILES
20886 CONFIG_HEADERS = $CONFIG_HEADERS
20887 CONFIG_LINKS = $CONFIG_LINKS
20888 CONFIG_COMMANDS = $CONFIG_COMMANDS
20891 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20896 case $ac_config_files in *"
20897 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20900 case $ac_config_headers in *"
20901 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20906 # Files that config.status was made for.
20907 config_files="$ac_config_files"
20908 config_headers="$ac_config_headers"
20909 config_commands="$ac_config_commands"
20913 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20915 \`$as_me' instantiates files and other configuration actions
20916 from templates according to the current configuration. Unless the files
20917 and actions are specified as TAGs, all are instantiated by default.
20919 Usage: $0 [OPTION]... [TAG]...
20921 -h, --help print this help, then exit
20922 -V, --version print version number and configuration settings, then exit
20923 --config print configuration, then exit
20924 -q, --quiet, --silent
20925 do not print progress messages
20926 -d, --debug don't remove temporary files
20927 --recheck update $as_me by reconfiguring in the same conditions
20928 --file=FILE[:TEMPLATE]
20929 instantiate the configuration file FILE
20930 --header=FILE[:TEMPLATE]
20931 instantiate the configuration header FILE
20933 Configuration files:
20936 Configuration headers:
20939 Configuration commands:
20942 Report bugs to <saurik@saurik.com>.
20943 Cycript home page: <http://www.cycript.org/>."
20946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20947 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20949 Cycript config.status 0.9
20950 configured by $0, generated by GNU Autoconf 2.69,
20951 with options \\"\$ac_cs_config\\"
20953 Copyright (C) 2012 Free Software Foundation, Inc.
20954 This config.status script is free software; the Free Software Foundation
20955 gives unlimited permission to copy, distribute and modify it."
20962 test -n "\$AWK" || AWK=awk
20965 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20966 # The default lists apply if the user does not specify any file.
20972 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20973 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20977 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20989 # Handling of the options.
20990 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20992 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20993 $as_echo "$ac_cs_version"; exit ;;
20994 --config | --confi | --conf | --con | --co | --c )
20995 $as_echo "$ac_cs_config"; exit ;;
20996 --debug | --debu | --deb | --de | --d | -d )
20998 --file | --fil | --fi | --f )
21001 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21002 '') as_fn_error $?
"missing file argument" ;;
21004 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21005 ac_need_defaults
=false
;;
21006 --header | --heade | --head | --hea )
21009 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21011 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21012 ac_need_defaults
=false
;;
21014 # Conflict between --help and --header
21015 as_fn_error $?
"ambiguous option: \`$1'
21016 Try \`$0 --help' for more information.";;
21017 --help | --hel | -h )
21018 $as_echo "$ac_cs_usage"; exit ;;
21019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21020 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21023 # This is an error.
21024 -*) as_fn_error $?
"unrecognized option: \`$1'
21025 Try \`$0 --help' for more information." ;;
21027 *) as_fn_append ac_config_targets
" $1"
21028 ac_need_defaults
=false
;;
21034 ac_configure_extra_args
=
21036 if $ac_cs_silent; then
21038 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21043 if \$ac_cs_recheck; then
21044 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21046 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21047 CONFIG_SHELL='$SHELL'
21048 export CONFIG_SHELL
21053 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21057 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21058 ## Running $as_me. ##
21064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21068 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21071 # The HP-UX ksh and POSIX shell print the target directory to stdout
21072 # if CDPATH is set.
21073 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21075 sed_quote_subst='$sed_quote_subst'
21076 double_quote_subst='$double_quote_subst'
21077 delay_variable_subst='$delay_variable_subst'
21078 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21079 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21080 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21081 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21082 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21083 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21084 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21085 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21086 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21087 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21088 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21089 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21090 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21091 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21092 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21093 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21094 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21095 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21096 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21097 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21098 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21099 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21100 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21101 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21102 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21103 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21104 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21105 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21106 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21107 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21108 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21109 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21110 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21111 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21112 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21113 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21114 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21115 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21116 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21117 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21118 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21119 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21120 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21121 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21122 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21123 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21124 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21125 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21126 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21127 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21128 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21129 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21130 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21131 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21132 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21133 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21134 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"`'
21135 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21136 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21137 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21138 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21139 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21140 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21141 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21142 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21143 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21144 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21145 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21146 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21147 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21148 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21149 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21150 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21151 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21152 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21153 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21154 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21155 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21156 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21157 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21158 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21159 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21160 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21161 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21162 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21163 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21164 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21165 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21166 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21167 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21168 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21169 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21170 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21171 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21172 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21173 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21174 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21175 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21176 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21177 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21178 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21179 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21180 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21181 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21182 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21183 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21184 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21185 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21186 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21187 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21188 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21189 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21190 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21191 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21192 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21193 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21194 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21195 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21196 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21197 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21198 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21199 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21200 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21201 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21202 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21203 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21204 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21205 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21206 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21207 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21208 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21209 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21210 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21211 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21212 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21213 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21214 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21215 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21216 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21217 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21218 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21219 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21220 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21221 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21222 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21223 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21224 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21225 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21226 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21227 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21228 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21229 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21230 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21231 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21232 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21233 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21234 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21235 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21236 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21237 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21238 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21239 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21240 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21241 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21242 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21243 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21244 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21245 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21246 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21247 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21248 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21249 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21250 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21251 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21252 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21253 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21254 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21255 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21256 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21257 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21258 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21259 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21260 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21261 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21264 LTCFLAGS='$LTCFLAGS'
21265 compiler='$compiler_DEFAULT'
21267 # A function that is used when there is no print builtin or printf.
21268 func_fallback_echo ()
21270 eval 'cat <<_LTECHO_EOF
21275 # Quote evaled strings.
21290 deplibs_check_method \
21295 sharedlib_from_linklib_cmd \
21298 archiver_list_spec \
21304 lt_cv_sys_global_symbol_pipe \
21305 lt_cv_sys_global_symbol_to_cdecl \
21306 lt_cv_sys_global_symbol_to_c_name_address \
21307 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21308 nm_file_list_spec \
21309 lt_prog_compiler_no_builtin_flag \
21310 lt_prog_compiler_pic \
21311 lt_prog_compiler_wl \
21312 lt_prog_compiler_static \
21313 lt_cv_prog_compiler_c_o \
21322 export_dynamic_flag_spec \
21323 whole_archive_flag_spec \
21324 compiler_needs_object \
21326 allow_undefined_flag \
21327 no_undefined_flag \
21328 hardcode_libdir_flag_spec \
21329 hardcode_libdir_separator \
21333 variables_saved_for_relink \
21335 library_names_spec \
21337 install_override_mode \
21341 compiler_lib_search_dirs \
21346 compiler_lib_search_path \
21350 lt_prog_compiler_no_builtin_flag_CXX \
21351 lt_prog_compiler_pic_CXX \
21352 lt_prog_compiler_wl_CXX \
21353 lt_prog_compiler_static_CXX \
21354 lt_cv_prog_compiler_c_o_CXX \
21355 export_dynamic_flag_spec_CXX \
21356 whole_archive_flag_spec_CXX \
21357 compiler_needs_object_CXX \
21359 allow_undefined_flag_CXX \
21360 no_undefined_flag_CXX \
21361 hardcode_libdir_flag_spec_CXX \
21362 hardcode_libdir_separator_CXX \
21363 exclude_expsyms_CXX \
21364 include_expsyms_CXX \
21365 file_list_spec_CXX \
21366 compiler_lib_search_dirs_CXX \
21367 predep_objects_CXX \
21368 postdep_objects_CXX \
21371 compiler_lib_search_path_CXX; do
21372 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21373 *[\\\\\\\`\\"\\\$]*)
21374 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21377 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21382 # Double-quote double-evaled strings.
21383 for var in reload_cmds \
21384 old_postinstall_cmds \
21385 old_postuninstall_cmds \
21387 extract_expsyms_cmds \
21388 old_archive_from_new_cmds \
21389 old_archive_from_expsyms_cmds \
21391 archive_expsym_cmds \
21393 module_expsym_cmds \
21394 export_symbols_cmds \
21398 postuninstall_cmds \
21400 sys_lib_search_path_spec \
21401 sys_lib_dlsearch_path_spec \
21403 old_archive_cmds_CXX \
21404 old_archive_from_new_cmds_CXX \
21405 old_archive_from_expsyms_cmds_CXX \
21407 archive_expsym_cmds_CXX \
21409 module_expsym_cmds_CXX \
21410 export_symbols_cmds_CXX \
21412 postlink_cmds_CXX; do
21413 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21414 *[\\\\\\\`\\"\\\$]*)
21415 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21418 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21423 ac_aux_dir='$ac_aux_dir'
21424 xsi_shell='$xsi_shell'
21425 lt_shell_append='$lt_shell_append'
21427 # See if we are running on zsh, and set the options which allow our
21428 # commands through without removal of \ escapes INIT.
21429 if test -n "\${ZSH_VERSION+set}" ; then
21430 setopt NO_GLOB_SUBST
21436 TIMESTAMP='$TIMESTAMP'
21447 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21449 # Handling of arguments.
21450 for ac_config_target
in $ac_config_targets
21452 case $ac_config_target in
21453 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21454 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21455 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21456 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21458 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21463 # If the user did not use the arguments to specify the items to instantiate,
21464 # then the envvar interface is used. Set only those that are not.
21465 # We use the long form for the default assignment because of an extremely
21466 # bizarre bug on SunOS 4.1.3.
21467 if $ac_need_defaults; then
21468 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21469 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21470 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21473 # Have a temporary directory for convenience. Make it in the build tree
21474 # simply because there is no reason against having it here, and in addition,
21475 # creating and moving files from /tmp can sometimes cause problems.
21476 # Hook for its removal unless debugging.
21477 # Note that there is a small window in which the directory will not be cleaned:
21478 # after its creation but before its name has been assigned to `$tmp'.
21482 trap 'exit_status=$?
21483 : "${ac_tmp:=$tmp}"
21484 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21486 trap 'as_fn_exit 1' 1 2 13 15
21488 # Create a (secure) tmp directory for tmp files.
21491 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21495 tmp
=.
/conf$$
-$RANDOM
21496 (umask 077 && mkdir "$tmp")
21497 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21500 # Set up the scripts for CONFIG_FILES section.
21501 # No need to generate them if there are no CONFIG_FILES.
21502 # This happens for instance with `./config.status config.h'.
21503 if test -n "$CONFIG_FILES"; then
21506 ac_cr
=`echo X | tr X '\015'`
21507 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21508 # But we know of no other shell where ac_cr would be empty at this
21509 # point, so we can use a bashism as a fallback.
21510 if test "x$ac_cr" = x
; then
21511 eval ac_cr
=\$
\'\\r
\'
21513 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21514 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21517 ac_cs_awk_cr
=$ac_cr
21520 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21525 echo "cat >conf$$subs.awk <<_ACEOF" &&
21526 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21528 } >conf$$subs.sh ||
21529 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21530 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21532 for ac_last_try in false false false false false :; do
21533 . ./conf$$subs.sh ||
21534 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21536 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21537 if test $ac_delim_n = $ac_delim_num; then
21539 elif $ac_last_try; then
21540 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21542 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21545 rm -f conf$$subs.sh
21547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21548 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21552 s/^/S["/; s
/!.
*/"]=/
21562 s/\(.\{148\}\)..*/\1/
21564 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21569 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21576 s/\(.\{148\}\)..*/\1/
21578 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21582 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21587 ' <conf$$subs.awk | sed '
21592 ' >>$CONFIG_STATUS || ac_write_fail=1
21593 rm -f conf$$subs.awk
21594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21596 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21597 for (key in S) S_is_set[key] = 1
21603 nfields = split(line, field, "@
")
21605 len = length(field[1])
21606 for (i = 2; i < nfields; i++) {
21608 keylen = length(key)
21609 if (S_is_set[key]) {
21611 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21612 len += length(value) + length(field[++i])
21623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21624 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21625 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21628 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21629 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21632 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21633 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21634 # trailing colons and then remove the whole line if VPATH becomes empty
21635 # (actually we leave an empty line to preserve line numbers).
21636 if test "x
$srcdir" = x.; then
21637 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21656 fi # test -n "$CONFIG_FILES"
21658 # Set up the scripts for CONFIG_HEADERS section.
21659 # No need to generate them if there are no CONFIG_HEADERS.
21660 # This happens for instance with `./config.status Makefile'.
21661 if test -n "$CONFIG_HEADERS"; then
21662 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21666 # Transform confdefs.h into an awk script `defines.awk', embedded as
21667 # here-document in config.status, that substitutes the proper values into
21668 # config.h.in to produce config.h.
21670 # Create a delimiter string that does not exist in confdefs.h, to ease
21671 # handling of long lines.
21673 for ac_last_try in false false :; do
21674 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21675 if test -z "$ac_tt"; then
21677 elif $ac_last_try; then
21678 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21680 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21684 # For the awk script, D is an array of macro values keyed by name,
21685 # likewise P contains macro parameters if any. Preserve backslash
21686 # newline sequences.
21688 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21690 s/.\{148\}/&'"$ac_delim"'/g
21693 s/^[ ]*#[ ]*define[ ][ ]*/ /
21700 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21702 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21706 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21707 D["\
1"]=" \
3\\\\\\n
"\\/p
21709 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21714 s/.\{148\}/&'"$ac_delim"'/g
21719 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21722 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21724 ' <confdefs.h | sed '
21725 s/'"$ac_delim"'/"\\\
21726 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21729 for (key in D) D_is_set[key] = 1
21732 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21734 split(line, arg, " ")
21735 if (arg[1] == "#") {
21739 defundef
= substr
(arg
[1], 2)
21742 split(mac1
, mac2
, "(") #)
21744 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21745 if (D_is_set
[macro
]) {
21746 # Preserve the white space surrounding the "#".
21747 print prefix
"define", macro P
[macro
] D
[macro
]
21750 # Replace #undef with comments. This is necessary, for example,
21751 # in the case of _POSIX_SOURCE, which is predefined and required
21752 # on some systems where configure will not decide to define it.
21753 if (defundef
== "undef") {
21754 print
"/*", prefix defundef
, macro
, "*/"
21762 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21763 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21764 fi # test -n "$CONFIG_HEADERS"
21767 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21772 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21774 case $ac_mode$ac_tag in
21776 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21777 :[FH
]-) ac_tag
=-:-;;
21778 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21795 -) ac_f
="$ac_tmp/stdin";;
21796 *) # Look for the file first in the build tree, then in the source tree
21797 # (if the path is not absolute). The absolute path cannot be DOS-style,
21798 # because $ac_f cannot contain `:'.
21802 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21804 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21806 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21807 as_fn_append ac_file_inputs
" '$ac_f'"
21810 # Let's still pretend it is `configure' which instantiates (i.e., don't
21811 # use $as_me), people would be surprised to read:
21812 # /* config.h. Generated by config.status. */
21813 configure_input
='Generated from '`
21814 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21816 if test x
"$ac_file" != x
-; then
21817 configure_input
="$ac_file. $configure_input"
21818 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21819 $as_echo "$as_me: creating $ac_file" >&6;}
21821 # Neutralize special characters interpreted by sed in replacement strings.
21822 case $configure_input in #(
21823 *\
&* | *\
|* | *\\* )
21824 ac_sed_conf_input
=`$as_echo "$configure_input" |
21825 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21826 *) ac_sed_conf_input
=$configure_input;;
21830 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21831 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21836 ac_dir
=`$as_dirname -- "$ac_file" ||
21837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21838 X"$ac_file" : 'X\(//\)[^/]' \| \
21839 X"$ac_file" : 'X\(//\)$' \| \
21840 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21841 $as_echo X"$ac_file" |
21842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21846 /^X\(\/\/\)[^/].*/{
21859 as_dir
="$ac_dir"; as_fn_mkdir_p
21863 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21865 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21866 # A ".." for each directory in $ac_dir_suffix.
21867 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21868 case $ac_top_builddir_sub in
21869 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21870 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21873 ac_abs_top_builddir
=$ac_pwd
21874 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21875 # for backward compatibility:
21876 ac_top_builddir
=$ac_top_build_prefix
21879 .
) # We are building in place.
21881 ac_top_srcdir
=$ac_top_builddir_sub
21882 ac_abs_top_srcdir
=$ac_pwd ;;
21883 [\\/]* | ?
:[\\/]* ) # Absolute name.
21884 ac_srcdir
=$srcdir$ac_dir_suffix;
21885 ac_top_srcdir
=$srcdir
21886 ac_abs_top_srcdir
=$srcdir ;;
21887 *) # Relative name.
21888 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21889 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21890 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21892 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21902 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21903 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21905 ac_MKDIR_P
=$MKDIR_P
21907 [\\/$
]* | ?
:[\\/]* ) ;;
21908 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21912 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21913 # If the template does not know about datarootdir, expand it.
21914 # FIXME: This hack should be removed a few years after 2.60.
21915 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21926 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21927 *datarootdir
*) ac_datarootdir_seen
=yes;;
21928 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21930 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21933 ac_datarootdir_hack='
21934 s&@datadir@&$datadir&g
21935 s&@docdir@&$docdir&g
21936 s&@infodir@&$infodir&g
21937 s&@localedir@&$localedir&g
21938 s&@mandir@&$mandir&g
21939 s&\\\${datarootdir}&$datarootdir&g' ;;
21943 # Neutralize VPATH when `$srcdir' = `.'.
21944 # Shell code in configure.ac might set extrasub.
21945 # FIXME: do we really want to maintain this feature?
21946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21947 ac_sed_extra="$ac_vpsub
21950 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21952 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21953 s
|@configure_input@
|$ac_sed_conf_input|;t t
21954 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21955 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21956 s
&@srcdir@
&$ac_srcdir&;t t
21957 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21958 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21959 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21960 s
&@builddir@
&$ac_builddir&;t t
21961 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21962 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21963 s
&@INSTALL@
&$ac_INSTALL&;t t
21964 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21965 $ac_datarootdir_hack
21967 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21968 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21970 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21971 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21972 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21973 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21975 which seems to be undefined. Please make sure it is defined" >&5
21976 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21977 which seems to be undefined. Please make sure it is defined" >&2;}
21979 rm -f "$ac_tmp/stdin"
21981 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21982 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21984 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21990 if test x"$ac_file" != x-; then
21992 $as_echo "/* $configure_input */" \
21993 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21994 } >"$ac_tmp/config.h" \
21995 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21996 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21998 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22001 mv "$ac_tmp/config.h" "$ac_file" \
22002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22005 $as_echo "/* $configure_input */" \
22006 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22007 || as_fn_error $? "could not create -" "$LINENO" 5
22009 # Compute "$ac_file"'s index
in $config_headers.
22012 for _am_header
in $config_headers :; do
22013 case $_am_header in
22014 $_am_arg | $_am_arg:* )
22017 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22020 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22021 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22022 X"$_am_arg" : 'X\(//\)[^/]' \| \
22023 X"$_am_arg" : 'X\(//\)$' \| \
22024 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22025 $as_echo X"$_am_arg" |
22026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22030 /^X\(\/\/\)[^/].*/{
22042 s/.*/./; q'`/stamp
-h$_am_stamp_count
22045 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22046 $as_echo "$as_me: executing $ac_file commands" >&6;}
22051 case $ac_file$ac_mode in
22052 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22053 # Older Autoconf quotes --file arguments for eval, but not when files
22054 # are listed without --file. Let's play safe and only enable the eval
22055 # if we detect the quoting.
22056 case $CONFIG_FILES in
22057 *\'*) eval set x
"$CONFIG_FILES" ;;
22058 *) set x
$CONFIG_FILES ;;
22063 # Strip MF so we end up with the name of the file.
22064 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22065 # Check whether this is an Automake generated Makefile or not.
22066 # We used to match only the files named 'Makefile.in', but
22067 # some people rename them; so instead we look at the file content.
22068 # Grep'ing the first line is not enough: some people post-process
22069 # each Makefile.in and add a new line on top of each file to say so.
22070 # Grep'ing the whole file is not good either: AIX grep has a line
22071 # limit of 2048, but all sed's we know have understand at least 4000.
22072 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22073 dirpart
=`$as_dirname -- "$mf" ||
22074 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22075 X"$mf" : 'X\(//\)[^/]' \| \
22076 X"$mf" : 'X\(//\)$' \| \
22077 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22083 /^X\(\/\/\)[^/].*/{
22099 # Extract the definition of DEPDIR, am__include, and am__quote
22100 # from the Makefile without running 'make'.
22101 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22102 test -z "$DEPDIR" && continue
22103 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22104 test -z "am__include" && continue
22105 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22106 # Find all dependency output files, they are included files with
22107 # $(DEPDIR) in their names. We invoke sed twice because it is the
22108 # simplest approach to changing $(DEPDIR) to its actual value in the
22110 for file in `sed -n "
22111 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22112 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22113 # Make sure the directory exists.
22114 test -f "$dirpart/$file" && continue
22115 fdir
=`$as_dirname -- "$file" ||
22116 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22117 X"$file" : 'X\(//\)[^/]' \| \
22118 X"$file" : 'X\(//\)$' \| \
22119 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22120 $as_echo X"$file" |
22121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22125 /^X\(\/\/\)[^/].*/{
22138 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22139 # echo "creating $dirpart/$file"
22140 echo '# dummy' > "$dirpart/$file"
22147 # See if we are running on zsh, and set the options which allow our
22148 # commands through without removal of \ escapes.
22149 if test -n "${ZSH_VERSION+set}" ; then
22150 setopt NO_GLOB_SUBST
22153 cfgfile
="${ofile}T"
22154 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22157 cat <<_LT_EOF >> "$cfgfile"
22160 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22161 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22162 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22163 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22165 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22166 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22168 # Written by Gordon Matzigkeit, 1996
22170 # This file is part of GNU Libtool.
22172 # GNU Libtool is free software; you can redistribute it and/or
22173 # modify it under the terms of the GNU General Public License as
22174 # published by the Free Software Foundation; either version 2 of
22175 # the License, or (at your option) any later version.
22177 # As a special exception to the GNU General Public License,
22178 # if you distribute this file as part of a program or library that
22179 # is built using GNU Libtool, you may include this file under the
22180 # same distribution terms that you use for the rest of that program.
22182 # GNU Libtool is distributed in the hope that it will be useful,
22183 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22184 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22185 # GNU General Public License for more details.
22187 # You should have received a copy of the GNU General Public License
22188 # along with GNU Libtool; see the file COPYING. If not, a copy
22189 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22190 # obtained by writing to the Free Software Foundation, Inc.,
22191 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22194 # The names of the tagged configurations supported by this script.
22195 available_tags="CXX "
22197 # ### BEGIN LIBTOOL CONFIG
22199 # Which release of libtool.m4 was used?
22200 macro_version=$macro_version
22201 macro_revision=$macro_revision
22203 # Whether or not to build static libraries.
22204 build_old_libs=$enable_static
22206 # Whether or not to build shared libraries.
22207 build_libtool_libs=$enable_shared
22209 # What type of objects to build.
22212 # Whether or not to optimize for fast installation.
22213 fast_install=$enable_fast_install
22215 # Shell to use when invoking shell scripts.
22218 # An echo program that protects backslashes.
22221 # The PATH separator for the build system.
22222 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22225 host_alias=$host_alias
22229 # The build system.
22230 build_alias=$build_alias
22234 # A sed program that does not truncate output.
22237 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22238 Xsed="\$SED -e 1s/^X//"
22240 # A grep program that handles long lines.
22246 # A literal string matcher.
22249 # A BSD- or MS-compatible name lister.
22252 # Whether we need soft or hard links.
22255 # What is the maximum length of a command?
22256 max_cmd_len=$max_cmd_len
22258 # Object file suffix (normally "o").
22261 # Executable file suffix (normally "").
22264 # whether the shell understands "unset".
22267 # turn spaces into newlines.
22270 # turn newlines into spaces.
22273 # convert \$build file names to \$host format.
22274 to_host_file_cmd=$lt_cv_to_host_file_cmd
22276 # convert \$build files to toolchain format.
22277 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22279 # An object symbol dumper.
22280 OBJDUMP=$lt_OBJDUMP
22282 # Method to check whether dependent libraries are shared objects.
22283 deplibs_check_method=$lt_deplibs_check_method
22285 # Command to use when deplibs_check_method = "file_magic".
22286 file_magic_cmd=$lt_file_magic_cmd
22288 # How to find potential files when deplibs_check_method = "file_magic".
22289 file_magic_glob=$lt_file_magic_glob
22291 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22292 want_nocaseglob=$lt_want_nocaseglob
22294 # DLL creation program.
22295 DLLTOOL=$lt_DLLTOOL
22297 # Command to associate shared and link libraries.
22298 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22303 # Flags to create an archive.
22304 AR_FLAGS=$lt_AR_FLAGS
22306 # How to feed a file listing to the archiver.
22307 archiver_list_spec=$lt_archiver_list_spec
22309 # A symbol stripping program.
22312 # Commands used to install an old-style archive.
22314 old_postinstall_cmds=$lt_old_postinstall_cmds
22315 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22317 # Whether to use a lock for old archive extraction.
22318 lock_old_archive_extraction=$lock_old_archive_extraction
22323 # LTCC compiler flags.
22324 LTCFLAGS=$lt_CFLAGS
22326 # Take the output of nm and produce a listing of raw symbols and C names.
22327 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22329 # Transform the output of nm in a proper C declaration.
22330 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22332 # Transform the output of nm in a C name address pair.
22333 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22335 # Transform the output of nm in a C name address pair when lib prefix is needed.
22336 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22338 # Specify filename containing input files for \$NM.
22339 nm_file_list_spec=$lt_nm_file_list_spec
22341 # The root where to search for dependent libraries,and in which our libraries should be installed.
22342 lt_sysroot=$lt_sysroot
22344 # The name of the directory that contains temporary libtool files.
22347 # Used to examine libraries when file_magic_cmd begins with "file".
22348 MAGIC_CMD=$MAGIC_CMD
22350 # Must we lock files when doing compilation?
22351 need_locks=$lt_need_locks
22354 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22356 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22357 DSYMUTIL=$lt_DSYMUTIL
22359 # Tool to change global to local symbols on Mac OS X.
22362 # Tool to manipulate fat objects and archives on Mac OS X.
22365 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22368 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22369 OTOOL64=$lt_OTOOL64
22371 # Old archive suffix (normally "a").
22374 # Shared library suffix (normally ".so").
22375 shrext_cmds=$lt_shrext_cmds
22377 # The commands to extract the exported symbol list from a shared archive.
22378 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22380 # Variables whose values should be saved in libtool wrapper scripts and
22381 # restored at link time.
22382 variables_saved_for_relink=$lt_variables_saved_for_relink
22384 # Do we need the "lib" prefix for modules?
22385 need_lib_prefix=$need_lib_prefix
22387 # Do we need a version for libraries?
22388 need_version=$need_version
22390 # Library versioning type.
22391 version_type=$version_type
22393 # Shared library runtime path variable.
22394 runpath_var=$runpath_var
22396 # Shared library path variable.
22397 shlibpath_var=$shlibpath_var
22399 # Is shlibpath searched before the hard-coded library search path?
22400 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22402 # Format of library name prefix.
22403 libname_spec=$lt_libname_spec
22405 # List of archive names. First name is the real one, the rest are links.
22406 # The last name is the one that the linker finds with -lNAME
22407 library_names_spec=$lt_library_names_spec
22409 # The coded name of the library, if different from the real name.
22410 soname_spec=$lt_soname_spec
22412 # Permission mode override for installation of shared libraries.
22413 install_override_mode=$lt_install_override_mode
22415 # Command to use after installation of a shared archive.
22416 postinstall_cmds=$lt_postinstall_cmds
22418 # Command to use after uninstallation of a shared archive.
22419 postuninstall_cmds=$lt_postuninstall_cmds
22421 # Commands used to finish a libtool library installation in a directory.
22422 finish_cmds=$lt_finish_cmds
22424 # As "finish_cmds", except a single script fragment to be evaled but
22426 finish_eval=$lt_finish_eval
22428 # Whether we should hardcode library paths into libraries.
22429 hardcode_into_libs=$hardcode_into_libs
22431 # Compile-time system search path for libraries.
22432 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22434 # Run-time system search path for libraries.
22435 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22437 # Whether dlopen is supported.
22438 dlopen_support=$enable_dlopen
22440 # Whether dlopen of programs is supported.
22441 dlopen_self=$enable_dlopen_self
22443 # Whether dlopen of statically linked programs is supported.
22444 dlopen_self_static=$enable_dlopen_self_static
22446 # Commands to strip libraries.
22447 old_striplib=$lt_old_striplib
22448 striplib=$lt_striplib
22451 # The linker used to build libraries.
22454 # How to create reloadable object files.
22455 reload_flag=$lt_reload_flag
22456 reload_cmds=$lt_reload_cmds
22458 # Commands used to build an old-style archive.
22459 old_archive_cmds=$lt_old_archive_cmds
22461 # A language specific compiler.
22464 # Is the compiler the GNU compiler?
22467 # Compiler flag to turn off builtin functions.
22468 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22470 # Additional compiler flags for building library objects.
22471 pic_flag=$lt_lt_prog_compiler_pic
22473 # How to pass a linker flag through the compiler.
22474 wl=$lt_lt_prog_compiler_wl
22476 # Compiler flag to prevent dynamic linking.
22477 link_static_flag=$lt_lt_prog_compiler_static
22479 # Does compiler simultaneously support -c and -o options?
22480 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22482 # Whether or not to add -lc for building shared libraries.
22483 build_libtool_need_lc=$archive_cmds_need_lc
22485 # Whether or not to disallow shared libs when runtime libs are static.
22486 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22488 # Compiler flag to allow reflexive dlopens.
22489 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22491 # Compiler flag to generate shared objects directly from archives.
22492 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22494 # Whether the compiler copes with passing no objects directly.
22495 compiler_needs_object=$lt_compiler_needs_object
22497 # Create an old-style archive from a shared archive.
22498 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22500 # Create a temporary old-style archive to link instead of a shared archive.
22501 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22503 # Commands used to build a shared archive.
22504 archive_cmds=$lt_archive_cmds
22505 archive_expsym_cmds=$lt_archive_expsym_cmds
22507 # Commands used to build a loadable module if different from building
22508 # a shared archive.
22509 module_cmds=$lt_module_cmds
22510 module_expsym_cmds=$lt_module_expsym_cmds
22512 # Whether we are building with GNU ld or not.
22513 with_gnu_ld=$lt_with_gnu_ld
22515 # Flag that allows shared libraries with undefined symbols to be built.
22516 allow_undefined_flag=$lt_allow_undefined_flag
22518 # Flag that enforces no undefined symbols.
22519 no_undefined_flag=$lt_no_undefined_flag
22521 # Flag to hardcode \$libdir into a binary during linking.
22522 # This must work even if \$libdir does not exist
22523 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22525 # Whether we need a single "-rpath" flag with a separated argument.
22526 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22528 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22529 # DIR into the resulting binary.
22530 hardcode_direct=$hardcode_direct
22532 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22533 # DIR into the resulting binary and the resulting library dependency is
22534 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22535 # library is relocated.
22536 hardcode_direct_absolute=$hardcode_direct_absolute
22538 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22539 # into the resulting binary.
22540 hardcode_minus_L=$hardcode_minus_L
22542 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22543 # into the resulting binary.
22544 hardcode_shlibpath_var=$hardcode_shlibpath_var
22546 # Set to "yes" if building a shared library automatically hardcodes DIR
22547 # into the library and all subsequent libraries and executables linked
22549 hardcode_automatic=$hardcode_automatic
22551 # Set to yes if linker adds runtime paths of dependent libraries
22552 # to runtime path list.
22553 inherit_rpath=$inherit_rpath
22555 # Whether libtool must link a program against all its dependency libraries.
22556 link_all_deplibs=$link_all_deplibs
22558 # Set to "yes" if exported symbols are required.
22559 always_export_symbols=$always_export_symbols
22561 # The commands to list exported symbols.
22562 export_symbols_cmds=$lt_export_symbols_cmds
22564 # Symbols that should not be listed in the preloaded symbols.
22565 exclude_expsyms=$lt_exclude_expsyms
22567 # Symbols that must always be exported.
22568 include_expsyms=$lt_include_expsyms
22570 # Commands necessary for linking programs (against libraries) with templates.
22571 prelink_cmds=$lt_prelink_cmds
22573 # Commands necessary for finishing linking programs.
22574 postlink_cmds=$lt_postlink_cmds
22576 # Specify filename containing input files.
22577 file_list_spec=$lt_file_list_spec
22579 # How to hardcode a shared library path into an executable.
22580 hardcode_action=$hardcode_action
22582 # The directories searched by this compiler when creating a shared library.
22583 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22585 # Dependencies to place before and after the objects being linked to
22586 # create a shared library.
22587 predep_objects=$lt_predep_objects
22588 postdep_objects=$lt_postdep_objects
22589 predeps=$lt_predeps
22590 postdeps=$lt_postdeps
22592 # The library search path used internally by the compiler when linking
22593 # a shared library.
22594 compiler_lib_search_path=$lt_compiler_lib_search_path
22596 # ### END LIBTOOL CONFIG
22602 cat <<\_LT_EOF
>> "$cfgfile"
22603 # AIX sometimes has problems with the GCC collect2 program. For some
22604 # reason, if we set the COLLECT_NAMES environment variable, the problems
22605 # vanish in a puff of smoke.
22606 if test "X${COLLECT_NAMES+set}" != Xset
; then
22608 export COLLECT_NAMES
22615 ltmain
="$ac_aux_dir/ltmain.sh"
22618 # We use sed instead of cat because bash on DJGPP gets confused if
22619 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22620 # text mode, it properly converts lines to CR/LF. This bash problem
22621 # is reportedly fixed, but why not run on old versions too?
22622 sed '$q' "$ltmain" >> "$cfgfile" \
22623 || (rm -f "$cfgfile"; exit 1)
22625 if test x
"$xsi_shell" = xyes
; then
22626 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22630 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22631 \ * ) func_dirname_result="${3}" ;;\
22633 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22634 && mv -f "$cfgfile.tmp" "$cfgfile" \
22635 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22636 test 0 -eq $?
|| _lt_function_replace_fail
=:
22639 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22642 \ func_basename_result="${1##*/}"\
22643 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22644 && mv -f "$cfgfile.tmp" "$cfgfile" \
22645 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22646 test 0 -eq $?
|| _lt_function_replace_fail
=:
22649 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22650 func_dirname_and_basename ()\
22653 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22654 \ * ) func_dirname_result="${3}" ;;\
22656 \ func_basename_result="${1##*/}"\
22657 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22658 && mv -f "$cfgfile.tmp" "$cfgfile" \
22659 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22660 test 0 -eq $?
|| _lt_function_replace_fail
=:
22663 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22666 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22667 \ # positional parameters, so assign one to ordinary parameter first.\
22668 \ func_stripname_result=${3}\
22669 \ func_stripname_result=${func_stripname_result#"${1}"}\
22670 \ func_stripname_result=${func_stripname_result%"${2}"}\
22671 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22672 && mv -f "$cfgfile.tmp" "$cfgfile" \
22673 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22674 test 0 -eq $?
|| _lt_function_replace_fail
=:
22677 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22678 func_split_long_opt ()\
22680 \ func_split_long_opt_name=${1%%=*}\
22681 \ func_split_long_opt_arg=${1#*=}\
22682 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22683 && mv -f "$cfgfile.tmp" "$cfgfile" \
22684 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22685 test 0 -eq $?
|| _lt_function_replace_fail
=:
22688 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22689 func_split_short_opt ()\
22691 \ func_split_short_opt_arg=${1#??}\
22692 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22693 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22694 && mv -f "$cfgfile.tmp" "$cfgfile" \
22695 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22696 test 0 -eq $?
|| _lt_function_replace_fail
=:
22699 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22703 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22704 \ *) func_lo2o_result=${1} ;;\
22706 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22707 && mv -f "$cfgfile.tmp" "$cfgfile" \
22708 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22709 test 0 -eq $?
|| _lt_function_replace_fail
=:
22712 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22715 func_xform_result=${1%.*}.lo\
22716 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22717 && mv -f "$cfgfile.tmp" "$cfgfile" \
22718 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22719 test 0 -eq $?
|| _lt_function_replace_fail
=:
22722 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22725 func_arith_result=$(( $* ))\
22726 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22727 && mv -f "$cfgfile.tmp" "$cfgfile" \
22728 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22729 test 0 -eq $?
|| _lt_function_replace_fail
=:
22732 sed -e '/^func_len ()$/,/^} # func_len /c\
22735 func_len_result=${#1}\
22736 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22737 && mv -f "$cfgfile.tmp" "$cfgfile" \
22738 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22739 test 0 -eq $?
|| _lt_function_replace_fail
=:
22743 if test x
"$lt_shell_append" = xyes
; then
22744 sed -e '/^func_append ()$/,/^} # func_append /c\
22747 eval "${1}+=\\${2}"\
22748 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22749 && mv -f "$cfgfile.tmp" "$cfgfile" \
22750 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22751 test 0 -eq $?
|| _lt_function_replace_fail
=:
22754 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22755 func_append_quoted ()\
22757 \ func_quote_for_eval "${2}"\
22758 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22759 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22760 && mv -f "$cfgfile.tmp" "$cfgfile" \
22761 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22762 test 0 -eq $?
|| _lt_function_replace_fail
=:
22765 # Save a `func_append' function call where possible by direct use of '+='
22766 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22767 && mv -f "$cfgfile.tmp" "$cfgfile" \
22768 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22769 test 0 -eq $?
|| _lt_function_replace_fail
=:
22771 # Save a `func_append' function call even when '+=' is not available
22772 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22773 && mv -f "$cfgfile.tmp" "$cfgfile" \
22774 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22775 test 0 -eq $?
|| _lt_function_replace_fail
=:
22778 if test x
"$_lt_function_replace_fail" = x
":"; then
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22780 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22784 mv -f "$cfgfile" "$ofile" ||
22785 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22789 cat <<_LT_EOF >> "$ofile"
22791 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22793 # The linker used to build libraries.
22796 # How to create reloadable object files.
22797 reload_flag=$lt_reload_flag_CXX
22798 reload_cmds=$lt_reload_cmds_CXX
22800 # Commands used to build an old-style archive.
22801 old_archive_cmds=$lt_old_archive_cmds_CXX
22803 # A language specific compiler.
22804 CC=$lt_compiler_CXX
22806 # Is the compiler the GNU compiler?
22809 # Compiler flag to turn off builtin functions.
22810 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22812 # Additional compiler flags for building library objects.
22813 pic_flag=$lt_lt_prog_compiler_pic_CXX
22815 # How to pass a linker flag through the compiler.
22816 wl=$lt_lt_prog_compiler_wl_CXX
22818 # Compiler flag to prevent dynamic linking.
22819 link_static_flag=$lt_lt_prog_compiler_static_CXX
22821 # Does compiler simultaneously support -c and -o options?
22822 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22824 # Whether or not to add -lc for building shared libraries.
22825 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22827 # Whether or not to disallow shared libs when runtime libs are static.
22828 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22830 # Compiler flag to allow reflexive dlopens.
22831 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22833 # Compiler flag to generate shared objects directly from archives.
22834 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22836 # Whether the compiler copes with passing no objects directly.
22837 compiler_needs_object=$lt_compiler_needs_object_CXX
22839 # Create an old-style archive from a shared archive.
22840 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22842 # Create a temporary old-style archive to link instead of a shared archive.
22843 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22845 # Commands used to build a shared archive.
22846 archive_cmds=$lt_archive_cmds_CXX
22847 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22849 # Commands used to build a loadable module if different from building
22850 # a shared archive.
22851 module_cmds=$lt_module_cmds_CXX
22852 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22854 # Whether we are building with GNU ld or not.
22855 with_gnu_ld=$lt_with_gnu_ld_CXX
22857 # Flag that allows shared libraries with undefined symbols to be built.
22858 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22860 # Flag that enforces no undefined symbols.
22861 no_undefined_flag=$lt_no_undefined_flag_CXX
22863 # Flag to hardcode \$libdir into a binary during linking.
22864 # This must work even if \$libdir does not exist
22865 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22867 # Whether we need a single "-rpath" flag with a separated argument.
22868 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22870 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22871 # DIR into the resulting binary.
22872 hardcode_direct=$hardcode_direct_CXX
22874 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22875 # DIR into the resulting binary and the resulting library dependency is
22876 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22877 # library is relocated.
22878 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22880 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22881 # into the resulting binary.
22882 hardcode_minus_L=$hardcode_minus_L_CXX
22884 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22885 # into the resulting binary.
22886 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22888 # Set to "yes" if building a shared library automatically hardcodes DIR
22889 # into the library and all subsequent libraries and executables linked
22891 hardcode_automatic=$hardcode_automatic_CXX
22893 # Set to yes if linker adds runtime paths of dependent libraries
22894 # to runtime path list.
22895 inherit_rpath=$inherit_rpath_CXX
22897 # Whether libtool must link a program against all its dependency libraries.
22898 link_all_deplibs=$link_all_deplibs_CXX
22900 # Set to "yes" if exported symbols are required.
22901 always_export_symbols=$always_export_symbols_CXX
22903 # The commands to list exported symbols.
22904 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22906 # Symbols that should not be listed in the preloaded symbols.
22907 exclude_expsyms=$lt_exclude_expsyms_CXX
22909 # Symbols that must always be exported.
22910 include_expsyms=$lt_include_expsyms_CXX
22912 # Commands necessary for linking programs (against libraries) with templates.
22913 prelink_cmds=$lt_prelink_cmds_CXX
22915 # Commands necessary for finishing linking programs.
22916 postlink_cmds=$lt_postlink_cmds_CXX
22918 # Specify filename containing input files.
22919 file_list_spec=$lt_file_list_spec_CXX
22921 # How to hardcode a shared library path into an executable.
22922 hardcode_action=$hardcode_action_CXX
22924 # The directories searched by this compiler when creating a shared library.
22925 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22927 # Dependencies to place before and after the objects being linked to
22928 # create a shared library.
22929 predep_objects=$lt_predep_objects_CXX
22930 postdep_objects=$lt_postdep_objects_CXX
22931 predeps=$lt_predeps_CXX
22932 postdeps=$lt_postdeps_CXX
22934 # The library search path used internally by the compiler when linking
22935 # a shared library.
22936 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22938 # ### END LIBTOOL TAG CONFIG: CXX
22949 ac_clean_files
=$ac_clean_files_save
22951 test $ac_write_fail = 0 ||
22952 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22955 # configure is writing to config.log, and then calls config.status.
22956 # config.status does its own redirection, appending to config.log.
22957 # Unfortunately, on DOS this fails, as config.log is still kept open
22958 # by configure, so config.status won't be able to write to it; its
22959 # output is simply discarded. So we exec the FD to /dev/null,
22960 # effectively closing config.log, so it can be properly (re)opened and
22961 # appended to by config.status. When coming back to configure, we
22962 # need to make the FD available again.
22963 if test "$no_create" != yes; then
22965 ac_config_status_args
=
22966 test "$silent" = yes &&
22967 ac_config_status_args
="$ac_config_status_args --quiet"
22969 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22971 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22972 # would make configure fail if this is the last instruction.
22973 $ac_cs_success || as_fn_exit
1
22975 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22977 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}