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
714 am__fastdepOBJCXX_FALSE
715 am__fastdepOBJCXX_TRUE
744 MAINTAINER_MODE_FALSE
758 INSTALL_STRIP_PROGRAM
800 program_transform_name
813 enable_option_checking
815 enable_maintainer_mode
816 enable_dependency_tracking
827 ac_precious_vars
='build_alias
856 # Initialize some variables set by options.
858 ac_init_version
=false
859 ac_unrecognized_opts
=
861 # The variables have the same names as the options, with
862 # dashes changed to underlines.
870 program_transform_name
=s
,x
,x
,
878 # Installation directory options.
879 # These are left unexpanded so users can "make install exec_prefix=/foo"
880 # and all the variables that are supposed to be based on exec_prefix
881 # by default will actually change.
882 # Use braces instead of parens because sh, perl, etc. also accept them.
883 # (The list follows the same order as the GNU Coding Standards.)
884 bindir
='${exec_prefix}/bin'
885 sbindir
='${exec_prefix}/sbin'
886 libexecdir
='${exec_prefix}/libexec'
887 datarootdir
='${prefix}/share'
888 datadir
='${datarootdir}'
889 sysconfdir
='${prefix}/etc'
890 sharedstatedir
='${prefix}/com'
891 localstatedir
='${prefix}/var'
892 includedir
='${prefix}/include'
893 oldincludedir
='/usr/include'
894 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
895 infodir
='${datarootdir}/info'
900 libdir
='${exec_prefix}/lib'
901 localedir
='${datarootdir}/locale'
902 mandir
='${datarootdir}/man'
908 # If the previous option needs an argument, assign it.
909 if test -n "$ac_prev"; then
910 eval $ac_prev=\
$ac_option
916 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
921 # Accept the important Cygnus configure options, so we can diagnose typos.
923 case $ac_dashdash$ac_option in
927 -bindir | --bindir | --bindi | --bind | --bin | --bi)
929 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
932 -build | --build | --buil | --bui | --bu)
933 ac_prev
=build_alias
;;
934 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
935 build_alias
=$ac_optarg ;;
937 -cache-file | --cache-file | --cache-fil | --cache-fi \
938 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
939 ac_prev
=cache_file
;;
940 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
941 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
942 cache_file
=$ac_optarg ;;
945 cache_file
=config.cache
;;
947 -datadir | --datadir | --datadi | --datad)
949 -datadir=* | --datadir=* | --datadi=* | --datad=*)
950 datadir
=$ac_optarg ;;
952 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
953 | --dataroo | --dataro | --datar)
954 ac_prev
=datarootdir
;;
955 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
956 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
957 datarootdir
=$ac_optarg ;;
959 -disable-* | --disable-*)
960 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
963 as_fn_error $?
"invalid feature name: $ac_useropt"
964 ac_useropt_orig
=$ac_useropt
965 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966 case $ac_user_opts in
970 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
971 ac_unrecognized_sep
=', ';;
973 eval enable_
$ac_useropt=no
;;
975 -docdir | --docdir | --docdi | --doc | --do)
977 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
980 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
982 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
985 -enable-* | --enable-*)
986 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
989 as_fn_error $?
"invalid feature name: $ac_useropt"
990 ac_useropt_orig
=$ac_useropt
991 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997 ac_unrecognized_sep
=', ';;
999 eval enable_
$ac_useropt=\
$ac_optarg ;;
1001 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003 | --exec | --exe | --ex)
1004 ac_prev
=exec_prefix
;;
1005 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007 | --exec=* | --exe=* | --ex=*)
1008 exec_prefix
=$ac_optarg ;;
1010 -gas | --gas | --ga | --g)
1011 # Obsolete; use --with-gas.
1014 -help | --help | --hel | --he | -h)
1015 ac_init_help
=long
;;
1016 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1017 ac_init_help
=recursive
;;
1018 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1019 ac_init_help
=short
;;
1021 -host | --host | --hos | --ho)
1022 ac_prev
=host_alias
;;
1023 -host=* | --host=* | --hos=* | --ho=*)
1024 host_alias
=$ac_optarg ;;
1026 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030 htmldir
=$ac_optarg ;;
1032 -includedir | --includedir | --includedi | --included | --include \
1033 | --includ | --inclu | --incl | --inc)
1034 ac_prev
=includedir
;;
1035 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036 | --includ=* | --inclu=* | --incl=* | --inc=*)
1037 includedir
=$ac_optarg ;;
1039 -infodir | --infodir | --infodi | --infod | --info | --inf)
1041 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042 infodir
=$ac_optarg ;;
1044 -libdir | --libdir | --libdi | --libd)
1046 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1047 libdir
=$ac_optarg ;;
1049 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050 | --libexe | --libex | --libe)
1051 ac_prev
=libexecdir
;;
1052 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053 | --libexe=* | --libex=* | --libe=*)
1054 libexecdir
=$ac_optarg ;;
1056 -localedir | --localedir | --localedi | --localed | --locale)
1057 ac_prev
=localedir
;;
1058 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059 localedir
=$ac_optarg ;;
1061 -localstatedir | --localstatedir | --localstatedi | --localstated \
1062 | --localstate | --localstat | --localsta | --localst | --locals)
1063 ac_prev
=localstatedir
;;
1064 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066 localstatedir
=$ac_optarg ;;
1068 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071 mandir
=$ac_optarg ;;
1073 -nfp | --nfp | --nf)
1074 # Obsolete; use --without-fp.
1077 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078 | --no-cr | --no-c | -n)
1081 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1085 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087 | --oldin | --oldi | --old | --ol | --o)
1088 ac_prev
=oldincludedir
;;
1089 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092 oldincludedir
=$ac_optarg ;;
1094 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097 prefix
=$ac_optarg ;;
1099 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1100 | --program-pre | --program-pr | --program-p)
1101 ac_prev
=program_prefix
;;
1102 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1103 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104 program_prefix
=$ac_optarg ;;
1106 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1107 | --program-suf | --program-su | --program-s)
1108 ac_prev
=program_suffix
;;
1109 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1110 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111 program_suffix
=$ac_optarg ;;
1113 -program-transform-name | --program-transform-name \
1114 | --program-transform-nam | --program-transform-na \
1115 | --program-transform-n | --program-transform- \
1116 | --program-transform | --program-transfor \
1117 | --program-transfo | --program-transf \
1118 | --program-trans | --program-tran \
1119 | --progr-tra | --program-tr | --program-t)
1120 ac_prev
=program_transform_name
;;
1121 -program-transform-name=* | --program-transform-name=* \
1122 | --program-transform-nam=* | --program-transform-na=* \
1123 | --program-transform-n=* | --program-transform-=* \
1124 | --program-transform=* | --program-transfor=* \
1125 | --program-transfo=* | --program-transf=* \
1126 | --program-trans=* | --program-tran=* \
1127 | --progr-tra=* | --program-tr=* | --program-t=*)
1128 program_transform_name
=$ac_optarg ;;
1130 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133 pdfdir
=$ac_optarg ;;
1135 -psdir | --psdir | --psdi | --psd | --ps)
1137 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141 | -silent | --silent | --silen | --sile | --sil)
1144 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148 sbindir
=$ac_optarg ;;
1150 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1151 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1152 | --sharedst | --shareds | --shared | --share | --shar \
1154 ac_prev
=sharedstatedir
;;
1155 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1156 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1157 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159 sharedstatedir
=$ac_optarg ;;
1161 -site | --site | --sit)
1163 -site=* | --site=* | --sit=*)
1166 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1169 srcdir
=$ac_optarg ;;
1171 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1172 | --syscon | --sysco | --sysc | --sys | --sy)
1173 ac_prev
=sysconfdir
;;
1174 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1175 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1176 sysconfdir
=$ac_optarg ;;
1178 -target | --target | --targe | --targ | --tar | --ta | --t)
1179 ac_prev
=target_alias
;;
1180 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1181 target_alias
=$ac_optarg ;;
1183 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1186 -version | --version | --versio | --versi | --vers | -V)
1187 ac_init_version
=: ;;
1190 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1193 as_fn_error $?
"invalid package name: $ac_useropt"
1194 ac_useropt_orig
=$ac_useropt
1195 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in
1200 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1201 ac_unrecognized_sep
=', ';;
1203 eval with_
$ac_useropt=\
$ac_optarg ;;
1205 -without-* | --without-*)
1206 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1209 as_fn_error $?
"invalid package name: $ac_useropt"
1210 ac_useropt_orig
=$ac_useropt
1211 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212 case $ac_user_opts in
1216 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1217 ac_unrecognized_sep
=', ';;
1219 eval with_
$ac_useropt=no
;;
1222 # Obsolete; use --with-x.
1225 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1226 | --x-incl | --x-inc | --x-in | --x-i)
1227 ac_prev
=x_includes
;;
1228 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1229 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1230 x_includes
=$ac_optarg ;;
1232 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1233 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1234 ac_prev
=x_libraries
;;
1235 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1236 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1237 x_libraries
=$ac_optarg ;;
1239 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1240 Try \`$0 --help' for more information"
1244 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1245 # Reject names that are not valid shell variable names.
1246 case $ac_envvar in #(
1247 '' | [0-9]* | *[!_$as_cr_alnum]* )
1248 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1250 eval $ac_envvar=\
$ac_optarg
1251 export $ac_envvar ;;
1254 # FIXME: should be removed in autoconf 3.0.
1255 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1256 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1257 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1258 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1264 if test -n "$ac_prev"; then
1265 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1266 as_fn_error $?
"missing argument to $ac_option"
1269 if test -n "$ac_unrecognized_opts"; then
1270 case $enable_option_checking in
1272 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1273 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1277 # Check all directory arguments for consistency.
1278 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1279 datadir sysconfdir sharedstatedir localstatedir includedir \
1280 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1281 libdir localedir mandir
1283 eval ac_val
=\$
$ac_var
1284 # Remove trailing slashes.
1287 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1288 eval $ac_var=\
$ac_val;;
1290 # Be sure to have absolute directory names.
1292 [\\/$
]* | ?
:[\\/]* ) continue;;
1293 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1295 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1298 # There might be people who depend on the old broken behavior: `$host'
1299 # used to hold the argument of --host etc.
1300 # FIXME: To remove some day.
1303 target
=$target_alias
1305 # FIXME: To remove some day.
1306 if test "x$host_alias" != x
; then
1307 if test "x$build_alias" = x
; then
1308 cross_compiling
=maybe
1309 elif test "x$build_alias" != "x$host_alias"; then
1315 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1317 test "$silent" = yes && exec 6>/dev
/null
1320 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1321 ac_ls_di
=`ls -di .` &&
1322 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1323 as_fn_error $?
"working directory cannot be determined"
1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1325 as_fn_error $?
"pwd does not report name of working directory"
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted
=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir
=`$as_dirname -- "$as_myself" ||
1333 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$as_myself" : 'X\(//\)[^/]' \| \
1335 X"$as_myself" : 'X\(//\)$' \| \
1336 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1337 $as_echo X"$as_myself" |
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted
=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1364 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1366 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1368 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1370 # When building in place, set srcdir=.
1371 if test "$ac_abs_confdir" = "$ac_pwd"; then
1374 # Remove unnecessary trailing slashes from srcdir.
1375 # Double slashes in file names in object file debugging info
1376 # mess up M-x gdb in Emacs.
1378 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1380 for ac_var
in $ac_precious_vars; do
1381 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1382 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1383 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1384 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1388 # Report the --help message.
1390 if test "$ac_init_help" = "long"; then
1391 # Omit some internal or obsolete options to make the list less imposing.
1392 # This message is too long to be a string in the A/UX 3.1 sh.
1394 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1396 Usage: $0 [OPTION]... [VAR=VALUE]...
1398 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1399 VAR=VALUE. See below for descriptions of some of the useful variables.
1401 Defaults for the options are specified in brackets.
1404 -h, --help display this help and exit
1405 --help=short display options specific to this package
1406 --help=recursive display the short help of all the included packages
1407 -V, --version display version information and exit
1408 -q, --quiet, --silent do not print \`checking ...' messages
1409 --cache-file=FILE cache test results in FILE [disabled]
1410 -C, --config-cache alias for \`--cache-file=config.cache'
1411 -n, --no-create do not create output files
1412 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1414 Installation directories:
1415 --prefix=PREFIX install architecture-independent files in PREFIX
1416 [$ac_default_prefix]
1417 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1420 By default, \`make install' will install all the files in
1421 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1422 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1423 for instance \`--prefix=\$HOME'.
1425 For better control, use the options below.
1427 Fine tuning of the installation directories:
1428 --bindir=DIR user executables [EPREFIX/bin]
1429 --sbindir=DIR system admin executables [EPREFIX/sbin]
1430 --libexecdir=DIR program executables [EPREFIX/libexec]
1431 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1432 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1433 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1434 --libdir=DIR object code libraries [EPREFIX/lib]
1435 --includedir=DIR C header files [PREFIX/include]
1436 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1437 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1438 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1439 --infodir=DIR info documentation [DATAROOTDIR/info]
1440 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1441 --mandir=DIR man documentation [DATAROOTDIR/man]
1442 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1443 --htmldir=DIR html documentation [DOCDIR]
1444 --dvidir=DIR dvi documentation [DOCDIR]
1445 --pdfdir=DIR pdf documentation [DOCDIR]
1446 --psdir=DIR ps documentation [DOCDIR]
1452 --program-prefix=PREFIX prepend PREFIX to installed program names
1453 --program-suffix=SUFFIX append SUFFIX to installed program names
1454 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1457 --build=BUILD configure
for building on BUILD
[guessed
]
1458 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1469 --disable-option-checking ignore unrecognized
--enable/--with options
1470 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1471 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1472 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1473 --disable-silent-rules verbose build output
(undo
: "make V=0")
1474 --enable-maintainer-mode
1475 enable make rules and dependencies not useful
(and
1476 sometimes confusing
) to the casual installer
1477 --enable-dependency-tracking
1478 do not reject slow dependency extractors
1479 --disable-dependency-tracking
1480 speeds up one
-time build
1481 --enable-static[=PKGS
] build static libraries
[default
=no
]
1482 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1483 --enable-fast-install[=PKGS
]
1484 optimize
for fast installation
[default
=yes]
1485 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1486 --enable-javascript[=ENGINE
]
1487 use a JavaScript runtime
(currently the only
1488 available option
for ENGINE is JavaScriptCore
)
1490 --disable-console disable console
1493 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1494 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1495 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1497 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1498 --with-sysroot=DIR Search
for dependent libraries within DIR
1499 (or the compiler
's sysroot if not specified).
1501 Some influential environment variables:
1502 CC C compiler command
1503 CFLAGS C compiler flags
1504 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1505 nonstandard directory <lib dir>
1506 LIBS libraries to pass to the linker, e.g. -l<library>
1507 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1508 you have headers in a nonstandard directory <include dir>
1509 CXX C++ compiler command
1510 CXXFLAGS C++ compiler flags
1511 OBJCXX Objective C++ compiler command
1512 OBJCXXFLAGS Objective C++ compiler flags
1514 CXXCPP C++ preprocessor
1515 PKG_CONFIG path to pkg-config utility
1517 directories to add to pkg-config's search path
1519 path overriding pkg
-config's built-in search path
1520 BISON GNU Project parser generator (yacc replacement)
1521 FLEX the fast lexical analyser generator
1522 GPERF perfect hash function generator
1523 GNUTAR a very sticky lump of files
1525 C compiler flags for WEBKIT, overriding pkg-config
1526 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1528 prints information about the current gnustep installation
1530 Use these variables to override the choices made by `configure' or to
help
1531 it to
find libraries and programs with nonstandard names
/locations.
1533 Report bugs to
<saurik@saurik.com
>.
1534 Cycript home page
: <http
://www.cycript.org
/>.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1548 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1550 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1555 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir
=$ac_pwd
1559 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir
=$ac_top_build_prefix
1564 .
) # We are building in place.
1566 ac_top_srcdir
=$ac_top_builddir_sub
1567 ac_abs_top_srcdir
=$ac_pwd ;;
1568 [\\/]* | ?
:[\\/]* ) # Absolute name.
1569 ac_srcdir
=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir
=$srcdir
1571 ac_abs_top_srcdir
=$srcdir ;;
1573 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" || { ac_status
=$?
; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" || { ac_status
=$?
; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1597 Cycript configure
0.9
1598 generated by GNU Autoconf
2.69
1600 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1601 This configure
script is free software
; the Free Software Foundation
1602 gives unlimited permission to copy
, distribute and modify it.
1604 Copyright
(C
) 2009-2012 Jay Freeman
(saurik
)
1609 ## ------------------------ ##
1610 ## Autoconf initialization. ##
1611 ## ------------------------ ##
1613 # ac_fn_c_try_compile LINENO
1614 # --------------------------
1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1616 ac_fn_c_try_compile
()
1618 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1619 rm -f conftest.
$ac_objext
1620 if { { ac_try
="$ac_compile"
1622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_compile") 2>conftest.err
1629 if test -s conftest.err; then
1630 grep -v '^ *+' conftest.err >conftest.er1
1631 cat conftest.er1 >&5
1632 mv -f conftest.er1 conftest.err
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && {
1636 test -z "$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 } && test -s conftest.$ac_objext; then :
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.$ac_ext >&5
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 as_fn_set_status $ac_retval
1649 } # ac_fn_c_try_compile
1651 # ac_fn_cxx_try_compile LINENO
1652 # ----------------------------
1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_cxx_try_compile ()
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext
1658 if { { ac_try="$ac_compile"
1660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1661 *) ac_try_echo
=$ac_try;;
1663 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_compile") 2>conftest.err
1667 if test -s conftest.err
; then
1668 grep -v '^ *+' conftest.err
>conftest.er1
1669 cat conftest.er1
>&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_cxx_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest.
$ac_objext; then :
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.
$ac_ext >&5
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 as_fn_set_status
$ac_retval
1687 } # ac_fn_cxx_try_compile
1689 # ac_fn_objcxx_try_compile LINENO
1690 # -------------------------------
1691 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1692 ac_fn_objcxx_try_compile
()
1694 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1695 rm -f conftest.
$ac_objext
1696 if { { ac_try
="$ac_compile"
1698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_compile") 2>conftest.err
1705 if test -s conftest.err; then
1706 grep -v '^ *+' conftest.err >conftest.er1
1707 cat conftest.er1 >&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && {
1712 test -z "$ac_objcxx_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest.$ac_objext; then :
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.$ac_ext >&5
1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723 as_fn_set_status $ac_retval
1725 } # ac_fn_objcxx_try_compile
1727 # ac_fn_c_try_link LINENO
1728 # -----------------------
1729 # Try to link conftest.$ac_ext, and return whether this succeeded.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 rm -f conftest.$ac_objext conftest$ac_exeext
1734 if { { ac_try="$ac_link"
1736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1737 *) ac_try_echo
=$ac_try;;
1739 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_link") 2>conftest.err
1743 if test -s conftest.err
; then
1744 grep -v '^ *+' conftest.err
>conftest.er1
1745 cat conftest.er1
>&5
1746 mv -f conftest.er1 conftest.err
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } && {
1750 test -z "$ac_c_werror_flag" ||
1751 test ! -s conftest.err
1752 } && test -s conftest
$ac_exeext && {
1753 test "$cross_compiling" = yes ||
1754 test -x conftest
$ac_exeext
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.
$ac_ext >&5
1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1765 # interfere with the next link command; also delete a directory that is
1766 # left behind by Apple's compiler. We do this before executing the actions.
1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1768 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769 as_fn_set_status
$ac_retval
1771 } # ac_fn_c_try_link
1773 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1774 # -------------------------------------------------------
1775 # Tests whether HEADER exists and can be compiled using the include files in
1776 # INCLUDES, setting the cache variable VAR accordingly.
1777 ac_fn_c_check_header_compile
()
1779 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if eval \
${$3+:} false
; then :
1783 $as_echo_n "(cached) " >&6
1785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1790 if ac_fn_c_try_compile
"$LINENO"; then :
1795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1799 $as_echo "$ac_res" >&6; }
1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 } # ac_fn_c_check_header_compile
1804 # ac_fn_c_try_cpp LINENO
1805 # ----------------------
1806 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1809 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1810 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1819 if test -s conftest.err; then
1820 grep -v '^ *+' conftest.err >conftest.er1
1821 cat conftest.er1 >&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } > conftest.i && {
1826 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1827 test ! -s conftest.err
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1837 as_fn_set_status $ac_retval
1841 # ac_fn_c_try_run LINENO
1842 # ----------------------
1843 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1844 # that executables *can* be run.
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 if { { ac_try="$ac_link"
1850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1851 *) ac_try_echo
=$ac_try;;
1853 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_link") 2>&5
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1859 { { case "(($ac_try" in
1860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_try") 2>&5
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; }; }; then :
1871 $as_echo "$as_me: program exited with status $ac_status" >&5
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.$ac_ext >&5
1875 ac_retval=$ac_status
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 as_fn_set_status $ac_retval
1883 # ac_fn_c_check_func LINENO FUNC VAR
1884 # ----------------------------------
1885 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1886 ac_fn_c_check_func ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if eval \${$3+:} false; then :
1892 $as_echo_n "(cached) " >&6
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1898 #define $2 innocuous_$2
1900 /* System header to define __stub macros and hopefully few prototypes,
1901 which can conflict with char $2 (); below.
1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1903 <limits.h> exists even on freestanding compilers. */
1906 # include <limits.h>
1908 # include <assert.h>
1913 /* Override any GCC internal prototype to avoid an error.
1914 Use char because int might match the return type of a GCC
1915 builtin and then its argument prototype would still apply. */
1920 /* The GNU C library defines this for functions which it implements
1921 to always fail with ENOSYS. Some functions are actually named
1922 something starting with __ and the normal name is an alias. */
1923 #if defined __stub_$2 || defined __stub___$2
1935 if ac_fn_c_try_link "$LINENO"; then :
1940 rm -f core conftest.err conftest.$ac_objext \
1941 conftest$ac_exeext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 } # ac_fn_c_check_func
1950 # ac_fn_cxx_try_cpp LINENO
1951 # ------------------------
1952 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1953 ac_fn_cxx_try_cpp ()
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 if { { ac_try="$ac_cpp conftest.$ac_ext"
1958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1959 *) ac_try_echo
=$ac_try;;
1961 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 $as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1965 if test -s conftest.err
; then
1966 grep -v '^ *+' conftest.err
>conftest.er1
1967 cat conftest.er1
>&5
1968 mv -f conftest.er1 conftest.err
1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971 test $ac_status = 0; } > conftest.i
&& {
1972 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1973 test ! -s conftest.err
1977 $as_echo "$as_me: failed program was:" >&5
1978 sed 's/^/| /' conftest.
$ac_ext >&5
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 as_fn_set_status
$ac_retval
1985 } # ac_fn_cxx_try_cpp
1987 # ac_fn_cxx_try_link LINENO
1988 # -------------------------
1989 # Try to link conftest.$ac_ext, and return whether this succeeded.
1990 ac_fn_cxx_try_link
()
1992 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1993 rm -f conftest.
$ac_objext conftest
$ac_exeext
1994 if { { ac_try
="$ac_link"
1996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_link") 2>conftest.err
2003 if test -s conftest.err; then
2004 grep -v '^ *+' conftest.err >conftest.er1
2005 cat conftest.er1 >&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } && {
2010 test -z "$ac_cxx_werror_flag" ||
2011 test ! -s conftest.err
2012 } && test -s conftest$ac_exeext && {
2013 test "$cross_compiling" = yes ||
2014 test -x conftest$ac_exeext
2018 $as_echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.$ac_ext >&5
2023 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2024 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2025 # interfere with the next link command; also delete a directory that is
2026 # left behind by Apple's compiler. We do this before executing the actions.
2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 as_fn_set_status $ac_retval
2031 } # ac_fn_cxx_try_link
2033 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2034 # ---------------------------------------------------------
2035 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2036 # the include files in INCLUDES and setting the cache variable VAR
2038 ac_fn_cxx_check_header_mongrel ()
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041 if eval \${$3+:} false; then :
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043 $as_echo_n "checking for $2... " >&6; }
2044 if eval \${$3+:} false; then :
2045 $as_echo_n "(cached) " >&6
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; }
2051 # Is the header compilable?
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2053 $as_echo_n "checking $2 usability... " >&6; }
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2059 if ac_fn_cxx_try_compile "$LINENO"; then :
2060 ac_header_compiler=yes
2062 ac_header_compiler=no
2064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2066 $as_echo "$ac_header_compiler" >&6; }
2068 # Is the header present?
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2070 $as_echo_n "checking $2 presence... " >&6; }
2071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h. */
2075 if ac_fn_cxx_try_cpp "$LINENO"; then :
2076 ac_header_preproc=yes
2078 ac_header_preproc=no
2080 rm -f conftest.err conftest.i conftest.$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2082 $as_echo "$ac_header_preproc" >&6; }
2084 # So? What about this header?
2085 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2088 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2090 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2094 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2096 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2098 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2100 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2102 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103 ( $as_echo "## -------------------------------- ##
2104 ## Report this to saurik@saurik.com ##
2105 ## -------------------------------- ##"
2106 ) | sed "s/^/$as_me: WARNING: /" >&2
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if eval \${$3+:} false; then :
2112 $as_echo_n "(cached) " >&6
2114 eval "$3=\$ac_header_compiler"
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122 } # ac_fn_cxx_check_header_mongrel
2124 # ac_fn_objcxx_try_link LINENO
2125 # ----------------------------
2126 # Try to link conftest.$ac_ext, and return whether this succeeded.
2127 ac_fn_objcxx_try_link ()
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 rm -f conftest.$ac_objext conftest$ac_exeext
2131 if { { ac_try="$ac_link"
2133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2134 *) ac_try_echo
=$ac_try;;
2136 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_link") 2>conftest.err
2140 if test -s conftest.err
; then
2141 grep -v '^ *+' conftest.err
>conftest.er1
2142 cat conftest.er1
>&5
2143 mv -f conftest.er1 conftest.err
2145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2146 test $ac_status = 0; } && {
2147 test -z "$ac_objcxx_werror_flag" ||
2148 test ! -s conftest.err
2149 } && test -s conftest
$ac_exeext && {
2150 test "$cross_compiling" = yes ||
2151 test -x conftest
$ac_exeext
2155 $as_echo "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.
$ac_ext >&5
2160 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2161 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2162 # interfere with the next link command; also delete a directory that is
2163 # left behind by Apple's compiler. We do this before executing the actions.
2164 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 as_fn_set_status
$ac_retval
2168 } # ac_fn_objcxx_try_link
2169 cat >config.log
<<_ACEOF
2170 This file contains any messages produced by compilers while
2171 running configure, to aid debugging if configure makes a mistake.
2173 It was created by Cycript $as_me 0.9, which was
2174 generated by GNU Autoconf 2.69. Invocation command line was
2186 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2187 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2188 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2189 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2190 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2192 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2193 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2195 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2196 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2197 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2198 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2199 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2200 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2201 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir
=.
2210 $as_echo "PATH: $as_dir"
2226 # Keep a trace of the command line.
2227 # Strip out --no-create and --no-recursion so they do not pile up.
2228 # Strip out --silent because we don't want to record it for future runs.
2229 # Also quote any args containing shell meta-characters.
2230 # Make two passes to allow for proper duplicate-argument suppression.
2234 ac_must_keep_next
=false
2240 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2241 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2242 | -silent | --silent | --silen | --sile | --sil)
2245 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2248 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2250 as_fn_append ac_configure_args1
" '$ac_arg'"
2251 if test $ac_must_keep_next = true
; then
2252 ac_must_keep_next
=false
# Got value, back to normal.
2255 *=* | --config-cache | -C | -disable-* | --disable-* \
2256 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2257 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2258 | -with-* | --with-* | -without-* | --without-* | --x)
2259 case "$ac_configure_args0 " in
2260 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2263 -* ) ac_must_keep_next
=true
;;
2266 as_fn_append ac_configure_args
" '$ac_arg'"
2271 { ac_configure_args0
=; unset ac_configure_args0
;}
2272 { ac_configure_args1
=; unset ac_configure_args1
;}
2274 # When interrupted or exit'd, cleanup temporary files, and complete
2275 # config.log. We remove comments because anyway the quotes in there
2276 # would cause problems or look ugly.
2277 # WARNING: Use '\'' to represent an apostrophe within the trap.
2278 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2279 trap 'exit_status=$?
2280 # Save into config.log some information that might help in debugging.
2284 $as_echo "## ---------------- ##
2285 ## Cache variables. ##
2286 ## ---------------- ##"
2288 # The following way of writing the cache mishandles newlines in values,
2290 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2291 eval ac_val=\$$ac_var
2295 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2296 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2299 _ | IFS | as_nl) ;; #(
2300 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2301 *) { eval $ac_var=; unset $ac_var;} ;;
2306 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2307 *${as_nl}ac_space=\ *)
2309 "s/'\''/'\''\\\\'\'''\''/g;
2310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2320 $as_echo "## ----------------- ##
2321 ## Output variables. ##
2322 ## ----------------- ##"
2324 for ac_var in $ac_subst_vars
2326 eval ac_val=\$$ac_var
2328 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2330 $as_echo "$ac_var='\''$ac_val'\''"
2334 if test -n "$ac_subst_files"; then
2335 $as_echo "## ------------------- ##
2336 ## File substitutions. ##
2337 ## ------------------- ##"
2339 for ac_var
in $ac_subst_files
2341 eval ac_val
=\$
$ac_var
2343 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2345 $as_echo "$ac_var='\''$ac_val'\''"
2350 if test -s confdefs.h; then
2351 $as_echo "## ----------- ##
2358 test "$ac_signal" != 0 &&
2359 $as_echo "$as_me: caught signal $ac_signal"
2360 $as_echo "$as_me: exit $exit_status"
2362 rm -f core *.core core.conftest.* &&
2363 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2366 for ac_signal
in 1 2 13 15; do
2367 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2371 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2372 rm -f -r conftest
* confdefs.h
2374 $as_echo "/* confdefs.h */" > confdefs.h
2376 # Predefined preprocessor variables.
2378 cat >>confdefs.h
<<_ACEOF
2379 #define PACKAGE_NAME "$PACKAGE_NAME"
2382 cat >>confdefs.h
<<_ACEOF
2383 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2386 cat >>confdefs.h
<<_ACEOF
2387 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_STRING "$PACKAGE_STRING"
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_URL "$PACKAGE_URL"
2403 # Let the site file select an alternate cache file if it wants to.
2404 # Prefer an explicitly selected file to automatically selected ones.
2407 if test -n "$CONFIG_SITE"; then
2408 # We do not want a PATH search for config.site.
2409 case $CONFIG_SITE in #((
2410 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2411 */*) ac_site_file1
=$CONFIG_SITE;;
2412 *) ac_site_file1
=.
/$CONFIG_SITE;;
2414 elif test "x$prefix" != xNONE
; then
2415 ac_site_file1
=$prefix/share
/config.site
2416 ac_site_file2
=$prefix/etc
/config.site
2418 ac_site_file1
=$ac_default_prefix/share
/config.site
2419 ac_site_file2
=$ac_default_prefix/etc
/config.site
2421 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2423 test "x$ac_site_file" = xNONE
&& continue
2424 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2426 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2427 sed 's/^/| /' "$ac_site_file" >&5
2429 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2431 as_fn_error $?
"failed to load site script $ac_site_file
2432 See \`config.log' for more details" "$LINENO" 5; }
2436 if test -r "$cache_file"; then
2437 # Some versions of bash will fail to source /dev/null (special files
2438 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2439 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2441 $as_echo "$as_me: loading cache $cache_file" >&6;}
2443 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2444 *) .
"./$cache_file";;
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2449 $as_echo "$as_me: creating cache $cache_file" >&6;}
2453 # Check that the precious variables saved in the cache have kept the same
2455 ac_cache_corrupted
=false
2456 for ac_var
in $ac_precious_vars; do
2457 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2458 eval ac_new_set
=\
$ac_env_${ac_var}_set
2459 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2460 eval ac_new_val
=\
$ac_env_${ac_var}_value
2461 case $ac_old_set,$ac_new_set in
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2464 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2465 ac_cache_corrupted
=: ;;
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2468 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2469 ac_cache_corrupted
=: ;;
2472 if test "x$ac_old_val" != "x$ac_new_val"; then
2473 # differences in whitespace do not lead to failure.
2474 ac_old_val_w
=`echo x $ac_old_val`
2475 ac_new_val_w
=`echo x $ac_new_val`
2476 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2478 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2479 ac_cache_corrupted
=:
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2482 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2483 eval $ac_var=\
$ac_old_val
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2486 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2488 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2491 # Pass precious variables to config.status.
2492 if test "$ac_new_set" = set; then
2494 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2495 *) ac_arg
=$ac_var=$ac_new_val ;;
2497 case " $ac_configure_args " in
2498 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2499 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2503 if $ac_cache_corrupted; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2507 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2508 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2510 ## -------------------- ##
2511 ## Main body of script. ##
2512 ## -------------------- ##
2515 ac_cpp
='$CPP $CPPFLAGS'
2516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2525 for ac_dir
in .
"$srcdir"/.
; do
2526 if test -f "$ac_dir/install-sh"; then
2528 ac_install_sh
="$ac_aux_dir/install-sh -c"
2530 elif test -f "$ac_dir/install.sh"; then
2532 ac_install_sh
="$ac_aux_dir/install.sh -c"
2534 elif test -f "$ac_dir/shtool"; then
2536 ac_install_sh
="$ac_aux_dir/shtool install -c"
2540 if test -z "$ac_aux_dir"; then
2541 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2544 # These three variables are undocumented and unsupported,
2545 # and are intended to be withdrawn in a future Autoconf release.
2546 # They can cause serious problems if a builder's source tree is in a directory
2547 # whose full name contains unusual characters.
2548 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2549 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2550 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2554 ac_config_headers
="$ac_config_headers config.h"
2557 am__api_version
='1.14'
2559 # Find a good install program. We prefer a C program (faster),
2560 # so one script is as good as another. But avoid the broken or
2561 # incompatible versions:
2562 # SysV /etc/install, /usr/sbin/install
2563 # SunOS /usr/etc/install
2564 # IRIX /sbin/install
2566 # AmigaOS /C/install, which installs bootblocks on floppy discs
2567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2570 # OS/2's system install, which has a completely different semantic
2571 # ./install, which can be erroneously created by make from ./install.sh.
2572 # Reject install programs that cannot install multiple files.
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2574 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2575 if test -z "$INSTALL"; then
2576 if ${ac_cv_path_install+:} false
; then :
2577 $as_echo_n "(cached) " >&6
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 # Account for people who put trailing slashes in PATH elements.
2585 case $as_dir/ in #((
2586 .
/ | .
// | /[cC
]/* | \
2587 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2588 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2591 # OSF1 and SCO ODT 3.0 have their own names for install.
2592 # Don't use installbsd from OSF since it installs stuff as root
2594 for ac_prog
in ginstall scoinst
install; do
2595 for ac_exec_ext
in '' $ac_executable_extensions; do
2596 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2597 if test $ac_prog = install &&
2598 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2599 # AIX install. It has an incompatible calling convention.
2601 elif test $ac_prog = install &&
2602 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2603 # program-specific install script used by HP pwplus--don't use.
2606 rm -rf conftest.one conftest.two conftest.dir
2607 echo one
> conftest.one
2608 echo two
> conftest.two
2610 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2611 test -s conftest.one
&& test -s conftest.two
&&
2612 test -s conftest.dir
/conftest.one
&&
2613 test -s conftest.dir
/conftest.two
2615 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2628 rm -rf conftest.one conftest.two conftest.dir
2631 if test "${ac_cv_path_install+set}" = set; then
2632 INSTALL
=$ac_cv_path_install
2634 # As a last resort, use the slow shell script. Don't cache a
2635 # value for INSTALL within a source directory, because that will
2636 # break other packages using the cache if that directory is
2637 # removed, or if the value is a relative name.
2638 INSTALL
=$ac_install_sh
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2642 $as_echo "$INSTALL" >&6; }
2644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2645 # It thinks the first close brace ends the variable substitution.
2646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2650 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2653 $as_echo_n "checking whether build environment is sane... " >&6; }
2654 # Reject unsafe characters in $srcdir or the absolute working directory
2655 # name. Accept space and tab only in the latter.
2659 *[\\\"\#\$\&\'\`$am_lf]*)
2660 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2663 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2664 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2667 # Do 'set' in a subshell so we don't clobber the current shell's
2668 # arguments. Must try -L first in case configure is actually a
2669 # symlink; some systems play weird games with the mod time of symlinks
2670 # (eg FreeBSD returns the mod time of the symlink's containing
2674 for am_try
in 1 2; do
2675 echo "timestamp, slept: $am_has_slept" > conftest.
file
2676 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2677 if test "$*" = "X"; then
2679 set X
`ls -t "$srcdir/configure" conftest.file`
2681 if test "$*" != "X $srcdir/configure conftest.file" \
2682 && test "$*" != "X conftest.file $srcdir/configure"; then
2684 # If neither matched, then we have a broken ls. This can happen
2685 # if, for instance, CONFIG_SHELL is bash and it inherits a
2686 # broken ls alias from the environment. This has actually
2687 # happened. Such a system could not be considered "sane".
2688 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2689 alias in your environment" "$LINENO" 5
2691 if test "$2" = conftest.
file || test $am_try -eq 2; then
2698 test "$2" = conftest.
file
2704 as_fn_error $?
"newly created file is older than distributed files!
2705 Check your system clock" "$LINENO" 5
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2708 $as_echo "yes" >&6; }
2709 # If we didn't sleep, we still need to ensure time stamps of config.status and
2710 # generated files are strictly newer.
2712 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2719 test "$program_prefix" != NONE
&&
2720 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2721 # Use a double $ so make ignores it.
2722 test "$program_suffix" != NONE
&&
2723 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2724 # Double any \ or $.
2725 # By default was `s,x,x', remove it if useless.
2726 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2727 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2729 # expand $ac_aux_dir to an absolute path
2730 am_aux_dir
=`cd $ac_aux_dir && pwd`
2732 if test x
"${MISSING+set}" != xset
; then
2735 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2737 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2740 # Use eval to expand $SHELL
2741 if eval "$MISSING --is-lightweight"; then
2742 am_missing_run
="$MISSING "
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2746 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2749 if test x
"${install_sh}" != xset
; then
2752 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2754 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2758 # Installed binaries are usually stripped using 'strip' when the user
2759 # run "make install-strip". However 'strip' might not be the right
2760 # tool to use in cross-compilation environments, therefore Automake
2761 # will honor the 'STRIP' environment variable to overrule this program.
2762 if test "$cross_compiling" != no
; then
2763 if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2765 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_STRIP+:} false
; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$STRIP"; then
2772 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir
=.
2779 for ac_exec_ext
in '' $ac_executable_extensions; do
2780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 STRIP
=$ac_cv_prog_STRIP
2792 if test -n "$STRIP"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2794 $as_echo "$STRIP" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$ac_cv_prog_STRIP"; then
2804 # Extract the first word of "strip", so it can be a program name with args.
2805 set dummy strip
; ac_word
=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2809 $as_echo_n "(cached) " >&6
2811 if test -n "$ac_ct_STRIP"; then
2812 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir
=.
2819 for ac_exec_ext
in '' $ac_executable_extensions; do
2820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_ac_ct_STRIP
="strip"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2832 if test -n "$ac_ct_STRIP"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2834 $as_echo "$ac_ct_STRIP" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2840 if test "x$ac_ct_STRIP" = x
; then
2843 case $cross_compiling:$ac_tool_warned in
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned
=yes ;;
2852 STRIP
="$ac_cv_prog_STRIP"
2856 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2859 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2860 if test -z "$MKDIR_P"; then
2861 if ${ac_cv_path_mkdir+:} false
; then :
2862 $as_echo_n "(cached) " >&6
2864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2865 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2868 test -z "$as_dir" && as_dir
=.
2869 for ac_prog
in mkdir gmkdir
; do
2870 for ac_exec_ext
in '' $ac_executable_extensions; do
2871 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2872 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2873 'mkdir (GNU coreutils) '* | \
2874 'mkdir (coreutils) '* | \
2875 'mkdir (fileutils) '4.1*)
2876 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2886 test -d .
/--version && rmdir .
/--version
2887 if test "${ac_cv_path_mkdir+set}" = set; then
2888 MKDIR_P
="$ac_cv_path_mkdir -p"
2890 # As a last resort, use the slow shell script. Don't cache a
2891 # value for MKDIR_P within a source directory, because that will
2892 # break other packages using the cache if that directory is
2893 # removed, or if the value is a relative name.
2894 MKDIR_P
="$ac_install_sh -d"
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2898 $as_echo "$MKDIR_P" >&6; }
2900 for ac_prog
in gawk mawk nawk
awk
2902 # Extract the first word of "$ac_prog", so it can be a program name with args.
2903 set dummy
$ac_prog; ac_word
=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if ${ac_cv_prog_AWK+:} false
; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$AWK"; then
2910 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir
=.
2917 for ac_exec_ext
in '' $ac_executable_extensions; do
2918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_AWK
="$ac_prog"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 if test -n "$AWK"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2932 $as_echo "$AWK" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2939 test -n "$AWK" && break
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2943 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2945 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2946 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2947 $as_echo_n "(cached) " >&6
2949 cat >conftest.
make <<\_ACEOF
2952 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2954 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2955 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2957 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2959 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2963 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2965 $as_echo "yes" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2970 SET_MAKE
="MAKE=${MAKE-make}"
2973 rm -rf .tst
2>/dev
/null
2974 mkdir .tst
2>/dev
/null
2975 if test -d .tst
; then
2980 rmdir .tst
2>/dev
/null
2982 # Check whether --enable-silent-rules was given.
2983 if test "${enable_silent_rules+set}" = set; then :
2984 enableval
=$enable_silent_rules;
2987 case $enable_silent_rules in # (((
2988 yes) AM_DEFAULT_VERBOSITY
=0;;
2989 no
) AM_DEFAULT_VERBOSITY
=1;;
2990 *) AM_DEFAULT_VERBOSITY
=1;;
2992 am_make
=${MAKE-make}
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2994 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2995 if ${am_cv_make_support_nested_variables+:} false
; then :
2996 $as_echo_n "(cached) " >&6
2998 if $as_echo 'TRUE=$(BAR$(V))
3004 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3005 am_cv_make_support_nested_variables
=yes
3007 am_cv_make_support_nested_variables
=no
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3011 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3012 if test $am_cv_make_support_nested_variables = yes; then
3014 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3016 AM_V
=$AM_DEFAULT_VERBOSITY
3017 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3021 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3022 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3023 # is not polluted with repeated "-I."
3024 am__isrc
=' -I$(srcdir)'
3025 # test to see if srcdir already configured
3026 if test -f $srcdir/config.status
; then
3027 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3031 # test whether we have cygpath
3032 if test -z "$CYGPATH_W"; then
3033 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3034 CYGPATH_W
='cygpath -w'
3041 # Define the identity of the package.
3046 cat >>confdefs.h
<<_ACEOF
3047 #define PACKAGE "$PACKAGE"
3051 cat >>confdefs.h
<<_ACEOF
3052 #define VERSION "$VERSION"
3055 # Some tools Automake needs.
3057 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3060 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3063 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3066 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3069 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3071 # For better backward compatibility. To be removed once Automake 1.9.x
3072 # dies out for good. For more background, see:
3073 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3074 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3075 mkdir_p
='$(MKDIR_P)'
3077 # We need awk for the "check" target. The system "awk" is bad on
3079 # Always define AMTAR for backward compatibility. Yes, it's still used
3080 # in the wild :-( We should find a proper way to deprecate it ...
3084 # We'll loop over all known methods to create a tar archive until one works.
3085 _am_tools
='gnutar pax cpio none'
3087 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3094 # POSIX will say in a future version that running "rm -f" with no argument
3095 # is OK; and we want to be able to make that assumption in our Makefile
3096 # recipes. So use an aggressive probe to check that the usage we want is
3097 # actually supported "in the wild" to an acceptable degree.
3098 # See automake bug#10828.
3099 # To make any issue more visible, cause the running configure to be aborted
3100 # by default if the 'rm' program in use doesn't match our expectations; the
3101 # user can still override this though.
3102 if rm -f && rm -fr && rm -rf; then : OK
; else
3106 Your 'rm' program seems unable to run without file operands specified
3107 on the command line, even when the '-f' option is present. This is contrary
3108 to the behaviour of most rm programs out there, and not conforming with
3109 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3111 Please tell bug-automake@gnu.org about your system, including the value
3112 of your $PATH and any error possibly output before this message. This
3113 can help us improve future automake versions.
3116 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3117 echo 'Configuration will proceed anyway, since you have set the' >&2
3118 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3122 Aborting the configuration process, to ensure you take notice of the issue.
3124 You can download and install GNU coreutils to get an 'rm' implementation
3125 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3127 If you want to complete the configuration process using your problematic
3128 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3129 to "yes", and re-run configure.
3132 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3137 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3138 # Check whether --enable-maintainer-mode was given.
3139 if test "${enable_maintainer_mode+set}" = set; then :
3140 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3142 USE_MAINTAINER_MODE
=no
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3146 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3147 if test $USE_MAINTAINER_MODE = yes; then
3148 MAINTAINER_MODE_TRUE
=
3149 MAINTAINER_MODE_FALSE
='#'
3151 MAINTAINER_MODE_TRUE
='#'
3152 MAINTAINER_MODE_FALSE
=
3155 MAINT
=$MAINTAINER_MODE_TRUE
3160 ac_cpp
='$CPP $CPPFLAGS'
3161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3164 if test -n "$ac_tool_prefix"; then
3165 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3166 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3168 $as_echo_n "checking for $ac_word... " >&6; }
3169 if ${ac_cv_prog_CC+:} false
; then :
3170 $as_echo_n "(cached) " >&6
3172 if test -n "$CC"; then
3173 ac_cv_prog_CC
="$CC" # Let the user override the test.
3175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3179 test -z "$as_dir" && as_dir
=.
3180 for ac_exec_ext
in '' $ac_executable_extensions; do
3181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193 if test -n "$CC"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3195 $as_echo "$CC" >&6; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 $as_echo "no" >&6; }
3203 if test -z "$ac_cv_prog_CC"; then
3205 # Extract the first word of "gcc", so it can be a program name with args.
3206 set dummy gcc
; ac_word
=$2
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3208 $as_echo_n "checking for $ac_word... " >&6; }
3209 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3210 $as_echo_n "(cached) " >&6
3212 if test -n "$ac_ct_CC"; then
3213 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir
=.
3220 for ac_exec_ext
in '' $ac_executable_extensions; do
3221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3222 ac_cv_prog_ac_ct_CC
="gcc"
3223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3233 if test -n "$ac_ct_CC"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3235 $as_echo "$ac_ct_CC" >&6; }
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3241 if test "x$ac_ct_CC" = x
; then
3244 case $cross_compiling:$ac_tool_warned in
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3248 ac_tool_warned
=yes ;;
3256 if test -z "$CC"; then
3257 if test -n "$ac_tool_prefix"; then
3258 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3259 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if ${ac_cv_prog_CC+:} false
; then :
3263 $as_echo_n "(cached) " >&6
3265 if test -n "$CC"; then
3266 ac_cv_prog_CC
="$CC" # Let the user override the test.
3268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir
=.
3273 for ac_exec_ext
in '' $ac_executable_extensions; do
3274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3275 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 if test -n "$CC"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3288 $as_echo "$CC" >&6; }
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3297 if test -z "$CC"; then
3298 # Extract the first word of "cc", so it can be a program name with args.
3299 set dummy cc
; ac_word
=$2
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3301 $as_echo_n "checking for $ac_word... " >&6; }
3302 if ${ac_cv_prog_CC+:} false
; then :
3303 $as_echo_n "(cached) " >&6
3305 if test -n "$CC"; then
3306 ac_cv_prog_CC
="$CC" # Let the user override the test.
3309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir
=.
3314 for ac_exec_ext
in '' $ac_executable_extensions; do
3315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3316 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3317 ac_prog_rejected
=yes
3321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 if test $ac_prog_rejected = yes; then
3329 # We found a bogon in the path, so make sure we never use it.
3330 set dummy
$ac_cv_prog_CC
3332 if test $# != 0; then
3333 # We chose a different compiler from the bogus one.
3334 # However, it has the same basename, so the bogon will be chosen
3335 # first if we set CC to just the basename; use the full file name.
3337 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3343 if test -n "$CC"; then
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3345 $as_echo "$CC" >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3353 if test -z "$CC"; then
3354 if test -n "$ac_tool_prefix"; then
3355 for ac_prog
in cl.exe
3357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3358 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3360 $as_echo_n "checking for $ac_word... " >&6; }
3361 if ${ac_cv_prog_CC+:} false
; then :
3362 $as_echo_n "(cached) " >&6
3364 if test -n "$CC"; then
3365 ac_cv_prog_CC
="$CC" # Let the user override the test.
3367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3371 test -z "$as_dir" && as_dir
=.
3372 for ac_exec_ext
in '' $ac_executable_extensions; do
3373 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3374 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3385 if test -n "$CC"; then
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3387 $as_echo "$CC" >&6; }
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3390 $as_echo "no" >&6; }
3394 test -n "$CC" && break
3397 if test -z "$CC"; then
3399 for ac_prog
in cl.exe
3401 # Extract the first word of "$ac_prog", so it can be a program name with args.
3402 set dummy
$ac_prog; ac_word
=$2
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404 $as_echo_n "checking for $ac_word... " >&6; }
3405 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3406 $as_echo_n "(cached) " >&6
3408 if test -n "$ac_ct_CC"; then
3409 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3415 test -z "$as_dir" && as_dir
=.
3416 for ac_exec_ext
in '' $ac_executable_extensions; do
3417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3418 ac_cv_prog_ac_ct_CC
="$ac_prog"
3419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3428 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3429 if test -n "$ac_ct_CC"; then
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3431 $as_echo "$ac_ct_CC" >&6; }
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3434 $as_echo "no" >&6; }
3438 test -n "$ac_ct_CC" && break
3441 if test "x$ac_ct_CC" = x
; then
3444 case $cross_compiling:$ac_tool_warned in
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3448 ac_tool_warned
=yes ;;
3457 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error $?
"no acceptable C compiler found in \$PATH
3460 See \`config.log' for more details" "$LINENO" 5; }
3462 # Provide some information about the compiler.
3463 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3466 for ac_option
in --version -v -V -qversion; do
3467 { { ac_try
="$ac_compiler $ac_option >&5"
3469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473 $as_echo "$ac_try_echo"; } >&5
3474 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3476 if test -s conftest.err; then
3478 ... rest of stderr output deleted ...
3479 10q' conftest.err >conftest.er1
3480 cat conftest.er1 >&5
3482 rm -f conftest.er1 conftest.err
3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484 test $ac_status = 0; }
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3498 ac_clean_files_save=$ac_clean_files
3499 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3500 # Try to create an executable without -o first, disregard a.out.
3501 # It will help us diagnose broken compilers, and finding out an intuition
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3504 $as_echo_n "checking whether the C compiler works... " >&6; }
3505 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3507 # The possible output files:
3508 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3511 for ac_file in $ac_files
3514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3515 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3520 if { { ac_try="$ac_link_default"
3522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3523 *) ac_try_echo
=$ac_try;;
3525 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527 (eval "$ac_link_default") 2>&5
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }; then :
3531 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3532 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3533 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3534 # so that the user can short-circuit this test for compilers unknown to
3536 for ac_file
in $ac_files ''
3538 test -f "$ac_file" || continue
3540 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3543 # We found the default executable, but exeext='' is most
3547 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3549 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3551 # We set ac_cv_exeext here because the later test for it is not
3552 # safe: cross compilers may not add the suffix if given an `-o'
3553 # argument, so we may need to know it at that point already.
3554 # Even if this section looks crufty: it has the advantage of
3561 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3566 if test -z "$ac_file"; then :
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3569 $as_echo "$as_me: failed program was:" >&5
3570 sed 's/^/| /' conftest.
$ac_ext >&5
3572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3574 as_fn_error
77 "C compiler cannot create executables
3575 See \`config.log' for more details" "$LINENO" 5; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3578 $as_echo "yes" >&6; }
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3581 $as_echo_n "checking for C compiler default output file name... " >&6; }
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3583 $as_echo "$ac_file" >&6; }
3584 ac_exeext
=$ac_cv_exeext
3586 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3587 ac_clean_files
=$ac_clean_files_save
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3589 $as_echo_n "checking for suffix of executables... " >&6; }
3590 if { { ac_try
="$ac_link"
3592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3596 $as_echo "$ac_try_echo"; } >&5
3597 (eval "$ac_link") 2>&5
3599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3600 test $ac_status = 0; }; then :
3601 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3602 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3603 # work properly (i.e., refer to `conftest.exe'), while it won't with
3605 for ac_file
in conftest.exe conftest conftest.
*; do
3606 test -f "$ac_file" || continue
3608 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3609 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3617 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3618 See \`config.log' for more details" "$LINENO" 5; }
3620 rm -f conftest conftest
$ac_cv_exeext
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3622 $as_echo "$ac_cv_exeext" >&6; }
3624 rm -f conftest.
$ac_ext
3625 EXEEXT
=$ac_cv_exeext
3627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h. */
3633 FILE *f = fopen ("conftest.out", "w");
3634 return ferror (f) || fclose (f) != 0;
3640 ac_clean_files
="$ac_clean_files conftest.out"
3641 # Check that the compiler produces executables we can run. If not, either
3642 # the compiler is broken, or we cross compile.
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3644 $as_echo_n "checking whether we are cross compiling... " >&6; }
3645 if test "$cross_compiling" != yes; then
3646 { { ac_try
="$ac_link"
3648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3649 *) ac_try_echo=$ac_try;;
3651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3652 $as_echo "$ac_try_echo"; } >&5
3653 (eval "$ac_link") 2>&5
3655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656 test $ac_status = 0; }
3657 if { ac_try='./conftest$ac_cv_exeext'
3658 { { case "(($ac_try" in
3659 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3660 *) ac_try_echo
=$ac_try;;
3662 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3663 $as_echo "$ac_try_echo"; } >&5
3664 (eval "$ac_try") 2>&5
3666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3667 test $ac_status = 0; }; }; then
3670 if test "$cross_compiling" = maybe
; then
3673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error $?
"cannot run C compiled programs.
3676 If you meant to cross compile, use \`--host'.
3677 See \`config.log' for more details" "$LINENO" 5; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3682 $as_echo "$cross_compiling" >&6; }
3684 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3685 ac_clean_files
=$ac_clean_files_save
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3687 $as_echo_n "checking for suffix of object files... " >&6; }
3688 if ${ac_cv_objext+:} false
; then :
3689 $as_echo_n "(cached) " >&6
3691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3692 /* end confdefs.h. */
3702 rm -f conftest.o conftest.obj
3703 if { { ac_try
="$ac_compile"
3705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3706 *) ac_try_echo=$ac_try;;
3708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3709 $as_echo "$ac_try_echo"; } >&5
3710 (eval "$ac_compile") 2>&5
3712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3713 test $ac_status = 0; }; then :
3714 for ac_file in conftest.o conftest.obj conftest.*; do
3715 test -f "$ac_file" || continue;
3717 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3718 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3723 $as_echo "$as_me: failed program was:" >&5
3724 sed 's/^/| /' conftest.$ac_ext >&5
3726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3728 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3729 See \
`config.log' for more details" "$LINENO" 5; }
3731 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3734 $as_echo "$ac_cv_objext" >&6; }
3735 OBJEXT=$ac_cv_objext
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3738 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3739 if ${ac_cv_c_compiler_gnu+:} false; then :
3740 $as_echo_n "(cached) " >&6
3742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3756 if ac_fn_c_try_compile "$LINENO"; then :
3761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3766 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3767 if test $ac_compiler_gnu = yes; then
3772 ac_test_CFLAGS=${CFLAGS+set}
3773 ac_save_CFLAGS=$CFLAGS
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3775 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3776 if ${ac_cv_prog_cc_g+:} false; then :
3777 $as_echo_n "(cached) " >&6
3779 ac_save_c_werror_flag=$ac_c_werror_flag
3780 ac_c_werror_flag=yes
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3794 if ac_fn_c_try_compile "$LINENO"; then :
3798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3799 /* end confdefs.h. */
3809 if ac_fn_c_try_compile "$LINENO"; then :
3812 ac_c_werror_flag=$ac_save_c_werror_flag
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3825 if ac_fn_c_try_compile "$LINENO"; then :
3828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3833 ac_c_werror_flag=$ac_save_c_werror_flag
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3836 $as_echo "$ac_cv_prog_cc_g" >&6; }
3837 if test "$ac_test_CFLAGS" = set; then
3838 CFLAGS=$ac_save_CFLAGS
3839 elif test $ac_cv_prog_cc_g = yes; then
3840 if test "$GCC" = yes; then
3846 if test "$GCC" = yes; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3853 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3854 if ${ac_cv_prog_cc_c89+:} false; then :
3855 $as_echo_n "(cached) " >&6
3857 ac_cv_prog_cc_c89=no
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3864 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3865 struct buf { int x; };
3866 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3867 static char *e (p, i)
3873 static char *f (char * (*g) (char **, int), char **p, ...)
3878 s = g (p, va_arg (v,int));
3883 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3884 function prototypes and stuff, but not '\xHH' hex character constants.
3885 These don't provoke an error unfortunately, instead are silently treated
3886 as 'x'. The following induces an error, until -std is added to get
3887 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3888 array size at least. It's necessary to write '\x00'==0 to get something
3889 that's true only with -std. */
3890 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3892 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3893 inside strings and character constants. */
3895 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3897 int test (int i, double x);
3898 struct s1 {int (*f) (int a);};
3899 struct s2 {int (*f) (double a);};
3900 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3906 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3911 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3912 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3914 CC="$ac_save_CC $ac_arg"
3915 if ac_fn_c_try_compile "$LINENO"; then :
3916 ac_cv_prog_cc_c89=$ac_arg
3918 rm -f core conftest.err conftest.$ac_objext
3919 test "x$ac_cv_prog_cc_c89" != "xno" && break
3921 rm -f conftest.$ac_ext
3926 case "x$ac_cv_prog_cc_c89" in
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3929 $as_echo "none needed" >&6; } ;;
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3932 $as_echo "unsupported" >&6; } ;;
3934 CC="$CC $ac_cv_prog_cc_c89"
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3936 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3938 if test "x$ac_cv_prog_cc_c89" != xno; then :
3943 ac_cpp='$CPP $CPPFLAGS'
3944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3949 ac_cpp='$CPP $CPPFLAGS'
3950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3954 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3955 if ${am_cv_prog_cc_c_o+:} false; then :
3956 $as_echo_n "(cached) " >&6
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3969 # Make sure it works both with $CC and with simple cc.
3970 # Following AC_PROG_CC_C_O, we do the test twice because some
3971 # compilers refuse to overwrite an existing .o file with -o,
3972 # though they will create one.
3973 am_cv_prog_cc_c_o=yes
3975 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3976 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); } \
3980 && test -f conftest2.$ac_objext; then
3983 am_cv_prog_cc_c_o=no
3987 rm -f core conftest*
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3991 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3992 if test "$am_cv_prog_cc_c_o" != yes; then
3993 # Losing compiler, so override with the script.
3994 # FIXME: It is wrong to rewrite CC.
3995 # But if we don't then we get into trouble of one sort or another.
3996 # A longer-term fix would be to have automake use am__CC in this case,
3997 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3998 CC="$am_aux_dir/compile $CC"
4001 ac_cpp='$CPP $CPPFLAGS'
4002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4006 DEPDIR="${am__leading_dot}deps"
4008 ac_config_commands="$ac_config_commands depfiles"
4011 am_make=${MAKE-make}
4012 cat > confinc << 'END'
4014 @echo this is the am__doit target
4017 # If we don't find an include directive, just comment out the code.
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4019 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4023 # First try GNU make style include.
4024 echo "include confinc" > confmf
4025 # Ignore all kinds of additional output from 'make'.
4026 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4027 *the\ am__doit\ target*)
4033 # Now try BSD make style include.
4034 if test "$am__include" = "#"; then
4035 echo '.include "confinc"' > confmf
4036 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4037 *the\ am__doit\ target*)
4038 am__include=.include
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4047 $as_echo "$_am_result" >&6; }
4048 rm -f confinc confmf
4050 # Check whether --enable-dependency-tracking was given.
4051 if test "${enable_dependency_tracking+set}" = set; then :
4052 enableval=$enable_dependency_tracking;
4055 if test "x$enable_dependency_tracking" != xno; then
4056 am_depcomp="$ac_aux_dir/depcomp"
4060 if test "x$enable_dependency_tracking" != xno; then
4070 depcc="$CC" am_compiler_list=
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_CC_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_CC_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
`
4102 case " $depcc " in #(
4103 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4106 for depmode in $am_compiler_list; do
4107 # Setup a source with many dependencies, because some compilers
4108 # like to wrap large dependency lists on column 80 (with \), and
4109 # we should not choose a depcomp mode which is confused by this.
4111 # We need to recreate these files for each test, as the compiler may
4112 # overwrite some of them when testing with obscure command lines.
4113 # This happens at least with the AIX C compiler.
4115 for i in 1 2 3 4 5 6; do
4116 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4117 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4118 # Solaris 10 /bin/sh.
4119 echo '/* dummy */' > sub/conftst$i.h
4121 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4123 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4124 # mode. It turns out that the SunPro C++ compiler does not properly
4125 # handle '-M -o', and we need to detect this. Also, some Intel
4126 # versions had trouble with output in subdirs.
4127 am__obj=sub/conftest.${OBJEXT-o}
4128 am__minus_obj="-o $am__obj"
4131 # This depmode causes a compiler race in universal mode.
4132 test "$am__universal" = false || continue
4135 # After this tag, mechanisms are not by side-effect, so they'll
4136 # only be used when explicitly requested.
4137 if test "x$enable_dependency_tracking" = xyes; then
4143 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4144 # This compiler won't grok '-c -o', but also, the minuso test has
4145 # not run yet. These depmodes are late enough in the game, and
4146 # so weak that their functioning should not be impacted.
4147 am__obj=conftest.${OBJEXT-o}
4152 if depmode=$depmode \
4153 source=sub/conftest.c object=$am__obj \
4154 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4155 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4156 >/dev/null 2>conftest.err &&
4157 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4158 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4159 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4160 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4161 # icc doesn't choke on unknown options, it will just issue warnings
4162 # or remarks (even with -Werror). So we grep stderr for any message
4163 # that says an option was ignored or not supported.
4164 # When given -MP, icc 7.0 and 7.1 complain thusly:
4165 # icc: Command line warning: ignoring option '-M'; no argument required
4166 # The diagnosis changed in icc 8.0:
4167 # icc: Command line remark: option '-MP' not supported
4168 if (grep 'ignoring option' conftest.err ||
4169 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4170 am_cv_CC_dependencies_compiler_type=$depmode
4179 am_cv_CC_dependencies_compiler_type=none
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4184 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4185 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4188 test "x$enable_dependency_tracking" != xno \
4189 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4191 am__fastdepCC_FALSE='#'
4193 am__fastdepCC_TRUE='#'
4194 am__fastdepCC_FALSE=
4199 ac_cpp='$CXXCPP $CPPFLAGS'
4200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4203 if test -z "$CXX"; then
4204 if test -n "$CCC"; then
4207 if test -n "$ac_tool_prefix"; then
4208 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4213 $as_echo_n "checking for $ac_word... " >&6; }
4214 if ${ac_cv_prog_CXX+:} false; then :
4215 $as_echo_n "(cached) " >&6
4217 if test -n "$CXX"; then
4218 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224 test -z "$as_dir" && as_dir=.
4225 for ac_exec_ext in '' $ac_executable_extensions; do
4226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4227 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 if test -n "$CXX"; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4240 $as_echo "$CXX" >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4247 test -n "$CXX" && break
4250 if test -z "$CXX"; then
4252 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4254 # Extract the first word of "$ac_prog", so it can be a program name with args.
4255 set dummy $ac_prog; ac_word=$2
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257 $as_echo_n "checking for $ac_word... " >&6; }
4258 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4259 $as_echo_n "(cached) " >&6
4261 if test -n "$ac_ct_CXX"; then
4262 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4268 test -z "$as_dir" && as_dir=.
4269 for ac_exec_ext in '' $ac_executable_extensions; do
4270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4271 ac_cv_prog_ac_ct_CXX="$ac_prog"
4272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4282 if test -n "$ac_ct_CXX"; then
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4284 $as_echo "$ac_ct_CXX" >&6; }
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287 $as_echo "no" >&6; }
4291 test -n "$ac_ct_CXX" && break
4294 if test "x$ac_ct_CXX" = x; then
4297 case $cross_compiling:$ac_tool_warned in
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4301 ac_tool_warned=yes ;;
4309 # Provide some information about the compiler.
4310 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4313 for ac_option in --version -v -V -qversion; do
4314 { { ac_try="$ac_compiler $ac_option >&5"
4316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4317 *) ac_try_echo
=$ac_try;;
4319 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4320 $as_echo "$ac_try_echo"; } >&5
4321 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4323 if test -s conftest.err
; then
4325 ... rest of stderr output deleted ...
4326 10q' conftest.err
>conftest.er1
4327 cat conftest.er1
>&5
4329 rm -f conftest.er1 conftest.err
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4335 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4336 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4337 $as_echo_n "(cached) " >&6
4339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4340 /* end confdefs.h. */
4353 if ac_fn_cxx_try_compile
"$LINENO"; then :
4358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4359 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4363 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4364 if test $ac_compiler_gnu = yes; then
4369 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4370 ac_save_CXXFLAGS
=$CXXFLAGS
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4372 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4373 if ${ac_cv_prog_cxx_g+:} false
; then :
4374 $as_echo_n "(cached) " >&6
4376 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4377 ac_cxx_werror_flag
=yes
4380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4391 if ac_fn_cxx_try_compile
"$LINENO"; then :
4392 ac_cv_prog_cxx_g
=yes
4395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4406 if ac_fn_cxx_try_compile
"$LINENO"; then :
4409 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4412 /* end confdefs.h. */
4422 if ac_fn_cxx_try_compile
"$LINENO"; then :
4423 ac_cv_prog_cxx_g
=yes
4425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4430 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4433 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4434 if test "$ac_test_CXXFLAGS" = set; then
4435 CXXFLAGS
=$ac_save_CXXFLAGS
4436 elif test $ac_cv_prog_cxx_g = yes; then
4437 if test "$GXX" = yes; then
4443 if test "$GXX" = yes; then
4450 ac_cpp
='$CPP $CPPFLAGS'
4451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4455 depcc
="$CXX" am_compiler_list
=
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4458 $as_echo_n "checking dependency style of $depcc... " >&6; }
4459 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4460 $as_echo_n "(cached) " >&6
4462 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4463 # We make a subdir and do the tests there. Otherwise we can end up
4464 # making bogus files that we don't know about and never remove. For
4465 # instance it was reported that on HP-UX the gcc test will end up
4466 # making a dummy file named 'D' -- because '-MD' means "put the output
4470 # Copy depcomp to subdir because otherwise we won't find it if we're
4471 # using a relative directory.
4472 cp "$am_depcomp" conftest.dir
4474 # We will build objects and dependencies in a subdirectory because
4475 # it helps to detect inapplicable dependency modes. For instance
4476 # both Tru64's cc and ICC support -MD to output dependencies as a
4477 # side effect of compilation, but ICC will put the dependencies in
4478 # the current directory while Tru64 will put them in the object
4482 am_cv_CXX_dependencies_compiler_type
=none
4483 if test "$am_compiler_list" = ""; then
4484 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4487 case " $depcc " in #(
4488 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4491 for depmode
in $am_compiler_list; do
4492 # Setup a source with many dependencies, because some compilers
4493 # like to wrap large dependency lists on column 80 (with \), and
4494 # we should not choose a depcomp mode which is confused by this.
4496 # We need to recreate these files for each test, as the compiler may
4497 # overwrite some of them when testing with obscure command lines.
4498 # This happens at least with the AIX C compiler.
4500 for i
in 1 2 3 4 5 6; do
4501 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4502 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4503 # Solaris 10 /bin/sh.
4504 echo '/* dummy */' > sub
/conftst
$i.h
4506 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4508 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4509 # mode. It turns out that the SunPro C++ compiler does not properly
4510 # handle '-M -o', and we need to detect this. Also, some Intel
4511 # versions had trouble with output in subdirs.
4512 am__obj
=sub
/conftest.
${OBJEXT-o}
4513 am__minus_obj
="-o $am__obj"
4516 # This depmode causes a compiler race in universal mode.
4517 test "$am__universal" = false
|| continue
4520 # After this tag, mechanisms are not by side-effect, so they'll
4521 # only be used when explicitly requested.
4522 if test "x$enable_dependency_tracking" = xyes
; then
4528 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4529 # This compiler won't grok '-c -o', but also, the minuso test has
4530 # not run yet. These depmodes are late enough in the game, and
4531 # so weak that their functioning should not be impacted.
4532 am__obj
=conftest.
${OBJEXT-o}
4537 if depmode
=$depmode \
4538 source=sub
/conftest.c object
=$am__obj \
4539 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4540 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4541 >/dev
/null
2>conftest.err
&&
4542 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4543 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4544 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4545 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4546 # icc doesn't choke on unknown options, it will just issue warnings
4547 # or remarks (even with -Werror). So we grep stderr for any message
4548 # that says an option was ignored or not supported.
4549 # When given -MP, icc 7.0 and 7.1 complain thusly:
4550 # icc: Command line warning: ignoring option '-M'; no argument required
4551 # The diagnosis changed in icc 8.0:
4552 # icc: Command line remark: option '-MP' not supported
4553 if (grep 'ignoring option' conftest.err
||
4554 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4555 am_cv_CXX_dependencies_compiler_type
=$depmode
4564 am_cv_CXX_dependencies_compiler_type
=none
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4569 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4570 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4573 test "x$enable_dependency_tracking" != xno \
4574 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4575 am__fastdepCXX_TRUE
=
4576 am__fastdepCXX_FALSE
='#'
4578 am__fastdepCXX_TRUE
='#'
4579 am__fastdepCXX_FALSE
=
4584 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4585 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4586 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4588 if test -n "$ac_tool_prefix"; then
4589 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4592 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if ${ac_cv_prog_OBJCXX+:} false
; then :
4596 $as_echo_n "(cached) " >&6
4598 if test -n "$OBJCXX"; then
4599 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4608 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 OBJCXX
=$ac_cv_prog_OBJCXX
4619 if test -n "$OBJCXX"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4621 $as_echo "$OBJCXX" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4628 test -n "$OBJCXX" && break
4631 if test -z "$OBJCXX"; then
4632 ac_ct_OBJCXX
=$OBJCXX
4633 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4635 # Extract the first word of "$ac_prog", so it can be a program name with args.
4636 set dummy
$ac_prog; ac_word
=$2
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4638 $as_echo_n "checking for $ac_word... " >&6; }
4639 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4640 $as_echo_n "(cached) " >&6
4642 if test -n "$ac_ct_OBJCXX"; then
4643 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4649 test -z "$as_dir" && as_dir
=.
4650 for ac_exec_ext
in '' $ac_executable_extensions; do
4651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4652 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4663 if test -n "$ac_ct_OBJCXX"; then
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4665 $as_echo "$ac_ct_OBJCXX" >&6; }
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4668 $as_echo "no" >&6; }
4672 test -n "$ac_ct_OBJCXX" && break
4675 if test "x$ac_ct_OBJCXX" = x
; then
4678 case $cross_compiling:$ac_tool_warned in
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4682 ac_tool_warned
=yes ;;
4684 OBJCXX
=$ac_ct_OBJCXX
4688 # Provide some information about the compiler.
4689 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4692 for ac_option
in --version -v -V -qversion; do
4693 { { ac_try
="$ac_compiler $ac_option >&5"
4695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4696 *) ac_try_echo=$ac_try;;
4698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4699 $as_echo "$ac_try_echo"; } >&5
4700 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4702 if test -s conftest.err; then
4704 ... rest of stderr output deleted ...
4705 10q' conftest.err >conftest.er1
4706 cat conftest.er1 >&5
4708 rm -f conftest.er1 conftest.err
4709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4710 test $ac_status = 0; }
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4714 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4715 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4716 $as_echo_n "(cached) " >&6
4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719 /* end confdefs.h. */
4732 if ac_fn_objcxx_try_compile "$LINENO"; then :
4737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4738 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4742 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4743 if test $ac_compiler_gnu = yes; then
4748 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4749 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4751 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4752 if ${ac_cv_prog_objcxx_g+:} false; then :
4753 $as_echo_n "(cached) " >&6
4755 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4756 ac_objcxx_werror_flag=yes
4757 ac_cv_prog_objcxx_g=no
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4770 if ac_fn_objcxx_try_compile "$LINENO"; then :
4771 ac_cv_prog_objcxx_g=yes
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4785 if ac_fn_objcxx_try_compile "$LINENO"; then :
4788 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4801 if ac_fn_objcxx_try_compile "$LINENO"; then :
4802 ac_cv_prog_objcxx_g=yes
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4812 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4813 if test "$ac_test_OBJCXXFLAGS" = set; then
4814 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4815 elif test $ac_cv_prog_objcxx_g = yes; then
4816 if test "$GOBJCXX" = yes; then
4817 OBJCXXFLAGS="-g -O2"
4822 if test "$GOBJCXX" = yes; then
4829 ac_cpp='$CPP $CPPFLAGS'
4830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4834 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4837 $as_echo_n "checking dependency style of $depcc... " >&6; }
4838 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4842 # We make a subdir and do the tests there. Otherwise we can end up
4843 # making bogus files that we don't know about and never remove. For
4844 # instance it was reported that on HP-UX the gcc test will end up
4845 # making a dummy file named 'D' -- because '-MD' means "put the output
4849 # Copy depcomp to subdir because otherwise we won't find it if we're
4850 # using a relative directory.
4851 cp "$am_depcomp" conftest.dir
4853 # We will build objects and dependencies in a subdirectory because
4854 # it helps to detect inapplicable dependency modes. For instance
4855 # both Tru64's cc and ICC support -MD to output dependencies as a
4856 # side effect of compilation, but ICC will put the dependencies in
4857 # the current directory while Tru64 will put them in the object
4861 am_cv_OBJCXX_dependencies_compiler_type=none
4862 if test "$am_compiler_list" = ""; then
4863 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4868 for depmode in $am_compiler_list; do
4869 # Setup a source with many dependencies, because some compilers
4870 # like to wrap large dependency lists on column 80 (with \), and
4871 # we should not choose a depcomp mode which is confused by this.
4873 # We need to recreate these files for each test, as the compiler may
4874 # overwrite some of them when testing with obscure command lines.
4875 # This happens at least with the AIX C compiler.
4877 for i in 1 2 3 4 5 6; do
4878 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4879 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4880 # Solaris 10 /bin/sh.
4881 echo '/* dummy */' > sub/conftst$i.h
4883 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4885 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4886 # mode. It turns out that the SunPro C++ compiler does not properly
4887 # handle '-M -o', and we need to detect this. Also, some Intel
4888 # versions had trouble with output in subdirs.
4889 am__obj=sub/conftest.${OBJEXT-o}
4890 am__minus_obj="-o $am__obj"
4893 # This depmode causes a compiler race in universal mode.
4894 test "$am__universal" = false || continue
4897 # After this tag, mechanisms are not by side-effect, so they'll
4898 # only be used when explicitly requested.
4899 if test "x$enable_dependency_tracking" = xyes; then
4905 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4906 # This compiler won't grok '-c -o', but also, the minuso test has
4907 # not run yet. These depmodes are late enough in the game, and
4908 # so weak that their functioning should not be impacted.
4909 am__obj=conftest.${OBJEXT-o}
4914 if depmode=$depmode \
4915 source=sub/conftest.c object=$am__obj \
4916 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4917 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4918 >/dev/null 2>conftest.err &&
4919 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4920 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4921 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4922 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4923 # icc doesn't choke on unknown options, it will just issue warnings
4924 # or remarks (even with -Werror). So we grep stderr for any message
4925 # that says an option was ignored or not supported.
4926 # When given -MP, icc 7.0 and 7.1 complain thusly:
4927 # icc: Command line warning: ignoring option '-M'; no argument required
4928 # The diagnosis changed in icc 8.0:
4929 # icc: Command line remark: option '-MP' not supported
4930 if (grep 'ignoring option' conftest.err ||
4931 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4932 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4941 am_cv_OBJCXX_dependencies_compiler_type=none
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4946 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4947 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4950 test "x$enable_dependency_tracking" != xno \
4951 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4952 am__fastdepOBJCXX_TRUE=
4953 am__fastdepOBJCXX_FALSE='#'
4955 am__fastdepOBJCXX_TRUE='#'
4956 am__fastdepOBJCXX_FALSE=
4962 if test -n "$ac_tool_prefix"; then
4963 for ac_prog in ar lib "link -lib"
4965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if ${ac_cv_prog_AR+:} false; then :
4970 $as_echo_n "(cached) " >&6
4972 if test -n "$AR"; then
4973 ac_cv_prog_AR="$AR" # Let the user override the test.
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 test -z "$as_dir" && as_dir=.
4980 for ac_exec_ext in '' $ac_executable_extensions; do
4981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4982 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 if test -n "$AR"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4995 $as_echo "$AR" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 $as_echo "no" >&6; }
5002 test -n "$AR" && break
5005 if test -z "$AR"; then
5007 for ac_prog in ar lib "link -lib"
5009 # Extract the first word of "$ac_prog", so it can be a program name with args.
5010 set dummy $ac_prog; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$ac_ct_AR"; then
5017 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_ac_ct_AR="$ac_prog"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5037 if test -n "$ac_ct_AR"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5039 $as_echo "$ac_ct_AR" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5046 test -n "$ac_ct_AR" && break
5049 if test "x$ac_ct_AR" = x; then
5052 case $cross_compiling:$ac_tool_warned in
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5056 ac_tool_warned=yes ;;
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5065 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5066 if ${am_cv_ar_interface+:} false; then :
5067 $as_echo_n "(cached) " >&6
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5075 am_cv_ar_interface=ar
5076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5077 /* end confdefs.h. */
5078 int some_variable = 0;
5080 if ac_fn_c_try_compile "$LINENO"; then :
5081 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5082 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5083 (eval $am_ar_try) 2>&5
5085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5086 test $ac_status = 0; }
5087 if test "$ac_status" -eq 0; then
5088 am_cv_ar_interface=ar
5090 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5091 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5092 (eval $am_ar_try) 2>&5
5094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5095 test $ac_status = 0; }
5096 if test "$ac_status" -eq 0; then
5097 am_cv_ar_interface=lib
5099 am_cv_ar_interface=unknown
5102 rm -f conftest.lib libconftest.a
5105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5107 ac_cpp='$CPP $CPPFLAGS'
5108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5114 $as_echo "$am_cv_ar_interface" >&6; }
5116 case $am_cv_ar_interface in
5120 # Microsoft lib, so override with the ar-lib wrapper script.
5121 # FIXME: It is wrong to rewrite AR.
5122 # But if we don't then we get into trouble of one sort or another.
5123 # A longer-term fix would be to have automake use am__AR in this case,
5124 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5126 AR="$am_aux_dir/ar-lib $AR"
5129 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5138 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5143 macro_version='2.4.2'
5144 macro_revision='1.3337'
5158 ltmain="$ac_aux_dir/ltmain.sh"
5160 # Make sure we can run config.sub.
5161 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5162 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5165 $as_echo_n "checking build system type... " >&6; }
5166 if ${ac_cv_build+:} false; then :
5167 $as_echo_n "(cached) " >&6
5169 ac_build_alias=$build_alias
5170 test "x$ac_build_alias" = x &&
5171 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5172 test "x$ac_build_alias" = x &&
5173 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5174 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5175 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5179 $as_echo "$ac_cv_build" >&6; }
5180 case $ac_cv_build in
5182 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5185 ac_save_IFS=$IFS; IFS='-'
5191 # Remember, the first character of IFS is used to create $*,
5192 # except with old shells:
5195 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5199 $as_echo_n "checking host system type... " >&6; }
5200 if ${ac_cv_host+:} false; then :
5201 $as_echo_n "(cached) " >&6
5203 if test "x$host_alias" = x; then
5204 ac_cv_host=$ac_cv_build
5206 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5207 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5212 $as_echo "$ac_cv_host" >&6; }
5215 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5218 ac_save_IFS=$IFS; IFS='-'
5224 # Remember, the first character of IFS is used to create $*,
5225 # except with old shells:
5228 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5231 # Backslashify metacharacters that are still active within
5232 # double-quoted strings.
5233 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5235 # Same as above, but do not quote variable references.
5236 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5238 # Sed substitution to delay expansion of an escaped shell variable in a
5239 # double_quote_subst'ed string.
5240 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5242 # Sed substitution to delay expansion of an escaped single quote.
5243 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5245 # Sed substitution to avoid accidental globbing in evaled expressions
5246 no_glob_subst='s/\*/\\\*/g'
5248 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5249 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5250 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5253 $as_echo_n "checking how to print
strings...
" >&6; }
5254 # Test print first, because it will be a builtin if present.
5255 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5256 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5258 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5261 # Use this function as a fallback that always works.
5262 func_fallback_echo ()
5264 eval 'cat <<_LTECHO_EOF
5268 ECHO='func_fallback_echo'
5271 # func_echo_all arg...
5272 # Invoke $ECHO with all args, space-separated.
5279 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5280 $as_echo "printf" >&6; } ;;
5281 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5282 $as_echo "print
-r" >&6; } ;;
5283 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5284 $as_echo "cat" >&6; } ;;
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5301 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5302 if ${ac_cv_path_SED+:} false; then :
5303 $as_echo_n "(cached
) " >&6
5305 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5306 for ac_i in 1 2 3 4 5 6 7; do
5307 ac_script="$ac_script$as_nl$ac_script"
5309 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5310 { ac_script=; unset ac_script;}
5311 if test -z "$SED"; then
5312 ac_path_SED_found=false
5313 # Loop through the user's path and test for each of PROGNAME-LIST
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 test -z "$as_dir" && as_dir=.
5319 for ac_prog in sed gsed; do
5320 for ac_exec_ext in '' $ac_executable_extensions; do
5321 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5322 as_fn_executable_p "$ac_path_SED" || continue
5323 # Check for GNU ac_path_SED and select it if it is found.
5324 # Check for GNU $ac_path_SED
5325 case `"$ac_path_SED" --version 2>&1` in
5327 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5330 $as_echo_n 0123456789 >"conftest.
in"
5333 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5334 mv "conftest.tmp
" "conftest.
in"
5335 cp "conftest.
in" "conftest.
nl"
5336 $as_echo '' >> "conftest.
nl"
5337 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5338 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5339 as_fn_arith $ac_count + 1 && ac_count=$as_val
5340 if test $ac_count -gt ${ac_path_SED_max-0}; then
5341 # Best one so far, save it but keep looking for a better one
5342 ac_cv_path_SED="$ac_path_SED"
5343 ac_path_SED_max=$ac_count
5345 # 10*(2^10) chars as input seems more than enough
5346 test $ac_count -gt 10 && break
5348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5351 $ac_path_SED_found && break 3
5356 if test -z "$ac_cv_path_SED"; then
5357 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5365 $as_echo "$ac_cv_path_SED" >&6; }
5366 SED="$ac_cv_path_SED"
5369 test -z "$SED" && SED=sed
5370 Xsed="$SED -e 1s
/^X
//"
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5383 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5384 if ${ac_cv_path_GREP+:} false; then :
5385 $as_echo_n "(cached
) " >&6
5387 if test -z "$GREP"; then
5388 ac_path_GREP_found=false
5389 # Loop through the user's path and test for each of PROGNAME-LIST
5390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5391 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5394 test -z "$as_dir" && as_dir=.
5395 for ac_prog in grep ggrep; do
5396 for ac_exec_ext in '' $ac_executable_extensions; do
5397 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5398 as_fn_executable_p "$ac_path_GREP" || continue
5399 # Check for GNU ac_path_GREP and select it if it is found.
5400 # Check for GNU $ac_path_GREP
5401 case `"$ac_path_GREP" --version 2>&1` in
5403 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5406 $as_echo_n 0123456789 >"conftest.
in"
5409 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5410 mv "conftest.tmp
" "conftest.
in"
5411 cp "conftest.
in" "conftest.
nl"
5412 $as_echo 'GREP' >> "conftest.
nl"
5413 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5414 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5415 as_fn_arith $ac_count + 1 && ac_count=$as_val
5416 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5417 # Best one so far, save it but keep looking for a better one
5418 ac_cv_path_GREP="$ac_path_GREP"
5419 ac_path_GREP_max=$ac_count
5421 # 10*(2^10) chars as input seems more than enough
5422 test $ac_count -gt 10 && break
5424 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5427 $ac_path_GREP_found && break 3
5432 if test -z "$ac_cv_path_GREP"; then
5433 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5436 ac_cv_path_GREP=$GREP
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5441 $as_echo "$ac_cv_path_GREP" >&6; }
5442 GREP="$ac_cv_path_GREP"
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5446 $as_echo_n "checking
for egrep...
" >&6; }
5447 if ${ac_cv_path_EGREP+:} false; then :
5448 $as_echo_n "(cached
) " >&6
5450 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5451 then ac_cv_path_EGREP="$GREP -E"
5453 if test -z "$EGREP"; then
5454 ac_path_EGREP_found=false
5455 # Loop through the user's path and test for each of PROGNAME-LIST
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5460 test -z "$as_dir" && as_dir=.
5461 for ac_prog in egrep; do
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5464 as_fn_executable_p "$ac_path_EGREP" || continue
5465 # Check for GNU ac_path_EGREP and select it if it is found.
5466 # Check for GNU $ac_path_EGREP
5467 case `"$ac_path_EGREP" --version 2>&1` in
5469 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5472 $as_echo_n 0123456789 >"conftest.
in"
5475 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5476 mv "conftest.tmp
" "conftest.
in"
5477 cp "conftest.
in" "conftest.
nl"
5478 $as_echo 'EGREP' >> "conftest.
nl"
5479 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5480 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5481 as_fn_arith $ac_count + 1 && ac_count=$as_val
5482 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5483 # Best one so far, save it but keep looking for a better one
5484 ac_cv_path_EGREP="$ac_path_EGREP"
5485 ac_path_EGREP_max=$ac_count
5487 # 10*(2^10) chars as input seems more than enough
5488 test $ac_count -gt 10 && break
5490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5493 $ac_path_EGREP_found && break 3
5498 if test -z "$ac_cv_path_EGREP"; then
5499 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5502 ac_cv_path_EGREP=$EGREP
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5508 $as_echo "$ac_cv_path_EGREP" >&6; }
5509 EGREP="$ac_cv_path_EGREP"
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5513 $as_echo_n "checking
for fgrep...
" >&6; }
5514 if ${ac_cv_path_FGREP+:} false; then :
5515 $as_echo_n "(cached
) " >&6
5517 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5518 then ac_cv_path_FGREP="$GREP -F"
5520 if test -z "$FGREP"; then
5521 ac_path_FGREP_found=false
5522 # Loop through the user's path and test for each of PROGNAME-LIST
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5527 test -z "$as_dir" && as_dir=.
5528 for ac_prog in fgrep; do
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5531 as_fn_executable_p "$ac_path_FGREP" || continue
5532 # Check for GNU ac_path_FGREP and select it if it is found.
5533 # Check for GNU $ac_path_FGREP
5534 case `"$ac_path_FGREP" --version 2>&1` in
5536 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5539 $as_echo_n 0123456789 >"conftest.
in"
5542 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5543 mv "conftest.tmp
" "conftest.
in"
5544 cp "conftest.
in" "conftest.
nl"
5545 $as_echo 'FGREP' >> "conftest.
nl"
5546 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5547 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5548 as_fn_arith $ac_count + 1 && ac_count=$as_val
5549 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5550 # Best one so far, save it but keep looking for a better one
5551 ac_cv_path_FGREP="$ac_path_FGREP"
5552 ac_path_FGREP_max=$ac_count
5554 # 10*(2^10) chars as input seems more than enough
5555 test $ac_count -gt 10 && break
5557 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5560 $ac_path_FGREP_found && break 3
5565 if test -z "$ac_cv_path_FGREP"; then
5566 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5569 ac_cv_path_FGREP=$FGREP
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5575 $as_echo "$ac_cv_path_FGREP" >&6; }
5576 FGREP="$ac_cv_path_FGREP"
5579 test -z "$GREP" && GREP=grep
5599 # Check whether --with-gnu-ld was given.
5600 if test "${with_gnu_ld+set}" = set; then :
5601 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5607 if test "$GCC" = yes; then
5608 # Check if gcc -print-prog-name=ld gives a path.
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5610 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5613 # gcc leaves a trailing carriage return which upsets mingw
5614 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5616 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5619 # Accept absolute paths.
5621 re_direlt='/[^/][^/]*/\.\./'
5622 # Canonicalize the pathname of ld
5623 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5624 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5625 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5627 test -z "$LD" && LD="$ac_prog"
5630 # If it fails, then pretend we aren't using GCC.
5634 # If it is relative, then search for the first ld in PATH.
5638 elif test "$with_gnu_ld" = yes; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5640 $as_echo_n "checking
for GNU ld...
" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5643 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5645 if ${lt_cv_path_LD+:} false; then :
5646 $as_echo_n "(cached
) " >&6
5648 if test -z "$LD"; then
5649 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5650 for ac_dir in $PATH; do
5652 test -z "$ac_dir" && ac_dir=.
5653 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5654 lt_cv_path_LD="$ac_dir/$ac_prog"
5655 # Check to see if the program is GNU ld. I'd rather use --version,
5656 # but apparently some variants of GNU ld only accept -v.
5657 # Break only if it was the GNU/non-GNU ld that we prefer.
5658 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5659 *GNU* | *'with BFD'*)
5660 test "$with_gnu_ld" != no && break
5663 test "$with_gnu_ld" != yes && break
5670 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5675 if test -n "$LD"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5677 $as_echo "$LD" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5680 $as_echo "no
" >&6; }
5682 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5684 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5685 if ${lt_cv_prog_gnu_ld+:} false; then :
5686 $as_echo_n "(cached
) " >&6
5688 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5689 case `$LD -v 2>&1 </dev/null` in
5690 *GNU* | *'with BFD'*)
5691 lt_cv_prog_gnu_ld=yes
5694 lt_cv_prog_gnu_ld=no
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5699 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5700 with_gnu_ld=$lt_cv_prog_gnu_ld
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5711 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5712 if ${lt_cv_path_NM+:} false; then :
5713 $as_echo_n "(cached
) " >&6
5715 if test -n "$NM"; then
5716 # Let the user override the test.
5719 lt_nm_to_check="${ac_tool_prefix}nm
"
5720 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5721 lt_nm_to_check="$lt_nm_to_check nm
"
5723 for lt_tmp_nm in $lt_nm_to_check; do
5724 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5725 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5727 test -z "$ac_dir" && ac_dir=.
5728 tmp_nm="$ac_dir/$lt_tmp_nm"
5729 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5730 # Check to see if the nm accepts a BSD-compat flag.
5731 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5732 # nm: unknown option "B
" ignored
5733 # Tru64's nm complains that /dev/null is an invalid object file
5734 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5735 */dev/null* | *'Invalid file or object type'*)
5736 lt_cv_path_NM="$tmp_nm -B"
5740 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5742 lt_cv_path_NM="$tmp_nm -p"
5746 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5747 continue # so that we can try to find one that supports BSD flags
5756 : ${lt_cv_path_NM=no}
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5760 $as_echo "$lt_cv_path_NM" >&6; }
5761 if test "$lt_cv_path_NM" != "no
"; then
5764 # Didn't find any BSD compatible name lister, look for dumpbin.
5765 if test -n "$DUMPBIN"; then :
5766 # Let the user override the test.
5768 if test -n "$ac_tool_prefix"; then
5769 for ac_prog in dumpbin "link
-dump"
5771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5774 $as_echo_n "checking
for $ac_word...
" >&6; }
5775 if ${ac_cv_prog_DUMPBIN+:} false; then :
5776 $as_echo_n "(cached
) " >&6
5778 if test -n "$DUMPBIN"; then
5779 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5798 DUMPBIN=$ac_cv_prog_DUMPBIN
5799 if test -n "$DUMPBIN"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5801 $as_echo "$DUMPBIN" >&6; }
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5804 $as_echo "no
" >&6; }
5808 test -n "$DUMPBIN" && break
5811 if test -z "$DUMPBIN"; then
5812 ac_ct_DUMPBIN=$DUMPBIN
5813 for ac_prog in dumpbin "link
-dump"
5815 # Extract the first word of "$ac_prog", so it can be a program name with args.
5816 set dummy $ac_prog; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5818 $as_echo_n "checking
for $ac_word...
" >&6; }
5819 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5820 $as_echo_n "(cached
) " >&6
5822 if test -n "$ac_ct_DUMPBIN"; then
5823 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5842 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5843 if test -n "$ac_ct_DUMPBIN"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5845 $as_echo "$ac_ct_DUMPBIN" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5848 $as_echo "no
" >&6; }
5852 test -n "$ac_ct_DUMPBIN" && break
5855 if test "x
$ac_ct_DUMPBIN" = x; then
5858 case $cross_compiling:$ac_tool_warned in
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5861 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5862 ac_tool_warned=yes ;;
5864 DUMPBIN=$ac_ct_DUMPBIN
5868 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5870 DUMPBIN="$DUMPBIN -symbols"
5878 if test "$DUMPBIN" != ":"; then
5882 test -z "$NM" && NM=nm
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5890 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5891 if ${lt_cv_nm_interface+:} false; then :
5892 $as_echo_n "(cached
) " >&6
5894 lt_cv_nm_interface="BSD nm
"
5895 echo "int some_variable
= 0;" > conftest.$ac_ext
5896 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5897 (eval "$ac_compile" 2>conftest.err)
5898 cat conftest.err >&5
5899 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5900 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5901 cat conftest.err >&5
5902 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5903 cat conftest.out >&5
5904 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5905 lt_cv_nm_interface="MS dumpbin
"
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5910 $as_echo "$lt_cv_nm_interface" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5913 $as_echo_n "checking whether
ln -s works...
" >&6; }
5915 if test "$LN_S" = "ln -s"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5917 $as_echo "yes" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5920 $as_echo "no
, using
$LN_S" >&6; }
5923 # find the maximum length of command line arguments
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5925 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5926 if ${lt_cv_sys_max_cmd_len+:} false; then :
5927 $as_echo_n "(cached
) " >&6
5934 # On DJGPP, this test can blow up pretty badly due to problems in libc
5935 # (any single argument exceeding 2000 bytes causes a buffer overrun
5936 # during glob expansion). Even if it were fixed, the result of this
5937 # check would be larger than it should be.
5938 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5942 # Under GNU Hurd, this test is not required because there is
5943 # no limit to the length of command line arguments.
5944 # Libtool will interpret -1 as no limit whatsoever
5945 lt_cv_sys_max_cmd_len=-1;
5948 cygwin* | mingw* | cegcc*)
5949 # On Win9x/ME, this test blows up -- it succeeds, but takes
5950 # about 5 minutes as the teststring grows exponentially.
5951 # Worse, since 9x/ME are not pre-emptively multitasking,
5952 # you end up with a "frozen
" computer, even though with patience
5953 # the test eventually succeeds (with a max line length of 256k).
5954 # Instead, let's just punt: use the minimum linelength reported by
5955 # all of the supported platforms: 8192 (on NT/2K/XP).
5956 lt_cv_sys_max_cmd_len=8192;
5960 # On MiNT this can take a long time and run out of memory.
5961 lt_cv_sys_max_cmd_len=8192;
5965 # On AmigaOS with pdksh, this test takes hours, literally.
5966 # So we just punt and use a minimum line length of 8192.
5967 lt_cv_sys_max_cmd_len=8192;
5970 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5971 # This has been around since 386BSD, at least. Likely further.
5972 if test -x /sbin/sysctl; then
5973 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5974 elif test -x /usr/sbin/sysctl; then
5975 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5977 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5979 # And add a safety zone
5980 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5981 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5985 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5986 lt_cv_sys_max_cmd_len=196608
5990 # The test takes a long time on OS/2.
5991 lt_cv_sys_max_cmd_len=8192
5995 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5996 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5997 # nice to cause kernel panics so lets avoid the loop below.
5998 # First set a reasonable default.
5999 lt_cv_sys_max_cmd_len=16384
6001 if test -x /sbin/sysconfig; then
6002 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6003 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6008 lt_cv_sys_max_cmd_len=102400
6010 sysv5* | sco5v6* | sysv4.2uw2*)
6011 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6012 if test -n "$kargmax"; then
6013 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6015 lt_cv_sys_max_cmd_len=32768
6019 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6020 if test -n "$lt_cv_sys_max_cmd_len"; then
6021 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6022 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6024 # Make teststring a little bigger before we do anything with it.
6025 # a 1K string should be a reasonable start.
6026 for i in 1 2 3 4 5 6 7 8 ; do
6027 teststring=$teststring$teststring
6029 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6030 # If test is not a shell built-in, we'll probably end up computing a
6031 # maximum length that is only half of the actual maximum length, but
6033 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
6034 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6035 test $i != 17 # 1/2 MB should be enough
6038 teststring=$teststring$teststring
6040 # Only check the string length outside the loop.
6041 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6043 # Add a significant safety factor because C++ compilers can tack on
6044 # massive amounts of additional arguments before passing them to the
6045 # linker. It appears as though 1/2 is a usable value.
6046 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6053 if test -n $lt_cv_sys_max_cmd_len ; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6055 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6058 $as_echo "none
" >&6; }
6060 max_cmd_len=$lt_cv_sys_max_cmd_len
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6072 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6073 # Try some XSI features
6076 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6078 && eval 'test $(( 1 + 1 )) -eq 2 \
6079 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6082 $as_echo "$xsi_shell" >&6; }
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6086 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6088 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6090 && lt_shell_append=yes
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6092 $as_echo "$lt_shell_append" >&6; }
6095 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6105 # test EBCDIC or ASCII
6106 case `echo X|tr X '\101'` in
6107 A) # ASCII based system
6108 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6109 lt_SP2NL='tr \040 \012'
6110 lt_NL2SP='tr \015\012 \040\040'
6112 *) # EBCDIC based system
6113 lt_SP2NL='tr \100 \n'
6114 lt_NL2SP='tr \r\n \100\100'
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6127 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6128 if ${lt_cv_to_host_file_cmd+:} false; then :
6129 $as_echo_n "(cached
) " >&6
6134 *-*-mingw* ) # actually msys
6135 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6138 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6140 * ) # otherwise, assume *nix
6141 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6147 *-*-mingw* ) # actually msys
6148 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6151 lt_cv_to_host_file_cmd=func_convert_file_noop
6153 * ) # otherwise, assume *nix
6154 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6158 * ) # unhandled hosts (and "normal
" native builds)
6159 lt_cv_to_host_file_cmd=func_convert_file_noop
6165 to_host_file_cmd=$lt_cv_to_host_file_cmd
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6167 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6174 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6175 if ${lt_cv_to_tool_file_cmd+:} false; then :
6176 $as_echo_n "(cached
) " >&6
6178 #assume ordinary cross tools, or native build.
6179 lt_cv_to_tool_file_cmd=func_convert_file_noop
6183 *-*-mingw* ) # actually msys
6184 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6192 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6194 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6201 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6202 if ${lt_cv_ld_reload_flag+:} false; then :
6203 $as_echo_n "(cached
) " >&6
6205 lt_cv_ld_reload_flag='-r'
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6208 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6209 reload_flag=$lt_cv_ld_reload_flag
6210 case $reload_flag in
6212 *) reload_flag=" $reload_flag" ;;
6214 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6216 cygwin* | mingw* | pw32* | cegcc*)
6217 if test "$GCC" != yes; then
6222 if test "$GCC" = yes; then
6223 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6225 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6238 if test -n "$ac_tool_prefix"; then
6239 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6240 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6242 $as_echo_n "checking
for $ac_word...
" >&6; }
6243 if ${ac_cv_prog_OBJDUMP+:} false; then :
6244 $as_echo_n "(cached
) " >&6
6246 if test -n "$OBJDUMP"; then
6247 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 test -z "$as_dir" && as_dir=.
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6256 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6257 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6266 OBJDUMP=$ac_cv_prog_OBJDUMP
6267 if test -n "$OBJDUMP"; then
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6269 $as_echo "$OBJDUMP" >&6; }
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6272 $as_echo "no
" >&6; }
6277 if test -z "$ac_cv_prog_OBJDUMP"; then
6278 ac_ct_OBJDUMP=$OBJDUMP
6279 # Extract the first word of "objdump
", so it can be a program name with args.
6280 set dummy objdump; ac_word=$2
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6282 $as_echo_n "checking
for $ac_word...
" >&6; }
6283 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6284 $as_echo_n "(cached
) " >&6
6286 if test -n "$ac_ct_OBJDUMP"; then
6287 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6296 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6306 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6307 if test -n "$ac_ct_OBJDUMP"; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6309 $as_echo "$ac_ct_OBJDUMP" >&6; }
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6312 $as_echo "no
" >&6; }
6315 if test "x
$ac_ct_OBJDUMP" = x; then
6318 case $cross_compiling:$ac_tool_warned in
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6321 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6322 ac_tool_warned=yes ;;
6324 OBJDUMP=$ac_ct_OBJDUMP
6327 OBJDUMP="$ac_cv_prog_OBJDUMP"
6330 test -z "$OBJDUMP" && OBJDUMP=objdump
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6341 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6342 if ${lt_cv_deplibs_check_method+:} false; then :
6343 $as_echo_n "(cached
) " >&6
6345 lt_cv_file_magic_cmd='$MAGIC_CMD'
6346 lt_cv_file_magic_test_file=
6347 lt_cv_deplibs_check_method='unknown'
6348 # Need to set the preceding variable on all platforms that support
6349 # interlibrary dependencies.
6350 # 'none' -- dependencies not supported.
6351 # `unknown' -- same as none, but documents that we really don't know.
6352 # 'pass_all' -- all dependencies passed with no checks.
6353 # 'test_compile' -- check by making test program.
6354 # 'file_magic [[regex]]' -- check by looking for files in library path
6355 # which responds to the $file_magic_cmd with a given extended regex.
6356 # If you have `file' or equivalent on your system and you're not sure
6357 # whether `pass_all' will *always* work, you probably want this one.
6361 lt_cv_deplibs_check_method=pass_all
6365 lt_cv_deplibs_check_method=pass_all
6369 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6370 lt_cv_file_magic_cmd='/usr/bin/file -L'
6371 lt_cv_file_magic_test_file=/shlib/libc.so
6375 # func_win32_libid is a shell function defined in ltmain.sh
6376 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6377 lt_cv_file_magic_cmd='func_win32_libid'
6381 # Base MSYS/MinGW do not provide the 'file' command needed by
6382 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6383 # unless we find 'file', for example because we are cross-compiling.
6384 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6385 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6386 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6387 lt_cv_file_magic_cmd='func_win32_libid'
6389 # Keep this pattern in sync with the one in func_win32_libid.
6390 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6391 lt_cv_file_magic_cmd='$OBJDUMP -f'
6396 # use the weaker test based on 'objdump'. See mingw*.
6397 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6398 lt_cv_file_magic_cmd='$OBJDUMP -f'
6401 darwin* | rhapsody*)
6402 lt_cv_deplibs_check_method=pass_all
6405 freebsd* | dragonfly*)
6406 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6409 # Not sure whether the presence of OpenBSD here was a mistake.
6410 # Let's accept both of them until this is cleared up.
6411 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6412 lt_cv_file_magic_cmd=/usr/bin/file
6413 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6417 lt_cv_deplibs_check_method=pass_all
6422 lt_cv_deplibs_check_method=pass_all
6426 lt_cv_deplibs_check_method=pass_all
6429 hpux10.20* | hpux11*)
6430 lt_cv_file_magic_cmd=/usr/bin/file
6433 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6434 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6437 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]'
6438 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6441 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6442 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6448 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6449 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6452 irix5* | irix6* | nonstopux*)
6454 *-32|*"-32 ") libmagic=32-bit;;
6455 *-n32|*"-n32 ") libmagic=N32;;
6456 *-64|*"-64 ") libmagic=64-bit;;
6457 *) libmagic=never-match;;
6459 lt_cv_deplibs_check_method=pass_all
6462 # This must be glibc/ELF.
6463 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6464 lt_cv_deplibs_check_method=pass_all
6468 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6469 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6471 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6476 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6477 lt_cv_file_magic_cmd=/usr/bin/file
6478 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6482 lt_cv_deplibs_check_method=pass_all
6486 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6487 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6489 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6493 osf3* | osf4* | osf5*)
6494 lt_cv_deplibs_check_method=pass_all
6498 lt_cv_deplibs_check_method=pass_all
6502 lt_cv_deplibs_check_method=pass_all
6505 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6506 lt_cv_deplibs_check_method=pass_all
6510 case $host_vendor in
6512 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]'
6513 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6516 lt_cv_deplibs_check_method=pass_all
6519 lt_cv_file_magic_cmd='/bin/file'
6520 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6523 lt_cv_file_magic_cmd='/bin/file'
6524 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6525 lt_cv_file_magic_test_file=/lib/libc.so
6528 lt_cv_deplibs_check_method=pass_all
6531 lt_cv_deplibs_check_method=pass_all
6537 lt_cv_deplibs_check_method=pass_all
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6543 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6547 if test "$build" = "$host"; then
6550 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6553 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6559 file_magic_cmd=$lt_cv_file_magic_cmd
6560 deplibs_check_method=$lt_cv_deplibs_check_method
6561 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6584 if test -n "$ac_tool_prefix"; then
6585 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6586 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6588 $as_echo_n "checking
for $ac_word...
" >&6; }
6589 if ${ac_cv_prog_DLLTOOL+:} false; then :
6590 $as_echo_n "(cached
) " >&6
6592 if test -n "$DLLTOOL"; then
6593 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6602 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6612 DLLTOOL=$ac_cv_prog_DLLTOOL
6613 if test -n "$DLLTOOL"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6615 $as_echo "$DLLTOOL" >&6; }
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6618 $as_echo "no
" >&6; }
6623 if test -z "$ac_cv_prog_DLLTOOL"; then
6624 ac_ct_DLLTOOL=$DLLTOOL
6625 # Extract the first word of "dlltool
", so it can be a program name with args.
6626 set dummy dlltool; ac_word=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6628 $as_echo_n "checking
for $ac_word...
" >&6; }
6629 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6630 $as_echo_n "(cached
) " >&6
6632 if test -n "$ac_ct_DLLTOOL"; then
6633 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6639 test -z "$as_dir" && as_dir=.
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6642 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6652 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6653 if test -n "$ac_ct_DLLTOOL"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6655 $as_echo "$ac_ct_DLLTOOL" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6658 $as_echo "no
" >&6; }
6661 if test "x
$ac_ct_DLLTOOL" = x; then
6664 case $cross_compiling:$ac_tool_warned in
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6667 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6668 ac_tool_warned=yes ;;
6670 DLLTOOL=$ac_ct_DLLTOOL
6673 DLLTOOL="$ac_cv_prog_DLLTOOL"
6676 test -z "$DLLTOOL" && DLLTOOL=dlltool
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6688 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6689 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6690 $as_echo_n "(cached
) " >&6
6692 lt_cv_sharedlib_from_linklib_cmd='unknown'
6695 cygwin* | mingw* | pw32* | cegcc*)
6696 # two different shell functions defined in ltmain.sh
6697 # decide which to use based on capabilities of $DLLTOOL
6698 case `$DLLTOOL --help 2>&1` in
6699 *--identify-strict*)
6700 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6703 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6708 # fallback: assume linklib IS sharedlib
6709 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6715 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6716 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6717 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6725 if test -n "$ac_tool_prefix"; then
6728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6731 $as_echo_n "checking
for $ac_word...
" >&6; }
6732 if ${ac_cv_prog_AR+:} false; then :
6733 $as_echo_n "(cached
) " >&6
6735 if test -n "$AR"; then
6736 ac_cv_prog_AR="$AR" # Let the user override the test.
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6756 if test -n "$AR"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6758 $as_echo "$AR" >&6; }
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6761 $as_echo "no
" >&6; }
6765 test -n "$AR" && break
6768 if test -z "$AR"; then
6772 # Extract the first word of "$ac_prog", so it can be a program name with args.
6773 set dummy $ac_prog; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6775 $as_echo_n "checking
for $ac_word...
" >&6; }
6776 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6777 $as_echo_n "(cached
) " >&6
6779 if test -n "$ac_ct_AR"; then
6780 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 test -z "$as_dir" && as_dir=.
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_ac_ct_AR="$ac_prog"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6799 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6800 if test -n "$ac_ct_AR"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6802 $as_echo "$ac_ct_AR" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6805 $as_echo "no
" >&6; }
6809 test -n "$ac_ct_AR" && break
6812 if test "x
$ac_ct_AR" = x; then
6815 case $cross_compiling:$ac_tool_warned in
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6818 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6819 ac_tool_warned=yes ;;
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6839 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6840 if ${lt_cv_ar_at_file+:} false; then :
6841 $as_echo_n "(cached
) " >&6
6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6855 if ac_fn_c_try_compile "$LINENO"; then :
6856 echo conftest.$ac_objext > conftest.lst
6857 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6858 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6859 (eval $lt_ar_try) 2>&5
6861 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6862 test $ac_status = 0; }
6863 if test "$ac_status" -eq 0; then
6864 # Ensure the archiver fails upon bogus file names.
6865 rm -f conftest.$ac_objext libconftest.a
6866 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6867 (eval $lt_ar_try) 2>&5
6869 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6870 test $ac_status = 0; }
6871 if test "$ac_status" -ne 0; then
6875 rm -f conftest.* libconftest.a
6878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6882 $as_echo "$lt_cv_ar_at_file" >&6; }
6884 if test "x
$lt_cv_ar_at_file" = xno; then
6887 archiver_list_spec=$lt_cv_ar_at_file
6896 if test -n "$ac_tool_prefix"; then
6897 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6898 set dummy ${ac_tool_prefix}strip; ac_word=$2
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6900 $as_echo_n "checking
for $ac_word...
" >&6; }
6901 if ${ac_cv_prog_STRIP+:} false; then :
6902 $as_echo_n "(cached
) " >&6
6904 if test -n "$STRIP"; then
6905 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6911 test -z "$as_dir" && as_dir=.
6912 for ac_exec_ext in '' $ac_executable_extensions; do
6913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6914 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6924 STRIP=$ac_cv_prog_STRIP
6925 if test -n "$STRIP"; then
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6927 $as_echo "$STRIP" >&6; }
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6930 $as_echo "no
" >&6; }
6935 if test -z "$ac_cv_prog_STRIP"; then
6937 # Extract the first word of "strip
", so it can be a program name with args.
6938 set dummy strip; ac_word=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6940 $as_echo_n "checking
for $ac_word...
" >&6; }
6941 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6942 $as_echo_n "(cached
) " >&6
6944 if test -n "$ac_ct_STRIP"; then
6945 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6951 test -z "$as_dir" && as_dir=.
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954 ac_cv_prog_ac_ct_STRIP="strip
"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6964 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6965 if test -n "$ac_ct_STRIP"; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6967 $as_echo "$ac_ct_STRIP" >&6; }
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6970 $as_echo "no
" >&6; }
6973 if test "x
$ac_ct_STRIP" = x; then
6976 case $cross_compiling:$ac_tool_warned in
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6979 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6980 ac_tool_warned=yes ;;
6985 STRIP="$ac_cv_prog_STRIP"
6988 test -z "$STRIP" && STRIP=:
6995 if test -n "$ac_tool_prefix"; then
6996 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6997 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6999 $as_echo_n "checking
for $ac_word...
" >&6; }
7000 if ${ac_cv_prog_RANLIB+:} false; then :
7001 $as_echo_n "(cached
) " >&6
7003 if test -n "$RANLIB"; then
7004 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7023 RANLIB=$ac_cv_prog_RANLIB
7024 if test -n "$RANLIB"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7026 $as_echo "$RANLIB" >&6; }
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7029 $as_echo "no
" >&6; }
7034 if test -z "$ac_cv_prog_RANLIB"; then
7035 ac_ct_RANLIB=$RANLIB
7036 # Extract the first word of "ranlib
", so it can be a program name with args.
7037 set dummy ranlib; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7039 $as_echo_n "checking
for $ac_word...
" >&6; }
7040 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7041 $as_echo_n "(cached
) " >&6
7043 if test -n "$ac_ct_RANLIB"; then
7044 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 test -z "$as_dir" && as_dir=.
7051 for ac_exec_ext in '' $ac_executable_extensions; do
7052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7053 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7063 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7064 if test -n "$ac_ct_RANLIB"; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7066 $as_echo "$ac_ct_RANLIB" >&6; }
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7069 $as_echo "no
" >&6; }
7072 if test "x
$ac_ct_RANLIB" = x; then
7075 case $cross_compiling:$ac_tool_warned in
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7078 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7079 ac_tool_warned=yes ;;
7081 RANLIB=$ac_ct_RANLIB
7084 RANLIB="$ac_cv_prog_RANLIB"
7087 test -z "$RANLIB" && RANLIB=:
7094 # Determine commands to create old-style static archives.
7095 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7096 old_postinstall_cmds='chmod 644 $oldlib'
7097 old_postuninstall_cmds=
7099 if test -n "$RANLIB"; then
7102 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7105 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7108 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7113 lock_old_archive_extraction=yes ;;
7115 lock_old_archive_extraction=no ;;
7156 # If no C compiler was specified, use CC.
7159 # If no C compiler flags were specified, use CFLAGS.
7160 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7162 # Allow CC to be a program name with arguments.
7166 # Check for command to grab the raw symbol name followed by C symbol from nm.
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7168 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7169 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7170 $as_echo_n "(cached
) " >&6
7173 # These are sane defaults that work on at least a few old systems.
7174 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7176 # Character class describing NM global symbol codes.
7177 symcode='[BCDEGRST]'
7179 # Regexp to match symbols that can be accessed directly from C.
7180 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7182 # Define system-specific variables.
7187 cygwin* | mingw* | pw32* | cegcc*)
7188 symcode='[ABCDGISTW]'
7191 if test "$host_cpu" = ia64; then
7192 symcode='[ABCDEGRST]'
7196 symcode='[BCDEGRST]'
7199 symcode='[BCDEGQRST]'
7210 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7218 # If we're using GNU nm, then use its standard symbol codes.
7219 case `$NM -V 2>&1` in
7220 *GNU* | *'with BFD'*)
7221 symcode='[ABCDGIRSTW]' ;;
7224 # Transform an extracted symbol line into a proper C declaration.
7225 # Some systems (esp. on ia64) link data and code symbols differently,
7226 # so use this general approach.
7227 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7229 # Transform an extracted symbol line into symbol name and symbol address
7230 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7231 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'"
7233 # Handle CRLF in mingw tool chain
7237 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7241 # Try without a prefix underscore, then with it.
7242 for ac_symprfx in "" "_
"; do
7244 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7245 symxfrm="\\1 $ac_symprfx\\2 \\2"
7247 # Write the raw and C identifiers.
7248 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7249 # Fake it for dumpbin and say T for any non-static function
7250 # and D for any global variable.
7251 # Also find C++ and __fastcall symbols from MSVC++,
7252 # which start with @ or ?.
7253 lt_cv_sys_global_symbol_pipe="$AWK '"\
7254 " {last_section=section; section=\$ 3};"\
7255 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7256 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7257 " \$ 0!~/External *\|/{next};"\
7258 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7259 " {if(hide[section]) next};"\
7260 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7261 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7262 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7263 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7264 " ' prfx
=^
$ac_symprfx"
7266 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7268 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7270 # Check to see that the pipe works correctly.
7274 cat > conftest.$ac_ext <<_LT_EOF
7279 void nm_test_func(void);
7280 void nm_test_func(void){}
7284 int main(){nm_test_var='a';nm_test_func();return(0);}
7287 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7288 (eval $ac_compile) 2>&5
7290 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7291 test $ac_status = 0; }; then
7292 # Now try to grab the symbols.
7294 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7295 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7297 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7298 test $ac_status = 0; } && test -s "$nlist"; then
7299 # Try sorting and uniquifying the output.
7300 if sort "$nlist" | uniq > "$nlist"T; then
7301 mv -f "$nlist"T "$nlist"
7306 # Make sure that we snagged all the symbols we need.
7307 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7308 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7309 cat <<_LT_EOF > conftest.$ac_ext
7310 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7311 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7312 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7313 relocations are performed -- see ld's documentation on pseudo-relocs. */
7314 # define LT_DLSYM_CONST
7315 #elif defined(__osf__)
7316 /* This system does not cope well with relocations in const data. */
7317 # define LT_DLSYM_CONST
7319 # define LT_DLSYM_CONST const
7327 # Now generate the symbol file.
7328 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7330 cat <<_LT_EOF >> conftest.$ac_ext
7332 /* The mapping between symbol names and symbols. */
7333 LT_DLSYM_CONST struct {
7337 lt__PROGRAM__LTX_preloaded_symbols[] =
7339 { "@PROGRAM@
", (void *) 0 },
7341 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7342 cat <<\_LT_EOF >> conftest.$ac_ext
7346 /* This works around a problem in FreeBSD linker */
7347 #ifdef FREEBSD_WORKAROUND
7348 static const void *lt_preloaded_setup() {
7349 return lt__PROGRAM__LTX_preloaded_symbols;
7357 # Now try linking the two files.
7358 mv conftest.$ac_objext conftstm.$ac_objext
7359 lt_globsym_save_LIBS=$LIBS
7360 lt_globsym_save_CFLAGS=$CFLAGS
7361 LIBS="conftstm.
$ac_objext"
7362 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7363 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7364 (eval $ac_link) 2>&5
7366 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7367 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7370 LIBS=$lt_globsym_save_LIBS
7371 CFLAGS=$lt_globsym_save_CFLAGS
7373 echo "cannot
find nm_test_func
in $nlist" >&5
7376 echo "cannot
find nm_test_var
in $nlist" >&5
7379 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7382 echo "$progname: failed program was
:" >&5
7383 cat conftest.$ac_ext >&5
7385 rm -rf conftest* conftst*
7387 # Do not use the global_symbol_pipe unless it works.
7388 if test "$pipe_works" = yes; then
7391 lt_cv_sys_global_symbol_pipe=
7397 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7398 lt_cv_sys_global_symbol_to_cdecl=
7400 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7402 $as_echo "failed
" >&6; }
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7405 $as_echo "ok
" >&6; }
7408 # Response file support.
7409 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7410 nm_file_list_spec='@'
7411 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7412 nm_file_list_spec='@'
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7442 $as_echo_n "checking
for sysroot...
" >&6; }
7444 # Check whether --with-sysroot was given.
7445 if test "${with_sysroot+set}" = set; then :
7446 withval=$with_sysroot;
7453 case ${with_sysroot} in #(
7455 if test "$GCC" = yes; then
7456 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7460 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7466 $as_echo "${with_sysroot}" >&6; }
7467 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7472 $as_echo "${lt_sysroot:-no}" >&6; }
7478 # Check whether --enable-libtool-lock was given.
7479 if test "${enable_libtool_lock+set}" = set; then :
7480 enableval=$enable_libtool_lock;
7483 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7485 # Some flags need to be propagated to the compiler or linker for good
7489 # Find out which ABI we are using.
7490 echo 'int i;' > conftest.$ac_ext
7491 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7492 (eval $ac_compile) 2>&5
7494 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7495 test $ac_status = 0; }; then
7496 case `/usr/bin/file conftest.$ac_objext` in
7508 # Find out which ABI we are using.
7509 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7510 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7511 (eval $ac_compile) 2>&5
7513 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7514 test $ac_status = 0; }; then
7515 if test "$lt_cv_prog_gnu_ld" = yes; then
7516 case `/usr/bin/file conftest.$ac_objext` in
7518 LD="${LD-ld} -melf32bsmip"
7521 LD="${LD-ld} -melf32bmipn32"
7524 LD="${LD-ld} -melf64bmip"
7528 case `/usr/bin/file conftest.$ac_objext` in
7544 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7545 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7546 # Find out which ABI we are using.
7547 echo 'int i;' > conftest.$ac_ext
7548 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7549 (eval $ac_compile) 2>&5
7551 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7552 test $ac_status = 0; }; then
7553 case `/usr/bin/file conftest.o` in
7556 x86_64-*kfreebsd*-gnu)
7557 LD="${LD-ld} -m elf_i386_fbsd
"
7560 LD="${LD-ld} -m elf_i386
"
7562 ppc64-*linux*|powerpc64-*linux*)
7563 LD="${LD-ld} -m elf32ppclinux
"
7566 LD="${LD-ld} -m elf_s390
"
7569 LD="${LD-ld} -m elf32_sparc
"
7575 x86_64-*kfreebsd*-gnu)
7576 LD="${LD-ld} -m elf_x86_64_fbsd
"
7579 LD="${LD-ld} -m elf_x86_64
"
7581 ppc*-*linux*|powerpc*-*linux*)
7582 LD="${LD-ld} -m elf64ppc
"
7584 s390*-*linux*|s390*-*tpf*)
7585 LD="${LD-ld} -m elf64_s390
"
7588 LD="${LD-ld} -m elf64_sparc
"
7598 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7599 SAVE_CFLAGS="$CFLAGS"
7600 CFLAGS="$CFLAGS -belf"
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7602 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7603 if ${lt_cv_cc_needs_belf+:} false; then :
7604 $as_echo_n "(cached
) " >&6
7607 ac_cpp='$CPP $CPPFLAGS'
7608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7613 /* end confdefs.h. */
7623 if ac_fn_c_try_link "$LINENO"; then :
7624 lt_cv_cc_needs_belf=yes
7626 lt_cv_cc_needs_belf=no
7628 rm -f core conftest.err conftest.$ac_objext \
7629 conftest$ac_exeext conftest.$ac_ext
7631 ac_cpp='$CPP $CPPFLAGS'
7632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7638 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7639 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7640 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7641 CFLAGS="$SAVE_CFLAGS"
7645 # Find out which ABI we are using.
7646 echo 'int i;' > conftest.$ac_ext
7647 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7648 (eval $ac_compile) 2>&5
7650 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7651 test $ac_status = 0; }; then
7652 case `/usr/bin/file conftest.o` in
7654 case $lt_cv_prog_gnu_ld in
7658 LD="${LD-ld} -m elf_x86_64
"
7661 LD="${LD-ld} -m elf64_sparc
"
7664 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7665 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7670 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7682 need_locks="$enable_libtool_lock"
7684 if test -n "$ac_tool_prefix"; then
7685 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7686 set dummy ${ac_tool_prefix}mt; ac_word=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7688 $as_echo_n "checking
for $ac_word...
" >&6; }
7689 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7690 $as_echo_n "(cached
) " >&6
7692 if test -n "$MANIFEST_TOOL"; then
7693 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 test -z "$as_dir" && as_dir=.
7700 for ac_exec_ext in '' $ac_executable_extensions; do
7701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7702 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7712 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7713 if test -n "$MANIFEST_TOOL"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7715 $as_echo "$MANIFEST_TOOL" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7718 $as_echo "no
" >&6; }
7723 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7724 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7725 # Extract the first word of "mt
", so it can be a program name with args.
7726 set dummy mt; ac_word=$2
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7728 $as_echo_n "checking
for $ac_word...
" >&6; }
7729 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7730 $as_echo_n "(cached
) " >&6
7732 if test -n "$ac_ct_MANIFEST_TOOL"; then
7733 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7752 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7753 if test -n "$ac_ct_MANIFEST_TOOL"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7755 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7758 $as_echo "no
" >&6; }
7761 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7764 case $cross_compiling:$ac_tool_warned in
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7767 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7768 ac_tool_warned=yes ;;
7770 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7773 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7776 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7778 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7779 if ${lt_cv_path_mainfest_tool+:} false; then :
7780 $as_echo_n "(cached
) " >&6
7782 lt_cv_path_mainfest_tool=no
7783 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7784 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7785 cat conftest.err >&5
7786 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7787 lt_cv_path_mainfest_tool=yes
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7792 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7793 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7803 rhapsody* | darwin*)
7804 if test -n "$ac_tool_prefix"; then
7805 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7806 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7808 $as_echo_n "checking
for $ac_word...
" >&6; }
7809 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7810 $as_echo_n "(cached
) " >&6
7812 if test -n "$DSYMUTIL"; then
7813 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7822 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7832 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7833 if test -n "$DSYMUTIL"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7835 $as_echo "$DSYMUTIL" >&6; }
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7838 $as_echo "no
" >&6; }
7843 if test -z "$ac_cv_prog_DSYMUTIL"; then
7844 ac_ct_DSYMUTIL=$DSYMUTIL
7845 # Extract the first word of "dsymutil
", so it can be a program name with args.
7846 set dummy dsymutil; ac_word=$2
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7848 $as_echo_n "checking
for $ac_word...
" >&6; }
7849 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7850 $as_echo_n "(cached
) " >&6
7852 if test -n "$ac_ct_DSYMUTIL"; then
7853 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 test -z "$as_dir" && as_dir=.
7860 for ac_exec_ext in '' $ac_executable_extensions; do
7861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7862 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7872 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7873 if test -n "$ac_ct_DSYMUTIL"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7875 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7878 $as_echo "no
" >&6; }
7881 if test "x
$ac_ct_DSYMUTIL" = x; then
7884 case $cross_compiling:$ac_tool_warned in
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7887 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7888 ac_tool_warned=yes ;;
7890 DSYMUTIL=$ac_ct_DSYMUTIL
7893 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7896 if test -n "$ac_tool_prefix"; then
7897 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7898 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7900 $as_echo_n "checking
for $ac_word...
" >&6; }
7901 if ${ac_cv_prog_NMEDIT+:} false; then :
7902 $as_echo_n "(cached
) " >&6
7904 if test -n "$NMEDIT"; then
7905 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911 test -z "$as_dir" && as_dir=.
7912 for ac_exec_ext in '' $ac_executable_extensions; do
7913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7914 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7924 NMEDIT=$ac_cv_prog_NMEDIT
7925 if test -n "$NMEDIT"; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7927 $as_echo "$NMEDIT" >&6; }
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7930 $as_echo "no
" >&6; }
7935 if test -z "$ac_cv_prog_NMEDIT"; then
7936 ac_ct_NMEDIT=$NMEDIT
7937 # Extract the first word of "nmedit
", so it can be a program name with args.
7938 set dummy nmedit; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7940 $as_echo_n "checking
for $ac_word...
" >&6; }
7941 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7942 $as_echo_n "(cached
) " >&6
7944 if test -n "$ac_ct_NMEDIT"; then
7945 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7964 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7965 if test -n "$ac_ct_NMEDIT"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7967 $as_echo "$ac_ct_NMEDIT" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7970 $as_echo "no
" >&6; }
7973 if test "x
$ac_ct_NMEDIT" = x; then
7976 case $cross_compiling:$ac_tool_warned in
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7979 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7980 ac_tool_warned=yes ;;
7982 NMEDIT=$ac_ct_NMEDIT
7985 NMEDIT="$ac_cv_prog_NMEDIT"
7988 if test -n "$ac_tool_prefix"; then
7989 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7990 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7992 $as_echo_n "checking
for $ac_word...
" >&6; }
7993 if ${ac_cv_prog_LIPO+:} false; then :
7994 $as_echo_n "(cached
) " >&6
7996 if test -n "$LIPO"; then
7997 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003 test -z "$as_dir" && as_dir=.
8004 for ac_exec_ext in '' $ac_executable_extensions; do
8005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8006 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8016 LIPO=$ac_cv_prog_LIPO
8017 if test -n "$LIPO"; then
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8019 $as_echo "$LIPO" >&6; }
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8022 $as_echo "no
" >&6; }
8027 if test -z "$ac_cv_prog_LIPO"; then
8029 # Extract the first word of "lipo
", so it can be a program name with args.
8030 set dummy lipo; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8032 $as_echo_n "checking
for $ac_word...
" >&6; }
8033 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8034 $as_echo_n "(cached
) " >&6
8036 if test -n "$ac_ct_LIPO"; then
8037 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_ac_ct_LIPO="lipo
"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8056 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8057 if test -n "$ac_ct_LIPO"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8059 $as_echo "$ac_ct_LIPO" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8062 $as_echo "no
" >&6; }
8065 if test "x
$ac_ct_LIPO" = x; then
8068 case $cross_compiling:$ac_tool_warned in
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8071 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8072 ac_tool_warned=yes ;;
8077 LIPO="$ac_cv_prog_LIPO"
8080 if test -n "$ac_tool_prefix"; then
8081 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8082 set dummy ${ac_tool_prefix}otool; ac_word=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8084 $as_echo_n "checking
for $ac_word...
" >&6; }
8085 if ${ac_cv_prog_OTOOL+:} false; then :
8086 $as_echo_n "(cached
) " >&6
8088 if test -n "$OTOOL"; then
8089 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095 test -z "$as_dir" && as_dir=.
8096 for ac_exec_ext in '' $ac_executable_extensions; do
8097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8098 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8108 OTOOL=$ac_cv_prog_OTOOL
8109 if test -n "$OTOOL"; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8111 $as_echo "$OTOOL" >&6; }
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8114 $as_echo "no
" >&6; }
8119 if test -z "$ac_cv_prog_OTOOL"; then
8121 # Extract the first word of "otool
", so it can be a program name with args.
8122 set dummy otool; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8124 $as_echo_n "checking
for $ac_word...
" >&6; }
8125 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8126 $as_echo_n "(cached
) " >&6
8128 if test -n "$ac_ct_OTOOL"; then
8129 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_ac_ct_OTOOL="otool
"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8148 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8149 if test -n "$ac_ct_OTOOL"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8151 $as_echo "$ac_ct_OTOOL" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8154 $as_echo "no
" >&6; }
8157 if test "x
$ac_ct_OTOOL" = x; then
8160 case $cross_compiling:$ac_tool_warned in
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8163 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8164 ac_tool_warned=yes ;;
8169 OTOOL="$ac_cv_prog_OTOOL"
8172 if test -n "$ac_tool_prefix"; then
8173 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8174 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8176 $as_echo_n "checking
for $ac_word...
" >&6; }
8177 if ${ac_cv_prog_OTOOL64+:} false; then :
8178 $as_echo_n "(cached
) " >&6
8180 if test -n "$OTOOL64"; then
8181 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187 test -z "$as_dir" && as_dir=.
8188 for ac_exec_ext in '' $ac_executable_extensions; do
8189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8190 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8200 OTOOL64=$ac_cv_prog_OTOOL64
8201 if test -n "$OTOOL64"; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8203 $as_echo "$OTOOL64" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8206 $as_echo "no
" >&6; }
8211 if test -z "$ac_cv_prog_OTOOL64"; then
8212 ac_ct_OTOOL64=$OTOOL64
8213 # Extract the first word of "otool64
", so it can be a program name with args.
8214 set dummy otool64; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8216 $as_echo_n "checking
for $ac_word...
" >&6; }
8217 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8218 $as_echo_n "(cached
) " >&6
8220 if test -n "$ac_ct_OTOOL64"; then
8221 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8240 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8241 if test -n "$ac_ct_OTOOL64"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8243 $as_echo "$ac_ct_OTOOL64" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8246 $as_echo "no
" >&6; }
8249 if test "x
$ac_ct_OTOOL64" = x; then
8252 case $cross_compiling:$ac_tool_warned in
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8255 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8256 ac_tool_warned=yes ;;
8258 OTOOL64=$ac_ct_OTOOL64
8261 OTOOL64="$ac_cv_prog_OTOOL64"
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8291 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8292 if ${lt_cv_apple_cc_single_mod+:} false; then :
8293 $as_echo_n "(cached
) " >&6
8295 lt_cv_apple_cc_single_mod=no
8296 if test -z "${LT_MULTI_MODULE}"; then
8297 # By default we will add the -single_module flag. You can override
8298 # by either setting the environment variable LT_MULTI_MODULE
8299 # non-empty at configure time, or by adding -multi_module to the
8301 rm -rf libconftest.dylib*
8302 echo "int foo
(void
){return 1;}" > conftest.c
8303 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8304 -dynamiclib -Wl,-single_module conftest.c
" >&5
8305 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8306 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8308 # If there is a non-empty error log, and "single_module
"
8309 # appears in it, assume the flag caused a linker warning
8310 if test -s conftest.err && $GREP single_module conftest.err; then
8311 cat conftest.err >&5
8312 # Otherwise, if the output was created with a 0 exit code from
8313 # the compiler, it worked.
8314 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8315 lt_cv_apple_cc_single_mod=yes
8317 cat conftest.err >&5
8319 rm -rf libconftest.dylib*
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8324 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8327 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8328 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8329 $as_echo_n "(cached
) " >&6
8331 lt_cv_ld_exported_symbols_list=no
8332 save_LDFLAGS=$LDFLAGS
8333 echo "_main
" > conftest.sym
8334 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 lt_cv_ld_exported_symbols_list=yes
8349 lt_cv_ld_exported_symbols_list=no
8351 rm -f core conftest.err conftest.$ac_objext \
8352 conftest$ac_exeext conftest.$ac_ext
8353 LDFLAGS="$save_LDFLAGS"
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8357 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8360 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8361 if ${lt_cv_ld_force_load+:} false; then :
8362 $as_echo_n "(cached
) " >&6
8364 lt_cv_ld_force_load=no
8365 cat > conftest.c << _LT_EOF
8366 int forced_loaded() { return 2;}
8368 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8369 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8370 echo "$AR cru libconftest.a conftest.o
" >&5
8371 $AR cru libconftest.a conftest.o 2>&5
8372 echo "$RANLIB libconftest.a
" >&5
8373 $RANLIB libconftest.a 2>&5
8374 cat > conftest.c << _LT_EOF
8375 int main() { return 0;}
8377 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8378 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8380 if test -s conftest.err && $GREP force_load conftest.err; then
8381 cat conftest.err >&5
8382 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8383 lt_cv_ld_force_load=yes
8385 cat conftest.err >&5
8387 rm -f conftest.err libconftest.a conftest conftest.c
8388 rm -rf conftest.dSYM
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8392 $as_echo "$lt_cv_ld_force_load" >&6; }
8394 rhapsody* | darwin1.[012])
8395 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8397 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8398 darwin*) # darwin 5.x on
8399 # if running on 10.5 or later, the deployment target defaults
8400 # to the OS version, if on x86, and 10.4, the deployment
8401 # target defaults to 10.4. Don't you love it?
8402 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8403 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8404 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8406 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8408 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8412 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8413 _lt_dar_single_mod='$single_module'
8415 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8416 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8418 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8420 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8421 _lt_dsymutil='~$DSYMUTIL $lib || :'
8429 ac_cpp='$CPP $CPPFLAGS'
8430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8434 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8435 # On Suns, sometimes $CPP names a directory.
8436 if test -n "$CPP" && test -d "$CPP"; then
8439 if test -z "$CPP"; then
8440 if ${ac_cv_prog_CPP+:} false; then :
8441 $as_echo_n "(cached
) " >&6
8443 # Double quotes because CPP needs to be expanded
8444 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8447 for ac_c_preproc_warn_flag in '' yes
8449 # Use a header file that comes with gcc, so configuring glibc
8450 # with a fresh cross-compiler works.
8451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8452 # <limits.h> exists even on freestanding compilers.
8453 # On the NeXT, cc -E runs the code through the compiler's parser,
8454 # not just through cpp. "Syntax error
" is here to catch this case.
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8458 # include <limits.h>
8460 # include <assert.h>
8464 if ac_fn_c_try_cpp "$LINENO"; then :
8467 # Broken: fails on valid input.
8470 rm -f conftest.err conftest.i conftest.$ac_ext
8472 # OK, works on sane cases. Now check whether nonexistent headers
8473 # can be detected and how.
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8476 #include <ac_nonexistent.h>
8478 if ac_fn_c_try_cpp "$LINENO"; then :
8479 # Broken: success on invalid input.
8482 # Passes both tests.
8486 rm -f conftest.err conftest.i conftest.$ac_ext
8489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8490 rm -f conftest.i conftest.err conftest.$ac_ext
8491 if $ac_preproc_ok; then :
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8504 $as_echo "$CPP" >&6; }
8506 for ac_c_preproc_warn_flag in '' yes
8508 # Use a header file that comes with gcc, so configuring glibc
8509 # with a fresh cross-compiler works.
8510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8511 # <limits.h> exists even on freestanding compilers.
8512 # On the NeXT, cc -E runs the code through the compiler's parser,
8513 # not just through cpp. "Syntax error
" is here to catch this case.
8514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8517 # include <limits.h>
8519 # include <assert.h>
8523 if ac_fn_c_try_cpp "$LINENO"; then :
8526 # Broken: fails on valid input.
8529 rm -f conftest.err conftest.i conftest.$ac_ext
8531 # OK, works on sane cases. Now check whether nonexistent headers
8532 # can be detected and how.
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 #include <ac_nonexistent.h>
8537 if ac_fn_c_try_cpp "$LINENO"; then :
8538 # Broken: success on invalid input.
8541 # Passes both tests.
8545 rm -f conftest.err conftest.i conftest.$ac_ext
8548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8549 rm -f conftest.i conftest.err conftest.$ac_ext
8550 if $ac_preproc_ok; then :
8553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8555 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8556 See \`config.log' for more details
" "$LINENO" 5; }
8560 ac_cpp='$CPP $CPPFLAGS'
8561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8567 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8568 if ${ac_cv_header_stdc+:} false; then :
8569 $as_echo_n "(cached
) " >&6
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8586 if ac_fn_c_try_compile "$LINENO"; then :
8587 ac_cv_header_stdc=yes
8589 ac_cv_header_stdc=no
8591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8593 if test $ac_cv_header_stdc = yes; then
8594 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8600 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8601 $EGREP "memchr
" >/dev/null 2>&1; then :
8604 ac_cv_header_stdc=no
8610 if test $ac_cv_header_stdc = yes; then
8611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8617 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8618 $EGREP "free
" >/dev/null 2>&1; then :
8621 ac_cv_header_stdc=no
8627 if test $ac_cv_header_stdc = yes; then
8628 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8629 if test "$cross_compiling" = yes; then :
8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8636 #if ((' ' & 0x0FF) == 0x020)
8637 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8638 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8640 # define ISLOWER(c) \
8641 (('a' <= (c) && (c) <= 'i') \
8642 || ('j' <= (c) && (c) <= 'r') \
8643 || ('s' <= (c) && (c) <= 'z'))
8644 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8647 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8652 for (i = 0; i < 256; i++)
8653 if (XOR (islower (i), ISLOWER (i))
8654 || toupper (i) != TOUPPER (i))
8659 if ac_fn_c_try_run "$LINENO"; then :
8662 ac_cv_header_stdc=no
8664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8665 conftest.$ac_objext conftest.beam conftest.$ac_ext
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8671 $as_echo "$ac_cv_header_stdc" >&6; }
8672 if test $ac_cv_header_stdc = yes; then
8674 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8678 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8679 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8680 inttypes.h stdint.h unistd.h
8682 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8683 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8685 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8686 cat >>confdefs.h
<<_ACEOF
8687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8695 for ac_header
in dlfcn.h
8697 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8699 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8700 cat >>confdefs.h
<<_ACEOF
8701 #define HAVE_DLFCN_H 1
8711 func_stripname_cnf
()
8714 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8715 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8717 } # func_stripname_cnf
8724 # Check whether --enable-static was given.
8725 if test "${enable_static+set}" = set; then :
8726 enableval
=$enable_static; p
=${PACKAGE-default}
8728 yes) enable_static
=yes ;;
8729 no
) enable_static
=no
;;
8732 # Look at the argument we got. We use all the common list separators.
8733 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8734 for pkg
in $enableval; do
8736 if test "X$pkg" = "X$p"; then
8762 # Check whether --enable-shared was given.
8763 if test "${enable_shared+set}" = set; then :
8764 enableval
=$enable_shared; p
=${PACKAGE-default}
8766 yes) enable_shared
=yes ;;
8767 no
) enable_shared
=no
;;
8770 # Look at the argument we got. We use all the common list separators.
8771 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8772 for pkg
in $enableval; do
8774 if test "X$pkg" = "X$p"; then
8795 # Check whether --with-pic was given.
8796 if test "${with_pic+set}" = set; then :
8797 withval
=$with_pic; lt_p
=${PACKAGE-default}
8799 yes|no
) pic_mode
=$withval ;;
8802 # Look at the argument we got. We use all the common list separators.
8803 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8804 for lt_pkg
in $withval; do
8806 if test "X$lt_pkg" = "X$lt_p"; then
8818 test -z "$pic_mode" && pic_mode
=default
8826 # Check whether --enable-fast-install was given.
8827 if test "${enable_fast_install+set}" = set; then :
8828 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8830 yes) enable_fast_install
=yes ;;
8831 no
) enable_fast_install
=no
;;
8833 enable_fast_install
=no
8834 # Look at the argument we got. We use all the common list separators.
8835 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8836 for pkg
in $enableval; do
8838 if test "X$pkg" = "X$p"; then
8839 enable_fast_install
=yes
8846 enable_fast_install
=yes
8859 # This can be used to rebuild libtool when needed
8860 LIBTOOL_DEPS
="$ltmain"
8862 # Always use our own libtool.
8863 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8894 test -z "$LN_S" && LN_S
="ln -s"
8909 if test -n "${ZSH_VERSION+set}" ; then
8910 setopt NO_GLOB_SUBST
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8914 $as_echo_n "checking for objdir... " >&6; }
8915 if ${lt_cv_objdir+:} false
; then :
8916 $as_echo_n "(cached) " >&6
8918 rm -f .libs
2>/dev
/null
8919 mkdir .libs
2>/dev
/null
8920 if test -d .libs
; then
8923 # MS-DOS does not allow filenames that begin with a dot.
8926 rmdir .libs
2>/dev
/null
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8929 $as_echo "$lt_cv_objdir" >&6; }
8930 objdir
=$lt_cv_objdir
8936 cat >>confdefs.h
<<_ACEOF
8937 #define LT_OBJDIR "$lt_cv_objdir/"
8945 # AIX sometimes has problems with the GCC collect2 program. For some
8946 # reason, if we set the COLLECT_NAMES environment variable, the problems
8947 # vanish in a puff of smoke.
8948 if test "X${COLLECT_NAMES+set}" != Xset
; then
8950 export COLLECT_NAMES
8957 can_build_shared
=yes
8959 # All known linkers require a `.a' archive for static linking (except MSVC,
8960 # which needs '.lib').
8963 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8966 old_CFLAGS
="$CFLAGS"
8968 # Set sane defaults for various variables
8969 test -z "$CC" && CC
=cc
8970 test -z "$LTCC" && LTCC
=$CC
8971 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8972 test -z "$LD" && LD
=ld
8973 test -z "$ac_objext" && ac_objext
=o
8975 for cc_temp
in $compiler""; do
8977 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8978 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8983 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8986 # Only perform the check for file, if the check method requires it
8987 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8988 case $deplibs_check_method in
8990 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8992 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8993 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8994 $as_echo_n "(cached) " >&6
8998 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9001 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9002 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9003 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9004 for ac_dir
in $ac_dummy; do
9006 test -z "$ac_dir" && ac_dir
=.
9007 if test -f $ac_dir/${ac_tool_prefix}file; then
9008 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9009 if test -n "$file_magic_test_file"; then
9010 case $deplibs_check_method in
9012 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9013 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9014 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9015 $EGREP "$file_magic_regex" > /dev
/null
; then
9020 *** Warning: the command libtool uses to detect shared libraries,
9021 *** $file_magic_cmd, produces output that libtool cannot recognize.
9022 *** The result is that libtool may fail to recognize shared libraries
9023 *** as such. This will affect the creation of libtool libraries that
9024 *** depend on shared libraries, but programs linked with such libtool
9025 *** libraries will work regardless of this problem. Nevertheless, you
9026 *** may want to report the problem to your system manager and/or to
9027 *** bug-libtool@gnu.org
9037 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9042 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9043 if test -n "$MAGIC_CMD"; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9045 $as_echo "$MAGIC_CMD" >&6; }
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9048 $as_echo "no" >&6; }
9055 if test -z "$lt_cv_path_MAGIC_CMD"; then
9056 if test -n "$ac_tool_prefix"; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9058 $as_echo_n "checking for file... " >&6; }
9059 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9060 $as_echo_n "(cached) " >&6
9064 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9067 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9068 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9069 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9070 for ac_dir
in $ac_dummy; do
9072 test -z "$ac_dir" && ac_dir
=.
9073 if test -f $ac_dir/file; then
9074 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9075 if test -n "$file_magic_test_file"; then
9076 case $deplibs_check_method in
9078 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9079 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9080 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9081 $EGREP "$file_magic_regex" > /dev
/null
; then
9086 *** Warning: the command libtool uses to detect shared libraries,
9087 *** $file_magic_cmd, produces output that libtool cannot recognize.
9088 *** The result is that libtool may fail to recognize shared libraries
9089 *** as such. This will affect the creation of libtool libraries that
9090 *** depend on shared libraries, but programs linked with such libtool
9091 *** libraries will work regardless of this problem. Nevertheless, you
9092 *** may want to report the problem to your system manager and/or to
9093 *** bug-libtool@gnu.org
9103 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9108 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9109 if test -n "$MAGIC_CMD"; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9111 $as_echo "$MAGIC_CMD" >&6; }
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114 $as_echo "no" >&6; }
9127 # Use C for the default configuration in the libtool script
9131 ac_cpp
='$CPP $CPPFLAGS'
9132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9137 # Source file extension for C test sources.
9140 # Object file extension for compiled C test sources.
9144 # Code to be used in simple compile tests
9145 lt_simple_compile_test_code
="int some_variable = 0;"
9147 # Code to be used in simple link tests
9148 lt_simple_link_test_code
='int main(){return(0);}'
9156 # If no C compiler was specified, use CC.
9159 # If no C compiler flags were specified, use CFLAGS.
9160 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9162 # Allow CC to be a program name with arguments.
9165 # Save the default compiler, since it gets overwritten when the other
9166 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9167 compiler_DEFAULT
=$CC
9169 # save warnings/boilerplate of simple test code
9170 ac_outfile
=conftest.
$ac_objext
9171 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9172 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9173 _lt_compiler_boilerplate
=`cat conftest.err`
9176 ac_outfile
=conftest.
$ac_objext
9177 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9178 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9179 _lt_linker_boilerplate
=`cat conftest.err`
9184 ## There is no encapsulation within the following macros, do not change
9185 ## the running order or otherwise move them around unless you know exactly
9186 ## what you are doing...
9187 if test -n "$compiler"; then
9189 lt_prog_compiler_no_builtin_flag
=
9191 if test "$GCC" = yes; then
9192 case $cc_basename in
9194 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9196 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9200 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9201 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9202 $as_echo_n "(cached) " >&6
9204 lt_cv_prog_compiler_rtti_exceptions
=no
9205 ac_outfile
=conftest.
$ac_objext
9206 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9207 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9208 # Insert the option either (1) after the last *FLAGS variable, or
9209 # (2) before a word containing "conftest.", or (3) at the end.
9210 # Note that $ac_compile itself does not contain backslashes and begins
9211 # with a dollar sign (not a hyphen), so the echo should work correctly.
9212 # The option is referenced via a variable to avoid confusing sed.
9213 lt_compile
=`echo "$ac_compile" | $SED \
9214 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9215 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9216 -e 's:$: $lt_compiler_flag:'`
9217 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9218 (eval "$lt_compile" 2>conftest.err
)
9220 cat conftest.err
>&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 if (exit $ac_status) && test -s "$ac_outfile"; then
9223 # The compiler can only warn and ignore the option if not recognized
9224 # So say no if there are warnings other than the usual output.
9225 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9226 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9227 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9228 lt_cv_prog_compiler_rtti_exceptions
=yes
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9235 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9237 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9238 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9250 lt_prog_compiler_wl
=
9251 lt_prog_compiler_pic
=
9252 lt_prog_compiler_static
=
9255 if test "$GCC" = yes; then
9256 lt_prog_compiler_wl
='-Wl,'
9257 lt_prog_compiler_static
='-static'
9261 # All AIX code is PIC.
9262 if test "$host_cpu" = ia64
; then
9263 # AIX 5 now supports IA64 processor
9264 lt_prog_compiler_static
='-Bstatic'
9271 # see comment about AmigaOS4 .so support
9272 lt_prog_compiler_pic
='-fPIC'
9275 # FIXME: we need at least 68020 code to build shared libraries, but
9276 # adding the `-m68020' flag to GCC prevents building anything better,
9278 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9283 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9284 # PIC is the default for these OSes.
9287 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9288 # This hack is so that the source file can tell whether it is being
9289 # built for inclusion in a dll (and should export symbols for example).
9290 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9291 # (--disable-auto-import) libraries
9292 lt_prog_compiler_pic
='-DDLL_EXPORT'
9295 darwin
* | rhapsody
*)
9296 # PIC is the default on this platform
9297 # Common symbols not allowed in MH_DYLIB files
9298 lt_prog_compiler_pic
='-fno-common'
9302 # PIC is the default for Haiku.
9303 # The "-static" flag exists, but is broken.
9304 lt_prog_compiler_static
=
9308 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9309 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9310 # sets the default TLS model and affects inlining.
9316 lt_prog_compiler_pic
='-fPIC'
9322 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9323 # Instead, we relocate shared libraries at runtime.
9327 # Just because we use GCC doesn't mean we suddenly get shared libraries
9328 # on systems that don't support them.
9329 lt_prog_compiler_can_build_shared
=no
9334 # QNX uses GNU C++, but need to define -shared option too, otherwise
9336 lt_prog_compiler_pic
='-fPIC -shared'
9340 if test -d /usr
/nec
; then
9341 lt_prog_compiler_pic
=-Kconform_pic
9346 lt_prog_compiler_pic
='-fPIC'
9350 case $cc_basename in
9351 nvcc
*) # Cuda Compiler Driver 2.2
9352 lt_prog_compiler_wl
='-Xlinker '
9353 if test -n "$lt_prog_compiler_pic"; then
9354 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9359 # PORTME Check for flag to pass linker flags through the system compiler.
9362 lt_prog_compiler_wl
='-Wl,'
9363 if test "$host_cpu" = ia64
; then
9364 # AIX 5 now supports IA64 processor
9365 lt_prog_compiler_static
='-Bstatic'
9367 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9371 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9372 # This hack is so that the source file can tell whether it is being
9373 # built for inclusion in a dll (and should export symbols for example).
9374 lt_prog_compiler_pic
='-DDLL_EXPORT'
9377 hpux9
* | hpux10
* | hpux11
*)
9378 lt_prog_compiler_wl
='-Wl,'
9379 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9386 lt_prog_compiler_pic
='+Z'
9389 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9390 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9393 irix5
* | irix6
* | nonstopux
*)
9394 lt_prog_compiler_wl
='-Wl,'
9395 # PIC (with -KPIC) is the default.
9396 lt_prog_compiler_static
='-non_shared'
9399 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9400 case $cc_basename in
9401 # old Intel for x86_64 which still supported -KPIC.
9403 lt_prog_compiler_wl
='-Wl,'
9404 lt_prog_compiler_pic
='-KPIC'
9405 lt_prog_compiler_static
='-static'
9407 # icc used to be incompatible with GCC.
9408 # ICC 10 doesn't accept -KPIC any more.
9410 lt_prog_compiler_wl
='-Wl,'
9411 lt_prog_compiler_pic
='-fPIC'
9412 lt_prog_compiler_static
='-static'
9414 # Lahey Fortran 8.1.
9416 lt_prog_compiler_wl
='-Wl,'
9417 lt_prog_compiler_pic
='--shared'
9418 lt_prog_compiler_static
='--static'
9421 # NAG Fortran compiler
9422 lt_prog_compiler_wl
='-Wl,-Wl,,'
9423 lt_prog_compiler_pic
='-PIC'
9424 lt_prog_compiler_static
='-Bstatic'
9426 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9427 # Portland Group compilers (*not* the Pentium gcc compiler,
9428 # which looks to be a dead project)
9429 lt_prog_compiler_wl
='-Wl,'
9430 lt_prog_compiler_pic
='-fpic'
9431 lt_prog_compiler_static
='-Bstatic'
9434 lt_prog_compiler_wl
='-Wl,'
9435 # All Alpha code is PIC.
9436 lt_prog_compiler_static
='-non_shared'
9438 xl
* | bgxl
* | bgf
* | mpixl
*)
9439 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9440 lt_prog_compiler_wl
='-Wl,'
9441 lt_prog_compiler_pic
='-qpic'
9442 lt_prog_compiler_static
='-qstaticlink'
9445 case `$CC -V 2>&1 | sed 5q` in
9446 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9447 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9448 lt_prog_compiler_pic
='-KPIC'
9449 lt_prog_compiler_static
='-Bstatic'
9450 lt_prog_compiler_wl
=''
9452 *Sun\ F
* | *Sun
*Fortran
*)
9453 lt_prog_compiler_pic
='-KPIC'
9454 lt_prog_compiler_static
='-Bstatic'
9455 lt_prog_compiler_wl
='-Qoption ld '
9459 lt_prog_compiler_pic
='-KPIC'
9460 lt_prog_compiler_static
='-Bstatic'
9461 lt_prog_compiler_wl
='-Wl,'
9463 *Intel
*\
[CF
]*Compiler
*)
9464 lt_prog_compiler_wl
='-Wl,'
9465 lt_prog_compiler_pic
='-fPIC'
9466 lt_prog_compiler_static
='-static'
9469 lt_prog_compiler_wl
='-Wl,'
9470 lt_prog_compiler_pic
='-fpic'
9471 lt_prog_compiler_static
='-Bstatic'
9479 lt_prog_compiler_pic
='-KPIC'
9480 lt_prog_compiler_static
='-Bstatic'
9484 # QNX uses GNU C++, but need to define -shared option too, otherwise
9486 lt_prog_compiler_pic
='-fPIC -shared'
9489 osf3
* | osf4
* | osf5
*)
9490 lt_prog_compiler_wl
='-Wl,'
9491 # All OSF/1 code is PIC.
9492 lt_prog_compiler_static
='-non_shared'
9496 lt_prog_compiler_static
='-non_shared'
9500 lt_prog_compiler_pic
='-KPIC'
9501 lt_prog_compiler_static
='-Bstatic'
9502 case $cc_basename in
9503 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9504 lt_prog_compiler_wl
='-Qoption ld ';;
9506 lt_prog_compiler_wl
='-Wl,';;
9511 lt_prog_compiler_wl
='-Qoption ld '
9512 lt_prog_compiler_pic
='-PIC'
9513 lt_prog_compiler_static
='-Bstatic'
9516 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9517 lt_prog_compiler_wl
='-Wl,'
9518 lt_prog_compiler_pic
='-KPIC'
9519 lt_prog_compiler_static
='-Bstatic'
9523 if test -d /usr
/nec
;then
9524 lt_prog_compiler_pic
='-Kconform_pic'
9525 lt_prog_compiler_static
='-Bstatic'
9529 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9530 lt_prog_compiler_wl
='-Wl,'
9531 lt_prog_compiler_pic
='-KPIC'
9532 lt_prog_compiler_static
='-Bstatic'
9536 lt_prog_compiler_wl
='-Wl,'
9537 lt_prog_compiler_can_build_shared
=no
9541 lt_prog_compiler_pic
='-pic'
9542 lt_prog_compiler_static
='-Bstatic'
9546 lt_prog_compiler_can_build_shared
=no
9552 # For platforms which do not support PIC, -DPIC is meaningless:
9554 lt_prog_compiler_pic
=
9557 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9562 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9563 if ${lt_cv_prog_compiler_pic+:} false
; then :
9564 $as_echo_n "(cached) " >&6
9566 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9569 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9570 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9573 # Check to make sure the PIC flag actually works.
9575 if test -n "$lt_prog_compiler_pic"; then
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9577 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9578 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9579 $as_echo_n "(cached) " >&6
9581 lt_cv_prog_compiler_pic_works
=no
9582 ac_outfile
=conftest.
$ac_objext
9583 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9584 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9585 # Insert the option either (1) after the last *FLAGS variable, or
9586 # (2) before a word containing "conftest.", or (3) at the end.
9587 # Note that $ac_compile itself does not contain backslashes and begins
9588 # with a dollar sign (not a hyphen), so the echo should work correctly.
9589 # The option is referenced via a variable to avoid confusing sed.
9590 lt_compile
=`echo "$ac_compile" | $SED \
9591 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9592 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9593 -e 's:$: $lt_compiler_flag:'`
9594 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9595 (eval "$lt_compile" 2>conftest.err
)
9597 cat conftest.err
>&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 if (exit $ac_status) && test -s "$ac_outfile"; then
9600 # The compiler can only warn and ignore the option if not recognized
9601 # So say no if there are warnings other than the usual output.
9602 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9603 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9604 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9605 lt_cv_prog_compiler_pic_works
=yes
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9612 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9614 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9615 case $lt_prog_compiler_pic in
9617 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9620 lt_prog_compiler_pic
=
9621 lt_prog_compiler_can_build_shared
=no
9637 # Check to make sure the static flag actually works.
9639 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9641 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9642 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9643 $as_echo_n "(cached) " >&6
9645 lt_cv_prog_compiler_static_works
=no
9646 save_LDFLAGS
="$LDFLAGS"
9647 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9648 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9649 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9650 # The linker can only warn and ignore the option if not recognized
9651 # So say no if there are warnings
9652 if test -s conftest.err
; then
9653 # Append any errors to the config.log.
9654 cat conftest.err
1>&5
9655 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9656 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9657 if diff conftest.exp conftest.er2
>/dev
/null
; then
9658 lt_cv_prog_compiler_static_works
=yes
9661 lt_cv_prog_compiler_static_works
=yes
9665 LDFLAGS
="$save_LDFLAGS"
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9669 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9671 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9674 lt_prog_compiler_static
=
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9684 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9685 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9686 $as_echo_n "(cached) " >&6
9688 lt_cv_prog_compiler_c_o
=no
9689 $RM -r conftest
2>/dev
/null
9693 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9695 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9696 # Insert the option either (1) after the last *FLAGS variable, or
9697 # (2) before a word containing "conftest.", or (3) at the end.
9698 # Note that $ac_compile itself does not contain backslashes and begins
9699 # with a dollar sign (not a hyphen), so the echo should work correctly.
9700 lt_compile
=`echo "$ac_compile" | $SED \
9701 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9702 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9703 -e 's:$: $lt_compiler_flag:'`
9704 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9705 (eval "$lt_compile" 2>out
/conftest.err
)
9707 cat out
/conftest.err
>&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9711 # The compiler can only warn and ignore the option if not recognized
9712 # So say no if there are warnings
9713 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9714 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9715 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9716 lt_cv_prog_compiler_c_o
=yes
9721 # SGI C++ compiler will create directory out/ii_files/ for
9722 # template instantiation
9723 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9724 $RM out
/* && rmdir out
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9731 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9739 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9740 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9741 $as_echo_n "(cached) " >&6
9743 lt_cv_prog_compiler_c_o
=no
9744 $RM -r conftest
2>/dev
/null
9748 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9750 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9751 # Insert the option either (1) after the last *FLAGS variable, or
9752 # (2) before a word containing "conftest.", or (3) at the end.
9753 # Note that $ac_compile itself does not contain backslashes and begins
9754 # with a dollar sign (not a hyphen), so the echo should work correctly.
9755 lt_compile
=`echo "$ac_compile" | $SED \
9756 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9757 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9758 -e 's:$: $lt_compiler_flag:'`
9759 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9760 (eval "$lt_compile" 2>out
/conftest.err
)
9762 cat out
/conftest.err
>&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9766 # The compiler can only warn and ignore the option if not recognized
9767 # So say no if there are warnings
9768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9769 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9770 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9771 lt_cv_prog_compiler_c_o
=yes
9776 # SGI C++ compiler will create directory out/ii_files/ for
9777 # template instantiation
9778 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9779 $RM out
/* && rmdir out
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9786 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9791 hard_links
="nottested"
9792 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9793 # do not overwrite the value of need_locks provided by the user
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9795 $as_echo_n "checking if we can lock with hard links... " >&6; }
9798 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9800 ln conftest.a conftest.b
2>&5 || hard_links
=no
9801 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9803 $as_echo "$hard_links" >&6; }
9804 if test "$hard_links" = no
; then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9806 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9819 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9822 allow_undefined_flag
=
9823 always_export_symbols
=no
9825 archive_expsym_cmds
=
9826 compiler_needs_object
=no
9827 enable_shared_with_static_runtimes
=no
9828 export_dynamic_flag_spec
=
9829 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9830 hardcode_automatic
=no
9832 hardcode_direct_absolute
=no
9833 hardcode_libdir_flag_spec
=
9834 hardcode_libdir_separator
=
9836 hardcode_shlibpath_var
=unsupported
9838 link_all_deplibs
=unknown
9841 old_archive_from_new_cmds
=
9842 old_archive_from_expsyms_cmds
=
9843 thread_safe_flag_spec
=
9844 whole_archive_flag_spec
=
9845 # include_expsyms should be a list of space-separated symbols to be *always*
9846 # included in the symbol list
9848 # exclude_expsyms can be an extended regexp of symbols to exclude
9849 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9850 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9851 # as well as any symbol that contains `d'.
9852 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9853 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9854 # platforms (ab)use it in PIC code, but their linkers get confused if
9855 # the symbol is explicitly referenced. Since portable code cannot
9856 # rely on this symbol name, it's probably fine to never include it in
9857 # preloaded symbol tables.
9858 # Exclude shared library initialization/finalization symbols.
9859 extract_expsyms_cmds
=
9862 cygwin
* | mingw
* | pw32
* | cegcc
*)
9863 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9864 # When not using gcc, we currently assume that we are using
9865 # Microsoft Visual C++.
9866 if test "$GCC" != yes; then
9871 # we just hope/assume this is gcc and not c89 (= MSVC++)
9881 # On some targets, GNU ld is compatible enough with the native linker
9882 # that we're better off using the native interface for both.
9883 lt_use_gnu_ld_interface
=no
9884 if test "$with_gnu_ld" = yes; then
9887 # The AIX port of GNU ld has always aspired to compatibility
9888 # with the native linker. However, as the warning in the GNU ld
9889 # block says, versions before 2.19.5* couldn't really create working
9890 # shared libraries, regardless of the interface used.
9891 case `$LD -v 2>&1` in
9892 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9893 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9894 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9896 lt_use_gnu_ld_interface
=yes
9901 lt_use_gnu_ld_interface
=yes
9906 if test "$lt_use_gnu_ld_interface" = yes; then
9907 # If archive_cmds runs LD, not CC, wlarc should be empty
9910 # Set some defaults for GNU ld with shared library support. These
9911 # are reset later if shared libraries are not supported. Putting them
9912 # here allows them to be overridden if necessary.
9913 runpath_var
=LD_RUN_PATH
9914 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9915 export_dynamic_flag_spec
='${wl}--export-dynamic'
9916 # ancient GNU ld didn't support --whole-archive et. al.
9917 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9918 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9920 whole_archive_flag_spec
=
9922 supports_anon_versioning
=no
9923 case `$LD -v 2>&1` in
9924 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9925 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9926 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9927 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9928 *\
2.11.
*) ;; # other 2.11 versions
9929 *) supports_anon_versioning
=yes ;;
9932 # See if GNU ld supports shared libraries.
9935 # On AIX/PPC, the GNU linker is very broken
9936 if test "$host_cpu" != ia64
; then
9940 *** Warning: the GNU linker, at least up to release 2.19, is reported
9941 *** to be unable to reliably create shared libraries on AIX.
9942 *** Therefore, libtool is disabling shared libraries support. If you
9943 *** really care for shared libraries, you may want to install binutils
9944 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9945 *** You will then need to restart the configuration process.
9954 # see comment about AmigaOS4 .so support
9955 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9956 archive_expsym_cmds
=''
9959 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)'
9960 hardcode_libdir_flag_spec
='-L$libdir'
9961 hardcode_minus_L
=yes
9967 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9968 allow_undefined_flag
=unsupported
9969 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9970 # support --undefined. This deserves some investigation. FIXME
9971 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9977 cygwin
* | mingw
* | pw32
* | cegcc
*)
9978 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9979 # as there is no search path for DLLs.
9980 hardcode_libdir_flag_spec
='-L$libdir'
9981 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9982 allow_undefined_flag
=unsupported
9983 always_export_symbols
=no
9984 enable_shared_with_static_runtimes
=yes
9985 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'
9986 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9988 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9989 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9990 # If the export-symbols file already is a .def file (1st line
9991 # is EXPORTS), use it as is; otherwise, prepend...
9992 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9993 cp $export_symbols $output_objdir/$soname.def;
9995 echo EXPORTS > $output_objdir/$soname.def;
9996 cat $export_symbols >> $output_objdir/$soname.def;
9998 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10005 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10006 link_all_deplibs
=yes
10011 hardcode_shlibpath_var
=no
10012 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10013 export_dynamic_flag_spec
='${wl}-E'
10014 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10015 # Instead, shared libraries are loaded at an image base (0x10000000 by
10016 # default) and relocated if they conflict, which is a slow very memory
10017 # consuming and fragmenting process. To avoid this, we pick a random,
10018 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10019 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10020 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10021 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'
10024 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10026 if test "$host_os" = linux
-dietlibc; then
10027 case $cc_basename in
10028 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10031 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10032 && test "$tmp_diet" = no
10034 tmp_addflag
=' $pic_flag'
10035 tmp_sharedflag
='-shared'
10036 case $cc_basename,$host_cpu in
10037 pgcc
*) # Portland Group C compiler
10038 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'
10039 tmp_addflag
=' $pic_flag'
10041 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10042 # Portland Group f77 and f90 compilers
10043 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'
10044 tmp_addflag
=' $pic_flag -Mnomain' ;;
10045 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10046 tmp_addflag
=' -i_dynamic' ;;
10047 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10048 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10049 ifc
* | ifort
*) # Intel Fortran compiler
10050 tmp_addflag
=' -nofor_main' ;;
10051 lf95
*) # Lahey Fortran 8.1
10052 whole_archive_flag_spec
=
10053 tmp_sharedflag
='--shared' ;;
10054 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10055 tmp_sharedflag
='-qmkshrobj'
10057 nvcc
*) # Cuda Compiler Driver 2.2
10058 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'
10059 compiler_needs_object
=yes
10062 case `$CC -V 2>&1 | sed 5q` in
10063 *Sun\ C
*) # Sun C 5.9
10064 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'
10065 compiler_needs_object
=yes
10066 tmp_sharedflag
='-G' ;;
10067 *Sun\ F
*) # Sun Fortran 8.3
10068 tmp_sharedflag
='-G' ;;
10070 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10072 if test "x$supports_anon_versioning" = xyes
; then
10073 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10074 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10075 echo "local: *; };" >> $output_objdir/$libname.ver~
10076 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10079 case $cc_basename in
10080 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10081 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10082 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10083 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10084 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10085 if test "x$supports_anon_versioning" = xyes
; then
10086 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10087 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10088 echo "local: *; };" >> $output_objdir/$libname.ver~
10089 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10099 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10100 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10103 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10104 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10109 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10113 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10114 *** create shared libraries on Solaris systems. Therefore, libtool
10115 *** is disabling shared libraries support. We urge you to upgrade GNU
10116 *** binutils to release 2.9.1 or newer. Another option is to modify
10117 *** your PATH or compiler configuration so that the native linker is
10118 *** used, and then restart.
10121 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10122 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10123 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10129 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10130 case `$LD -v 2>&1` in
10131 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10135 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10136 *** reliably create shared libraries on SCO systems. Therefore, libtool
10137 *** is disabling shared libraries support. We urge you to upgrade GNU
10138 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10139 *** your PATH or compiler configuration so that the native linker is
10140 *** used, and then restart.
10145 # For security reasons, it is highly recommended that you always
10146 # use absolute paths for naming shared libraries, and exclude the
10147 # DT_RUNPATH tag from executables and libraries. But doing so
10148 # requires that you compile everything twice, which is a pain.
10149 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10150 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10151 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10152 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10161 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_direct
=yes
10164 hardcode_shlibpath_var
=no
10168 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10169 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10170 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10177 if test "$ld_shlibs" = no
; then
10179 hardcode_libdir_flag_spec
=
10180 export_dynamic_flag_spec
=
10181 whole_archive_flag_spec
=
10184 # PORTME fill in a description of your system's linker (not GNU ld)
10187 allow_undefined_flag
=unsupported
10188 always_export_symbols
=yes
10189 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'
10190 # Note: this linker hardcodes the directories in LIBPATH if there
10191 # are no directories specified by -L.
10192 hardcode_minus_L
=yes
10193 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10194 # Neither direct hardcoding nor static linking is supported with a
10196 hardcode_direct
=unsupported
10201 if test "$host_cpu" = ia64
; then
10202 # On IA64, the linker does run time linking by default, so we don't
10203 # have to do anything special.
10204 aix_use_runtimelinking
=no
10205 exp_sym_flag
='-Bexport'
10208 # If we're using GNU nm, then we don't want the "-C" option.
10209 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10210 # Also, AIX nm treats weak defined symbols like other global
10211 # defined symbols, whereas GNU nm marks them as "W".
10212 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10213 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'
10215 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'
10217 aix_use_runtimelinking
=no
10219 # Test if we are trying to use run time linking or normal
10220 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10221 # need to do runtime linking.
10222 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10223 for ld_flag
in $LDFLAGS; do
10224 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10225 aix_use_runtimelinking
=yes
10232 exp_sym_flag
='-bexport'
10233 no_entry_flag
='-bnoentry'
10236 # When large executables or shared objects are built, AIX ld can
10237 # have problems creating the table of contents. If linking a library
10238 # or program results in "error TOC overflow" add -mminimal-toc to
10239 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10240 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10243 hardcode_direct
=yes
10244 hardcode_direct_absolute
=yes
10245 hardcode_libdir_separator
=':'
10246 link_all_deplibs
=yes
10247 file_list_spec
='${wl}-f,'
10249 if test "$GCC" = yes; then
10250 case $host_os in aix4.
[012]|aix4.
[012].
*)
10251 # We only want to do this on AIX 4.2 and lower, the check
10252 # below for broken collect2 doesn't work under 4.3+
10253 collect2name
=`${CC} -print-prog-name=collect2`
10254 if test -f "$collect2name" &&
10255 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10257 # We have reworked collect2
10260 # We have old collect2
10261 hardcode_direct
=unsupported
10262 # It fails to find uninstalled libraries when the uninstalled
10263 # path is not listed in the libpath. Setting hardcode_minus_L
10264 # to unsupported forces relinking
10265 hardcode_minus_L
=yes
10266 hardcode_libdir_flag_spec
='-L$libdir'
10267 hardcode_libdir_separator
=
10271 shared_flag
='-shared'
10272 if test "$aix_use_runtimelinking" = yes; then
10273 shared_flag
="$shared_flag "'${wl}-G'
10277 if test "$host_cpu" = ia64
; then
10278 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10279 # chokes on -Wl,-G. The following line is correct:
10282 if test "$aix_use_runtimelinking" = yes; then
10283 shared_flag
='${wl}-G'
10285 shared_flag
='${wl}-bM:SRE'
10290 export_dynamic_flag_spec
='${wl}-bexpall'
10291 # It seems that -bexpall does not export symbols beginning with
10292 # underscore (_), so it is better to generate a list of symbols to export.
10293 always_export_symbols
=yes
10294 if test "$aix_use_runtimelinking" = yes; then
10295 # Warning - without using the other runtime loading flags (-brtl),
10296 # -berok will link without error, but may produce a broken library.
10297 allow_undefined_flag
='-berok'
10298 # Determine the default libpath from the value encoded in an
10299 # empty executable.
10300 if test "${lt_cv_aix_libpath+set}" = set; then
10301 aix_libpath
=$lt_cv_aix_libpath
10303 if ${lt_cv_aix_libpath_+:} false
; then :
10304 $as_echo_n "(cached) " >&6
10306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10317 if ac_fn_c_try_link
"$LINENO"; then :
10319 lt_aix_libpath_sed
='
10320 /Import File Strings/,/^$/ {
10322 s/^0 *\([^ ]*\) *$/\1/
10326 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10327 # Check for a 64-bit object if we didn't find anything.
10328 if test -z "$lt_cv_aix_libpath_"; then
10329 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10332 rm -f core conftest.err conftest.
$ac_objext \
10333 conftest
$ac_exeext conftest.
$ac_ext
10334 if test -z "$lt_cv_aix_libpath_"; then
10335 lt_cv_aix_libpath_
="/usr/lib:/lib"
10340 aix_libpath
=$lt_cv_aix_libpath_
10343 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10344 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"
10346 if test "$host_cpu" = ia64
; then
10347 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10348 allow_undefined_flag
="-z nodefs"
10349 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"
10351 # Determine the default libpath from the value encoded in an
10352 # empty executable.
10353 if test "${lt_cv_aix_libpath+set}" = set; then
10354 aix_libpath
=$lt_cv_aix_libpath
10356 if ${lt_cv_aix_libpath_+:} false
; then :
10357 $as_echo_n "(cached) " >&6
10359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10370 if ac_fn_c_try_link
"$LINENO"; then :
10372 lt_aix_libpath_sed
='
10373 /Import File Strings/,/^$/ {
10375 s/^0 *\([^ ]*\) *$/\1/
10379 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10380 # Check for a 64-bit object if we didn't find anything.
10381 if test -z "$lt_cv_aix_libpath_"; then
10382 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10385 rm -f core conftest.err conftest.
$ac_objext \
10386 conftest
$ac_exeext conftest.
$ac_ext
10387 if test -z "$lt_cv_aix_libpath_"; then
10388 lt_cv_aix_libpath_
="/usr/lib:/lib"
10393 aix_libpath
=$lt_cv_aix_libpath_
10396 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10397 # Warning - without using the other run time loading flags,
10398 # -berok will link without error, but may produce a broken library.
10399 no_undefined_flag
=' ${wl}-bernotok'
10400 allow_undefined_flag
=' ${wl}-berok'
10401 if test "$with_gnu_ld" = yes; then
10402 # We only use this code for GNU lds that support --whole-archive.
10403 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10405 # Exported symbols can be pulled into shared objects from archives
10406 whole_archive_flag_spec
='$convenience'
10408 archive_cmds_need_lc
=yes
10409 # This is similar to how AIX traditionally builds its shared libraries.
10410 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'
10418 # see comment about AmigaOS4 .so support
10419 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10420 archive_expsym_cmds
=''
10423 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)'
10424 hardcode_libdir_flag_spec
='-L$libdir'
10425 hardcode_minus_L
=yes
10431 export_dynamic_flag_spec
=-rdynamic
10434 cygwin
* | mingw
* | pw32
* | cegcc
*)
10435 # When not using gcc, we currently assume that we are using
10436 # Microsoft Visual C++.
10437 # hardcode_libdir_flag_spec is actually meaningless, as there is
10438 # no search path for DLLs.
10439 case $cc_basename in
10442 hardcode_libdir_flag_spec
=' '
10443 allow_undefined_flag
=unsupported
10444 always_export_symbols
=yes
10446 # Tell ltmain to make .lib files, not .a files.
10448 # Tell ltmain to make .dll files, not .so files.
10450 # FIXME: Setting linknames here is a bad hack.
10451 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10452 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10453 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10455 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10457 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10459 # The linker will not automatically build a static lib if we build a DLL.
10460 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10461 enable_shared_with_static_runtimes
=yes
10462 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10463 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10465 old_postinstall_cmds
='chmod 644 $oldlib'
10466 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10467 lt_tool_outputfile="@TOOL_OUTPUT@"~
10468 case $lt_outputfile in
10471 lt_outputfile="$lt_outputfile.exe"
10472 lt_tool_outputfile="$lt_tool_outputfile.exe"
10475 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10476 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10477 $RM "$lt_outputfile.manifest";
10481 # Assume MSVC wrapper
10482 hardcode_libdir_flag_spec
=' '
10483 allow_undefined_flag
=unsupported
10484 # Tell ltmain to make .lib files, not .a files.
10486 # Tell ltmain to make .dll files, not .so files.
10488 # FIXME: Setting linknames here is a bad hack.
10489 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10490 # The linker will automatically build a .lib file if we build a DLL.
10491 old_archive_from_new_cmds
='true'
10492 # FIXME: Should let the user specify the lib program.
10493 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10494 enable_shared_with_static_runtimes
=yes
10499 darwin
* | rhapsody
*)
10502 archive_cmds_need_lc
=no
10504 hardcode_automatic
=yes
10505 hardcode_shlibpath_var
=unsupported
10506 if test "$lt_cv_ld_force_load" = "yes"; then
10507 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\"`'
10510 whole_archive_flag_spec
=''
10512 link_all_deplibs
=yes
10513 allow_undefined_flag
="$_lt_dar_allow_undefined"
10514 case $cc_basename in
10515 ifort
*) _lt_dar_can_shared
=yes ;;
10516 *) _lt_dar_can_shared
=$GCC ;;
10518 if test "$_lt_dar_can_shared" = "yes"; then
10519 output_verbose_link_cmd
=func_echo_all
10520 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10521 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10522 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}"
10523 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}"
10532 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10533 hardcode_libdir_flag_spec
='-L$libdir'
10534 hardcode_shlibpath_var
=no
10537 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10538 # support. Future versions do this automatically, but an explicit c++rt0.o
10539 # does not break anything, and helps significantly (at the cost of a little
10542 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10543 hardcode_libdir_flag_spec
='-R$libdir'
10544 hardcode_direct
=yes
10545 hardcode_shlibpath_var
=no
10548 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10550 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10551 hardcode_direct
=yes
10552 hardcode_minus_L
=yes
10553 hardcode_shlibpath_var
=no
10556 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10557 freebsd
* | dragonfly
*)
10558 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10559 hardcode_libdir_flag_spec
='-R$libdir'
10560 hardcode_direct
=yes
10561 hardcode_shlibpath_var
=no
10565 if test "$GCC" = yes; then
10566 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'
10568 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'
10570 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10571 hardcode_libdir_separator
=:
10572 hardcode_direct
=yes
10574 # hardcode_minus_L: Not really in the search PATH,
10575 # but as the default location of the library.
10576 hardcode_minus_L
=yes
10577 export_dynamic_flag_spec
='${wl}-E'
10581 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10582 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10584 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10586 if test "$with_gnu_ld" = no
; then
10587 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10588 hardcode_libdir_separator
=:
10589 hardcode_direct
=yes
10590 hardcode_direct_absolute
=yes
10591 export_dynamic_flag_spec
='${wl}-E'
10592 # hardcode_minus_L: Not really in the search PATH,
10593 # but as the default location of the library.
10594 hardcode_minus_L
=yes
10599 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10602 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10605 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10608 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10614 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10621 # Older versions of the 11.00 compiler do not understand -b yet
10622 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10624 $as_echo_n "checking if $CC understands -b... " >&6; }
10625 if ${lt_cv_prog_compiler__b+:} false
; then :
10626 $as_echo_n "(cached) " >&6
10628 lt_cv_prog_compiler__b
=no
10629 save_LDFLAGS
="$LDFLAGS"
10630 LDFLAGS
="$LDFLAGS -b"
10631 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10632 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10633 # The linker can only warn and ignore the option if not recognized
10634 # So say no if there are warnings
10635 if test -s conftest.err
; then
10636 # Append any errors to the config.log.
10637 cat conftest.err
1>&5
10638 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10639 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10640 if diff conftest.exp conftest.er2
>/dev
/null
; then
10641 lt_cv_prog_compiler__b
=yes
10644 lt_cv_prog_compiler__b
=yes
10648 LDFLAGS
="$save_LDFLAGS"
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10652 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10654 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10655 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10657 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10663 if test "$with_gnu_ld" = no
; then
10664 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10665 hardcode_libdir_separator
=:
10670 hardcode_shlibpath_var
=no
10673 hardcode_direct
=yes
10674 hardcode_direct_absolute
=yes
10675 export_dynamic_flag_spec
='${wl}-E'
10677 # hardcode_minus_L: Not really in the search PATH,
10678 # but as the default location of the library.
10679 hardcode_minus_L
=yes
10685 irix5
* | irix6
* | nonstopux
*)
10686 if test "$GCC" = yes; then
10687 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'
10688 # Try to use the -exported_symbol ld option, if it does not
10689 # work, assume that -exports_file does not work either and
10690 # implicitly export all symbols.
10691 # This should be the same for all languages, so no per-tag cache variable.
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10693 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10694 if ${lt_cv_irix_exported_symbol+:} false
; then :
10695 $as_echo_n "(cached) " >&6
10697 save_LDFLAGS
="$LDFLAGS"
10698 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10701 int foo (void) { return 0; }
10703 if ac_fn_c_try_link
"$LINENO"; then :
10704 lt_cv_irix_exported_symbol
=yes
10706 lt_cv_irix_exported_symbol
=no
10708 rm -f core conftest.err conftest.
$ac_objext \
10709 conftest
$ac_exeext conftest.
$ac_ext
10710 LDFLAGS
="$save_LDFLAGS"
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10713 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10714 if test "$lt_cv_irix_exported_symbol" = yes; then
10715 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'
10718 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'
10719 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'
10721 archive_cmds_need_lc
='no'
10722 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10723 hardcode_libdir_separator
=:
10725 link_all_deplibs
=yes
10729 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10730 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10732 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10734 hardcode_libdir_flag_spec
='-R$libdir'
10735 hardcode_direct
=yes
10736 hardcode_shlibpath_var
=no
10740 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10741 hardcode_direct
=yes
10742 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10743 hardcode_libdir_separator
=:
10744 hardcode_shlibpath_var
=no
10751 if test -f /usr
/libexec
/ld.so
; then
10752 hardcode_direct
=yes
10753 hardcode_shlibpath_var
=no
10754 hardcode_direct_absolute
=yes
10755 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10756 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10757 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10758 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10759 export_dynamic_flag_spec
='${wl}-E'
10762 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10763 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10764 hardcode_libdir_flag_spec
='-R$libdir'
10767 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10768 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10778 hardcode_libdir_flag_spec
='-L$libdir'
10779 hardcode_minus_L
=yes
10780 allow_undefined_flag
=unsupported
10781 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'
10782 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10786 if test "$GCC" = yes; then
10787 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10788 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'
10790 allow_undefined_flag
=' -expect_unresolved \*'
10791 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'
10793 archive_cmds_need_lc
='no'
10794 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10795 hardcode_libdir_separator
=:
10798 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10799 if test "$GCC" = yes; then
10800 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10801 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'
10802 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10804 allow_undefined_flag
=' -expect_unresolved \*'
10805 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'
10806 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~
10807 $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'
10809 # Both c and cxx compiler support -rpath directly
10810 hardcode_libdir_flag_spec
='-rpath $libdir'
10812 archive_cmds_need_lc
='no'
10813 hardcode_libdir_separator
=:
10817 no_undefined_flag
=' -z defs'
10818 if test "$GCC" = yes; then
10820 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10821 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10822 $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'
10824 case `$CC -V 2>&1` in
10827 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10828 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10829 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10833 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10834 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10835 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10839 hardcode_libdir_flag_spec
='-R$libdir'
10840 hardcode_shlibpath_var
=no
10842 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10844 # The compiler driver will combine and reorder linker options,
10845 # but understands `-z linker_flag'. GCC discards it without `$wl',
10846 # but is careful enough not to reorder.
10847 # Supported since Solaris 2.6 (maybe 2.5.1?)
10848 if test "$GCC" = yes; then
10849 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10851 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10855 link_all_deplibs
=yes
10859 if test "x$host_vendor" = xsequent
; then
10860 # Use $CC to link under sequent, because it throws in some extra .o
10861 # files that make .init and .fini sections work.
10862 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10864 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10866 hardcode_libdir_flag_spec
='-L$libdir'
10867 hardcode_direct
=yes
10868 hardcode_minus_L
=yes
10869 hardcode_shlibpath_var
=no
10873 case $host_vendor in
10875 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10876 hardcode_direct
=yes # is this really true???
10879 ## LD is ld it makes a PLAMLIB
10880 ## CC just makes a GrossModule.
10881 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10882 reload_cmds
='$CC -r -o $output$reload_objs'
10886 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10887 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10890 runpath_var
='LD_RUN_PATH'
10891 hardcode_shlibpath_var
=no
10895 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_shlibpath_var
=no
10897 export_dynamic_flag_spec
='-Bexport'
10901 if test -d /usr
/nec
; then
10902 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10903 hardcode_shlibpath_var
=no
10904 runpath_var
=LD_RUN_PATH
10905 hardcode_runpath_var
=yes
10910 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10911 no_undefined_flag
='${wl}-z,text'
10912 archive_cmds_need_lc
=no
10913 hardcode_shlibpath_var
=no
10914 runpath_var
='LD_RUN_PATH'
10916 if test "$GCC" = yes; then
10917 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10918 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10920 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10921 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10925 sysv5
* | sco3.2v5
* | sco5v6
*)
10926 # Note: We can NOT use -z defs as we might desire, because we do not
10927 # link with -lc, and that would cause any symbols used from libc to
10928 # always be unresolved, which means just about no library would
10929 # ever link correctly. If we're not using GNU ld we use -z text
10930 # though, which does catch some bad symbols but isn't as heavy-handed
10932 no_undefined_flag
='${wl}-z,text'
10933 allow_undefined_flag
='${wl}-z,nodefs'
10934 archive_cmds_need_lc
=no
10935 hardcode_shlibpath_var
=no
10936 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10937 hardcode_libdir_separator
=':'
10938 link_all_deplibs
=yes
10939 export_dynamic_flag_spec
='${wl}-Bexport'
10940 runpath_var
='LD_RUN_PATH'
10942 if test "$GCC" = yes; then
10943 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10944 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10946 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10947 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10952 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10953 hardcode_libdir_flag_spec
='-L$libdir'
10954 hardcode_shlibpath_var
=no
10962 if test x
$host_vendor = xsni
; then
10964 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10965 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10972 $as_echo "$ld_shlibs" >&6; }
10973 test "$ld_shlibs" = no
&& can_build_shared
=no
10975 with_gnu_ld
=$with_gnu_ld
10992 # Do we need to explicitly link libc?
10994 case "x$archive_cmds_need_lc" in
10996 # Assume -lc should be added
10997 archive_cmds_need_lc
=yes
10999 if test "$enable_shared" = yes && test "$GCC" = yes; then
11000 case $archive_cmds in
11002 # FIXME: we may have to deal with multi-command sequences.
11005 # Test whether the compiler implicitly links with -lc since on some
11006 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11007 # to ld, don't add -lc before -lgcc.
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11009 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11010 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11011 $as_echo_n "(cached) " >&6
11014 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11017 (eval $ac_compile) 2>&5
11019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11020 test $ac_status = 0; } 2>conftest.err
; then
11023 libobjs
=conftest.
$ac_objext
11025 wl
=$lt_prog_compiler_wl
11026 pic_flag
=$lt_prog_compiler_pic
11032 lt_save_allow_undefined_flag
=$allow_undefined_flag
11033 allow_undefined_flag
=
11034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11035 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11038 test $ac_status = 0; }
11040 lt_cv_archive_cmds_need_lc
=no
11042 lt_cv_archive_cmds_need_lc
=yes
11044 allow_undefined_flag
=$lt_save_allow_undefined_flag
11046 cat conftest.err
1>&5
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11052 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11053 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11212 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11214 if test "$GCC" = yes; then
11216 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11217 *) lt_awk_arg
="/^libraries:/" ;;
11220 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11221 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11223 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11224 case $lt_search_path_spec in
11226 # if the path contains ";" then we assume it to be the separator
11227 # otherwise default to the standard path separator (i.e. ":") - it is
11228 # assumed that no part of a normal pathname contains ";" but that should
11229 # okay in the real world where ";" in dirpaths is itself problematic.
11230 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11233 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11236 # Ok, now we have the path, separated by spaces, we can step through it
11237 # and add multilib dir if necessary.
11238 lt_tmp_lt_search_path_spec
=
11239 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11240 for lt_sys_path
in $lt_search_path_spec; do
11241 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11242 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11244 test -d "$lt_sys_path" && \
11245 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11248 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11249 BEGIN {RS=" "; FS="/|\n";} {
11252 for (lt_i = NF; lt_i > 0; lt_i--) {
11253 if ($lt_i != "" && $lt_i != ".") {
11254 if ($lt_i == "..") {
11257 if (lt_count == 0) {
11258 lt_foo="/" $lt_i lt_foo;
11265 if (lt_foo != "") { lt_freq[lt_foo]++; }
11266 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11268 # AWK program above erroneously prepends '/' to C:/dos/paths
11271 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11272 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11274 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11276 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11278 library_names_spec
=
11279 libname_spec
='lib$name'
11283 postuninstall_cmds
=
11287 shlibpath_overrides_runpath
=unknown
11289 dynamic_linker
="$host_os ld.so"
11290 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11291 need_lib_prefix
=unknown
11292 hardcode_into_libs
=no
11294 # when you set need_version to no, make sure it does not cause -set_version
11295 # flags to be left without arguments
11296 need_version
=unknown
11300 version_type
=linux
# correct to gnu/linux during the next big refactor
11301 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11302 shlibpath_var
=LIBPATH
11304 # AIX 3 has no versioning support, so we append a major version to the name.
11305 soname_spec
='${libname}${release}${shared_ext}$major'
11309 version_type
=linux
# correct to gnu/linux during the next big refactor
11312 hardcode_into_libs
=yes
11313 if test "$host_cpu" = ia64
; then
11314 # AIX 5 supports IA64
11315 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11316 shlibpath_var
=LD_LIBRARY_PATH
11318 # With GCC up to 2.95.x, collect2 would create an import file
11319 # for dependence libraries. The import file would start with
11320 # the line `#! .'. This would cause the generated library to
11321 # depend on `.', always an invalid library. This was fixed in
11322 # development snapshots of GCC prior to 3.0.
11324 aix4
| aix4.
[01] | aix4.
[01].
*)
11325 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11327 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11330 can_build_shared
=no
11334 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11335 # soname into executable. Probably we can add versioning support to
11336 # collect2, so additional links can be useful in future.
11337 if test "$aix_use_runtimelinking" = yes; then
11338 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11339 # instead of lib<name>.a to let people know that these are not
11340 # typical AIX shared libraries.
11341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11343 # We preserve .a as extension for shared libraries through AIX4.2
11344 # and later when we are not doing run time linking.
11345 library_names_spec
='${libname}${release}.a $libname.a'
11346 soname_spec
='${libname}${release}${shared_ext}$major'
11348 shlibpath_var
=LIBPATH
11355 # Since July 2007 AmigaOS4 officially supports .so libraries.
11356 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11360 library_names_spec
='$libname.ixlibrary $libname.a'
11361 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11362 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'
11368 library_names_spec
='${libname}${shared_ext}'
11369 dynamic_linker
="$host_os ld.so"
11370 shlibpath_var
=LIBRARY_PATH
11374 version_type
=linux
# correct to gnu/linux during the next big refactor
11376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11377 soname_spec
='${libname}${release}${shared_ext}$major'
11378 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11379 shlibpath_var
=LD_LIBRARY_PATH
11380 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11381 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11382 # the default ld.so.conf also contains /usr/contrib/lib and
11383 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11384 # libtool to hard-code these into programs
11387 cygwin
* | mingw
* | pw32
* | cegcc
*)
11388 version_type
=windows
11393 case $GCC,$cc_basename in
11396 library_names_spec
='$libname.dll.a'
11397 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11398 postinstall_cmds
='base_file=`basename \${file}`~
11399 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11400 dldir=$destdir/`dirname \$dlpath`~
11401 test -d \$dldir || mkdir -p \$dldir~
11402 $install_prog $dir/$dlname \$dldir/$dlname~
11403 chmod a+x \$dldir/$dlname~
11404 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11405 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11407 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11408 dlpath=$dir/\$dldll~
11410 shlibpath_overrides_runpath
=yes
11414 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11415 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11417 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11420 # MinGW DLLs use traditional 'lib' prefix
11421 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11424 # pw32 DLLs use 'pw' prefix rather than 'lib'
11425 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11428 dynamic_linker
='Win32 ld.exe'
11433 libname_spec
='$name'
11434 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11435 library_names_spec
='${libname}.dll.lib'
11439 sys_lib_search_path_spec
=
11442 for lt_path
in $LIB
11445 # Let DOS variable expansion print the short 8.3 style file name.
11446 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11447 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11450 # Convert to MSYS style.
11451 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11454 # Convert to unix form, then to dos form, then back to unix form
11455 # but this time dos style (no spaces!) so that the unix form looks
11456 # like /cygdrive/c/PROGRA~1:/cygdr...
11457 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11458 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11459 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11462 sys_lib_search_path_spec
="$LIB"
11463 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11464 # It is most probably a Windows format PATH.
11465 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11467 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11469 # FIXME: find the short name or the path components, as spaces are
11470 # common. (e.g. "Program Files" -> "PROGRA~1")
11474 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11475 postinstall_cmds
='base_file=`basename \${file}`~
11476 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11477 dldir=$destdir/`dirname \$dlpath`~
11478 test -d \$dldir || mkdir -p \$dldir~
11479 $install_prog $dir/$dlname \$dldir/$dlname'
11480 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11481 dlpath=$dir/\$dldll~
11483 shlibpath_overrides_runpath
=yes
11484 dynamic_linker
='Win32 link.exe'
11488 # Assume MSVC wrapper
11489 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11490 dynamic_linker
='Win32 ld.exe'
11493 # FIXME: first we should search . and the directory the executable is in
11497 darwin
* | rhapsody
*)
11498 dynamic_linker
="$host_os dyld"
11499 version_type
=darwin
11502 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11503 soname_spec
='${libname}${release}${major}$shared_ext'
11504 shlibpath_overrides_runpath
=yes
11505 shlibpath_var
=DYLD_LIBRARY_PATH
11506 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11508 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11509 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11513 version_type
=linux
# correct to gnu/linux during the next big refactor
11516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11517 soname_spec
='${libname}${release}${shared_ext}$major'
11518 shlibpath_var
=LD_LIBRARY_PATH
11521 freebsd
* | dragonfly
*)
11522 # DragonFly does not have aout. When/if they implement a new
11523 # versioning mechanism, adjust this.
11524 if test -x /usr
/bin
/objformat
; then
11525 objformat
=`/usr/bin/objformat`
11528 freebsd
[23].
*) objformat
=aout
;;
11529 *) objformat
=elf
;;
11532 version_type
=freebsd
-$objformat
11533 case $version_type in
11535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11540 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11544 shlibpath_var
=LD_LIBRARY_PATH
11547 shlibpath_overrides_runpath
=yes
11549 freebsd3.
[01]* | freebsdelf3.
[01]*)
11550 shlibpath_overrides_runpath
=yes
11551 hardcode_into_libs
=yes
11553 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11554 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11555 shlibpath_overrides_runpath
=no
11556 hardcode_into_libs
=yes
11558 *) # from 4.6 on, and DragonFly
11559 shlibpath_overrides_runpath
=yes
11560 hardcode_into_libs
=yes
11566 version_type
=linux
# correct to gnu/linux during the next big refactor
11569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11570 soname_spec
='${libname}${release}${shared_ext}$major'
11571 shlibpath_var
=LD_LIBRARY_PATH
11572 shlibpath_overrides_runpath
=no
11573 hardcode_into_libs
=yes
11577 version_type
=linux
# correct to gnu/linux during the next big refactor
11580 dynamic_linker
="$host_os runtime_loader"
11581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11582 soname_spec
='${libname}${release}${shared_ext}$major'
11583 shlibpath_var
=LIBRARY_PATH
11584 shlibpath_overrides_runpath
=yes
11585 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11586 hardcode_into_libs
=yes
11589 hpux9
* | hpux10
* | hpux11
*)
11590 # Give a soname corresponding to the major version so that dld.sl refuses to
11591 # link against other versions.
11598 hardcode_into_libs
=yes
11599 dynamic_linker
="$host_os dld.so"
11600 shlibpath_var
=LD_LIBRARY_PATH
11601 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11603 soname_spec
='${libname}${release}${shared_ext}$major'
11604 if test "X$HPUX_IA64_MODE" = X32
; then
11605 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11607 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11609 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11613 hardcode_into_libs
=yes
11614 dynamic_linker
="$host_os dld.sl"
11615 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11616 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11618 soname_spec
='${libname}${release}${shared_ext}$major'
11619 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11620 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11624 dynamic_linker
="$host_os dld.sl"
11625 shlibpath_var
=SHLIB_PATH
11626 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11628 soname_spec
='${libname}${release}${shared_ext}$major'
11631 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11632 postinstall_cmds
='chmod 555 $lib'
11633 # or fails outright, so override atomically:
11634 install_override_mode
=555
11638 version_type
=linux
# correct to gnu/linux during the next big refactor
11641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11642 soname_spec
='${libname}${release}${shared_ext}$major'
11643 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11644 shlibpath_var
=LD_LIBRARY_PATH
11645 shlibpath_overrides_runpath
=no
11646 hardcode_into_libs
=yes
11649 irix5
* | irix6
* | nonstopux
*)
11651 nonstopux
*) version_type
=nonstopux
;;
11653 if test "$lt_cv_prog_gnu_ld" = yes; then
11654 version_type
=linux
# correct to gnu/linux during the next big refactor
11661 soname_spec
='${libname}${release}${shared_ext}$major'
11662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11664 irix5
* | nonstopux
*)
11665 libsuff
= shlibsuff
=
11668 case $LD in # libtool.m4 will add one of these switches to LD
11669 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11670 libsuff
= shlibsuff
= libmagic
=32-bit;;
11671 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11672 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11673 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11674 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11675 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11679 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11680 shlibpath_overrides_runpath
=no
11681 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11682 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11683 hardcode_into_libs
=yes
11686 # No shared lib support for Linux oldld, aout, or coff.
11687 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11691 # This must be glibc/ELF.
11692 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11693 version_type
=linux
# correct to gnu/linux during the next big refactor
11696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11697 soname_spec
='${libname}${release}${shared_ext}$major'
11698 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11699 shlibpath_var
=LD_LIBRARY_PATH
11700 shlibpath_overrides_runpath
=no
11702 # Some binutils ld are patched to set DT_RUNPATH
11703 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11704 $as_echo_n "(cached) " >&6
11706 lt_cv_shlibpath_overrides_runpath
=no
11707 save_LDFLAGS
=$LDFLAGS
11708 save_libdir
=$libdir
11709 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11710 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11712 /* end confdefs.h. */
11722 if ac_fn_c_try_link
"$LINENO"; then :
11723 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11724 lt_cv_shlibpath_overrides_runpath
=yes
11727 rm -f core conftest.err conftest.
$ac_objext \
11728 conftest
$ac_exeext conftest.
$ac_ext
11729 LDFLAGS
=$save_LDFLAGS
11730 libdir
=$save_libdir
11734 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11736 # This implies no fast_install, which is unacceptable.
11737 # Some rework will be needed to allow for fast_install
11738 # before this can be enabled.
11739 hardcode_into_libs
=yes
11741 # Append ld.so.conf contents to the search path
11742 if test -f /etc
/ld.so.conf
; then
11743 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' ' '`
11744 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11747 # We used to test for /lib/ld.so.1 and disable shared libraries on
11748 # powerpc, because MkLinux only supported shared libraries with the
11749 # GNU dynamic linker. Since this was broken with cross compilers,
11750 # most powerpc-linux boxes support dynamic linking these days and
11751 # people can always --disable-shared, the test was removed, and we
11752 # assume the GNU/Linux dynamic linker is in use.
11753 dynamic_linker
='GNU/Linux ld.so'
11760 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11762 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11763 dynamic_linker
='NetBSD (a.out) ld.so'
11765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11766 soname_spec
='${libname}${release}${shared_ext}$major'
11767 dynamic_linker
='NetBSD ld.elf_so'
11769 shlibpath_var
=LD_LIBRARY_PATH
11770 shlibpath_overrides_runpath
=yes
11771 hardcode_into_libs
=yes
11775 version_type
=linux
# correct to gnu/linux during the next big refactor
11776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11777 shlibpath_var
=LD_LIBRARY_PATH
11778 shlibpath_overrides_runpath
=yes
11785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11786 soname_spec
='${libname}${release}${shared_ext}$major'
11787 shlibpath_var
=LD_LIBRARY_PATH
11788 shlibpath_overrides_runpath
=no
11789 hardcode_into_libs
=yes
11790 dynamic_linker
='ldqnx.so'
11795 sys_lib_dlsearch_path_spec
="/usr/lib"
11797 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11799 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11800 *) need_version
=no
;;
11802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11803 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11804 shlibpath_var
=LD_LIBRARY_PATH
11805 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11807 openbsd2.
[89] | openbsd2.
[89].
*)
11808 shlibpath_overrides_runpath
=no
11811 shlibpath_overrides_runpath
=yes
11815 shlibpath_overrides_runpath
=yes
11820 libname_spec
='$name'
11823 library_names_spec
='$libname${shared_ext} $libname.a'
11824 dynamic_linker
='OS/2 ld.exe'
11825 shlibpath_var
=LIBPATH
11828 osf3
* | osf4
* | osf5
*)
11832 soname_spec
='${libname}${release}${shared_ext}$major'
11833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11834 shlibpath_var
=LD_LIBRARY_PATH
11835 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11836 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11844 version_type
=linux
# correct to gnu/linux during the next big refactor
11847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11848 soname_spec
='${libname}${release}${shared_ext}$major'
11849 shlibpath_var
=LD_LIBRARY_PATH
11850 shlibpath_overrides_runpath
=yes
11851 hardcode_into_libs
=yes
11852 # ldd complains unless libraries are executable
11853 postinstall_cmds
='chmod +x $lib'
11858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11859 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11860 shlibpath_var
=LD_LIBRARY_PATH
11861 shlibpath_overrides_runpath
=yes
11862 if test "$with_gnu_ld" = yes; then
11869 version_type
=linux
# correct to gnu/linux during the next big refactor
11870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11871 soname_spec
='${libname}${release}${shared_ext}$major'
11872 shlibpath_var
=LD_LIBRARY_PATH
11873 case $host_vendor in
11875 shlibpath_overrides_runpath
=no
11877 runpath_var
=LD_RUN_PATH
11885 shlibpath_overrides_runpath
=no
11886 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11892 if test -d /usr
/nec
;then
11893 version_type
=linux
# correct to gnu/linux during the next big refactor
11894 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11895 soname_spec
='$libname${shared_ext}.$major'
11896 shlibpath_var
=LD_LIBRARY_PATH
11900 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11901 version_type
=freebsd
-elf
11904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11905 soname_spec
='${libname}${release}${shared_ext}$major'
11906 shlibpath_var
=LD_LIBRARY_PATH
11907 shlibpath_overrides_runpath
=yes
11908 hardcode_into_libs
=yes
11909 if test "$with_gnu_ld" = yes; then
11910 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11912 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11915 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11919 sys_lib_dlsearch_path_spec
='/usr/lib'
11923 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11924 version_type
=linux
# correct to gnu/linux during the next big refactor
11927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11928 shlibpath_var
=LD_LIBRARY_PATH
11929 shlibpath_overrides_runpath
=no
11930 hardcode_into_libs
=yes
11934 version_type
=linux
# correct to gnu/linux during the next big refactor
11935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11936 soname_spec
='${libname}${release}${shared_ext}$major'
11937 shlibpath_var
=LD_LIBRARY_PATH
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11945 $as_echo "$dynamic_linker" >&6; }
11946 test "$dynamic_linker" = no
&& can_build_shared
=no
11948 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11949 if test "$GCC" = yes; then
11950 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11953 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11954 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11956 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11957 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12052 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12054 if test -n "$hardcode_libdir_flag_spec" ||
12055 test -n "$runpath_var" ||
12056 test "X$hardcode_automatic" = "Xyes" ; then
12058 # We can hardcode non-existent directories.
12059 if test "$hardcode_direct" != no
&&
12060 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12061 # have to relink, otherwise we might link with an installed library
12062 # when we should be linking with a yet-to-be-installed one
12063 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12064 test "$hardcode_minus_L" != no
; then
12065 # Linking always hardcodes the temporary library directory.
12066 hardcode_action
=relink
12068 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12069 hardcode_action
=immediate
12072 # We cannot hardcode anything, or else we can only hardcode existing
12074 hardcode_action
=unsupported
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12077 $as_echo "$hardcode_action" >&6; }
12079 if test "$hardcode_action" = relink
||
12080 test "$inherit_rpath" = yes; then
12081 # Fast installation is not supported
12082 enable_fast_install
=no
12083 elif test "$shlibpath_overrides_runpath" = yes ||
12084 test "$enable_shared" = no
; then
12085 # Fast installation is not necessary
12086 enable_fast_install
=needless
12094 if test "x$enable_dlopen" != xyes
; then
12095 enable_dlopen
=unknown
12096 enable_dlopen_self
=unknown
12097 enable_dlopen_self_static
=unknown
12104 lt_cv_dlopen
="load_add_on"
12106 lt_cv_dlopen_self
=yes
12109 mingw
* | pw32
* | cegcc
*)
12110 lt_cv_dlopen
="LoadLibrary"
12115 lt_cv_dlopen
="dlopen"
12120 # if libdl is installed we need to link against it
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12122 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12123 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12124 $as_echo_n "(cached) " >&6
12126 ac_check_lib_save_LIBS
=$LIBS
12128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12146 if ac_fn_c_try_link
"$LINENO"; then :
12147 ac_cv_lib_dl_dlopen
=yes
12149 ac_cv_lib_dl_dlopen
=no
12151 rm -f core conftest.err conftest.
$ac_objext \
12152 conftest
$ac_exeext conftest.
$ac_ext
12153 LIBS
=$ac_check_lib_save_LIBS
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12156 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12157 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12158 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12161 lt_cv_dlopen
="dyld"
12163 lt_cv_dlopen_self
=yes
12170 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12171 if test "x$ac_cv_func_shl_load" = xyes
; then :
12172 lt_cv_dlopen
="shl_load"
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12175 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12176 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12177 $as_echo_n "(cached) " >&6
12179 ac_check_lib_save_LIBS
=$LIBS
12181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12194 return shl_load ();
12199 if ac_fn_c_try_link
"$LINENO"; then :
12200 ac_cv_lib_dld_shl_load
=yes
12202 ac_cv_lib_dld_shl_load
=no
12204 rm -f core conftest.err conftest.
$ac_objext \
12205 conftest
$ac_exeext conftest.
$ac_ext
12206 LIBS
=$ac_check_lib_save_LIBS
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12209 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12210 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12211 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12213 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12214 if test "x$ac_cv_func_dlopen" = xyes
; then :
12215 lt_cv_dlopen
="dlopen"
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12218 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12219 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12220 $as_echo_n "(cached) " >&6
12222 ac_check_lib_save_LIBS
=$LIBS
12224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12227 /* Override any GCC internal prototype to avoid an error.
12228 Use char because int might match the return type of a GCC
12229 builtin and then its argument prototype would still apply. */
12242 if ac_fn_c_try_link
"$LINENO"; then :
12243 ac_cv_lib_dl_dlopen
=yes
12245 ac_cv_lib_dl_dlopen
=no
12247 rm -f core conftest.err conftest.
$ac_objext \
12248 conftest
$ac_exeext conftest.
$ac_ext
12249 LIBS
=$ac_check_lib_save_LIBS
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12252 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12253 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12254 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12257 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12258 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12259 $as_echo_n "(cached) " >&6
12261 ac_check_lib_save_LIBS
=$LIBS
12262 LIBS
="-lsvld $LIBS"
12263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 /* Override any GCC internal prototype to avoid an error.
12267 Use char because int might match the return type of a GCC
12268 builtin and then its argument prototype would still apply. */
12281 if ac_fn_c_try_link
"$LINENO"; then :
12282 ac_cv_lib_svld_dlopen
=yes
12284 ac_cv_lib_svld_dlopen
=no
12286 rm -f core conftest.err conftest.
$ac_objext \
12287 conftest
$ac_exeext conftest.
$ac_ext
12288 LIBS
=$ac_check_lib_save_LIBS
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12291 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12292 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12293 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12296 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12297 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12298 $as_echo_n "(cached) " >&6
12300 ac_check_lib_save_LIBS
=$LIBS
12302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12305 /* Override any GCC internal prototype to avoid an error.
12306 Use char because int might match the return type of a GCC
12307 builtin and then its argument prototype would still apply. */
12315 return dld_link ();
12320 if ac_fn_c_try_link
"$LINENO"; then :
12321 ac_cv_lib_dld_dld_link
=yes
12323 ac_cv_lib_dld_dld_link
=no
12325 rm -f core conftest.err conftest.
$ac_objext \
12326 conftest
$ac_exeext conftest.
$ac_ext
12327 LIBS
=$ac_check_lib_save_LIBS
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12330 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12331 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12332 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12353 if test "x$lt_cv_dlopen" != xno
; then
12359 case $lt_cv_dlopen in
12361 save_CPPFLAGS
="$CPPFLAGS"
12362 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12364 save_LDFLAGS
="$LDFLAGS"
12365 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12368 LIBS
="$lt_cv_dlopen_libs $LIBS"
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12371 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12372 if ${lt_cv_dlopen_self+:} false
; then :
12373 $as_echo_n "(cached) " >&6
12375 if test "$cross_compiling" = yes; then :
12376 lt_cv_dlopen_self
=cross
12378 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12379 lt_status
=$lt_dlunknown
12380 cat > conftest.
$ac_ext <<_LT_EOF
12381 #line $LINENO "configure"
12382 #include "confdefs.h"
12391 # define LT_DLGLOBAL RTLD_GLOBAL
12394 # define LT_DLGLOBAL DL_GLOBAL
12396 # define LT_DLGLOBAL 0
12400 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12401 find out it does not work in some platform. */
12402 #ifndef LT_DLLAZY_OR_NOW
12404 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12407 # define LT_DLLAZY_OR_NOW DL_LAZY
12410 # define LT_DLLAZY_OR_NOW RTLD_NOW
12413 # define LT_DLLAZY_OR_NOW DL_NOW
12415 # define LT_DLLAZY_OR_NOW 0
12422 /* When -fvisbility=hidden is used, assume the code has been annotated
12423 correspondingly for the symbols needed. */
12424 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12425 int fnord () __attribute__((visibility("default")));
12428 int fnord () { return 42; }
12431 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12432 int status = $lt_dlunknown;
12436 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12439 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12440 else puts (dlerror ());
12442 /* dlclose (self); */
12450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12451 (eval $ac_link) 2>&5
12453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12454 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12455 (.
/conftest
; exit; ) >&5 2>/dev
/null
12457 case x
$lt_status in
12458 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12459 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12460 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12463 # compilation failed
12464 lt_cv_dlopen_self
=no
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12472 $as_echo "$lt_cv_dlopen_self" >&6; }
12474 if test "x$lt_cv_dlopen_self" = xyes
; then
12475 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12477 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12478 if ${lt_cv_dlopen_self_static+:} false
; then :
12479 $as_echo_n "(cached) " >&6
12481 if test "$cross_compiling" = yes; then :
12482 lt_cv_dlopen_self_static
=cross
12484 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12485 lt_status
=$lt_dlunknown
12486 cat > conftest.
$ac_ext <<_LT_EOF
12487 #line $LINENO "configure"
12488 #include "confdefs.h"
12497 # define LT_DLGLOBAL RTLD_GLOBAL
12500 # define LT_DLGLOBAL DL_GLOBAL
12502 # define LT_DLGLOBAL 0
12506 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12507 find out it does not work in some platform. */
12508 #ifndef LT_DLLAZY_OR_NOW
12510 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12513 # define LT_DLLAZY_OR_NOW DL_LAZY
12516 # define LT_DLLAZY_OR_NOW RTLD_NOW
12519 # define LT_DLLAZY_OR_NOW DL_NOW
12521 # define LT_DLLAZY_OR_NOW 0
12528 /* When -fvisbility=hidden is used, assume the code has been annotated
12529 correspondingly for the symbols needed. */
12530 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12531 int fnord () __attribute__((visibility("default")));
12534 int fnord () { return 42; }
12537 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12538 int status = $lt_dlunknown;
12542 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12545 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12546 else puts (dlerror ());
12548 /* dlclose (self); */
12556 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12557 (eval $ac_link) 2>&5
12559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12560 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12561 (.
/conftest
; exit; ) >&5 2>/dev
/null
12563 case x
$lt_status in
12564 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12565 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12566 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12569 # compilation failed
12570 lt_cv_dlopen_self_static
=no
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12578 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12581 CPPFLAGS
="$save_CPPFLAGS"
12582 LDFLAGS
="$save_LDFLAGS"
12587 case $lt_cv_dlopen_self in
12588 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12589 *) enable_dlopen_self
=unknown
;;
12592 case $lt_cv_dlopen_self_static in
12593 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12594 *) enable_dlopen_self_static
=unknown
;;
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12617 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12618 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12619 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12620 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12622 $as_echo "yes" >&6; }
12624 # FIXME - insert some real tests, host_os isn't really good enough
12627 if test -n "$STRIP" ; then
12628 striplib
="$STRIP -x"
12629 old_striplib
="$STRIP -S"
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12631 $as_echo "yes" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12634 $as_echo "no" >&6; }
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12639 $as_echo "no" >&6; }
12655 # Report which library types will actually be built
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12657 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12659 $as_echo "$can_build_shared" >&6; }
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12662 $as_echo_n "checking whether to build shared libraries... " >&6; }
12663 test "$can_build_shared" = "no" && enable_shared
=no
12665 # On AIX, shared libraries and static libraries use the same namespace, and
12666 # are all built from PIC.
12669 test "$enable_shared" = yes && enable_static
=no
12670 if test -n "$RANLIB"; then
12671 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12672 postinstall_cmds
='$RANLIB $lib'
12677 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12678 test "$enable_shared" = yes && enable_static
=no
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12683 $as_echo "$enable_shared" >&6; }
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12686 $as_echo_n "checking whether to build static libraries... " >&6; }
12687 # Make sure either enable_shared or enable_static is yes.
12688 test "$enable_shared" = yes || enable_static
=yes
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12690 $as_echo "$enable_static" >&6; }
12697 ac_cpp
='$CPP $CPPFLAGS'
12698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12704 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12705 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12706 (test "X$CXX" != "Xg++"))) ; then
12708 ac_cpp
='$CXXCPP $CPPFLAGS'
12709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12713 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12714 if test -z "$CXXCPP"; then
12715 if ${ac_cv_prog_CXXCPP+:} false
; then :
12716 $as_echo_n "(cached) " >&6
12718 # Double quotes because CXXCPP needs to be expanded
12719 for CXXCPP
in "$CXX -E" "/lib/cpp"
12721 ac_preproc_ok
=false
12722 for ac_cxx_preproc_warn_flag
in '' yes
12724 # Use a header file that comes with gcc, so configuring glibc
12725 # with a fresh cross-compiler works.
12726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12727 # <limits.h> exists even on freestanding compilers.
12728 # On the NeXT, cc -E runs the code through the compiler's parser,
12729 # not just through cpp. "Syntax error" is here to catch this case.
12730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 # include <limits.h>
12735 # include <assert.h>
12739 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12742 # Broken: fails on valid input.
12745 rm -f conftest.err conftest.i conftest.
$ac_ext
12747 # OK, works on sane cases. Now check whether nonexistent headers
12748 # can be detected and how.
12749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12751 #include <ac_nonexistent.h>
12753 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12754 # Broken: success on invalid input.
12757 # Passes both tests.
12761 rm -f conftest.err conftest.i conftest.
$ac_ext
12764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12765 rm -f conftest.i conftest.err conftest.
$ac_ext
12766 if $ac_preproc_ok; then :
12771 ac_cv_prog_CXXCPP
=$CXXCPP
12774 CXXCPP
=$ac_cv_prog_CXXCPP
12776 ac_cv_prog_CXXCPP
=$CXXCPP
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12779 $as_echo "$CXXCPP" >&6; }
12780 ac_preproc_ok
=false
12781 for ac_cxx_preproc_warn_flag
in '' yes
12783 # Use a header file that comes with gcc, so configuring glibc
12784 # with a fresh cross-compiler works.
12785 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12786 # <limits.h> exists even on freestanding compilers.
12787 # On the NeXT, cc -E runs the code through the compiler's parser,
12788 # not just through cpp. "Syntax error" is here to catch this case.
12789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 # include <limits.h>
12794 # include <assert.h>
12798 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12801 # Broken: fails on valid input.
12804 rm -f conftest.err conftest.i conftest.
$ac_ext
12806 # OK, works on sane cases. Now check whether nonexistent headers
12807 # can be detected and how.
12808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12810 #include <ac_nonexistent.h>
12812 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12813 # Broken: success on invalid input.
12816 # Passes both tests.
12820 rm -f conftest.err conftest.i conftest.
$ac_ext
12823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12824 rm -f conftest.i conftest.err conftest.
$ac_ext
12825 if $ac_preproc_ok; then :
12828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12830 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12831 See \`config.log' for more details" "$LINENO" 5; }
12835 ac_cpp
='$CPP $CPPFLAGS'
12836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12841 _lt_caught_CXX_error
=yes
12845 ac_cpp
='$CXXCPP $CPPFLAGS'
12846 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12847 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12850 archive_cmds_need_lc_CXX
=no
12851 allow_undefined_flag_CXX
=
12852 always_export_symbols_CXX
=no
12853 archive_expsym_cmds_CXX
=
12854 compiler_needs_object_CXX
=no
12855 export_dynamic_flag_spec_CXX
=
12856 hardcode_direct_CXX
=no
12857 hardcode_direct_absolute_CXX
=no
12858 hardcode_libdir_flag_spec_CXX
=
12859 hardcode_libdir_separator_CXX
=
12860 hardcode_minus_L_CXX
=no
12861 hardcode_shlibpath_var_CXX
=unsupported
12862 hardcode_automatic_CXX
=no
12863 inherit_rpath_CXX
=no
12865 module_expsym_cmds_CXX
=
12866 link_all_deplibs_CXX
=unknown
12867 old_archive_cmds_CXX
=$old_archive_cmds
12868 reload_flag_CXX
=$reload_flag
12869 reload_cmds_CXX
=$reload_cmds
12870 no_undefined_flag_CXX
=
12871 whole_archive_flag_spec_CXX
=
12872 enable_shared_with_static_runtimes_CXX
=no
12874 # Source file extension for C++ test sources.
12877 # Object file extension for compiled C++ test sources.
12881 # No sense in running all these tests if we already determined that
12882 # the CXX compiler isn't working. Some variables (like enable_shared)
12883 # are currently assumed to apply to all compilers on this platform,
12884 # and will be corrupted by setting them based on a non-working compiler.
12885 if test "$_lt_caught_CXX_error" != yes; then
12886 # Code to be used in simple compile tests
12887 lt_simple_compile_test_code
="int some_variable = 0;"
12889 # Code to be used in simple link tests
12890 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12892 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12899 # If no C compiler was specified, use CC.
12902 # If no C compiler flags were specified, use CFLAGS.
12903 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12905 # Allow CC to be a program name with arguments.
12909 # save warnings/boilerplate of simple test code
12910 ac_outfile
=conftest.
$ac_objext
12911 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12912 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12913 _lt_compiler_boilerplate
=`cat conftest.err`
12916 ac_outfile
=conftest.
$ac_objext
12917 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12918 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12919 _lt_linker_boilerplate
=`cat conftest.err`
12923 # Allow CC to be a program name with arguments.
12925 lt_save_CFLAGS
=$CFLAGS
12929 lt_save_with_gnu_ld
=$with_gnu_ld
12930 lt_save_path_LD
=$lt_cv_path_LD
12931 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12932 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12934 $as_unset lt_cv_prog_gnu_ld
12936 if test -n "${lt_cv_path_LDCXX+set}"; then
12937 lt_cv_path_LD
=$lt_cv_path_LDCXX
12939 $as_unset lt_cv_path_LD
12941 test -z "${LDCXX+set}" || LD
=$LDCXX
12946 for cc_temp
in $compiler""; do
12948 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12949 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12954 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12957 if test -n "$compiler"; then
12958 # We don't want -fno-exception when compiling C++ code, so set the
12959 # no_builtin_flag separately
12960 if test "$GXX" = yes; then
12961 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12963 lt_prog_compiler_no_builtin_flag_CXX
=
12966 if test "$GXX" = yes; then
12967 # Set up default GNU C++ configuration
12971 # Check whether --with-gnu-ld was given.
12972 if test "${with_gnu_ld+set}" = set; then :
12973 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12979 if test "$GCC" = yes; then
12980 # Check if gcc -print-prog-name=ld gives a path.
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12982 $as_echo_n "checking for ld used by $CC... " >&6; }
12985 # gcc leaves a trailing carriage return which upsets mingw
12986 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12988 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12991 # Accept absolute paths.
12993 re_direlt
='/[^/][^/]*/\.\./'
12994 # Canonicalize the pathname of ld
12995 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12996 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12997 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12999 test -z "$LD" && LD
="$ac_prog"
13002 # If it fails, then pretend we aren't using GCC.
13006 # If it is relative, then search for the first ld in PATH.
13007 with_gnu_ld
=unknown
13010 elif test "$with_gnu_ld" = yes; then
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13012 $as_echo_n "checking for GNU ld... " >&6; }
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13015 $as_echo_n "checking for non-GNU ld... " >&6; }
13017 if ${lt_cv_path_LD+:} false
; then :
13018 $as_echo_n "(cached) " >&6
13020 if test -z "$LD"; then
13021 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13022 for ac_dir
in $PATH; do
13024 test -z "$ac_dir" && ac_dir
=.
13025 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13026 lt_cv_path_LD
="$ac_dir/$ac_prog"
13027 # Check to see if the program is GNU ld. I'd rather use --version,
13028 # but apparently some variants of GNU ld only accept -v.
13029 # Break only if it was the GNU/non-GNU ld that we prefer.
13030 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13031 *GNU
* | *'with BFD'*)
13032 test "$with_gnu_ld" != no
&& break
13035 test "$with_gnu_ld" != yes && break
13042 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13046 LD
="$lt_cv_path_LD"
13047 if test -n "$LD"; then
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13049 $as_echo "$LD" >&6; }
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13052 $as_echo "no" >&6; }
13054 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13056 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13057 if ${lt_cv_prog_gnu_ld+:} false
; then :
13058 $as_echo_n "(cached) " >&6
13060 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13061 case `$LD -v 2>&1 </dev/null` in
13062 *GNU
* | *'with BFD'*)
13063 lt_cv_prog_gnu_ld
=yes
13066 lt_cv_prog_gnu_ld
=no
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13071 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13072 with_gnu_ld
=$lt_cv_prog_gnu_ld
13080 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13081 # archiving commands below assume that GNU ld is being used.
13082 if test "$with_gnu_ld" = yes; then
13083 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13084 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'
13086 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13087 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13089 # If archive_cmds runs LD, not CC, wlarc should be empty
13090 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13091 # investigate it a little bit more. (MM)
13094 # ancient GNU ld didn't support --whole-archive et. al.
13095 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13096 $GREP 'no-whole-archive' > /dev
/null
; then
13097 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13099 whole_archive_flag_spec_CXX
=
13105 # A generic and very simple default shared library creation
13106 # command for GNU C++ for the case where it uses the native
13107 # linker, instead of GNU ld. If possible, this setting should
13108 # overridden to take advantage of the native linker features on
13109 # the platform it is being used on.
13110 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13113 # Commands to make compiler produce verbose output that lists
13114 # what "hidden" libraries, object files and flags are used when
13115 # linking a shared library.
13116 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13124 # PORTME: fill in a description of your system's C++ link characteristics
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13126 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13130 # FIXME: insert proper C++ library support
13134 if test "$host_cpu" = ia64
; then
13135 # On IA64, the linker does run time linking by default, so we don't
13136 # have to do anything special.
13137 aix_use_runtimelinking
=no
13138 exp_sym_flag
='-Bexport'
13141 aix_use_runtimelinking
=no
13143 # Test if we are trying to use run time linking or normal
13144 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13145 # need to do runtime linking.
13146 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13147 for ld_flag
in $LDFLAGS; do
13150 aix_use_runtimelinking
=yes
13158 exp_sym_flag
='-bexport'
13159 no_entry_flag
='-bnoentry'
13162 # When large executables or shared objects are built, AIX ld can
13163 # have problems creating the table of contents. If linking a library
13164 # or program results in "error TOC overflow" add -mminimal-toc to
13165 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13166 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13168 archive_cmds_CXX
=''
13169 hardcode_direct_CXX
=yes
13170 hardcode_direct_absolute_CXX
=yes
13171 hardcode_libdir_separator_CXX
=':'
13172 link_all_deplibs_CXX
=yes
13173 file_list_spec_CXX
='${wl}-f,'
13175 if test "$GXX" = yes; then
13176 case $host_os in aix4.
[012]|aix4.
[012].
*)
13177 # We only want to do this on AIX 4.2 and lower, the check
13178 # below for broken collect2 doesn't work under 4.3+
13179 collect2name
=`${CC} -print-prog-name=collect2`
13180 if test -f "$collect2name" &&
13181 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13183 # We have reworked collect2
13186 # We have old collect2
13187 hardcode_direct_CXX
=unsupported
13188 # It fails to find uninstalled libraries when the uninstalled
13189 # path is not listed in the libpath. Setting hardcode_minus_L
13190 # to unsupported forces relinking
13191 hardcode_minus_L_CXX
=yes
13192 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13193 hardcode_libdir_separator_CXX
=
13196 shared_flag
='-shared'
13197 if test "$aix_use_runtimelinking" = yes; then
13198 shared_flag
="$shared_flag "'${wl}-G'
13202 if test "$host_cpu" = ia64
; then
13203 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13204 # chokes on -Wl,-G. The following line is correct:
13207 if test "$aix_use_runtimelinking" = yes; then
13208 shared_flag
='${wl}-G'
13210 shared_flag
='${wl}-bM:SRE'
13215 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13216 # It seems that -bexpall does not export symbols beginning with
13217 # underscore (_), so it is better to generate a list of symbols to
13219 always_export_symbols_CXX
=yes
13220 if test "$aix_use_runtimelinking" = yes; then
13221 # Warning - without using the other runtime loading flags (-brtl),
13222 # -berok will link without error, but may produce a broken library.
13223 allow_undefined_flag_CXX
='-berok'
13224 # Determine the default libpath from the value encoded in an empty
13226 if test "${lt_cv_aix_libpath+set}" = set; then
13227 aix_libpath
=$lt_cv_aix_libpath
13229 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13230 $as_echo_n "(cached) " >&6
13232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13243 if ac_fn_cxx_try_link
"$LINENO"; then :
13245 lt_aix_libpath_sed
='
13246 /Import File Strings/,/^$/ {
13248 s/^0 *\([^ ]*\) *$/\1/
13252 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13253 # Check for a 64-bit object if we didn't find anything.
13254 if test -z "$lt_cv_aix_libpath__CXX"; then
13255 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13258 rm -f core conftest.err conftest.
$ac_objext \
13259 conftest
$ac_exeext conftest.
$ac_ext
13260 if test -z "$lt_cv_aix_libpath__CXX"; then
13261 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13266 aix_libpath
=$lt_cv_aix_libpath__CXX
13269 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13271 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"
13273 if test "$host_cpu" = ia64
; then
13274 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13275 allow_undefined_flag_CXX
="-z nodefs"
13276 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"
13278 # Determine the default libpath from the value encoded in an
13279 # empty executable.
13280 if test "${lt_cv_aix_libpath+set}" = set; then
13281 aix_libpath
=$lt_cv_aix_libpath
13283 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13284 $as_echo_n "(cached) " >&6
13286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13297 if ac_fn_cxx_try_link
"$LINENO"; then :
13299 lt_aix_libpath_sed
='
13300 /Import File Strings/,/^$/ {
13302 s/^0 *\([^ ]*\) *$/\1/
13306 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13307 # Check for a 64-bit object if we didn't find anything.
13308 if test -z "$lt_cv_aix_libpath__CXX"; then
13309 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13312 rm -f core conftest.err conftest.
$ac_objext \
13313 conftest
$ac_exeext conftest.
$ac_ext
13314 if test -z "$lt_cv_aix_libpath__CXX"; then
13315 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13320 aix_libpath
=$lt_cv_aix_libpath__CXX
13323 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13324 # Warning - without using the other run time loading flags,
13325 # -berok will link without error, but may produce a broken library.
13326 no_undefined_flag_CXX
=' ${wl}-bernotok'
13327 allow_undefined_flag_CXX
=' ${wl}-berok'
13328 if test "$with_gnu_ld" = yes; then
13329 # We only use this code for GNU lds that support --whole-archive.
13330 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13332 # Exported symbols can be pulled into shared objects from archives
13333 whole_archive_flag_spec_CXX
='$convenience'
13335 archive_cmds_need_lc_CXX
=yes
13336 # This is similar to how AIX traditionally builds its shared
13338 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'
13344 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13345 allow_undefined_flag_CXX
=unsupported
13346 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13347 # support --undefined. This deserves some investigation. FIXME
13348 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13355 case $cc_basename in
13357 # FIXME: insert proper C++ library support
13363 cygwin
* | mingw
* | pw32
* | cegcc
*)
13364 case $GXX,$cc_basename in
13367 # hardcode_libdir_flag_spec is actually meaningless, as there is
13368 # no search path for DLLs.
13369 hardcode_libdir_flag_spec_CXX
=' '
13370 allow_undefined_flag_CXX
=unsupported
13371 always_export_symbols_CXX
=yes
13372 file_list_spec_CXX
='@'
13373 # Tell ltmain to make .lib files, not .a files.
13375 # Tell ltmain to make .dll files, not .so files.
13377 # FIXME: Setting linknames here is a bad hack.
13378 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13379 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13380 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13382 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13384 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13386 # The linker will not automatically build a static lib if we build a DLL.
13387 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13388 enable_shared_with_static_runtimes_CXX
=yes
13390 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13391 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13392 lt_tool_outputfile="@TOOL_OUTPUT@"~
13393 case $lt_outputfile in
13396 lt_outputfile="$lt_outputfile.exe"
13397 lt_tool_outputfile="$lt_tool_outputfile.exe"
13400 func_to_tool_file "$lt_outputfile"~
13401 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13402 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13403 $RM "$lt_outputfile.manifest";
13408 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13409 # as there is no search path for DLLs.
13410 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13411 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13412 allow_undefined_flag_CXX
=unsupported
13413 always_export_symbols_CXX
=no
13414 enable_shared_with_static_runtimes_CXX
=yes
13416 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13417 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'
13418 # If the export-symbols file already is a .def file (1st line
13419 # is EXPORTS), use it as is; otherwise, prepend...
13420 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13421 cp $export_symbols $output_objdir/$soname.def;
13423 echo EXPORTS > $output_objdir/$soname.def;
13424 cat $export_symbols >> $output_objdir/$soname.def;
13426 $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'
13433 darwin
* | rhapsody
*)
13436 archive_cmds_need_lc_CXX
=no
13437 hardcode_direct_CXX
=no
13438 hardcode_automatic_CXX
=yes
13439 hardcode_shlibpath_var_CXX
=unsupported
13440 if test "$lt_cv_ld_force_load" = "yes"; then
13441 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\"`'
13444 whole_archive_flag_spec_CXX
=''
13446 link_all_deplibs_CXX
=yes
13447 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13448 case $cc_basename in
13449 ifort
*) _lt_dar_can_shared
=yes ;;
13450 *) _lt_dar_can_shared
=$GCC ;;
13452 if test "$_lt_dar_can_shared" = "yes"; then
13453 output_verbose_link_cmd
=func_echo_all
13454 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}"
13455 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13456 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}"
13457 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}"
13458 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13459 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}"
13460 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}"
13470 case $cc_basename in
13472 # FIXME: insert proper C++ library support
13476 # Green Hills C++ Compiler
13477 # FIXME: insert proper C++ library support
13481 # FIXME: insert proper C++ library support
13488 # C++ shared libraries reported to be fairly broken before
13494 archive_cmds_need_lc_CXX
=no
13497 freebsd
* | dragonfly
*)
13498 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13507 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13508 link_all_deplibs_CXX
=yes
13512 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13513 hardcode_libdir_separator_CXX
=:
13514 export_dynamic_flag_spec_CXX
='${wl}-E'
13515 hardcode_direct_CXX
=yes
13516 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13517 # but as the default
13518 # location of the library.
13520 case $cc_basename in
13522 # FIXME: insert proper C++ library support
13526 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'
13527 # Commands to make compiler produce verbose output that lists
13528 # what "hidden" libraries, object files and flags are used when
13529 # linking a shared library.
13531 # There doesn't appear to be a way to prevent this compiler from
13532 # explicitly linking system object files so we need to strip them
13533 # from the output so that they don't get included in the library
13535 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"'
13538 if test "$GXX" = yes; then
13539 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'
13541 # FIXME: insert proper C++ library support
13549 if test $with_gnu_ld = no
; then
13550 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13551 hardcode_libdir_separator_CXX
=:
13557 export_dynamic_flag_spec_CXX
='${wl}-E'
13563 hardcode_direct_CXX
=no
13564 hardcode_shlibpath_var_CXX
=no
13567 hardcode_direct_CXX
=yes
13568 hardcode_direct_absolute_CXX
=yes
13569 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13570 # but as the default
13571 # location of the library.
13575 case $cc_basename in
13577 # FIXME: insert proper C++ library support
13583 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13586 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13589 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13592 # Commands to make compiler produce verbose output that lists
13593 # what "hidden" libraries, object files and flags are used when
13594 # linking a shared library.
13596 # There doesn't appear to be a way to prevent this compiler from
13597 # explicitly linking system object files so we need to strip them
13598 # from the output so that they don't get included in the library
13600 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"'
13603 if test "$GXX" = yes; then
13604 if test $with_gnu_ld = no
; then
13607 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13610 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13613 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'
13618 # FIXME: insert proper C++ library support
13626 hardcode_direct_CXX
=no
13627 hardcode_shlibpath_var_CXX
=no
13628 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13629 export_dynamic_flag_spec_CXX
='${wl}-E'
13630 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13631 # Instead, shared libraries are loaded at an image base (0x10000000 by
13632 # default) and relocated if they conflict, which is a slow very memory
13633 # consuming and fragmenting process. To avoid this, we pick a random,
13634 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13635 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13636 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'
13637 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'
13640 case $cc_basename in
13643 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'
13645 # Archives containing C++ object files must be created using
13646 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13647 # necessary to make sure instantiated templates are included
13649 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13652 if test "$GXX" = yes; then
13653 if test "$with_gnu_ld" = no
; then
13654 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'
13656 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'
13659 link_all_deplibs_CXX
=yes
13662 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13663 hardcode_libdir_separator_CXX
=:
13664 inherit_rpath_CXX
=yes
13667 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13668 case $cc_basename in
13670 # Kuck and Associates, Inc. (KAI) C++ Compiler
13672 # KCC will only create a shared library if the output file
13673 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13674 # to its proper name (with version) after linking.
13675 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'
13676 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'
13677 # Commands to make compiler produce verbose output that lists
13678 # what "hidden" libraries, object files and flags are used when
13679 # linking a shared library.
13681 # There doesn't appear to be a way to prevent this compiler from
13682 # explicitly linking system object files so we need to strip them
13683 # from the output so that they don't get included in the library
13685 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"'
13687 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13688 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13690 # Archives containing C++ object files must be created using
13691 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13692 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13697 # version 8.0 and above of icpc choke on multiply defined symbols
13698 # if we add $predep_objects and $postdep_objects, however 7.1 and
13699 # earlier do not add the objects themselves.
13700 case `$CC -V 2>&1` in
13702 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13703 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'
13705 *) # Version 8.0 or newer
13708 ia64
*) tmp_idyn
=' -i_dynamic';;
13710 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13711 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'
13714 archive_cmds_need_lc_CXX
=no
13715 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13716 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13717 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13720 # Portland Group C++ compiler
13722 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13723 prelink_cmds_CXX
='tpldir=Template.dir~
13725 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13726 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13727 old_archive_cmds_CXX
='tpldir=Template.dir~
13729 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13730 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13732 archive_cmds_CXX
='tpldir=Template.dir~
13734 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13735 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13736 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13738 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13739 $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'
13741 *) # Version 6 and above use weak symbols
13742 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13743 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'
13747 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13748 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13749 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'
13753 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13754 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'
13756 runpath_var
=LD_RUN_PATH
13757 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13758 hardcode_libdir_separator_CXX
=:
13760 # Commands to make compiler produce verbose output that lists
13761 # what "hidden" libraries, object files and flags are used when
13762 # linking a shared library.
13764 # There doesn't appear to be a way to prevent this compiler from
13765 # explicitly linking system object files so we need to strip them
13766 # from the output so that they don't get included in the library
13768 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'
13770 xl
* | mpixl
* | bgxl
*)
13771 # IBM XL 8.0 on PPC, with GNU ld
13772 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13773 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13774 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13775 if test "x$supports_anon_versioning" = xyes
; then
13776 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13777 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13778 echo "local: *; };" >> $output_objdir/$libname.ver~
13779 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13783 case `$CC -V 2>&1 | sed 5q` in
13786 no_undefined_flag_CXX
=' -zdefs'
13787 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13788 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'
13789 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13790 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'
13791 compiler_needs_object_CXX
=yes
13793 # Not sure whether something based on
13794 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13796 output_verbose_link_cmd
='func_echo_all'
13798 # Archives containing C++ object files must be created using
13799 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13800 # necessary to make sure instantiated templates are included
13802 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13810 # FIXME: insert proper C++ library support
13815 # FIXME: insert proper C++ library support
13820 case $cc_basename in
13822 # FIXME: insert proper C++ library support
13826 # FIXME: insert proper C++ library support
13833 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13834 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13836 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13837 hardcode_direct_CXX
=yes
13838 hardcode_shlibpath_var_CXX
=no
13840 # Workaround some broken pre-1.5 toolchains
13841 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13849 # C++ shared libraries are fairly broken
13854 if test -f /usr
/libexec
/ld.so
; then
13855 hardcode_direct_CXX
=yes
13856 hardcode_shlibpath_var_CXX
=no
13857 hardcode_direct_absolute_CXX
=yes
13858 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13859 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13860 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13861 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13862 export_dynamic_flag_spec_CXX
='${wl}-E'
13863 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13865 output_verbose_link_cmd
=func_echo_all
13871 osf3
* | osf4
* | osf5
*)
13872 case $cc_basename in
13874 # Kuck and Associates, Inc. (KAI) C++ Compiler
13876 # KCC will only create a shared library if the output file
13877 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13878 # to its proper name (with version) after linking.
13879 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'
13881 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13882 hardcode_libdir_separator_CXX
=:
13884 # Archives containing C++ object files must be created using
13885 # the KAI C++ compiler.
13887 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13888 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13892 # Rational C++ 2.4.1
13893 # FIXME: insert proper C++ library support
13899 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13900 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'
13901 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13904 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13905 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'
13906 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13907 echo "-hidden">> $lib.exp~
13908 $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~
13910 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13914 hardcode_libdir_separator_CXX
=:
13916 # Commands to make compiler produce verbose output that lists
13917 # what "hidden" libraries, object files and flags are used when
13918 # linking a shared library.
13920 # There doesn't appear to be a way to prevent this compiler from
13921 # explicitly linking system object files so we need to strip them
13922 # from the output so that they don't get included in the library
13924 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"'
13927 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13928 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13931 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'
13934 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'
13938 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13939 hardcode_libdir_separator_CXX
=:
13941 # Commands to make compiler produce verbose output that lists
13942 # what "hidden" libraries, object files and flags are used when
13943 # linking a shared library.
13944 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13947 # FIXME: insert proper C++ library support
13955 # FIXME: insert proper C++ library support
13960 case $cc_basename in
13963 # FIXME: insert proper C++ library support
13968 # FIXME: insert proper C++ library support
13972 # FIXME: insert proper C++ library support
13979 case $cc_basename in
13981 # Sun C++ 4.2, 5.x and Centerline C++
13982 archive_cmds_need_lc_CXX
=yes
13983 no_undefined_flag_CXX
=' -zdefs'
13984 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13985 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13986 $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'
13988 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13989 hardcode_shlibpath_var_CXX
=no
13991 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13993 # The compiler driver will combine and reorder linker options,
13994 # but understands `-z linker_flag'.
13995 # Supported since Solaris 2.6 (maybe 2.5.1?)
13996 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13999 link_all_deplibs_CXX
=yes
14001 output_verbose_link_cmd
='func_echo_all'
14003 # Archives containing C++ object files must be created using
14004 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14005 # necessary to make sure instantiated templates are included
14007 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14010 # Green Hills C++ Compiler
14011 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14013 # The C++ compiler must be used to create the archive.
14014 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14017 # GNU C++ compiler with Solaris linker
14018 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14019 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14020 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14021 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14022 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14023 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14025 # Commands to make compiler produce verbose output that lists
14026 # what "hidden" libraries, object files and flags are used when
14027 # linking a shared library.
14028 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14030 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14032 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14033 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14034 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14036 # Commands to make compiler produce verbose output that lists
14037 # what "hidden" libraries, object files and flags are used when
14038 # linking a shared library.
14039 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14042 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14044 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14046 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14054 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14055 no_undefined_flag_CXX
='${wl}-z,text'
14056 archive_cmds_need_lc_CXX
=no
14057 hardcode_shlibpath_var_CXX
=no
14058 runpath_var
='LD_RUN_PATH'
14060 case $cc_basename in
14062 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14063 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14066 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14067 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14072 sysv5
* | sco3.2v5
* | sco5v6
*)
14073 # Note: We can NOT use -z defs as we might desire, because we do not
14074 # link with -lc, and that would cause any symbols used from libc to
14075 # always be unresolved, which means just about no library would
14076 # ever link correctly. If we're not using GNU ld we use -z text
14077 # though, which does catch some bad symbols but isn't as heavy-handed
14079 no_undefined_flag_CXX
='${wl}-z,text'
14080 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14081 archive_cmds_need_lc_CXX
=no
14082 hardcode_shlibpath_var_CXX
=no
14083 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14084 hardcode_libdir_separator_CXX
=':'
14085 link_all_deplibs_CXX
=yes
14086 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14087 runpath_var
='LD_RUN_PATH'
14089 case $cc_basename in
14091 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14092 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14093 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14094 '"$old_archive_cmds_CXX"
14095 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14096 '"$reload_cmds_CXX"
14099 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14100 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14106 case $cc_basename in
14108 # NonStop-UX NCC 3.20
14109 # FIXME: insert proper C++ library support
14113 # FIXME: insert proper C++ library support
14120 # FIXME: insert proper C++ library support
14125 # FIXME: insert proper C++ library support
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14131 $as_echo "$ld_shlibs_CXX" >&6; }
14132 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14138 ## There is no encapsulation within the following macros, do not change
14139 ## the running order or otherwise move them around unless you know exactly
14140 ## what you are doing...
14141 # Dependencies to place before and after the object being linked:
14142 predep_objects_CXX
=
14143 postdep_objects_CXX
=
14146 compiler_lib_search_path_CXX
=
14148 cat > conftest.
$ac_ext <<_LT_EOF
14152 Foo (void) { a = 0; }
14159 _lt_libdeps_save_CFLAGS
=$CFLAGS
14160 case "$CC $CFLAGS " in #(
14161 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14162 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14163 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14167 (eval $ac_compile) 2>&5
14169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14170 test $ac_status = 0; }; then
14171 # Parse the compiler output and extract the necessary
14172 # objects, libraries and library flags.
14174 # Sentinel used to keep track of whether or not we are before
14175 # the conftest object file.
14176 pre_test_object_deps_done
=no
14178 for p
in `eval "$output_verbose_link_cmd"`; do
14179 case ${prev}${p} in
14182 # Some compilers place space between "-{L,R}" and the path.
14183 # Remove the space.
14184 if test $p = "-L" ||
14185 test $p = "-R"; then
14190 # Expand the sysroot to ease extracting the directories later.
14191 if test -z "$prev"; then
14193 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14194 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14195 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14199 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14201 if test "$pre_test_object_deps_done" = no
; then
14204 # Internal compiler library paths should come after those
14205 # provided the user. The postdeps already come after the
14206 # user supplied libs so there is no need to process them.
14207 if test -z "$compiler_lib_search_path_CXX"; then
14208 compiler_lib_search_path_CXX
="${prev}${p}"
14210 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14213 # The "-l" case would never come before the object being
14214 # linked, so don't bother handling this case.
14217 if test -z "$postdeps_CXX"; then
14218 postdeps_CXX
="${prev}${p}"
14220 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14226 *.lto.
$objext) ;; # Ignore GCC LTO objects
14228 # This assumes that the test object file only shows up
14229 # once in the compiler output.
14230 if test "$p" = "conftest.$objext"; then
14231 pre_test_object_deps_done
=yes
14235 if test "$pre_test_object_deps_done" = no
; then
14236 if test -z "$predep_objects_CXX"; then
14237 predep_objects_CXX
="$p"
14239 predep_objects_CXX
="$predep_objects_CXX $p"
14242 if test -z "$postdep_objects_CXX"; then
14243 postdep_objects_CXX
="$p"
14245 postdep_objects_CXX
="$postdep_objects_CXX $p"
14250 *) ;; # Ignore the rest.
14258 echo "libtool.m4: error: problem compiling CXX test program"
14261 $RM -f confest.
$objext
14262 CFLAGS
=$_lt_libdeps_save_CFLAGS
14264 # PORTME: override above test on systems where it is broken
14267 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14268 # hack all around it, let's just trust "g++" to DTRT.
14269 predep_objects_CXX
=
14270 postdep_objects_CXX
=
14275 case `$CC -V 2>&1 | sed 5q` in
14279 # The more standards-conforming stlport4 library is
14280 # incompatible with the Cstd library. Avoid specifying
14281 # it if it's in CXXFLAGS. Ignore libCrun as
14282 # -library=stlport4 depends on it.
14283 case " $CXX $CXXFLAGS " in
14284 *" -library=stlport4 "*)
14285 solaris_use_stlport4
=yes
14289 if test "$solaris_use_stlport4" != yes; then
14290 postdeps_CXX
='-library=Cstd -library=Crun'
14297 case $cc_basename in
14299 # The more standards-conforming stlport4 library is
14300 # incompatible with the Cstd library. Avoid specifying
14301 # it if it's in CXXFLAGS. Ignore libCrun as
14302 # -library=stlport4 depends on it.
14303 case " $CXX $CXXFLAGS " in
14304 *" -library=stlport4 "*)
14305 solaris_use_stlport4
=yes
14309 # Adding this requires a known-good setup of shared libraries for
14310 # Sun compiler versions before 5.6, else PIC objects from an old
14311 # archive will be linked into the output, leading to subtle bugs.
14312 if test "$solaris_use_stlport4" != yes; then
14313 postdeps_CXX
='-library=Cstd -library=Crun'
14321 case " $postdeps_CXX " in
14322 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14324 compiler_lib_search_dirs_CXX
=
14325 if test -n "${compiler_lib_search_path_CXX}"; then
14326 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14359 lt_prog_compiler_wl_CXX
=
14360 lt_prog_compiler_pic_CXX
=
14361 lt_prog_compiler_static_CXX
=
14364 # C++ specific cases for pic, static, wl, etc.
14365 if test "$GXX" = yes; then
14366 lt_prog_compiler_wl_CXX
='-Wl,'
14367 lt_prog_compiler_static_CXX
='-static'
14371 # All AIX code is PIC.
14372 if test "$host_cpu" = ia64
; then
14373 # AIX 5 now supports IA64 processor
14374 lt_prog_compiler_static_CXX
='-Bstatic'
14381 # see comment about AmigaOS4 .so support
14382 lt_prog_compiler_pic_CXX
='-fPIC'
14385 # FIXME: we need at least 68020 code to build shared libraries, but
14386 # adding the `-m68020' flag to GCC prevents building anything better,
14388 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14393 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14394 # PIC is the default for these OSes.
14396 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14397 # This hack is so that the source file can tell whether it is being
14398 # built for inclusion in a dll (and should export symbols for example).
14399 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14400 # (--disable-auto-import) libraries
14401 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14403 darwin
* | rhapsody
*)
14404 # PIC is the default on this platform
14405 # Common symbols not allowed in MH_DYLIB files
14406 lt_prog_compiler_pic_CXX
='-fno-common'
14409 # DJGPP does not support shared libraries at all
14410 lt_prog_compiler_pic_CXX
=
14413 # PIC is the default for Haiku.
14414 # The "-static" flag exists, but is broken.
14415 lt_prog_compiler_static_CXX
=
14418 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14419 # Instead, we relocate shared libraries at runtime.
14422 if test -d /usr
/nec
; then
14423 lt_prog_compiler_pic_CXX
=-Kconform_pic
14427 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14428 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14429 # sets the default TLS model and affects inlining.
14434 lt_prog_compiler_pic_CXX
='-fPIC'
14439 # QNX uses GNU C++, but need to define -shared option too, otherwise
14440 # it will coredump.
14441 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14444 lt_prog_compiler_pic_CXX
='-fPIC'
14450 # All AIX code is PIC.
14451 if test "$host_cpu" = ia64
; then
14452 # AIX 5 now supports IA64 processor
14453 lt_prog_compiler_static_CXX
='-Bstatic'
14455 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14459 case $cc_basename in
14461 # Green Hills C++ Compiler
14462 # _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"
14466 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14467 # This hack is so that the source file can tell whether it is being
14468 # built for inclusion in a dll (and should export symbols for example).
14469 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14472 case $cc_basename in
14474 lt_prog_compiler_pic_CXX
='-KPIC'
14477 # Green Hills C++ Compiler
14478 lt_prog_compiler_pic_CXX
='-pic'
14484 freebsd
* | dragonfly
*)
14485 # FreeBSD uses GNU C++
14487 hpux9
* | hpux10
* | hpux11
*)
14488 case $cc_basename in
14490 lt_prog_compiler_wl_CXX
='-Wl,'
14491 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14492 if test "$host_cpu" != ia64
; then
14493 lt_prog_compiler_pic_CXX
='+Z'
14497 lt_prog_compiler_wl_CXX
='-Wl,'
14498 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14504 lt_prog_compiler_pic_CXX
='+Z'
14513 # This is c89, which is MS Visual C++ (no shared libs)
14514 # Anyone wants to do a port?
14516 irix5
* | irix6
* | nonstopux
*)
14517 case $cc_basename in
14519 lt_prog_compiler_wl_CXX
='-Wl,'
14520 lt_prog_compiler_static_CXX
='-non_shared'
14521 # CC pic flag -KPIC is the default.
14527 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14528 case $cc_basename in
14531 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14532 lt_prog_compiler_pic_CXX
='-fPIC'
14535 # old Intel C++ for x86_64 which still supported -KPIC.
14536 lt_prog_compiler_wl_CXX
='-Wl,'
14537 lt_prog_compiler_pic_CXX
='-KPIC'
14538 lt_prog_compiler_static_CXX
='-static'
14541 # Intel C++, used to be incompatible with GCC.
14542 # ICC 10 doesn't accept -KPIC any more.
14543 lt_prog_compiler_wl_CXX
='-Wl,'
14544 lt_prog_compiler_pic_CXX
='-fPIC'
14545 lt_prog_compiler_static_CXX
='-static'
14548 # Portland Group C++ compiler
14549 lt_prog_compiler_wl_CXX
='-Wl,'
14550 lt_prog_compiler_pic_CXX
='-fpic'
14551 lt_prog_compiler_static_CXX
='-Bstatic'
14555 # Make sure the PIC flag is empty. It appears that all Alpha
14556 # Linux and Compaq Tru64 Unix objects are PIC.
14557 lt_prog_compiler_pic_CXX
=
14558 lt_prog_compiler_static_CXX
='-non_shared'
14560 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14561 # IBM XL 8.0, 9.0 on PPC and BlueGene
14562 lt_prog_compiler_wl_CXX
='-Wl,'
14563 lt_prog_compiler_pic_CXX
='-qpic'
14564 lt_prog_compiler_static_CXX
='-qstaticlink'
14567 case `$CC -V 2>&1 | sed 5q` in
14570 lt_prog_compiler_pic_CXX
='-KPIC'
14571 lt_prog_compiler_static_CXX
='-Bstatic'
14572 lt_prog_compiler_wl_CXX
='-Qoption ld '
14583 case $cc_basename in
14585 lt_prog_compiler_pic_CXX
='-W c,exportall'
14594 # QNX uses GNU C++, but need to define -shared option too, otherwise
14595 # it will coredump.
14596 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14598 osf3
* | osf4
* | osf5
*)
14599 case $cc_basename in
14601 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14604 # Rational C++ 2.4.1
14605 lt_prog_compiler_pic_CXX
='-pic'
14608 # Digital/Compaq C++
14609 lt_prog_compiler_wl_CXX
='-Wl,'
14610 # Make sure the PIC flag is empty. It appears that all Alpha
14611 # Linux and Compaq Tru64 Unix objects are PIC.
14612 lt_prog_compiler_pic_CXX
=
14613 lt_prog_compiler_static_CXX
='-non_shared'
14622 case $cc_basename in
14624 # Sun C++ 4.2, 5.x and Centerline C++
14625 lt_prog_compiler_pic_CXX
='-KPIC'
14626 lt_prog_compiler_static_CXX
='-Bstatic'
14627 lt_prog_compiler_wl_CXX
='-Qoption ld '
14630 # Green Hills C++ Compiler
14631 lt_prog_compiler_pic_CXX
='-PIC'
14638 case $cc_basename in
14641 lt_prog_compiler_pic_CXX
='-pic'
14642 lt_prog_compiler_static_CXX
='-Bstatic'
14646 lt_prog_compiler_pic_CXX
='-pic'
14652 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14653 case $cc_basename in
14655 lt_prog_compiler_wl_CXX
='-Wl,'
14656 lt_prog_compiler_pic_CXX
='-KPIC'
14657 lt_prog_compiler_static_CXX
='-Bstatic'
14662 case $cc_basename in
14664 # NonStop-UX NCC 3.20
14665 lt_prog_compiler_pic_CXX
='-KPIC'
14674 lt_prog_compiler_can_build_shared_CXX
=no
14680 # For platforms which do not support PIC, -DPIC is meaningless:
14682 lt_prog_compiler_pic_CXX
=
14685 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14690 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14691 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14692 $as_echo_n "(cached) " >&6
14694 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14697 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14698 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14701 # Check to make sure the PIC flag actually works.
14703 if test -n "$lt_prog_compiler_pic_CXX"; then
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14705 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14706 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14707 $as_echo_n "(cached) " >&6
14709 lt_cv_prog_compiler_pic_works_CXX
=no
14710 ac_outfile
=conftest.
$ac_objext
14711 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14712 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14713 # Insert the option either (1) after the last *FLAGS variable, or
14714 # (2) before a word containing "conftest.", or (3) at the end.
14715 # Note that $ac_compile itself does not contain backslashes and begins
14716 # with a dollar sign (not a hyphen), so the echo should work correctly.
14717 # The option is referenced via a variable to avoid confusing sed.
14718 lt_compile
=`echo "$ac_compile" | $SED \
14719 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14720 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14721 -e 's:$: $lt_compiler_flag:'`
14722 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14723 (eval "$lt_compile" 2>conftest.err
)
14725 cat conftest.err
>&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 if (exit $ac_status) && test -s "$ac_outfile"; then
14728 # The compiler can only warn and ignore the option if not recognized
14729 # So say no if there are warnings other than the usual output.
14730 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14731 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14732 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14733 lt_cv_prog_compiler_pic_works_CXX
=yes
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14740 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14742 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14743 case $lt_prog_compiler_pic_CXX in
14745 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14748 lt_prog_compiler_pic_CXX
=
14749 lt_prog_compiler_can_build_shared_CXX
=no
14759 # Check to make sure the static flag actually works.
14761 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14763 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14764 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14765 $as_echo_n "(cached) " >&6
14767 lt_cv_prog_compiler_static_works_CXX
=no
14768 save_LDFLAGS
="$LDFLAGS"
14769 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14770 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14771 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14772 # The linker can only warn and ignore the option if not recognized
14773 # So say no if there are warnings
14774 if test -s conftest.err
; then
14775 # Append any errors to the config.log.
14776 cat conftest.err
1>&5
14777 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14778 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14779 if diff conftest.exp conftest.er2
>/dev
/null
; then
14780 lt_cv_prog_compiler_static_works_CXX
=yes
14783 lt_cv_prog_compiler_static_works_CXX
=yes
14787 LDFLAGS
="$save_LDFLAGS"
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14791 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14793 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14796 lt_prog_compiler_static_CXX
=
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14803 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14804 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14805 $as_echo_n "(cached) " >&6
14807 lt_cv_prog_compiler_c_o_CXX
=no
14808 $RM -r conftest
2>/dev
/null
14812 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14814 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14815 # Insert the option either (1) after the last *FLAGS variable, or
14816 # (2) before a word containing "conftest.", or (3) at the end.
14817 # Note that $ac_compile itself does not contain backslashes and begins
14818 # with a dollar sign (not a hyphen), so the echo should work correctly.
14819 lt_compile
=`echo "$ac_compile" | $SED \
14820 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14822 -e 's:$: $lt_compiler_flag:'`
14823 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14824 (eval "$lt_compile" 2>out
/conftest.err
)
14826 cat out
/conftest.err
>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14830 # The compiler can only warn and ignore the option if not recognized
14831 # So say no if there are warnings
14832 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14833 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14834 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14835 lt_cv_prog_compiler_c_o_CXX
=yes
14840 # SGI C++ compiler will create directory out/ii_files/ for
14841 # template instantiation
14842 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14843 $RM out
/* && rmdir out
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14850 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14855 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14856 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14857 $as_echo_n "(cached) " >&6
14859 lt_cv_prog_compiler_c_o_CXX
=no
14860 $RM -r conftest
2>/dev
/null
14864 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14866 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14867 # Insert the option either (1) after the last *FLAGS variable, or
14868 # (2) before a word containing "conftest.", or (3) at the end.
14869 # Note that $ac_compile itself does not contain backslashes and begins
14870 # with a dollar sign (not a hyphen), so the echo should work correctly.
14871 lt_compile
=`echo "$ac_compile" | $SED \
14872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14874 -e 's:$: $lt_compiler_flag:'`
14875 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14876 (eval "$lt_compile" 2>out
/conftest.err
)
14878 cat out
/conftest.err
>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14882 # The compiler can only warn and ignore the option if not recognized
14883 # So say no if there are warnings
14884 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14885 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14886 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14887 lt_cv_prog_compiler_c_o_CXX
=yes
14892 # SGI C++ compiler will create directory out/ii_files/ for
14893 # template instantiation
14894 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14895 $RM out
/* && rmdir out
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14902 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14907 hard_links
="nottested"
14908 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14909 # do not overwrite the value of need_locks provided by the user
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14911 $as_echo_n "checking if we can lock with hard links... " >&6; }
14914 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14916 ln conftest.a conftest.b
2>&5 || hard_links
=no
14917 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14919 $as_echo "$hard_links" >&6; }
14920 if test "$hard_links" = no
; then
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14922 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14932 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14934 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14935 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14938 # If we're using GNU nm, then we don't want the "-C" option.
14939 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14940 # Also, AIX nm treats weak defined symbols like other global defined
14941 # symbols, whereas GNU nm marks them as "W".
14942 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14943 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'
14945 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'
14949 export_symbols_cmds_CXX
="$ltdll_cmds"
14951 cygwin
* | mingw
* | cegcc
*)
14952 case $cc_basename in
14954 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14957 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'
14958 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14963 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14968 $as_echo "$ld_shlibs_CXX" >&6; }
14969 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14971 with_gnu_ld_CXX
=$with_gnu_ld
14979 # Do we need to explicitly link libc?
14981 case "x$archive_cmds_need_lc_CXX" in
14983 # Assume -lc should be added
14984 archive_cmds_need_lc_CXX
=yes
14986 if test "$enable_shared" = yes && test "$GCC" = yes; then
14987 case $archive_cmds_CXX in
14989 # FIXME: we may have to deal with multi-command sequences.
14992 # Test whether the compiler implicitly links with -lc since on some
14993 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14994 # to ld, don't add -lc before -lgcc.
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14996 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14997 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14998 $as_echo_n "(cached) " >&6
15001 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15004 (eval $ac_compile) 2>&5
15006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15007 test $ac_status = 0; } 2>conftest.err
; then
15010 libobjs
=conftest.
$ac_objext
15012 wl
=$lt_prog_compiler_wl_CXX
15013 pic_flag
=$lt_prog_compiler_pic_CXX
15019 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15020 allow_undefined_flag_CXX
=
15021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15022 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15025 test $ac_status = 0; }
15027 lt_cv_archive_cmds_need_lc_CXX
=no
15029 lt_cv_archive_cmds_need_lc_CXX
=yes
15031 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15033 cat conftest.err
1>&5
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15039 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15040 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15109 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15111 library_names_spec
=
15112 libname_spec
='lib$name'
15116 postuninstall_cmds
=
15120 shlibpath_overrides_runpath
=unknown
15122 dynamic_linker
="$host_os ld.so"
15123 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15124 need_lib_prefix
=unknown
15125 hardcode_into_libs
=no
15127 # when you set need_version to no, make sure it does not cause -set_version
15128 # flags to be left without arguments
15129 need_version
=unknown
15133 version_type
=linux
# correct to gnu/linux during the next big refactor
15134 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15135 shlibpath_var
=LIBPATH
15137 # AIX 3 has no versioning support, so we append a major version to the name.
15138 soname_spec
='${libname}${release}${shared_ext}$major'
15142 version_type
=linux
# correct to gnu/linux during the next big refactor
15145 hardcode_into_libs
=yes
15146 if test "$host_cpu" = ia64
; then
15147 # AIX 5 supports IA64
15148 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15149 shlibpath_var
=LD_LIBRARY_PATH
15151 # With GCC up to 2.95.x, collect2 would create an import file
15152 # for dependence libraries. The import file would start with
15153 # the line `#! .'. This would cause the generated library to
15154 # depend on `.', always an invalid library. This was fixed in
15155 # development snapshots of GCC prior to 3.0.
15157 aix4
| aix4.
[01] | aix4.
[01].
*)
15158 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15160 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15163 can_build_shared
=no
15167 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15168 # soname into executable. Probably we can add versioning support to
15169 # collect2, so additional links can be useful in future.
15170 if test "$aix_use_runtimelinking" = yes; then
15171 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15172 # instead of lib<name>.a to let people know that these are not
15173 # typical AIX shared libraries.
15174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15176 # We preserve .a as extension for shared libraries through AIX4.2
15177 # and later when we are not doing run time linking.
15178 library_names_spec
='${libname}${release}.a $libname.a'
15179 soname_spec
='${libname}${release}${shared_ext}$major'
15181 shlibpath_var
=LIBPATH
15188 # Since July 2007 AmigaOS4 officially supports .so libraries.
15189 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15193 library_names_spec
='$libname.ixlibrary $libname.a'
15194 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15195 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'
15201 library_names_spec
='${libname}${shared_ext}'
15202 dynamic_linker
="$host_os ld.so"
15203 shlibpath_var
=LIBRARY_PATH
15207 version_type
=linux
# correct to gnu/linux during the next big refactor
15209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15210 soname_spec
='${libname}${release}${shared_ext}$major'
15211 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15212 shlibpath_var
=LD_LIBRARY_PATH
15213 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15214 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15215 # the default ld.so.conf also contains /usr/contrib/lib and
15216 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15217 # libtool to hard-code these into programs
15220 cygwin
* | mingw
* | pw32
* | cegcc
*)
15221 version_type
=windows
15226 case $GCC,$cc_basename in
15229 library_names_spec
='$libname.dll.a'
15230 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15231 postinstall_cmds
='base_file=`basename \${file}`~
15232 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15233 dldir=$destdir/`dirname \$dlpath`~
15234 test -d \$dldir || mkdir -p \$dldir~
15235 $install_prog $dir/$dlname \$dldir/$dlname~
15236 chmod a+x \$dldir/$dlname~
15237 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15238 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15240 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15241 dlpath=$dir/\$dldll~
15243 shlibpath_overrides_runpath
=yes
15247 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15248 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15252 # MinGW DLLs use traditional 'lib' prefix
15253 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15256 # pw32 DLLs use 'pw' prefix rather than 'lib'
15257 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15260 dynamic_linker
='Win32 ld.exe'
15265 libname_spec
='$name'
15266 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15267 library_names_spec
='${libname}.dll.lib'
15271 sys_lib_search_path_spec
=
15274 for lt_path
in $LIB
15277 # Let DOS variable expansion print the short 8.3 style file name.
15278 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15279 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15282 # Convert to MSYS style.
15283 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15286 # Convert to unix form, then to dos form, then back to unix form
15287 # but this time dos style (no spaces!) so that the unix form looks
15288 # like /cygdrive/c/PROGRA~1:/cygdr...
15289 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15290 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15291 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15294 sys_lib_search_path_spec
="$LIB"
15295 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15296 # It is most probably a Windows format PATH.
15297 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15299 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15301 # FIXME: find the short name or the path components, as spaces are
15302 # common. (e.g. "Program Files" -> "PROGRA~1")
15306 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15307 postinstall_cmds
='base_file=`basename \${file}`~
15308 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15309 dldir=$destdir/`dirname \$dlpath`~
15310 test -d \$dldir || mkdir -p \$dldir~
15311 $install_prog $dir/$dlname \$dldir/$dlname'
15312 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15313 dlpath=$dir/\$dldll~
15315 shlibpath_overrides_runpath
=yes
15316 dynamic_linker
='Win32 link.exe'
15320 # Assume MSVC wrapper
15321 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15322 dynamic_linker
='Win32 ld.exe'
15325 # FIXME: first we should search . and the directory the executable is in
15329 darwin
* | rhapsody
*)
15330 dynamic_linker
="$host_os dyld"
15331 version_type
=darwin
15334 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15335 soname_spec
='${libname}${release}${major}$shared_ext'
15336 shlibpath_overrides_runpath
=yes
15337 shlibpath_var
=DYLD_LIBRARY_PATH
15338 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15340 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15344 version_type
=linux
# correct to gnu/linux during the next big refactor
15347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15348 soname_spec
='${libname}${release}${shared_ext}$major'
15349 shlibpath_var
=LD_LIBRARY_PATH
15352 freebsd
* | dragonfly
*)
15353 # DragonFly does not have aout. When/if they implement a new
15354 # versioning mechanism, adjust this.
15355 if test -x /usr
/bin
/objformat
; then
15356 objformat
=`/usr/bin/objformat`
15359 freebsd
[23].
*) objformat
=aout
;;
15360 *) objformat
=elf
;;
15363 version_type
=freebsd
-$objformat
15364 case $version_type in
15366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15371 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15375 shlibpath_var
=LD_LIBRARY_PATH
15378 shlibpath_overrides_runpath
=yes
15380 freebsd3.
[01]* | freebsdelf3.
[01]*)
15381 shlibpath_overrides_runpath
=yes
15382 hardcode_into_libs
=yes
15384 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15385 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15386 shlibpath_overrides_runpath
=no
15387 hardcode_into_libs
=yes
15389 *) # from 4.6 on, and DragonFly
15390 shlibpath_overrides_runpath
=yes
15391 hardcode_into_libs
=yes
15397 version_type
=linux
# correct to gnu/linux during the next big refactor
15400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15401 soname_spec
='${libname}${release}${shared_ext}$major'
15402 shlibpath_var
=LD_LIBRARY_PATH
15403 shlibpath_overrides_runpath
=no
15404 hardcode_into_libs
=yes
15408 version_type
=linux
# correct to gnu/linux during the next big refactor
15411 dynamic_linker
="$host_os runtime_loader"
15412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15413 soname_spec
='${libname}${release}${shared_ext}$major'
15414 shlibpath_var
=LIBRARY_PATH
15415 shlibpath_overrides_runpath
=yes
15416 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15417 hardcode_into_libs
=yes
15420 hpux9
* | hpux10
* | hpux11
*)
15421 # Give a soname corresponding to the major version so that dld.sl refuses to
15422 # link against other versions.
15429 hardcode_into_libs
=yes
15430 dynamic_linker
="$host_os dld.so"
15431 shlibpath_var
=LD_LIBRARY_PATH
15432 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15434 soname_spec
='${libname}${release}${shared_ext}$major'
15435 if test "X$HPUX_IA64_MODE" = X32
; then
15436 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15438 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15440 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15444 hardcode_into_libs
=yes
15445 dynamic_linker
="$host_os dld.sl"
15446 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15447 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15449 soname_spec
='${libname}${release}${shared_ext}$major'
15450 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15451 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15455 dynamic_linker
="$host_os dld.sl"
15456 shlibpath_var
=SHLIB_PATH
15457 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15459 soname_spec
='${libname}${release}${shared_ext}$major'
15462 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15463 postinstall_cmds
='chmod 555 $lib'
15464 # or fails outright, so override atomically:
15465 install_override_mode
=555
15469 version_type
=linux
# correct to gnu/linux during the next big refactor
15472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15473 soname_spec
='${libname}${release}${shared_ext}$major'
15474 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15475 shlibpath_var
=LD_LIBRARY_PATH
15476 shlibpath_overrides_runpath
=no
15477 hardcode_into_libs
=yes
15480 irix5
* | irix6
* | nonstopux
*)
15482 nonstopux
*) version_type
=nonstopux
;;
15484 if test "$lt_cv_prog_gnu_ld" = yes; then
15485 version_type
=linux
# correct to gnu/linux during the next big refactor
15492 soname_spec
='${libname}${release}${shared_ext}$major'
15493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15495 irix5
* | nonstopux
*)
15496 libsuff
= shlibsuff
=
15499 case $LD in # libtool.m4 will add one of these switches to LD
15500 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15501 libsuff
= shlibsuff
= libmagic
=32-bit;;
15502 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15503 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15504 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15505 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15506 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15510 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15511 shlibpath_overrides_runpath
=no
15512 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15513 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15514 hardcode_into_libs
=yes
15517 # No shared lib support for Linux oldld, aout, or coff.
15518 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15522 # This must be glibc/ELF.
15523 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15524 version_type
=linux
# correct to gnu/linux during the next big refactor
15527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15528 soname_spec
='${libname}${release}${shared_ext}$major'
15529 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15530 shlibpath_var
=LD_LIBRARY_PATH
15531 shlibpath_overrides_runpath
=no
15533 # Some binutils ld are patched to set DT_RUNPATH
15534 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15535 $as_echo_n "(cached) " >&6
15537 lt_cv_shlibpath_overrides_runpath
=no
15538 save_LDFLAGS
=$LDFLAGS
15539 save_libdir
=$libdir
15540 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15541 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15553 if ac_fn_cxx_try_link
"$LINENO"; then :
15554 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15555 lt_cv_shlibpath_overrides_runpath
=yes
15558 rm -f core conftest.err conftest.
$ac_objext \
15559 conftest
$ac_exeext conftest.
$ac_ext
15560 LDFLAGS
=$save_LDFLAGS
15561 libdir
=$save_libdir
15565 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15567 # This implies no fast_install, which is unacceptable.
15568 # Some rework will be needed to allow for fast_install
15569 # before this can be enabled.
15570 hardcode_into_libs
=yes
15572 # Append ld.so.conf contents to the search path
15573 if test -f /etc
/ld.so.conf
; then
15574 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' ' '`
15575 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15578 # We used to test for /lib/ld.so.1 and disable shared libraries on
15579 # powerpc, because MkLinux only supported shared libraries with the
15580 # GNU dynamic linker. Since this was broken with cross compilers,
15581 # most powerpc-linux boxes support dynamic linking these days and
15582 # people can always --disable-shared, the test was removed, and we
15583 # assume the GNU/Linux dynamic linker is in use.
15584 dynamic_linker
='GNU/Linux ld.so'
15591 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15593 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15594 dynamic_linker
='NetBSD (a.out) ld.so'
15596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15597 soname_spec
='${libname}${release}${shared_ext}$major'
15598 dynamic_linker
='NetBSD ld.elf_so'
15600 shlibpath_var
=LD_LIBRARY_PATH
15601 shlibpath_overrides_runpath
=yes
15602 hardcode_into_libs
=yes
15606 version_type
=linux
# correct to gnu/linux during the next big refactor
15607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15608 shlibpath_var
=LD_LIBRARY_PATH
15609 shlibpath_overrides_runpath
=yes
15616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15617 soname_spec
='${libname}${release}${shared_ext}$major'
15618 shlibpath_var
=LD_LIBRARY_PATH
15619 shlibpath_overrides_runpath
=no
15620 hardcode_into_libs
=yes
15621 dynamic_linker
='ldqnx.so'
15626 sys_lib_dlsearch_path_spec
="/usr/lib"
15628 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15630 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15631 *) need_version
=no
;;
15633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15634 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15635 shlibpath_var
=LD_LIBRARY_PATH
15636 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15638 openbsd2.
[89] | openbsd2.
[89].
*)
15639 shlibpath_overrides_runpath
=no
15642 shlibpath_overrides_runpath
=yes
15646 shlibpath_overrides_runpath
=yes
15651 libname_spec
='$name'
15654 library_names_spec
='$libname${shared_ext} $libname.a'
15655 dynamic_linker
='OS/2 ld.exe'
15656 shlibpath_var
=LIBPATH
15659 osf3
* | osf4
* | osf5
*)
15663 soname_spec
='${libname}${release}${shared_ext}$major'
15664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15665 shlibpath_var
=LD_LIBRARY_PATH
15666 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15667 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15675 version_type
=linux
# correct to gnu/linux during the next big refactor
15678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15679 soname_spec
='${libname}${release}${shared_ext}$major'
15680 shlibpath_var
=LD_LIBRARY_PATH
15681 shlibpath_overrides_runpath
=yes
15682 hardcode_into_libs
=yes
15683 # ldd complains unless libraries are executable
15684 postinstall_cmds
='chmod +x $lib'
15689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15690 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15691 shlibpath_var
=LD_LIBRARY_PATH
15692 shlibpath_overrides_runpath
=yes
15693 if test "$with_gnu_ld" = yes; then
15700 version_type
=linux
# correct to gnu/linux during the next big refactor
15701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15702 soname_spec
='${libname}${release}${shared_ext}$major'
15703 shlibpath_var
=LD_LIBRARY_PATH
15704 case $host_vendor in
15706 shlibpath_overrides_runpath
=no
15708 runpath_var
=LD_RUN_PATH
15716 shlibpath_overrides_runpath
=no
15717 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15723 if test -d /usr
/nec
;then
15724 version_type
=linux
# correct to gnu/linux during the next big refactor
15725 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15726 soname_spec
='$libname${shared_ext}.$major'
15727 shlibpath_var
=LD_LIBRARY_PATH
15731 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15732 version_type
=freebsd
-elf
15735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15736 soname_spec
='${libname}${release}${shared_ext}$major'
15737 shlibpath_var
=LD_LIBRARY_PATH
15738 shlibpath_overrides_runpath
=yes
15739 hardcode_into_libs
=yes
15740 if test "$with_gnu_ld" = yes; then
15741 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15743 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15746 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15750 sys_lib_dlsearch_path_spec
='/usr/lib'
15754 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15755 version_type
=linux
# correct to gnu/linux during the next big refactor
15758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15759 shlibpath_var
=LD_LIBRARY_PATH
15760 shlibpath_overrides_runpath
=no
15761 hardcode_into_libs
=yes
15765 version_type
=linux
# correct to gnu/linux during the next big refactor
15766 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15767 soname_spec
='${libname}${release}${shared_ext}$major'
15768 shlibpath_var
=LD_LIBRARY_PATH
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15776 $as_echo "$dynamic_linker" >&6; }
15777 test "$dynamic_linker" = no
&& can_build_shared
=no
15779 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15780 if test "$GCC" = yes; then
15781 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15784 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15785 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15787 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15788 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15829 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15830 hardcode_action_CXX
=
15831 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15832 test -n "$runpath_var_CXX" ||
15833 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15835 # We can hardcode non-existent directories.
15836 if test "$hardcode_direct_CXX" != no
&&
15837 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15838 # have to relink, otherwise we might link with an installed library
15839 # when we should be linking with a yet-to-be-installed one
15840 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15841 test "$hardcode_minus_L_CXX" != no
; then
15842 # Linking always hardcodes the temporary library directory.
15843 hardcode_action_CXX
=relink
15845 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15846 hardcode_action_CXX
=immediate
15849 # We cannot hardcode anything, or else we can only hardcode existing
15851 hardcode_action_CXX
=unsupported
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15854 $as_echo "$hardcode_action_CXX" >&6; }
15856 if test "$hardcode_action_CXX" = relink
||
15857 test "$inherit_rpath_CXX" = yes; then
15858 # Fast installation is not supported
15859 enable_fast_install
=no
15860 elif test "$shlibpath_overrides_runpath" = yes ||
15861 test "$enable_shared" = no
; then
15862 # Fast installation is not necessary
15863 enable_fast_install
=needless
15872 fi # test -n "$compiler"
15875 CFLAGS
=$lt_save_CFLAGS
15879 with_gnu_ld
=$lt_save_with_gnu_ld
15880 lt_cv_path_LDCXX
=$lt_cv_path_LD
15881 lt_cv_path_LD
=$lt_save_path_LD
15882 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15883 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15884 fi # test "$_lt_caught_CXX_error" != yes
15887 ac_cpp
='$CPP $CPPFLAGS'
15888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15906 ac_config_commands
="$ac_config_commands libtool"
15911 # Only expand once:
15916 ac_cpp
='$CXXCPP $CPPFLAGS'
15917 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15918 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15919 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15928 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15929 if test -n "$ac_tool_prefix"; then
15930 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15931 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15933 $as_echo_n "checking for $ac_word... " >&6; }
15934 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15935 $as_echo_n "(cached) " >&6
15937 case $PKG_CONFIG in
15939 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15943 for as_dir
in $PATH
15946 test -z "$as_dir" && as_dir
=.
15947 for ac_exec_ext
in '' $ac_executable_extensions; do
15948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15949 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15960 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15961 if test -n "$PKG_CONFIG"; then
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15963 $as_echo "$PKG_CONFIG" >&6; }
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15966 $as_echo "no" >&6; }
15971 if test -z "$ac_cv_path_PKG_CONFIG"; then
15972 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15973 # Extract the first word of "pkg-config", so it can be a program name with args.
15974 set dummy pkg
-config; ac_word
=$2
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15976 $as_echo_n "checking for $ac_word... " >&6; }
15977 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15978 $as_echo_n "(cached) " >&6
15980 case $ac_pt_PKG_CONFIG in
15982 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15986 for as_dir
in $PATH
15989 test -z "$as_dir" && as_dir
=.
15990 for ac_exec_ext
in '' $ac_executable_extensions; do
15991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15992 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16003 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16004 if test -n "$ac_pt_PKG_CONFIG"; then
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16006 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16009 $as_echo "no" >&6; }
16012 if test "x$ac_pt_PKG_CONFIG" = x
; then
16015 case $cross_compiling:$ac_tool_warned in
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16019 ac_tool_warned
=yes ;;
16021 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16024 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16028 if test -n "$PKG_CONFIG"; then
16029 _pkg_min_version
=0.22
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16031 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16032 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16034 $as_echo "yes" >&6; }
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16037 $as_echo "no" >&6; }
16042 # Extract the first word of "git", so it can be a program name with args.
16043 set dummy git
; ac_word
=$2
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16045 $as_echo_n "checking for $ac_word... " >&6; }
16046 if ${ac_cv_path_GIT+:} false
; then :
16047 $as_echo_n "(cached) " >&6
16051 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16055 for as_dir
in $PATH
16058 test -z "$as_dir" && as_dir
=.
16059 for ac_exec_ext
in '' $ac_executable_extensions; do
16060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16061 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16072 GIT
=$ac_cv_path_GIT
16073 if test -n "$GIT"; then
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16075 $as_echo "$GIT" >&6; }
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16078 $as_echo "no" >&6; }
16082 # Extract the first word of "time", so it can be a program name with args.
16083 set dummy
time; ac_word
=$2
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16085 $as_echo_n "checking for $ac_word... " >&6; }
16086 if ${ac_cv_path_TIME+:} false
; then :
16087 $as_echo_n "(cached) " >&6
16091 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16095 for as_dir
in $PATH
16098 test -z "$as_dir" && as_dir
=.
16099 for ac_exec_ext
in '' $ac_executable_extensions; do
16100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16101 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16112 TIME
=$ac_cv_path_TIME
16113 if test -n "$TIME"; then
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16115 $as_echo "$TIME" >&6; }
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16118 $as_echo "no" >&6; }
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16128 $as_echo_n "checking for bison >= 2.3... " >&6; }
16129 if test -z "$BISON"; then
16130 ac_path_BISON_found
=false
16131 # Loop through the user's path and test for each of PROGNAME-LIST
16132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16133 for as_dir
in $PATH
16136 test -z "$as_dir" && as_dir
=.
16137 for ac_prog
in bison
; do
16138 for ac_exec_ext
in '' $ac_executable_extensions; do
16139 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16140 as_fn_executable_p
"$ac_path_BISON" || continue
16141 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16142 if ${version:+false} :; then :
16145 as_awk_strverscmp
='
16146 # Use only awk features that work with 7th edition Unix awk (1978).
16147 # My, what an old awk you have, Mr. Solaris!
16149 while (length(v1) && length(v2)) {
16150 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16151 # Normally this is a single character, but if v1 and v2 contain digits,
16152 # compare them as integers and fractions as strverscmp does.
16153 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16154 # Split v1 and v2 into their leading digit string components d1 and d2,
16155 # and advance v1 and v2 past the leading digit strings.
16156 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16157 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16158 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16159 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16162 # Compare two fractions.
16163 while (d1 ~ /^0/ && d2 ~ /^0/) {
16164 d1 = substr(d1, 2); len1--
16165 d2 = substr(d2, 2); len2--
16167 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16168 # The two components differ in length, and the common prefix
16169 # contains only leading zeros. Consider the longer to be less.
16173 # Otherwise, compare as strings.
16178 # A fraction is less than an integer.
16183 # An integer is greater than a fraction.
16186 # Compare two integers.
16192 # The normal case, without worrying about digits.
16193 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16194 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16196 if (d1 < d2) exit 1
16197 if (d1 > d2) exit 2
16199 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16200 # which mishandles some comparisons of empty strings to integers.
16201 if (length(v2)) exit 1
16202 if (length(v1)) exit 2
16207 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16212 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16214 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16220 $ac_path_BISON_found && break 3
16225 if test -z "$ac_cv_path_BISON"; then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16227 $as_echo "no" >&6; }
16230 ac_cv_path_BISON
=$BISON
16236 BISON
=$ac_cv_path_BISON
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16239 $as_echo "$BISON" >&6; }
16244 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16251 $as_echo "no" >&6; }
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16260 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16261 if test -z "$FLEX"; then
16262 ac_path_FLEX_found
=false
16263 # Loop through the user's path and test for each of PROGNAME-LIST
16264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16265 for as_dir
in $PATH
16268 test -z "$as_dir" && as_dir
=.
16269 for ac_prog
in flex
; do
16270 for ac_exec_ext
in '' $ac_executable_extensions; do
16271 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16272 as_fn_executable_p
"$ac_path_FLEX" || continue
16273 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16274 if ${version:+false} :; then :
16279 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16284 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16286 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16292 $ac_path_FLEX_found && break 3
16297 if test -z "$ac_cv_path_FLEX"; then
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16299 $as_echo "no" >&6; }
16302 ac_cv_path_FLEX
=$FLEX
16308 FLEX
=$ac_cv_path_FLEX
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16311 $as_echo "$FLEX" >&6; }
16316 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16323 $as_echo "no" >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16332 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16333 if test -z "$GPERF"; then
16334 ac_path_GPERF_found
=false
16335 # Loop through the user's path and test for each of PROGNAME-LIST
16336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16337 for as_dir
in $PATH
16340 test -z "$as_dir" && as_dir
=.
16341 for ac_prog
in gperf
; do
16342 for ac_exec_ext
in '' $ac_executable_extensions; do
16343 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16344 as_fn_executable_p
"$ac_path_GPERF" || continue
16345 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16346 if ${version:+false} :; then :
16351 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16356 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16358 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16364 $ac_path_GPERF_found && break 3
16369 if test -z "$ac_cv_path_GPERF"; then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16371 $as_echo "no" >&6; }
16374 ac_cv_path_GPERF
=$GPERF
16380 GPERF
=$ac_cv_path_GPERF
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16383 $as_echo "$GPERF" >&6; }
16388 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16395 $as_echo "no" >&6; }
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16404 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16405 if test -z "$GNUTAR"; then
16406 ac_path_GNUTAR_found
=false
16407 # Loop through the user's path and test for each of PROGNAME-LIST
16408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16409 for as_dir
in $PATH
16412 test -z "$as_dir" && as_dir
=.
16413 for ac_prog
in tar gtar gnutar
; do
16414 for ac_exec_ext
in '' $ac_executable_extensions; do
16415 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16416 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16417 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16418 if ${version:+false} :; then :
16423 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16428 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16430 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16436 $ac_path_GNUTAR_found && break 3
16441 if test -z "$ac_cv_path_GNUTAR"; then
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16443 $as_echo "no" >&6; }
16446 ac_cv_path_GNUTAR
=$GNUTAR
16452 GNUTAR
=$ac_cv_path_GNUTAR
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16455 $as_echo "$GNUTAR" >&6; }
16460 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16474 $as_echo_n "checking bison for %code{}... " >&6; }
16475 echo '%code{}%%_:' >conftest.y
16476 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16478 for element
in Bison24
; do
16480 for x
in $CY_FILTERS; do
16482 acl_save_prefix
="$prefix"
16483 prefix
="$acl_final_prefix"
16484 acl_save_exec_prefix
="$exec_prefix"
16485 exec_prefix
="$acl_final_exec_prefix"
16487 exec_prefix
="$acl_save_exec_prefix"
16488 prefix
="$acl_save_prefix"
16490 if test "X$x" = "X$element"; then
16495 if test -z "$haveit"; then
16496 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16501 $as_echo "yes" >&6; }
16504 for element
in Bison23
; do
16506 for x
in $CY_FILTERS; do
16508 acl_save_prefix
="$prefix"
16509 prefix
="$acl_final_prefix"
16510 acl_save_exec_prefix
="$exec_prefix"
16511 exec_prefix
="$acl_final_exec_prefix"
16513 exec_prefix
="$acl_save_exec_prefix"
16514 prefix
="$acl_save_prefix"
16516 if test "X$x" = "X$element"; then
16521 if test -z "$haveit"; then
16522 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16527 $as_echo "no" >&6; }
16541 if ${CFLAGS+:} false
; then :
16542 case " $CFLAGS " in
16544 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16545 (: CFLAGS already contains
) 2>&5
16547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16548 test $ac_status = 0; }
16551 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16552 (: CFLAGS
="$CFLAGS ") 2>&5
16554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16555 test $ac_status = 0; }
16564 ac_cpp
='$CPP $CPPFLAGS'
16565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16570 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16571 if ${ac_cv_cflags_warn_all+:} false
; then :
16572 $as_echo_n "(cached) " >&6
16574 ac_cv_cflags_warn_all
="no, unknown"
16575 ac_save_CFLAGS
="$CFLAGS"
16576 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" #
16577 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16589 if ac_fn_c_try_compile
"$LINENO"; then :
16590 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16594 CFLAGS
="$ac_save_CFLAGS"
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16598 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16600 case ".$ac_cv_cflags_warn_all" in
16603 *) if ${CFLAGS+:} false
; then :
16604 case " $CFLAGS " in
16605 *" $ac_cv_cflags_warn_all "*)
16606 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16607 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16610 test $ac_status = 0; }
16613 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16614 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16617 test $ac_status = 0; }
16618 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16622 CFLAGS
="$ac_cv_cflags_warn_all"
16628 ac_cpp
='$CXXCPP $CPPFLAGS'
16629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16635 ac_cpp
='$CXXCPP $CPPFLAGS'
16636 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16637 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16638 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16641 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16642 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16643 $as_echo_n "(cached) " >&6
16645 ac_cv_cxxflags_warn_all
="no, unknown"
16646 ac_save_CXXFLAGS
="$CXXFLAGS"
16647 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" #
16648 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16660 if ac_fn_cxx_try_compile
"$LINENO"; then :
16661 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16665 CXXFLAGS
="$ac_save_CXXFLAGS"
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16669 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16671 case ".$ac_cv_cxxflags_warn_all" in
16674 *) if ${CXXFLAGS+:} false
; then :
16675 case " $CXXFLAGS " in
16676 *" $ac_cv_cxxflags_warn_all "*)
16677 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16678 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16681 test $ac_status = 0; }
16684 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16685 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16688 test $ac_status = 0; }
16689 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16693 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16699 ac_cpp
='$CXXCPP $CPPFLAGS'
16700 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16701 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16702 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16706 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16707 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16708 $as_echo_n "(cached) " >&6
16710 ac_cv_cxxflags_warn_all
="no, unknown"
16711 ac_save_CXXFLAGS
="$CXXFLAGS"
16712 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" #
16713 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16725 if ac_fn_cxx_try_compile
"$LINENO"; then :
16726 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16730 CXXFLAGS
="$ac_save_CXXFLAGS"
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16734 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16736 case ".$ac_cv_cxxflags_warn_all" in
16739 *) if ${CXXFLAGS+:} false
; then :
16740 case " $CXXFLAGS " in
16741 *" $ac_cv_cxxflags_warn_all "*)
16742 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16743 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16746 test $ac_status = 0; }
16749 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16750 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16753 test $ac_status = 0; }
16754 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16758 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16768 ac_cpp
='$CPP $CPPFLAGS'
16769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
16774 $as_echo_n "checking for cc -Werror... " >&6; }
16778 for element
in -Werror; do
16780 for x
in $CFLAGS; do
16782 acl_save_prefix
="$prefix"
16783 prefix
="$acl_final_prefix"
16784 acl_save_exec_prefix
="$exec_prefix"
16785 exec_prefix
="$acl_final_exec_prefix"
16787 exec_prefix
="$acl_save_exec_prefix"
16788 prefix
="$acl_save_prefix"
16790 if test "X$x" = "X$element"; then
16795 if test -z "$haveit"; then
16796 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16805 if ac_fn_c_try_compile
"$LINENO"; then :
16810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16813 if test "x$cy_good" = x1
; then :
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16815 $as_echo "yes" >&6; }
16817 for element
in -Werror; do
16819 for x
in $CFLAGS; do
16821 acl_save_prefix
="$prefix"
16822 prefix
="$acl_final_prefix"
16823 acl_save_exec_prefix
="$exec_prefix"
16824 exec_prefix
="$acl_final_exec_prefix"
16826 exec_prefix
="$acl_save_exec_prefix"
16827 prefix
="$acl_save_prefix"
16829 if test "X$x" = "X$element"; then
16834 if test -z "$haveit"; then
16835 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16842 $as_echo "no" >&6; }
16846 ac_cpp
='$CXXCPP $CPPFLAGS'
16847 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16848 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16849 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16854 ac_cpp
='$CXXCPP $CPPFLAGS'
16855 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16856 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16857 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
16860 $as_echo_n "checking for c++ -Werror... " >&6; }
16864 for element
in -Werror; do
16866 for x
in $CXXFLAGS; do
16868 acl_save_prefix
="$prefix"
16869 prefix
="$acl_final_prefix"
16870 acl_save_exec_prefix
="$exec_prefix"
16871 exec_prefix
="$acl_final_exec_prefix"
16873 exec_prefix
="$acl_save_exec_prefix"
16874 prefix
="$acl_save_prefix"
16876 if test "X$x" = "X$element"; then
16881 if test -z "$haveit"; then
16882 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16888 /* end confdefs.h. */
16891 if ac_fn_cxx_try_compile
"$LINENO"; then :
16896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16899 if test "x$cy_good" = x1
; then :
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16901 $as_echo "yes" >&6; }
16903 for element
in -Werror; do
16905 for x
in $CXXFLAGS; do
16907 acl_save_prefix
="$prefix"
16908 prefix
="$acl_final_prefix"
16909 acl_save_exec_prefix
="$exec_prefix"
16910 exec_prefix
="$acl_final_exec_prefix"
16912 exec_prefix
="$acl_save_exec_prefix"
16913 prefix
="$acl_save_prefix"
16915 if test "X$x" = "X$element"; then
16920 if test -z "$haveit"; then
16921 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16928 $as_echo "no" >&6; }
16932 ac_cpp
='$CXXCPP $CPPFLAGS'
16933 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16934 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16935 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16940 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16941 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16942 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16943 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
16946 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
16948 cy_save
=$OBJCXXFLAGS
16950 for element
in -Werror; do
16952 for x
in $OBJCXXFLAGS; do
16954 acl_save_prefix
="$prefix"
16955 prefix
="$acl_final_prefix"
16956 acl_save_exec_prefix
="$exec_prefix"
16957 exec_prefix
="$acl_final_exec_prefix"
16959 exec_prefix
="$acl_save_exec_prefix"
16960 prefix
="$acl_save_prefix"
16962 if test "X$x" = "X$element"; then
16967 if test -z "$haveit"; then
16968 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16977 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16984 OBJCXXFLAGS
=$cy_save
16985 if test "x$cy_good" = x1
; then :
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16987 $as_echo "yes" >&6; }
16989 for element
in -Werror; do
16991 for x
in $OBJCXXFLAGS; do
16993 acl_save_prefix
="$prefix"
16994 prefix
="$acl_final_prefix"
16995 acl_save_exec_prefix
="$exec_prefix"
16996 exec_prefix
="$acl_final_exec_prefix"
16998 exec_prefix
="$acl_save_exec_prefix"
16999 prefix
="$acl_save_prefix"
17001 if test "X$x" = "X$element"; then
17006 if test -z "$haveit"; then
17007 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17014 $as_echo "no" >&6; }
17018 ac_cpp
='$CXXCPP $CPPFLAGS'
17019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17029 ac_cpp
='$CPP $CPPFLAGS'
17030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17035 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17039 for element
in -Wno-deprecated-declarations; do
17041 for x
in $CFLAGS; do
17043 acl_save_prefix
="$prefix"
17044 prefix
="$acl_final_prefix"
17045 acl_save_exec_prefix
="$exec_prefix"
17046 exec_prefix
="$acl_final_exec_prefix"
17048 exec_prefix
="$acl_save_exec_prefix"
17049 prefix
="$acl_save_prefix"
17051 if test "X$x" = "X$element"; then
17056 if test -z "$haveit"; then
17057 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17066 if ac_fn_c_try_compile
"$LINENO"; then :
17071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17074 if test "x$cy_good" = x1
; then :
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17076 $as_echo "yes" >&6; }
17078 for element
in -Wno-deprecated-declarations; do
17080 for x
in $CFLAGS; do
17082 acl_save_prefix
="$prefix"
17083 prefix
="$acl_final_prefix"
17084 acl_save_exec_prefix
="$exec_prefix"
17085 exec_prefix
="$acl_final_exec_prefix"
17087 exec_prefix
="$acl_save_exec_prefix"
17088 prefix
="$acl_save_prefix"
17090 if test "X$x" = "X$element"; then
17095 if test -z "$haveit"; then
17096 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17103 $as_echo "no" >&6; }
17107 ac_cpp
='$CXXCPP $CPPFLAGS'
17108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17115 ac_cpp
='$CXXCPP $CPPFLAGS'
17116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17121 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17125 for element
in -Wno-deprecated-declarations; do
17127 for x
in $CXXFLAGS; do
17129 acl_save_prefix
="$prefix"
17130 prefix
="$acl_final_prefix"
17131 acl_save_exec_prefix
="$exec_prefix"
17132 exec_prefix
="$acl_final_exec_prefix"
17134 exec_prefix
="$acl_save_exec_prefix"
17135 prefix
="$acl_save_prefix"
17137 if test "X$x" = "X$element"; then
17142 if test -z "$haveit"; then
17143 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17152 if ac_fn_cxx_try_compile
"$LINENO"; then :
17157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17160 if test "x$cy_good" = x1
; then :
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17162 $as_echo "yes" >&6; }
17164 for element
in -Wno-deprecated-declarations; do
17166 for x
in $CXXFLAGS; do
17168 acl_save_prefix
="$prefix"
17169 prefix
="$acl_final_prefix"
17170 acl_save_exec_prefix
="$exec_prefix"
17171 exec_prefix
="$acl_final_exec_prefix"
17173 exec_prefix
="$acl_save_exec_prefix"
17174 prefix
="$acl_save_prefix"
17176 if test "X$x" = "X$element"; then
17181 if test -z "$haveit"; then
17182 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17189 $as_echo "no" >&6; }
17193 ac_cpp
='$CXXCPP $CPPFLAGS'
17194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17201 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17202 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17207 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17209 cy_save
=$OBJCXXFLAGS
17211 for element
in -Wno-deprecated-declarations; do
17213 for x
in $OBJCXXFLAGS; do
17215 acl_save_prefix
="$prefix"
17216 prefix
="$acl_final_prefix"
17217 acl_save_exec_prefix
="$exec_prefix"
17218 exec_prefix
="$acl_final_exec_prefix"
17220 exec_prefix
="$acl_save_exec_prefix"
17221 prefix
="$acl_save_prefix"
17223 if test "X$x" = "X$element"; then
17228 if test -z "$haveit"; then
17229 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17235 /* end confdefs.h. */
17238 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17245 OBJCXXFLAGS
=$cy_save
17246 if test "x$cy_good" = x1
; then :
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17248 $as_echo "yes" >&6; }
17250 for element
in -Wno-deprecated-declarations; do
17252 for x
in $OBJCXXFLAGS; do
17254 acl_save_prefix
="$prefix"
17255 prefix
="$acl_final_prefix"
17256 acl_save_exec_prefix
="$exec_prefix"
17257 exec_prefix
="$acl_final_exec_prefix"
17259 exec_prefix
="$acl_save_exec_prefix"
17260 prefix
="$acl_save_prefix"
17262 if test "X$x" = "X$element"; then
17267 if test -z "$haveit"; then
17268 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17275 $as_echo "no" >&6; }
17279 ac_cpp
='$CXXCPP $CPPFLAGS'
17280 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17281 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17282 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17290 ac_cpp
='$CPP $CPPFLAGS'
17291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17296 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17300 for element
in -Wno-dangling-else; do
17302 for x
in $CFLAGS; do
17304 acl_save_prefix
="$prefix"
17305 prefix
="$acl_final_prefix"
17306 acl_save_exec_prefix
="$exec_prefix"
17307 exec_prefix
="$acl_final_exec_prefix"
17309 exec_prefix
="$acl_save_exec_prefix"
17310 prefix
="$acl_save_prefix"
17312 if test "X$x" = "X$element"; then
17317 if test -z "$haveit"; then
17318 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17327 if ac_fn_c_try_compile
"$LINENO"; then :
17332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17335 if test "x$cy_good" = x1
; then :
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17337 $as_echo "yes" >&6; }
17339 for element
in -Wno-dangling-else; do
17341 for x
in $CFLAGS; do
17343 acl_save_prefix
="$prefix"
17344 prefix
="$acl_final_prefix"
17345 acl_save_exec_prefix
="$exec_prefix"
17346 exec_prefix
="$acl_final_exec_prefix"
17348 exec_prefix
="$acl_save_exec_prefix"
17349 prefix
="$acl_save_prefix"
17351 if test "X$x" = "X$element"; then
17356 if test -z "$haveit"; then
17357 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17364 $as_echo "no" >&6; }
17368 ac_cpp
='$CXXCPP $CPPFLAGS'
17369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17376 ac_cpp
='$CXXCPP $CPPFLAGS'
17377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
17382 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
17386 for element
in -Wno-dangling-else; do
17388 for x
in $CXXFLAGS; do
17390 acl_save_prefix
="$prefix"
17391 prefix
="$acl_final_prefix"
17392 acl_save_exec_prefix
="$exec_prefix"
17393 exec_prefix
="$acl_final_exec_prefix"
17395 exec_prefix
="$acl_save_exec_prefix"
17396 prefix
="$acl_save_prefix"
17398 if test "X$x" = "X$element"; then
17403 if test -z "$haveit"; then
17404 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17413 if ac_fn_cxx_try_compile
"$LINENO"; then :
17418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17421 if test "x$cy_good" = x1
; then :
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17423 $as_echo "yes" >&6; }
17425 for element
in -Wno-dangling-else; do
17427 for x
in $CXXFLAGS; do
17429 acl_save_prefix
="$prefix"
17430 prefix
="$acl_final_prefix"
17431 acl_save_exec_prefix
="$exec_prefix"
17432 exec_prefix
="$acl_final_exec_prefix"
17434 exec_prefix
="$acl_save_exec_prefix"
17435 prefix
="$acl_save_prefix"
17437 if test "X$x" = "X$element"; then
17442 if test -z "$haveit"; then
17443 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17450 $as_echo "no" >&6; }
17454 ac_cpp
='$CXXCPP $CPPFLAGS'
17455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17462 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17463 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17468 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17470 cy_save
=$OBJCXXFLAGS
17472 for element
in -Wno-dangling-else; do
17474 for x
in $OBJCXXFLAGS; do
17476 acl_save_prefix
="$prefix"
17477 prefix
="$acl_final_prefix"
17478 acl_save_exec_prefix
="$exec_prefix"
17479 exec_prefix
="$acl_final_exec_prefix"
17481 exec_prefix
="$acl_save_exec_prefix"
17482 prefix
="$acl_save_prefix"
17484 if test "X$x" = "X$element"; then
17489 if test -z "$haveit"; then
17490 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h. */
17499 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17506 OBJCXXFLAGS
=$cy_save
17507 if test "x$cy_good" = x1
; then :
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17509 $as_echo "yes" >&6; }
17511 for element
in -Wno-dangling-else; do
17513 for x
in $OBJCXXFLAGS; do
17515 acl_save_prefix
="$prefix"
17516 prefix
="$acl_final_prefix"
17517 acl_save_exec_prefix
="$exec_prefix"
17518 exec_prefix
="$acl_final_exec_prefix"
17520 exec_prefix
="$acl_save_exec_prefix"
17521 prefix
="$acl_save_prefix"
17523 if test "X$x" = "X$element"; then
17528 if test -z "$haveit"; then
17529 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17536 $as_echo "no" >&6; }
17540 ac_cpp
='$CXXCPP $CPPFLAGS'
17541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17550 ac_cpp
='$CPP $CPPFLAGS'
17551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17556 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17560 for element
in -Wno-overloaded-virtual; do
17562 for x
in $CFLAGS; do
17564 acl_save_prefix
="$prefix"
17565 prefix
="$acl_final_prefix"
17566 acl_save_exec_prefix
="$exec_prefix"
17567 exec_prefix
="$acl_final_exec_prefix"
17569 exec_prefix
="$acl_save_exec_prefix"
17570 prefix
="$acl_save_prefix"
17572 if test "X$x" = "X$element"; then
17577 if test -z "$haveit"; then
17578 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17587 if ac_fn_c_try_compile
"$LINENO"; then :
17592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17595 if test "x$cy_good" = x1
; then :
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17597 $as_echo "yes" >&6; }
17599 for element
in -Wno-overloaded-virtual; do
17601 for x
in $CFLAGS; do
17603 acl_save_prefix
="$prefix"
17604 prefix
="$acl_final_prefix"
17605 acl_save_exec_prefix
="$exec_prefix"
17606 exec_prefix
="$acl_final_exec_prefix"
17608 exec_prefix
="$acl_save_exec_prefix"
17609 prefix
="$acl_save_prefix"
17611 if test "X$x" = "X$element"; then
17616 if test -z "$haveit"; then
17617 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17624 $as_echo "no" >&6; }
17628 ac_cpp
='$CXXCPP $CPPFLAGS'
17629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17636 ac_cpp
='$CXXCPP $CPPFLAGS'
17637 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17638 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17639 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17642 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17646 for element
in -Wno-overloaded-virtual; do
17648 for x
in $CXXFLAGS; do
17650 acl_save_prefix
="$prefix"
17651 prefix
="$acl_final_prefix"
17652 acl_save_exec_prefix
="$exec_prefix"
17653 exec_prefix
="$acl_final_exec_prefix"
17655 exec_prefix
="$acl_save_exec_prefix"
17656 prefix
="$acl_save_prefix"
17658 if test "X$x" = "X$element"; then
17663 if test -z "$haveit"; then
17664 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17673 if ac_fn_cxx_try_compile
"$LINENO"; then :
17678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17681 if test "x$cy_good" = x1
; then :
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17683 $as_echo "yes" >&6; }
17685 for element
in -Wno-overloaded-virtual; do
17687 for x
in $CXXFLAGS; do
17689 acl_save_prefix
="$prefix"
17690 prefix
="$acl_final_prefix"
17691 acl_save_exec_prefix
="$exec_prefix"
17692 exec_prefix
="$acl_final_exec_prefix"
17694 exec_prefix
="$acl_save_exec_prefix"
17695 prefix
="$acl_save_prefix"
17697 if test "X$x" = "X$element"; then
17702 if test -z "$haveit"; then
17703 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17710 $as_echo "no" >&6; }
17714 ac_cpp
='$CXXCPP $CPPFLAGS'
17715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17722 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17723 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17724 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17725 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17728 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17730 cy_save
=$OBJCXXFLAGS
17732 for element
in -Wno-overloaded-virtual; do
17734 for x
in $OBJCXXFLAGS; do
17736 acl_save_prefix
="$prefix"
17737 prefix
="$acl_final_prefix"
17738 acl_save_exec_prefix
="$exec_prefix"
17739 exec_prefix
="$acl_final_exec_prefix"
17741 exec_prefix
="$acl_save_exec_prefix"
17742 prefix
="$acl_save_prefix"
17744 if test "X$x" = "X$element"; then
17749 if test -z "$haveit"; then
17750 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17759 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17766 OBJCXXFLAGS
=$cy_save
17767 if test "x$cy_good" = x1
; then :
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17769 $as_echo "yes" >&6; }
17771 for element
in -Wno-overloaded-virtual; do
17773 for x
in $OBJCXXFLAGS; do
17775 acl_save_prefix
="$prefix"
17776 prefix
="$acl_final_prefix"
17777 acl_save_exec_prefix
="$exec_prefix"
17778 exec_prefix
="$acl_final_exec_prefix"
17780 exec_prefix
="$acl_save_exec_prefix"
17781 prefix
="$acl_save_prefix"
17783 if test "X$x" = "X$element"; then
17788 if test -z "$haveit"; then
17789 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17796 $as_echo "no" >&6; }
17800 ac_cpp
='$CXXCPP $CPPFLAGS'
17801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17810 ac_cpp
='$CPP $CPPFLAGS'
17811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17816 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17820 for element
in -Wno-parentheses; do
17822 for x
in $CFLAGS; do
17824 acl_save_prefix
="$prefix"
17825 prefix
="$acl_final_prefix"
17826 acl_save_exec_prefix
="$exec_prefix"
17827 exec_prefix
="$acl_final_exec_prefix"
17829 exec_prefix
="$acl_save_exec_prefix"
17830 prefix
="$acl_save_prefix"
17832 if test "X$x" = "X$element"; then
17837 if test -z "$haveit"; then
17838 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17847 if ac_fn_c_try_compile
"$LINENO"; then :
17852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17855 if test "x$cy_good" = x1
; then :
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17857 $as_echo "yes" >&6; }
17859 for element
in -Wno-parentheses; do
17861 for x
in $CFLAGS; do
17863 acl_save_prefix
="$prefix"
17864 prefix
="$acl_final_prefix"
17865 acl_save_exec_prefix
="$exec_prefix"
17866 exec_prefix
="$acl_final_exec_prefix"
17868 exec_prefix
="$acl_save_exec_prefix"
17869 prefix
="$acl_save_prefix"
17871 if test "X$x" = "X$element"; then
17876 if test -z "$haveit"; then
17877 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17884 $as_echo "no" >&6; }
17888 ac_cpp
='$CXXCPP $CPPFLAGS'
17889 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17890 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17891 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17896 ac_cpp
='$CXXCPP $CPPFLAGS'
17897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17902 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17906 for element
in -Wno-parentheses; do
17908 for x
in $CXXFLAGS; do
17910 acl_save_prefix
="$prefix"
17911 prefix
="$acl_final_prefix"
17912 acl_save_exec_prefix
="$exec_prefix"
17913 exec_prefix
="$acl_final_exec_prefix"
17915 exec_prefix
="$acl_save_exec_prefix"
17916 prefix
="$acl_save_prefix"
17918 if test "X$x" = "X$element"; then
17923 if test -z "$haveit"; then
17924 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17930 /* end confdefs.h. */
17933 if ac_fn_cxx_try_compile
"$LINENO"; then :
17938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17941 if test "x$cy_good" = x1
; then :
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17943 $as_echo "yes" >&6; }
17945 for element
in -Wno-parentheses; do
17947 for x
in $CXXFLAGS; do
17949 acl_save_prefix
="$prefix"
17950 prefix
="$acl_final_prefix"
17951 acl_save_exec_prefix
="$exec_prefix"
17952 exec_prefix
="$acl_final_exec_prefix"
17954 exec_prefix
="$acl_save_exec_prefix"
17955 prefix
="$acl_save_prefix"
17957 if test "X$x" = "X$element"; then
17962 if test -z "$haveit"; then
17963 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17970 $as_echo "no" >&6; }
17974 ac_cpp
='$CXXCPP $CPPFLAGS'
17975 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17976 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17977 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17982 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17983 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17988 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17990 cy_save
=$OBJCXXFLAGS
17992 for element
in -Wno-parentheses; do
17994 for x
in $OBJCXXFLAGS; do
17996 acl_save_prefix
="$prefix"
17997 prefix
="$acl_final_prefix"
17998 acl_save_exec_prefix
="$exec_prefix"
17999 exec_prefix
="$acl_final_exec_prefix"
18001 exec_prefix
="$acl_save_exec_prefix"
18002 prefix
="$acl_save_prefix"
18004 if test "X$x" = "X$element"; then
18009 if test -z "$haveit"; then
18010 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18019 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18026 OBJCXXFLAGS
=$cy_save
18027 if test "x$cy_good" = x1
; then :
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18029 $as_echo "yes" >&6; }
18031 for element
in -Wno-parentheses; do
18033 for x
in $OBJCXXFLAGS; do
18035 acl_save_prefix
="$prefix"
18036 prefix
="$acl_final_prefix"
18037 acl_save_exec_prefix
="$exec_prefix"
18038 exec_prefix
="$acl_final_exec_prefix"
18040 exec_prefix
="$acl_save_exec_prefix"
18041 prefix
="$acl_save_prefix"
18043 if test "X$x" = "X$element"; then
18048 if test -z "$haveit"; then
18049 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18056 $as_echo "no" >&6; }
18060 ac_cpp
='$CXXCPP $CPPFLAGS'
18061 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18062 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18063 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18070 ac_cpp
='$CPP $CPPFLAGS'
18071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18076 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18080 for element
in -Wno-unneeded-internal-declaration; do
18082 for x
in $CFLAGS; do
18084 acl_save_prefix
="$prefix"
18085 prefix
="$acl_final_prefix"
18086 acl_save_exec_prefix
="$exec_prefix"
18087 exec_prefix
="$acl_final_exec_prefix"
18089 exec_prefix
="$acl_save_exec_prefix"
18090 prefix
="$acl_save_prefix"
18092 if test "X$x" = "X$element"; then
18097 if test -z "$haveit"; then
18098 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18107 if ac_fn_c_try_compile
"$LINENO"; then :
18112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18115 if test "x$cy_good" = x1
; then :
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18117 $as_echo "yes" >&6; }
18119 for element
in -Wno-unneeded-internal-declaration; do
18121 for x
in $CFLAGS; do
18123 acl_save_prefix
="$prefix"
18124 prefix
="$acl_final_prefix"
18125 acl_save_exec_prefix
="$exec_prefix"
18126 exec_prefix
="$acl_final_exec_prefix"
18128 exec_prefix
="$acl_save_exec_prefix"
18129 prefix
="$acl_save_prefix"
18131 if test "X$x" = "X$element"; then
18136 if test -z "$haveit"; then
18137 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18144 $as_echo "no" >&6; }
18148 ac_cpp
='$CXXCPP $CPPFLAGS'
18149 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18156 ac_cpp
='$CXXCPP $CPPFLAGS'
18157 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18158 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18159 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18162 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18166 for element
in -Wno-unneeded-internal-declaration; do
18168 for x
in $CXXFLAGS; do
18170 acl_save_prefix
="$prefix"
18171 prefix
="$acl_final_prefix"
18172 acl_save_exec_prefix
="$exec_prefix"
18173 exec_prefix
="$acl_final_exec_prefix"
18175 exec_prefix
="$acl_save_exec_prefix"
18176 prefix
="$acl_save_prefix"
18178 if test "X$x" = "X$element"; then
18183 if test -z "$haveit"; then
18184 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18193 if ac_fn_cxx_try_compile
"$LINENO"; then :
18198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18201 if test "x$cy_good" = x1
; then :
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18203 $as_echo "yes" >&6; }
18205 for element
in -Wno-unneeded-internal-declaration; do
18207 for x
in $CXXFLAGS; do
18209 acl_save_prefix
="$prefix"
18210 prefix
="$acl_final_prefix"
18211 acl_save_exec_prefix
="$exec_prefix"
18212 exec_prefix
="$acl_final_exec_prefix"
18214 exec_prefix
="$acl_save_exec_prefix"
18215 prefix
="$acl_save_prefix"
18217 if test "X$x" = "X$element"; then
18222 if test -z "$haveit"; then
18223 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18230 $as_echo "no" >&6; }
18234 ac_cpp
='$CXXCPP $CPPFLAGS'
18235 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18236 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18237 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18242 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18243 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18244 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18245 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18248 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18250 cy_save
=$OBJCXXFLAGS
18252 for element
in -Wno-unneeded-internal-declaration; do
18254 for x
in $OBJCXXFLAGS; do
18256 acl_save_prefix
="$prefix"
18257 prefix
="$acl_final_prefix"
18258 acl_save_exec_prefix
="$exec_prefix"
18259 exec_prefix
="$acl_final_exec_prefix"
18261 exec_prefix
="$acl_save_exec_prefix"
18262 prefix
="$acl_save_prefix"
18264 if test "X$x" = "X$element"; then
18269 if test -z "$haveit"; then
18270 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18276 /* end confdefs.h. */
18279 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18286 OBJCXXFLAGS
=$cy_save
18287 if test "x$cy_good" = x1
; then :
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18289 $as_echo "yes" >&6; }
18291 for element
in -Wno-unneeded-internal-declaration; do
18293 for x
in $OBJCXXFLAGS; do
18295 acl_save_prefix
="$prefix"
18296 prefix
="$acl_final_prefix"
18297 acl_save_exec_prefix
="$exec_prefix"
18298 exec_prefix
="$acl_final_exec_prefix"
18300 exec_prefix
="$acl_save_exec_prefix"
18301 prefix
="$acl_save_prefix"
18303 if test "X$x" = "X$element"; then
18308 if test -z "$haveit"; then
18309 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18316 $as_echo "no" >&6; }
18320 ac_cpp
='$CXXCPP $CPPFLAGS'
18321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18330 for cy_arch
in ppc ppc64 i386 x86_64 armv6 arm64
; do
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
18332 $as_echo_n "checking for -arch $cy_arch... " >&6; }
18336 for element
in "-arch $cy_arch"; do
18338 for x
in $CXXFLAGS; do
18340 acl_save_prefix
="$prefix"
18341 prefix
="$acl_final_prefix"
18342 acl_save_exec_prefix
="$exec_prefix"
18343 exec_prefix
="$acl_final_exec_prefix"
18345 exec_prefix
="$acl_save_exec_prefix"
18346 prefix
="$acl_save_prefix"
18348 if test "X$x" = "X$element"; then
18353 if test -z "$haveit"; then
18354 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18360 /* end confdefs.h. */
18370 if ac_fn_cxx_try_link
"$LINENO"; then :
18375 rm -f core conftest.err conftest.
$ac_objext \
18376 conftest
$ac_exeext conftest.
$ac_ext
18379 if test "x$cy_good" = x1
; then :
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18381 $as_echo "yes" >&6; }
18383 for element
in "-arch $cy_arch"; do
18385 for x
in $CY_ARCH; do
18387 acl_save_prefix
="$prefix"
18388 prefix
="$acl_final_prefix"
18389 acl_save_exec_prefix
="$exec_prefix"
18390 exec_prefix
="$acl_final_exec_prefix"
18392 exec_prefix
="$acl_save_exec_prefix"
18393 prefix
="$acl_save_prefix"
18395 if test "X$x" = "X$element"; then
18400 if test -z "$haveit"; then
18401 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18408 $as_echo "no" >&6; }
18418 # Check whether --enable-javascript was given.
18419 if test "${enable_javascript+set}" = set; then :
18420 enableval
=$enable_javascript;
18421 case $enableval in #(
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18431 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18432 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18433 $as_echo_n "(cached) " >&6
18436 ac_check_framework_save_LIBS
=$LIBS
18437 LIBS
="-framework JavaScriptCore $LIBS"
18438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18441 #include <JavaScriptCore/JSBase.h>
18447 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18453 if ac_fn_cxx_try_link
"$LINENO"; then :
18455 ac_cv_framework_JavaScriptCore
=yes
18458 ac_cv_framework_JavaScriptCore
=no
18460 rm -f core conftest.err conftest.
$ac_objext \
18461 conftest
$ac_exeext conftest.
$ac_ext
18462 LIBS
=$ac_check_framework_save_LIBS
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18466 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18467 if test $ac_cv_framework_JavaScriptCore = yes; then :
18470 for element
in "-framework JavaScriptCore"; do
18474 acl_save_prefix
="$prefix"
18475 prefix
="$acl_final_prefix"
18476 acl_save_exec_prefix
="$exec_prefix"
18477 exec_prefix
="$acl_final_exec_prefix"
18479 exec_prefix
="$acl_save_exec_prefix"
18480 prefix
="$acl_save_prefix"
18482 if test "X$x" = "X$element"; then
18487 if test -z "$haveit"; then
18488 LIBS
="${LIBS}${LIBS:+ }$element"
18499 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18503 $as_echo_n "checking for WEBKIT... " >&6; }
18505 if test -n "$WEBKIT_CFLAGS"; then
18506 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18507 elif test -n "$PKG_CONFIG"; then
18508 if test -n "$PKG_CONFIG" && \
18509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18510 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18513 test $ac_status = 0; }; then
18514 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18521 if test -n "$WEBKIT_LIBS"; then
18522 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18523 elif test -n "$PKG_CONFIG"; then
18524 if test -n "$PKG_CONFIG" && \
18525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18526 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18529 test $ac_status = 0; }; then
18530 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18540 if test $pkg_failed = yes; then
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18542 $as_echo "no" >&6; }
18544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18545 _pkg_short_errors_supported
=yes
18547 _pkg_short_errors_supported
=no
18549 if test $_pkg_short_errors_supported = yes; then
18550 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18552 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18554 # Put the nasty error message in config.log where it belongs
18555 echo "$WEBKIT_PKG_ERRORS" >&5
18558 elif test $pkg_failed = untried
; then
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18560 $as_echo "no" >&6; }
18563 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18564 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18566 $as_echo "yes" >&6; }
18571 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18573 for x
in $CPPFLAGS; do
18575 acl_save_prefix
="$prefix"
18576 prefix
="$acl_final_prefix"
18577 acl_save_exec_prefix
="$exec_prefix"
18578 exec_prefix
="$acl_final_exec_prefix"
18580 exec_prefix
="$acl_save_exec_prefix"
18581 prefix
="$acl_save_prefix"
18583 if test "X$x" = "X$element"; then
18588 if test -z "$haveit"; then
18589 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18594 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18598 acl_save_prefix
="$prefix"
18599 prefix
="$acl_final_prefix"
18600 acl_save_exec_prefix
="$exec_prefix"
18601 exec_prefix
="$acl_final_exec_prefix"
18603 exec_prefix
="$acl_save_exec_prefix"
18604 prefix
="$acl_save_prefix"
18606 if test "X$x" = "X$element"; then
18611 if test -z "$haveit"; then
18612 LIBS
="${LIBS}${LIBS:+ }$element"
18617 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18621 LTJAVASCRIPTCORE
=$LIBS
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18638 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18639 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18640 $as_echo_n "(cached) " >&6
18643 ac_check_framework_save_LIBS
=$LIBS
18644 LIBS
="-framework JavaScriptCore $LIBS"
18645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18648 #include <JavaScriptCore/JSBase.h>
18654 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18660 if ac_fn_cxx_try_link
"$LINENO"; then :
18662 ac_cv_framework_JavaScriptCore
=yes
18665 ac_cv_framework_JavaScriptCore
=no
18667 rm -f core conftest.err conftest.
$ac_objext \
18668 conftest
$ac_exeext conftest.
$ac_ext
18669 LIBS
=$ac_check_framework_save_LIBS
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18673 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18674 if test $ac_cv_framework_JavaScriptCore = yes; then :
18677 for element
in "-framework JavaScriptCore"; do
18681 acl_save_prefix
="$prefix"
18682 prefix
="$acl_final_prefix"
18683 acl_save_exec_prefix
="$exec_prefix"
18684 exec_prefix
="$acl_final_exec_prefix"
18686 exec_prefix
="$acl_save_exec_prefix"
18687 prefix
="$acl_save_prefix"
18689 if test "X$x" = "X$element"; then
18694 if test -z "$haveit"; then
18695 LIBS
="${LIBS}${LIBS:+ }$element"
18706 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18710 $as_echo_n "checking for WEBKIT... " >&6; }
18712 if test -n "$WEBKIT_CFLAGS"; then
18713 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18714 elif test -n "$PKG_CONFIG"; then
18715 if test -n "$PKG_CONFIG" && \
18716 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18717 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18720 test $ac_status = 0; }; then
18721 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18728 if test -n "$WEBKIT_LIBS"; then
18729 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18730 elif test -n "$PKG_CONFIG"; then
18731 if test -n "$PKG_CONFIG" && \
18732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18733 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18736 test $ac_status = 0; }; then
18737 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18747 if test $pkg_failed = yes; then
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18749 $as_echo "no" >&6; }
18751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18752 _pkg_short_errors_supported
=yes
18754 _pkg_short_errors_supported
=no
18756 if test $_pkg_short_errors_supported = yes; then
18757 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18759 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18761 # Put the nasty error message in config.log where it belongs
18762 echo "$WEBKIT_PKG_ERRORS" >&5
18765 elif test $pkg_failed = untried
; then
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18767 $as_echo "no" >&6; }
18770 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18771 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18773 $as_echo "yes" >&6; }
18778 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18780 for x
in $CPPFLAGS; do
18782 acl_save_prefix
="$prefix"
18783 prefix
="$acl_final_prefix"
18784 acl_save_exec_prefix
="$exec_prefix"
18785 exec_prefix
="$acl_final_exec_prefix"
18787 exec_prefix
="$acl_save_exec_prefix"
18788 prefix
="$acl_save_prefix"
18790 if test "X$x" = "X$element"; then
18795 if test -z "$haveit"; then
18796 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18801 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18805 acl_save_prefix
="$prefix"
18806 prefix
="$acl_final_prefix"
18807 acl_save_exec_prefix
="$exec_prefix"
18808 exec_prefix
="$acl_final_exec_prefix"
18810 exec_prefix
="$acl_save_exec_prefix"
18811 prefix
="$acl_save_prefix"
18813 if test "X$x" = "X$element"; then
18818 if test -z "$haveit"; then
18819 LIBS
="${LIBS}${LIBS:+ }$element"
18824 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18828 LTJAVASCRIPTCORE
=$LIBS
18834 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18845 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18846 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18847 $as_echo_n "(cached) " >&6
18850 ac_check_framework_save_LIBS
=$LIBS
18851 LIBS
="-framework JavaScriptCore $LIBS"
18852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18853 /* end confdefs.h. */
18855 #include <JavaScriptCore/JSBase.h>
18861 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18867 if ac_fn_cxx_try_link
"$LINENO"; then :
18869 ac_cv_framework_JavaScriptCore
=yes
18872 ac_cv_framework_JavaScriptCore
=no
18874 rm -f core conftest.err conftest.
$ac_objext \
18875 conftest
$ac_exeext conftest.
$ac_ext
18876 LIBS
=$ac_check_framework_save_LIBS
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18880 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18881 if test $ac_cv_framework_JavaScriptCore = yes; then :
18884 for element
in "-framework JavaScriptCore"; do
18888 acl_save_prefix
="$prefix"
18889 prefix
="$acl_final_prefix"
18890 acl_save_exec_prefix
="$exec_prefix"
18891 exec_prefix
="$acl_final_exec_prefix"
18893 exec_prefix
="$acl_save_exec_prefix"
18894 prefix
="$acl_save_prefix"
18896 if test "X$x" = "X$element"; then
18901 if test -z "$haveit"; then
18902 LIBS
="${LIBS}${LIBS:+ }$element"
18913 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18917 $as_echo_n "checking for WEBKIT... " >&6; }
18919 if test -n "$WEBKIT_CFLAGS"; then
18920 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18921 elif test -n "$PKG_CONFIG"; then
18922 if test -n "$PKG_CONFIG" && \
18923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18924 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18927 test $ac_status = 0; }; then
18928 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18935 if test -n "$WEBKIT_LIBS"; then
18936 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18937 elif test -n "$PKG_CONFIG"; then
18938 if test -n "$PKG_CONFIG" && \
18939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18940 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18943 test $ac_status = 0; }; then
18944 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18954 if test $pkg_failed = yes; then
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18956 $as_echo "no" >&6; }
18958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18959 _pkg_short_errors_supported
=yes
18961 _pkg_short_errors_supported
=no
18963 if test $_pkg_short_errors_supported = yes; then
18964 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18966 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18968 # Put the nasty error message in config.log where it belongs
18969 echo "$WEBKIT_PKG_ERRORS" >&5
18972 elif test $pkg_failed = untried
; then
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18974 $as_echo "no" >&6; }
18977 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18978 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18980 $as_echo "yes" >&6; }
18985 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18987 for x
in $CPPFLAGS; do
18989 acl_save_prefix
="$prefix"
18990 prefix
="$acl_final_prefix"
18991 acl_save_exec_prefix
="$exec_prefix"
18992 exec_prefix
="$acl_final_exec_prefix"
18994 exec_prefix
="$acl_save_exec_prefix"
18995 prefix
="$acl_save_prefix"
18997 if test "X$x" = "X$element"; then
19002 if test -z "$haveit"; then
19003 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19008 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19012 acl_save_prefix
="$prefix"
19013 prefix
="$acl_final_prefix"
19014 acl_save_exec_prefix
="$exec_prefix"
19015 exec_prefix
="$acl_final_exec_prefix"
19017 exec_prefix
="$acl_save_exec_prefix"
19018 prefix
="$acl_save_prefix"
19020 if test "X$x" = "X$element"; then
19025 if test -z "$haveit"; then
19026 LIBS
="${LIBS}${LIBS:+ }$element"
19031 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19035 LTJAVASCRIPTCORE
=$LIBS
19043 # Check whether --enable-console was given.
19044 if test "${enable_console+set}" = set; then :
19045 enableval
=$enable_console;
19048 if test "x$enable_console" != "xno"; then
19050 CY_CONSOLE_FALSE
='#'
19052 CY_CONSOLE_TRUE
='#'
19059 if test "x$CY_EXECUTE" = x1
; then
19061 CY_EXECUTE_FALSE
='#'
19063 CY_EXECUTE_TRUE
='#'
19069 case $CY_EXECUTE in #(
19072 for ac_header
in ffi.h ffi
/ffi.h
19074 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19075 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19076 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19077 cat >>confdefs.h
<<_ACEOF
19078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19089 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19093 C compiler flags
for LIBFFI
, overriding pkg
-config
19094 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19098 $as_echo_n "checking for LIBFFI... " >&6; }
19100 if test -n "$LIBFFI_CFLAGS"; then
19101 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19102 elif test -n "$PKG_CONFIG"; then
19103 if test -n "$PKG_CONFIG" && \
19104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19105 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19108 test $ac_status = 0; }; then
19109 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19116 if test -n "$LIBFFI_LIBS"; then
19117 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19118 elif test -n "$PKG_CONFIG"; then
19119 if test -n "$PKG_CONFIG" && \
19120 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19121 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19124 test $ac_status = 0; }; then
19125 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19135 if test $pkg_failed = yes; then
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19137 $as_echo "no" >&6; }
19139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19140 _pkg_short_errors_supported
=yes
19142 _pkg_short_errors_supported
=no
19144 if test $_pkg_short_errors_supported = yes; then
19145 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19147 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19149 # Put the nasty error message in config.log where it belongs
19150 echo "$LIBFFI_PKG_ERRORS" >&5
19152 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19153 elif test $pkg_failed = untried
; then
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19155 $as_echo "no" >&6; }
19156 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19158 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19159 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19161 $as_echo "yes" >&6; }
19164 for element
in `$PKG_CONFIG --cflags libffi`; do
19166 for x
in $CPPFLAGS; do
19168 acl_save_prefix
="$prefix"
19169 prefix
="$acl_final_prefix"
19170 acl_save_exec_prefix
="$exec_prefix"
19171 exec_prefix
="$acl_final_exec_prefix"
19173 exec_prefix
="$acl_save_exec_prefix"
19174 prefix
="$acl_save_prefix"
19176 if test "X$x" = "X$element"; then
19181 if test -z "$haveit"; then
19182 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19187 for element
in `$PKG_CONFIG --libs libffi`; do
19191 acl_save_prefix
="$prefix"
19192 prefix
="$acl_final_prefix"
19193 acl_save_exec_prefix
="$exec_prefix"
19194 exec_prefix
="$acl_final_exec_prefix"
19196 exec_prefix
="$acl_save_exec_prefix"
19197 prefix
="$acl_save_prefix"
19199 if test "X$x" = "X$element"; then
19204 if test -z "$haveit"; then
19205 LIBS
="${LIBS}${LIBS:+ }$element"
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19215 $as_echo_n "checking for library containing ffi_call... " >&6; }
19216 if ${ac_cv_search_ffi_call+:} false
; then :
19217 $as_echo_n "(cached) " >&6
19219 ac_func_search_save_LIBS
=$LIBS
19220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19223 /* Override any GCC internal prototype to avoid an error.
19224 Use char because int might match the return type of a GCC
19225 builtin and then its argument prototype would still apply. */
19233 return ffi_call ();
19238 for ac_lib
in '' ffi
; do
19239 if test -z "$ac_lib"; then
19240 ac_res
="none required"
19243 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19245 if ac_fn_cxx_try_link
"$LINENO"; then :
19246 ac_cv_search_ffi_call
=$ac_res
19248 rm -f core conftest.err conftest.
$ac_objext \
19250 if ${ac_cv_search_ffi_call+:} false
; then :
19254 if ${ac_cv_search_ffi_call+:} false
; then :
19257 ac_cv_search_ffi_call
=no
19259 rm conftest.
$ac_ext
19260 LIBS
=$ac_func_search_save_LIBS
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19263 $as_echo "$ac_cv_search_ffi_call" >&6; }
19264 ac_res
=$ac_cv_search_ffi_call
19265 if test "$ac_res" != no
; then :
19266 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19270 case $ac_cv_search_ffi_call in #(
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19276 $as_echo_n "checking for LIBFFI... " >&6; }
19278 if test -n "$LIBFFI_CFLAGS"; then
19279 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19280 elif test -n "$PKG_CONFIG"; then
19281 if test -n "$PKG_CONFIG" && \
19282 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19283 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19286 test $ac_status = 0; }; then
19287 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19294 if test -n "$LIBFFI_LIBS"; then
19295 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19296 elif test -n "$PKG_CONFIG"; then
19297 if test -n "$PKG_CONFIG" && \
19298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19299 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19302 test $ac_status = 0; }; then
19303 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19313 if test $pkg_failed = yes; then
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19315 $as_echo "no" >&6; }
19317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19318 _pkg_short_errors_supported
=yes
19320 _pkg_short_errors_supported
=no
19322 if test $_pkg_short_errors_supported = yes; then
19323 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19325 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19327 # Put the nasty error message in config.log where it belongs
19328 echo "$LIBFFI_PKG_ERRORS" >&5
19330 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19331 elif test $pkg_failed = untried
; then
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19333 $as_echo "no" >&6; }
19334 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19336 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19337 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19339 $as_echo "yes" >&6; }
19342 for element
in `$PKG_CONFIG --cflags libffi`; do
19344 for x
in $CPPFLAGS; do
19346 acl_save_prefix
="$prefix"
19347 prefix
="$acl_final_prefix"
19348 acl_save_exec_prefix
="$exec_prefix"
19349 exec_prefix
="$acl_final_exec_prefix"
19351 exec_prefix
="$acl_save_exec_prefix"
19352 prefix
="$acl_save_prefix"
19354 if test "X$x" = "X$element"; then
19359 if test -z "$haveit"; then
19360 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19365 for element
in `$PKG_CONFIG --libs libffi`; do
19369 acl_save_prefix
="$prefix"
19370 prefix
="$acl_final_prefix"
19371 acl_save_exec_prefix
="$exec_prefix"
19372 exec_prefix
="$acl_final_exec_prefix"
19374 exec_prefix
="$acl_save_exec_prefix"
19375 prefix
="$acl_save_prefix"
19377 if test "X$x" = "X$element"; then
19382 if test -z "$haveit"; then
19383 LIBS
="${LIBS}${LIBS:+ }$element"
19400 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19401 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19402 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19403 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19407 $as_echo_n "checking if we really have Objective C++... " >&6; }
19408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19409 /* end confdefs.h. */
19412 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19416 $as_echo "yes" >&6; }
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19420 $as_echo "no" >&6; }
19422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19424 if test "x$CY_OBJECTIVEC" = x1
; then :
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19431 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19432 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19433 $as_echo_n "(cached) " >&6
19436 ac_check_framework_save_LIBS
=$LIBS
19437 LIBS
="-framework CoreFoundation $LIBS"
19438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19441 #include <CoreFoundation/CFBase.h>
19446 CFAllocatorGetDefault();
19451 if ac_fn_objcxx_try_link
"$LINENO"; then :
19453 ac_cv_framework_CoreFoundation
=yes
19456 ac_cv_framework_CoreFoundation
=no
19458 rm -f core conftest.err conftest.
$ac_objext \
19459 conftest
$ac_exeext conftest.
$ac_ext
19460 LIBS
=$ac_check_framework_save_LIBS
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19464 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19465 if test $ac_cv_framework_CoreFoundation = yes; then :
19468 for element
in "-framework CoreFoundation"; do
19472 acl_save_prefix
="$prefix"
19473 prefix
="$acl_final_prefix"
19474 acl_save_exec_prefix
="$exec_prefix"
19475 exec_prefix
="$acl_final_exec_prefix"
19477 exec_prefix
="$acl_save_exec_prefix"
19478 prefix
="$acl_save_prefix"
19480 if test "X$x" = "X$element"; then
19485 if test -z "$haveit"; then
19486 LIBS
="${LIBS}${LIBS:+ }$element"
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19496 $as_echo_n "checking for framework Foundation... " >&6; }
19497 if ${ac_cv_framework_Foundation+:} false
; then :
19498 $as_echo_n "(cached) " >&6
19501 ac_check_framework_save_LIBS
=$LIBS
19502 LIBS
="-framework Foundation $LIBS"
19503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19506 #include <Foundation/NSObject.h>
19511 [[NSObject alloc] init];
19516 if ac_fn_objcxx_try_link
"$LINENO"; then :
19518 ac_cv_framework_Foundation
=yes
19521 ac_cv_framework_Foundation
=no
19523 rm -f core conftest.err conftest.
$ac_objext \
19524 conftest
$ac_exeext conftest.
$ac_ext
19525 LIBS
=$ac_check_framework_save_LIBS
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19529 $as_echo "$ac_cv_framework_Foundation" >&6; }
19530 if test $ac_cv_framework_Foundation = yes; then :
19533 for element
in "-framework Foundation"; do
19537 acl_save_prefix
="$prefix"
19538 prefix
="$acl_final_prefix"
19539 acl_save_exec_prefix
="$exec_prefix"
19540 exec_prefix
="$acl_final_exec_prefix"
19542 exec_prefix
="$acl_save_exec_prefix"
19543 prefix
="$acl_save_prefix"
19545 if test "X$x" = "X$element"; then
19550 if test -z "$haveit"; then
19551 LIBS
="${LIBS}${LIBS:+ }$element"
19555 cat >>confdefs.h
<<_ACEOF
19556 #define HAVE_FRAMEWORK_FOUNDATION 1
19566 for ac_prog
in gnustep
-config
19568 # Extract the first word of "$ac_prog", so it can be a program name with args.
19569 set dummy
$ac_prog; ac_word
=$2
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19571 $as_echo_n "checking for $ac_word... " >&6; }
19572 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19573 $as_echo_n "(cached) " >&6
19575 if test -n "$GNUSTEP_CONFIG"; then
19576 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19579 for as_dir
in $PATH
19582 test -z "$as_dir" && as_dir
=.
19583 for ac_exec_ext
in '' $ac_executable_extensions; do
19584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19585 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19595 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19596 if test -n "$GNUSTEP_CONFIG"; then
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19598 $as_echo "$GNUSTEP_CONFIG" >&6; }
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19601 $as_echo "no" >&6; }
19605 test -n "$GNUSTEP_CONFIG" && break
19609 if test "x$GNUSTEP_CONFIG" != x
; then :
19613 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19615 for x
in $OBJCXXFLAGS; do
19617 acl_save_prefix
="$prefix"
19618 prefix
="$acl_final_prefix"
19619 acl_save_exec_prefix
="$exec_prefix"
19620 exec_prefix
="$acl_final_exec_prefix"
19622 exec_prefix
="$acl_save_exec_prefix"
19623 prefix
="$acl_save_prefix"
19625 if test "X$x" = "X$element"; then
19630 if test -z "$haveit"; then
19631 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19636 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19640 acl_save_prefix
="$prefix"
19641 prefix
="$acl_final_prefix"
19642 acl_save_exec_prefix
="$exec_prefix"
19643 exec_prefix
="$acl_final_exec_prefix"
19645 exec_prefix
="$acl_save_exec_prefix"
19646 prefix
="$acl_save_prefix"
19648 if test "X$x" = "X$element"; then
19653 if test -z "$haveit"; then
19654 LIBS
="${LIBS}${LIBS:+ }$element"
19673 ac_cpp
='$CXXCPP $CPPFLAGS'
19674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19683 if test "x$CY_OBJECTIVEC" = x1
; then
19684 CY_OBJECTIVEC_TRUE
=
19685 CY_OBJECTIVEC_FALSE
='#'
19687 CY_OBJECTIVEC_TRUE
='#'
19688 CY_OBJECTIVEC_FALSE
=
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19697 $as_echo_n "checking for a readline compatible library... " >&6; }
19698 if ${ax_cv_lib_readline+:} false
; then :
19699 $as_echo_n "(cached) " >&6
19703 for readline_lib
in readline edit editline
; do
19704 for termcap_lib
in "" termcap curses ncurses
; do
19705 if test -z "$termcap_lib"; then
19706 TRY_LIB
="-l$readline_lib"
19708 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19710 LIBS
="$ORIG_LIBS $TRY_LIB"
19711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19712 /* end confdefs.h. */
19714 /* Override any GCC internal prototype to avoid an error.
19715 Use char because int might match the return type of a GCC
19716 builtin and then its argument prototype would still apply. */
19724 return readline ();
19729 if ac_fn_cxx_try_link
"$LINENO"; then :
19730 ax_cv_lib_readline
="$TRY_LIB"
19732 rm -f core conftest.err conftest.
$ac_objext \
19733 conftest
$ac_exeext conftest.
$ac_ext
19734 if test -n "$ax_cv_lib_readline"; then
19738 if test -n "$ax_cv_lib_readline"; then
19742 if test -z "$ax_cv_lib_readline"; then
19743 ax_cv_lib_readline
="no"
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19749 $as_echo "$ax_cv_lib_readline" >&6; }
19751 if test "$ax_cv_lib_readline" != "no"; then
19752 LIBS
="$LIBS $ax_cv_lib_readline"
19754 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19756 for ac_header
in readline.h readline
/readline.h
19758 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19759 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19760 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19761 cat >>confdefs.h
<<_ACEOF
19762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19770 $as_echo_n "checking whether readline supports history... " >&6; }
19771 if ${ax_cv_lib_readline_history+:} false
; then :
19772 $as_echo_n "(cached) " >&6
19775 ax_cv_lib_readline_history
="no"
19776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19777 /* end confdefs.h. */
19779 /* Override any GCC internal prototype to avoid an error.
19780 Use char because int might match the return type of a GCC
19781 builtin and then its argument prototype would still apply. */
19785 char add_history ();
19789 return add_history ();
19794 if ac_fn_cxx_try_link
"$LINENO"; then :
19795 ax_cv_lib_readline_history
="yes"
19797 rm -f core conftest.err conftest.
$ac_objext \
19798 conftest
$ac_exeext conftest.
$ac_ext
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19802 $as_echo "$ax_cv_lib_readline_history" >&6; }
19803 if test "$ax_cv_lib_readline_history" = "yes"; then
19805 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19807 for ac_header
in history.h readline
/history.h
19809 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19810 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19811 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19812 cat >>confdefs.h
<<_ACEOF
19813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19823 LTLIBREADLINE
=$LIBS
19827 case $ax_cv_lib_readline in #(
19829 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
19838 $as_echo_n "checking for library containing cur_term... " >&6; }
19839 if ${ac_cv_search_cur_term+:} false
; then :
19840 $as_echo_n "(cached) " >&6
19842 ac_func_search_save_LIBS
=$LIBS
19843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19846 /* Override any GCC internal prototype to avoid an error.
19847 Use char because int might match the return type of a GCC
19848 builtin and then its argument prototype would still apply. */
19856 return cur_term ();
19861 for ac_lib
in '' termcap ncurses
; do
19862 if test -z "$ac_lib"; then
19863 ac_res
="none required"
19866 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19868 if ac_fn_cxx_try_link
"$LINENO"; then :
19869 ac_cv_search_cur_term
=$ac_res
19871 rm -f core conftest.err conftest.
$ac_objext \
19873 if ${ac_cv_search_cur_term+:} false
; then :
19877 if ${ac_cv_search_cur_term+:} false
; then :
19880 ac_cv_search_cur_term
=no
19882 rm conftest.
$ac_ext
19883 LIBS
=$ac_func_search_save_LIBS
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
19886 $as_echo "$ac_cv_search_cur_term" >&6; }
19887 ac_res
=$ac_cv_search_cur_term
19888 if test "$ac_res" != no
; then :
19889 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19904 if test "x$CY_EXECUTE" = x1
; then :
19906 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
19907 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
19909 if test -n "$ac_tool_prefix"; then
19910 for ac_prog
in lipo
19912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19913 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19915 $as_echo_n "checking for $ac_word... " >&6; }
19916 if ${ac_cv_prog__LIPO+:} false
; then :
19917 $as_echo_n "(cached) " >&6
19919 if test -n "$_LIPO"; then
19920 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
19922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19923 for as_dir
in $PATH
19926 test -z "$as_dir" && as_dir
=.
19927 for ac_exec_ext
in '' $ac_executable_extensions; do
19928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19929 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
19930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19939 _LIPO
=$ac_cv_prog__LIPO
19940 if test -n "$_LIPO"; then
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
19942 $as_echo "$_LIPO" >&6; }
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19945 $as_echo "no" >&6; }
19949 test -n "$_LIPO" && break
19952 if test -z "$_LIPO"; then
19954 for ac_prog
in lipo
19956 # Extract the first word of "$ac_prog", so it can be a program name with args.
19957 set dummy
$ac_prog; ac_word
=$2
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19959 $as_echo_n "checking for $ac_word... " >&6; }
19960 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
19961 $as_echo_n "(cached) " >&6
19963 if test -n "$ac_ct__LIPO"; then
19964 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
19966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19967 for as_dir
in $PATH
19970 test -z "$as_dir" && as_dir
=.
19971 for ac_exec_ext
in '' $ac_executable_extensions; do
19972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19973 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
19974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19983 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
19984 if test -n "$ac_ct__LIPO"; then
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
19986 $as_echo "$ac_ct__LIPO" >&6; }
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19989 $as_echo "no" >&6; }
19993 test -n "$ac_ct__LIPO" && break
19996 if test "x$ac_ct__LIPO" = x
; then
19997 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
19999 case $cross_compiling:$ac_tool_warned in
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20003 ac_tool_warned
=yes ;;
20009 if test -n "$ac_tool_prefix"; then
20012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20013 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20015 $as_echo_n "checking for $ac_word... " >&6; }
20016 if ${ac_cv_prog__NM+:} false
; then :
20017 $as_echo_n "(cached) " >&6
20019 if test -n "$_NM"; then
20020 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20023 for as_dir
in $PATH
20026 test -z "$as_dir" && as_dir
=.
20027 for ac_exec_ext
in '' $ac_executable_extensions; do
20028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20029 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20039 _NM
=$ac_cv_prog__NM
20040 if test -n "$_NM"; then
20041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20042 $as_echo "$_NM" >&6; }
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20045 $as_echo "no" >&6; }
20049 test -n "$_NM" && break
20052 if test -z "$_NM"; then
20056 # Extract the first word of "$ac_prog", so it can be a program name with args.
20057 set dummy
$ac_prog; ac_word
=$2
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20059 $as_echo_n "checking for $ac_word... " >&6; }
20060 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20061 $as_echo_n "(cached) " >&6
20063 if test -n "$ac_ct__NM"; then
20064 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20067 for as_dir
in $PATH
20070 test -z "$as_dir" && as_dir
=.
20071 for ac_exec_ext
in '' $ac_executable_extensions; do
20072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20073 ac_cv_prog_ac_ct__NM
="$ac_prog"
20074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20083 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20084 if test -n "$ac_ct__NM"; then
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20086 $as_echo "$ac_ct__NM" >&6; }
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20089 $as_echo "no" >&6; }
20093 test -n "$ac_ct__NM" && break
20096 if test "x$ac_ct__NM" = x
; then
20097 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20099 case $cross_compiling:$ac_tool_warned in
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20103 ac_tool_warned
=yes ;;
20109 if test -n "$ac_tool_prefix"; then
20110 for ac_prog
in otool
20112 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20113 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20115 $as_echo_n "checking for $ac_word... " >&6; }
20116 if ${ac_cv_prog__OTOOL+:} false
; then :
20117 $as_echo_n "(cached) " >&6
20119 if test -n "$_OTOOL"; then
20120 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20123 for as_dir
in $PATH
20126 test -z "$as_dir" && as_dir
=.
20127 for ac_exec_ext
in '' $ac_executable_extensions; do
20128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20129 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20139 _OTOOL
=$ac_cv_prog__OTOOL
20140 if test -n "$_OTOOL"; then
20141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20142 $as_echo "$_OTOOL" >&6; }
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20145 $as_echo "no" >&6; }
20149 test -n "$_OTOOL" && break
20152 if test -z "$_OTOOL"; then
20153 ac_ct__OTOOL
=$_OTOOL
20154 for ac_prog
in otool
20156 # Extract the first word of "$ac_prog", so it can be a program name with args.
20157 set dummy
$ac_prog; ac_word
=$2
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20159 $as_echo_n "checking for $ac_word... " >&6; }
20160 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20161 $as_echo_n "(cached) " >&6
20163 if test -n "$ac_ct__OTOOL"; then
20164 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20167 for as_dir
in $PATH
20170 test -z "$as_dir" && as_dir
=.
20171 for ac_exec_ext
in '' $ac_executable_extensions; do
20172 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20173 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20183 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20184 if test -n "$ac_ct__OTOOL"; then
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20186 $as_echo "$ac_ct__OTOOL" >&6; }
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20189 $as_echo "no" >&6; }
20193 test -n "$ac_ct__OTOOL" && break
20196 if test "x$ac_ct__OTOOL" = x
; then
20197 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20199 case $cross_compiling:$ac_tool_warned in
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20203 ac_tool_warned
=yes ;;
20205 _OTOOL
=$ac_ct__OTOOL
20209 CY_ATTACH_GROUP
=procmod
20217 if test "x$CY_MACH" = x1
; then
20226 ac_config_files
="$ac_config_files Makefile"
20228 cat >confcache
<<\_ACEOF
20229 # This file is a shell script that caches the results of configure
20230 # tests run on this system so they can be shared between configure
20231 # scripts and configure runs, see configure's option --config-cache.
20232 # It is not useful on other systems. If it contains results you don't
20233 # want to keep, you may remove or edit it.
20235 # config.status only pays attention to the cache file if you give it
20236 # the --recheck option to rerun configure.
20238 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20239 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20240 # following values.
20244 # The following way of writing the cache mishandles newlines in values,
20245 # but we know of no workaround that is simple, portable, and efficient.
20246 # So, we kill variables containing newlines.
20247 # Ultrix sh set writes to stderr and can't be redirected directly,
20248 # and sets the high bit in the cache file unless we assign to the vars.
20250 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20251 eval ac_val
=\$
$ac_var
20255 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20256 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20259 _
| IFS
| as_nl
) ;; #(
20260 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20261 *) { eval $ac_var=; unset $ac_var;} ;;
20267 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20268 *${as_nl}ac_space
=\
*)
20269 # `set' does not quote correctly, so add quotes: double-quote
20270 # substitution turns \\\\ into \\, and sed turns \\ into \.
20273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20276 # `set' quotes correctly as required by POSIX, so do not add quotes.
20277 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20286 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20288 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20290 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20291 if test -w "$cache_file"; then
20292 if test "x$cache_file" != "x/dev/null"; then
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20294 $as_echo "$as_me: updating cache $cache_file" >&6;}
20295 if test ! -f "$cache_file" || test -h "$cache_file"; then
20296 cat confcache
>"$cache_file"
20298 case $cache_file in #(
20300 mv -f confcache
"$cache_file"$$
&&
20301 mv -f "$cache_file"$$
"$cache_file" ;; #(
20303 mv -f confcache
"$cache_file" ;;
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20309 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20314 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20315 # Let make expand exec_prefix.
20316 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20318 DEFS
=-DHAVE_CONFIG_H
20323 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20324 # 1. Remove the extension, and $U if already installed.
20325 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20326 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20327 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20328 # will be set to the directory where LIBOBJS objects are built.
20329 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20330 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20332 LIBOBJS
=$ac_libobjs
20334 LTLIBOBJS
=$ac_ltlibobjs
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20338 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20339 if test -n "$am_sleep_pid"; then
20340 # Hide warnings about reused PIDs.
20341 wait $am_sleep_pid 2>/dev
/null
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20344 $as_echo "done" >&6; }
20345 if test -n "$EXEEXT"; then
20347 am__EXEEXT_FALSE
='#'
20349 am__EXEEXT_TRUE
='#'
20353 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20354 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20357 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20358 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20361 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20362 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20365 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20366 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20369 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
20370 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
20371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20373 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
20374 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
20375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20377 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
20378 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
20379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20381 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
20382 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
20383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20385 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
20386 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
20387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20390 : "${CONFIG_STATUS=./config.status}"
20392 ac_clean_files_save
=$ac_clean_files
20393 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20395 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20397 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20399 # Generated by $as_me.
20400 # Run this file to recreate the current configuration.
20401 # Compiler output produced by configure, useful for debugging
20402 # configure, is in config.log if it exists.
20405 ac_cs_recheck=false
20408 SHELL=\${CONFIG_SHELL-$SHELL}
20411 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20412 ## -------------------- ##
20413 ## M4sh Initialization. ##
20414 ## -------------------- ##
20416 # Be more Bourne compatible
20417 DUALCASE
=1; export DUALCASE
# for MKS sh
20418 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20421 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20422 # is contrary to our usage. Disable this feature.
20423 alias -g '${1+"$@"}'='"$@"'
20424 setopt NO_GLOB_SUBST
20426 case `(set -o) 2>/dev/null` in #(
20438 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20439 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20442 # Prefer a ksh shell builtin over an external printf program on Solaris,
20443 # but without wasting forks for bash or zsh.
20444 if test -z "$BASH_VERSION$ZSH_VERSION" \
20445 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20446 as_echo='print
-r --'
20447 as_echo_n='print
-rn --'
20448 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20449 as_echo='printf %s
\n'
20450 as_echo_n='printf %s
'
20452 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20453 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20454 as_echo_n='/usr
/ucb
/echo -n'
20456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20457 as_echo_n_body='eval
20461 expr "X$arg" : "X\\(.*\\)$as_nl";
20462 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20464 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20466 export as_echo_n_body
20467 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20469 export as_echo_body
20470 as_echo='sh
-c $as_echo_body as_echo
'
20473 # The user is always right.
20474 if test "${PATH_SEPARATOR+set}" != set; then
20476 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20477 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20484 # We need space, tab and new line, in precisely that order. Quoting is
20485 # there to prevent editors from complaining about space-tab.
20486 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20487 # splitting by setting IFS to empty value.)
20490 # Find who we are. Look in the path if we contain no directory separator.
20493 *[\\/]* ) as_myself=$0 ;;
20494 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20495 for as_dir in $PATH
20498 test -z "$as_dir" && as_dir=.
20499 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20505 # We did not find ourselves, most probably we were run as `sh COMMAND'
20506 # in which case we are not to be found in the path.
20507 if test "x$as_myself" = x
; then
20510 if test ! -f "$as_myself"; then
20511 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20515 # Unset variables that we do not need and which cause bugs (e.g. in
20516 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20517 # suppresses any "Segmentation fault" message there. '((' could
20518 # trigger a bug in pdksh 5.2.14.
20519 for as_var
in BASH_ENV ENV MAIL MAILPATH
20520 do eval test x\
${$as_var+set} = xset \
20521 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20534 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20537 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20538 # ----------------------------------------
20539 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20540 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20541 # script with STATUS, using 1 if that was 0.
20544 as_status
=$1; test $as_status -eq 0 && as_status
=1
20546 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20547 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20549 $as_echo "$as_me: error: $2" >&2
20550 as_fn_exit
$as_status
20554 # as_fn_set_status STATUS
20555 # -----------------------
20556 # Set $? to STATUS, without forking.
20557 as_fn_set_status
()
20560 } # as_fn_set_status
20562 # as_fn_exit STATUS
20563 # -----------------
20564 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20568 as_fn_set_status
$1
20574 # Portably unset VAR.
20577 { eval $1=; unset $1;}
20579 as_unset
=as_fn_unset
20580 # as_fn_append VAR VALUE
20581 # ----------------------
20582 # Append the text in VALUE to the end of the definition contained in VAR. Take
20583 # advantage of any shell optimizations that allow amortized linear growth over
20584 # repeated appends, instead of the typical quadratic growth present in naive
20586 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20587 eval 'as_fn_append ()
20598 # as_fn_arith ARG...
20599 # ------------------
20600 # Perform arithmetic evaluation on the ARGs, and store the result in the
20601 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20602 # must be portable across $(()) and expr.
20603 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20604 eval 'as_fn_arith ()
20611 as_val
=`expr "$@" || test $? -eq 1`
20616 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20617 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20623 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20624 as_basename
=basename
20629 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20635 as_me
=`$as_basename -- "$0" ||
20636 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20637 X"$0" : 'X\(//\)$' \| \
20638 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20640 sed '/^.*\/\([^/][^/]*\)\/*$/{
20654 # Avoid depending upon Character Ranges.
20655 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20656 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20657 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20658 as_cr_digits
='0123456789'
20659 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20661 ECHO_C
= ECHO_N
= ECHO_T
=
20662 case `echo -n x` in #(((((
20664 case `echo 'xy\c'` in
20665 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20667 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20674 rm -f conf$$ conf$$.exe conf$$.
file
20675 if test -d conf$$.dir
; then
20676 rm -f conf$$.dir
/conf$$.
file
20679 mkdir conf$$.dir
2>/dev
/null
20681 if (echo >conf$$.
file) 2>/dev
/null
; then
20682 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20684 # ... but there are two gotchas:
20685 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20686 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20687 # In both cases, we have to default to `cp -pR'.
20688 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20690 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20698 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20699 rmdir conf$$.dir
2>/dev
/null
20704 # Create "$as_dir" as a directory, including parents if necessary.
20709 -*) as_dir
=.
/$as_dir;;
20711 test -d "$as_dir" || eval $as_mkdir_p || {
20715 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20716 *) as_qdir
=$as_dir;;
20718 as_dirs
="'$as_qdir' $as_dirs"
20719 as_dir
=`$as_dirname -- "$as_dir" ||
20720 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20721 X"$as_dir" : 'X\(//\)[^/]' \| \
20722 X"$as_dir" : 'X\(//\)$' \| \
20723 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20724 $as_echo X"$as_dir" |
20725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20729 /^X\(\/\/\)[^/].*/{
20742 test -d "$as_dir" && break
20744 test -z "$as_dirs" || eval "mkdir $as_dirs"
20745 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20749 if mkdir -p .
2>/dev
/null
; then
20750 as_mkdir_p
='mkdir -p "$as_dir"'
20752 test -d .
/-p && rmdir .
/-p
20757 # as_fn_executable_p FILE
20758 # -----------------------
20759 # Test if FILE is an executable regular file.
20760 as_fn_executable_p
()
20762 test -f "$1" && test -x "$1"
20763 } # as_fn_executable_p
20764 as_test_x
='test -x'
20765 as_executable_p
=as_fn_executable_p
20767 # Sed expression to map a string onto a valid CPP name.
20768 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20770 # Sed expression to map a string onto a valid variable name.
20771 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20775 ## ----------------------------------- ##
20776 ## Main body of $CONFIG_STATUS script. ##
20777 ## ----------------------------------- ##
20779 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20781 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20782 # Save the log message, to keep $0 and so on meaningful, and to
20783 # report actual input values of CONFIG_FILES etc. instead of their
20784 # values after options handling.
20786 This file was extended by Cycript $as_me 0.9, which was
20787 generated by GNU Autoconf 2.69. Invocation command line was
20789 CONFIG_FILES = $CONFIG_FILES
20790 CONFIG_HEADERS = $CONFIG_HEADERS
20791 CONFIG_LINKS = $CONFIG_LINKS
20792 CONFIG_COMMANDS = $CONFIG_COMMANDS
20795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20800 case $ac_config_files in *"
20801 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20804 case $ac_config_headers in *"
20805 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20810 # Files that config.status was made for.
20811 config_files="$ac_config_files"
20812 config_headers="$ac_config_headers"
20813 config_commands="$ac_config_commands"
20817 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20819 \`$as_me' instantiates files and other configuration actions
20820 from templates according to the current configuration. Unless the files
20821 and actions are specified as TAGs, all are instantiated by default.
20823 Usage: $0 [OPTION]... [TAG]...
20825 -h, --help print this help, then exit
20826 -V, --version print version number and configuration settings, then exit
20827 --config print configuration, then exit
20828 -q, --quiet, --silent
20829 do not print progress messages
20830 -d, --debug don't remove temporary files
20831 --recheck update $as_me by reconfiguring in the same conditions
20832 --file=FILE[:TEMPLATE]
20833 instantiate the configuration file FILE
20834 --header=FILE[:TEMPLATE]
20835 instantiate the configuration header FILE
20837 Configuration files:
20840 Configuration headers:
20843 Configuration commands:
20846 Report bugs to <saurik@saurik.com>.
20847 Cycript home page: <http://www.cycript.org/>."
20850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20851 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20853 Cycript config.status 0.9
20854 configured by $0, generated by GNU Autoconf 2.69,
20855 with options \\"\$ac_cs_config\\"
20857 Copyright (C) 2012 Free Software Foundation, Inc.
20858 This config.status script is free software; the Free Software Foundation
20859 gives unlimited permission to copy, distribute and modify it."
20866 test -n "\$AWK" || AWK=awk
20869 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20870 # The default lists apply if the user does not specify any file.
20876 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20877 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20881 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20893 # Handling of the options.
20894 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20896 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20897 $as_echo "$ac_cs_version"; exit ;;
20898 --config | --confi | --conf | --con | --co | --c )
20899 $as_echo "$ac_cs_config"; exit ;;
20900 --debug | --debu | --deb | --de | --d | -d )
20902 --file | --fil | --fi | --f )
20905 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20906 '') as_fn_error $?
"missing file argument" ;;
20908 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20909 ac_need_defaults
=false
;;
20910 --header | --heade | --head | --hea )
20913 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20915 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20916 ac_need_defaults
=false
;;
20918 # Conflict between --help and --header
20919 as_fn_error $?
"ambiguous option: \`$1'
20920 Try \`$0 --help' for more information.";;
20921 --help | --hel | -h )
20922 $as_echo "$ac_cs_usage"; exit ;;
20923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20924 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20927 # This is an error.
20928 -*) as_fn_error $?
"unrecognized option: \`$1'
20929 Try \`$0 --help' for more information." ;;
20931 *) as_fn_append ac_config_targets
" $1"
20932 ac_need_defaults
=false
;;
20938 ac_configure_extra_args
=
20940 if $ac_cs_silent; then
20942 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20947 if \$ac_cs_recheck; then
20948 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20950 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20951 CONFIG_SHELL='$SHELL'
20952 export CONFIG_SHELL
20957 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20961 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20962 ## Running $as_me. ##
20968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20972 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20975 # The HP-UX ksh and POSIX shell print the target directory to stdout
20976 # if CDPATH is set.
20977 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20979 sed_quote_subst='$sed_quote_subst'
20980 double_quote_subst='$double_quote_subst'
20981 delay_variable_subst='$delay_variable_subst'
20982 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20983 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20984 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20985 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20986 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20987 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20988 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20989 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20990 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20991 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20992 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20993 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20994 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20995 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20996 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20997 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20998 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20999 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21000 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21001 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21002 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21003 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21004 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21005 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21006 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21007 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21008 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21009 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21010 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21011 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21012 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21013 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21014 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21015 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21016 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21017 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21018 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21019 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21020 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21021 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21022 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21023 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21024 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21025 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21026 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21027 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21028 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21029 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21030 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21031 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21032 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21033 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21034 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21035 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21036 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21037 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21038 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"`'
21039 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21040 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21041 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21042 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21043 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21044 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21045 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21046 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21047 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21048 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21049 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21050 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21051 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21052 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21053 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21054 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21055 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21056 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21057 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21058 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21059 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21060 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21061 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21062 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21063 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21064 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21065 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21066 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21067 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21068 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21069 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21070 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21071 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21072 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21073 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21074 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21075 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21076 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21077 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21078 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21079 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21080 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21081 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21082 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21083 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21084 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21085 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21086 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21087 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21088 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21089 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21090 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21091 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21092 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21093 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21094 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21095 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21096 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21097 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21098 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21099 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21100 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21101 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21102 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21103 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21104 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21105 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21106 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21107 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21108 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21109 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21110 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21111 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21112 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21113 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21114 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21115 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21116 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21117 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21118 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21119 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21120 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21121 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21122 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21123 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21124 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21125 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21126 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21127 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21128 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21129 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21130 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21131 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21132 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21133 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21134 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21135 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21136 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21137 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21138 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21139 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21140 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21141 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21142 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21143 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21144 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21145 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21146 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21147 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21148 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21149 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21150 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21151 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21152 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21153 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21154 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21155 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21156 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21157 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21158 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21159 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21160 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21161 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21162 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21163 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21164 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21165 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21168 LTCFLAGS='$LTCFLAGS'
21169 compiler='$compiler_DEFAULT'
21171 # A function that is used when there is no print builtin or printf.
21172 func_fallback_echo ()
21174 eval 'cat <<_LTECHO_EOF
21179 # Quote evaled strings.
21194 deplibs_check_method \
21199 sharedlib_from_linklib_cmd \
21202 archiver_list_spec \
21208 lt_cv_sys_global_symbol_pipe \
21209 lt_cv_sys_global_symbol_to_cdecl \
21210 lt_cv_sys_global_symbol_to_c_name_address \
21211 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21212 nm_file_list_spec \
21213 lt_prog_compiler_no_builtin_flag \
21214 lt_prog_compiler_pic \
21215 lt_prog_compiler_wl \
21216 lt_prog_compiler_static \
21217 lt_cv_prog_compiler_c_o \
21226 export_dynamic_flag_spec \
21227 whole_archive_flag_spec \
21228 compiler_needs_object \
21230 allow_undefined_flag \
21231 no_undefined_flag \
21232 hardcode_libdir_flag_spec \
21233 hardcode_libdir_separator \
21237 variables_saved_for_relink \
21239 library_names_spec \
21241 install_override_mode \
21245 compiler_lib_search_dirs \
21250 compiler_lib_search_path \
21254 lt_prog_compiler_no_builtin_flag_CXX \
21255 lt_prog_compiler_pic_CXX \
21256 lt_prog_compiler_wl_CXX \
21257 lt_prog_compiler_static_CXX \
21258 lt_cv_prog_compiler_c_o_CXX \
21259 export_dynamic_flag_spec_CXX \
21260 whole_archive_flag_spec_CXX \
21261 compiler_needs_object_CXX \
21263 allow_undefined_flag_CXX \
21264 no_undefined_flag_CXX \
21265 hardcode_libdir_flag_spec_CXX \
21266 hardcode_libdir_separator_CXX \
21267 exclude_expsyms_CXX \
21268 include_expsyms_CXX \
21269 file_list_spec_CXX \
21270 compiler_lib_search_dirs_CXX \
21271 predep_objects_CXX \
21272 postdep_objects_CXX \
21275 compiler_lib_search_path_CXX; do
21276 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21277 *[\\\\\\\`\\"\\\$]*)
21278 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21281 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21286 # Double-quote double-evaled strings.
21287 for var in reload_cmds \
21288 old_postinstall_cmds \
21289 old_postuninstall_cmds \
21291 extract_expsyms_cmds \
21292 old_archive_from_new_cmds \
21293 old_archive_from_expsyms_cmds \
21295 archive_expsym_cmds \
21297 module_expsym_cmds \
21298 export_symbols_cmds \
21302 postuninstall_cmds \
21304 sys_lib_search_path_spec \
21305 sys_lib_dlsearch_path_spec \
21307 old_archive_cmds_CXX \
21308 old_archive_from_new_cmds_CXX \
21309 old_archive_from_expsyms_cmds_CXX \
21311 archive_expsym_cmds_CXX \
21313 module_expsym_cmds_CXX \
21314 export_symbols_cmds_CXX \
21316 postlink_cmds_CXX; do
21317 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21318 *[\\\\\\\`\\"\\\$]*)
21319 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21322 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21327 ac_aux_dir='$ac_aux_dir'
21328 xsi_shell='$xsi_shell'
21329 lt_shell_append='$lt_shell_append'
21331 # See if we are running on zsh, and set the options which allow our
21332 # commands through without removal of \ escapes INIT.
21333 if test -n "\${ZSH_VERSION+set}" ; then
21334 setopt NO_GLOB_SUBST
21340 TIMESTAMP='$TIMESTAMP'
21351 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21353 # Handling of arguments.
21354 for ac_config_target
in $ac_config_targets
21356 case $ac_config_target in
21357 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21358 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21359 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21360 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21362 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21367 # If the user did not use the arguments to specify the items to instantiate,
21368 # then the envvar interface is used. Set only those that are not.
21369 # We use the long form for the default assignment because of an extremely
21370 # bizarre bug on SunOS 4.1.3.
21371 if $ac_need_defaults; then
21372 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21373 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21374 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21377 # Have a temporary directory for convenience. Make it in the build tree
21378 # simply because there is no reason against having it here, and in addition,
21379 # creating and moving files from /tmp can sometimes cause problems.
21380 # Hook for its removal unless debugging.
21381 # Note that there is a small window in which the directory will not be cleaned:
21382 # after its creation but before its name has been assigned to `$tmp'.
21386 trap 'exit_status=$?
21387 : "${ac_tmp:=$tmp}"
21388 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21390 trap 'as_fn_exit 1' 1 2 13 15
21392 # Create a (secure) tmp directory for tmp files.
21395 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21399 tmp
=.
/conf$$
-$RANDOM
21400 (umask 077 && mkdir "$tmp")
21401 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21404 # Set up the scripts for CONFIG_FILES section.
21405 # No need to generate them if there are no CONFIG_FILES.
21406 # This happens for instance with `./config.status config.h'.
21407 if test -n "$CONFIG_FILES"; then
21410 ac_cr
=`echo X | tr X '\015'`
21411 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21412 # But we know of no other shell where ac_cr would be empty at this
21413 # point, so we can use a bashism as a fallback.
21414 if test "x$ac_cr" = x
; then
21415 eval ac_cr
=\$
\'\\r
\'
21417 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21418 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21421 ac_cs_awk_cr
=$ac_cr
21424 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21429 echo "cat >conf$$subs.awk <<_ACEOF" &&
21430 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21432 } >conf$$subs.sh ||
21433 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21434 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21436 for ac_last_try in false false false false false :; do
21437 . ./conf$$subs.sh ||
21438 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21440 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21441 if test $ac_delim_n = $ac_delim_num; then
21443 elif $ac_last_try; then
21444 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21446 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21449 rm -f conf$$subs.sh
21451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21452 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21456 s/^/S["/; s
/!.
*/"]=/
21466 s/\(.\{148\}\)..*/\1/
21468 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21473 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21480 s/\(.\{148\}\)..*/\1/
21482 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21486 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21491 ' <conf$$subs.awk | sed '
21496 ' >>$CONFIG_STATUS || ac_write_fail=1
21497 rm -f conf$$subs.awk
21498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21500 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21501 for (key in S) S_is_set[key] = 1
21507 nfields = split(line, field, "@
")
21509 len = length(field[1])
21510 for (i = 2; i < nfields; i++) {
21512 keylen = length(key)
21513 if (S_is_set[key]) {
21515 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21516 len += length(value) + length(field[++i])
21527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21528 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21529 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21532 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21533 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21536 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21537 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21538 # trailing colons and then remove the whole line if VPATH becomes empty
21539 # (actually we leave an empty line to preserve line numbers).
21540 if test "x
$srcdir" = x.; then
21541 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21560 fi # test -n "$CONFIG_FILES"
21562 # Set up the scripts for CONFIG_HEADERS section.
21563 # No need to generate them if there are no CONFIG_HEADERS.
21564 # This happens for instance with `./config.status Makefile'.
21565 if test -n "$CONFIG_HEADERS"; then
21566 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21570 # Transform confdefs.h into an awk script `defines.awk', embedded as
21571 # here-document in config.status, that substitutes the proper values into
21572 # config.h.in to produce config.h.
21574 # Create a delimiter string that does not exist in confdefs.h, to ease
21575 # handling of long lines.
21577 for ac_last_try in false false :; do
21578 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21579 if test -z "$ac_tt"; then
21581 elif $ac_last_try; then
21582 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21584 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21588 # For the awk script, D is an array of macro values keyed by name,
21589 # likewise P contains macro parameters if any. Preserve backslash
21590 # newline sequences.
21592 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21594 s/.\{148\}/&'"$ac_delim"'/g
21597 s/^[ ]*#[ ]*define[ ][ ]*/ /
21604 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21606 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21610 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21611 D["\
1"]=" \
3\\\\\\n
"\\/p
21613 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21618 s/.\{148\}/&'"$ac_delim"'/g
21623 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21626 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21628 ' <confdefs.h | sed '
21629 s/'"$ac_delim"'/"\\\
21630 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21633 for (key in D) D_is_set[key] = 1
21636 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21638 split(line, arg, " ")
21639 if (arg[1] == "#") {
21643 defundef
= substr
(arg
[1], 2)
21646 split(mac1
, mac2
, "(") #)
21648 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21649 if (D_is_set
[macro
]) {
21650 # Preserve the white space surrounding the "#".
21651 print prefix
"define", macro P
[macro
] D
[macro
]
21654 # Replace #undef with comments. This is necessary, for example,
21655 # in the case of _POSIX_SOURCE, which is predefined and required
21656 # on some systems where configure will not decide to define it.
21657 if (defundef
== "undef") {
21658 print
"/*", prefix defundef
, macro
, "*/"
21666 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21667 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21668 fi # test -n "$CONFIG_HEADERS"
21671 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21676 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21678 case $ac_mode$ac_tag in
21680 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21681 :[FH
]-) ac_tag
=-:-;;
21682 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21699 -) ac_f
="$ac_tmp/stdin";;
21700 *) # Look for the file first in the build tree, then in the source tree
21701 # (if the path is not absolute). The absolute path cannot be DOS-style,
21702 # because $ac_f cannot contain `:'.
21706 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21708 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21710 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21711 as_fn_append ac_file_inputs
" '$ac_f'"
21714 # Let's still pretend it is `configure' which instantiates (i.e., don't
21715 # use $as_me), people would be surprised to read:
21716 # /* config.h. Generated by config.status. */
21717 configure_input
='Generated from '`
21718 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21720 if test x
"$ac_file" != x
-; then
21721 configure_input
="$ac_file. $configure_input"
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21723 $as_echo "$as_me: creating $ac_file" >&6;}
21725 # Neutralize special characters interpreted by sed in replacement strings.
21726 case $configure_input in #(
21727 *\
&* | *\
|* | *\\* )
21728 ac_sed_conf_input
=`$as_echo "$configure_input" |
21729 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21730 *) ac_sed_conf_input
=$configure_input;;
21734 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21735 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21740 ac_dir
=`$as_dirname -- "$ac_file" ||
21741 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21742 X"$ac_file" : 'X\(//\)[^/]' \| \
21743 X"$ac_file" : 'X\(//\)$' \| \
21744 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21745 $as_echo X"$ac_file" |
21746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21750 /^X\(\/\/\)[^/].*/{
21763 as_dir
="$ac_dir"; as_fn_mkdir_p
21767 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21769 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21770 # A ".." for each directory in $ac_dir_suffix.
21771 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21772 case $ac_top_builddir_sub in
21773 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21774 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21777 ac_abs_top_builddir
=$ac_pwd
21778 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21779 # for backward compatibility:
21780 ac_top_builddir
=$ac_top_build_prefix
21783 .
) # We are building in place.
21785 ac_top_srcdir
=$ac_top_builddir_sub
21786 ac_abs_top_srcdir
=$ac_pwd ;;
21787 [\\/]* | ?
:[\\/]* ) # Absolute name.
21788 ac_srcdir
=$srcdir$ac_dir_suffix;
21789 ac_top_srcdir
=$srcdir
21790 ac_abs_top_srcdir
=$srcdir ;;
21791 *) # Relative name.
21792 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21793 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21794 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21796 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21806 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21807 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21809 ac_MKDIR_P
=$MKDIR_P
21811 [\\/$
]* | ?
:[\\/]* ) ;;
21812 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21816 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21817 # If the template does not know about datarootdir, expand it.
21818 # FIXME: This hack should be removed a few years after 2.60.
21819 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21830 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21831 *datarootdir
*) ac_datarootdir_seen
=yes;;
21832 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21834 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21837 ac_datarootdir_hack='
21838 s&@datadir@&$datadir&g
21839 s&@docdir@&$docdir&g
21840 s&@infodir@&$infodir&g
21841 s&@localedir@&$localedir&g
21842 s&@mandir@&$mandir&g
21843 s&\\\${datarootdir}&$datarootdir&g' ;;
21847 # Neutralize VPATH when `$srcdir' = `.'.
21848 # Shell code in configure.ac might set extrasub.
21849 # FIXME: do we really want to maintain this feature?
21850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21851 ac_sed_extra="$ac_vpsub
21854 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21856 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21857 s
|@configure_input@
|$ac_sed_conf_input|;t t
21858 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21859 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21860 s
&@srcdir@
&$ac_srcdir&;t t
21861 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21862 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21863 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21864 s
&@builddir@
&$ac_builddir&;t t
21865 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21866 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21867 s
&@INSTALL@
&$ac_INSTALL&;t t
21868 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21869 $ac_datarootdir_hack
21871 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21872 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21874 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21875 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21876 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21877 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21879 which seems to be undefined. Please make sure it is defined" >&5
21880 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21881 which seems to be undefined. Please make sure it is defined" >&2;}
21883 rm -f "$ac_tmp/stdin"
21885 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21886 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21888 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21894 if test x"$ac_file" != x-; then
21896 $as_echo "/* $configure_input */" \
21897 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21898 } >"$ac_tmp/config.h" \
21899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21900 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21902 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21905 mv "$ac_tmp/config.h" "$ac_file" \
21906 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21909 $as_echo "/* $configure_input */" \
21910 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21911 || as_fn_error $? "could not create -" "$LINENO" 5
21913 # Compute "$ac_file"'s index
in $config_headers.
21916 for _am_header
in $config_headers :; do
21917 case $_am_header in
21918 $_am_arg | $_am_arg:* )
21921 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21924 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21925 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21926 X"$_am_arg" : 'X\(//\)[^/]' \| \
21927 X"$_am_arg" : 'X\(//\)$' \| \
21928 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21929 $as_echo X"$_am_arg" |
21930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21934 /^X\(\/\/\)[^/].*/{
21946 s/.*/./; q'`/stamp
-h$_am_stamp_count
21949 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21950 $as_echo "$as_me: executing $ac_file commands" >&6;}
21955 case $ac_file$ac_mode in
21956 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
21957 # Older Autoconf quotes --file arguments for eval, but not when files
21958 # are listed without --file. Let's play safe and only enable the eval
21959 # if we detect the quoting.
21960 case $CONFIG_FILES in
21961 *\'*) eval set x
"$CONFIG_FILES" ;;
21962 *) set x
$CONFIG_FILES ;;
21967 # Strip MF so we end up with the name of the file.
21968 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21969 # Check whether this is an Automake generated Makefile or not.
21970 # We used to match only the files named 'Makefile.in', but
21971 # some people rename them; so instead we look at the file content.
21972 # Grep'ing the first line is not enough: some people post-process
21973 # each Makefile.in and add a new line on top of each file to say so.
21974 # Grep'ing the whole file is not good either: AIX grep has a line
21975 # limit of 2048, but all sed's we know have understand at least 4000.
21976 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
21977 dirpart
=`$as_dirname -- "$mf" ||
21978 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21979 X"$mf" : 'X\(//\)[^/]' \| \
21980 X"$mf" : 'X\(//\)$' \| \
21981 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21987 /^X\(\/\/\)[^/].*/{
22003 # Extract the definition of DEPDIR, am__include, and am__quote
22004 # from the Makefile without running 'make'.
22005 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22006 test -z "$DEPDIR" && continue
22007 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22008 test -z "$am__include" && continue
22009 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22010 # Find all dependency output files, they are included files with
22011 # $(DEPDIR) in their names. We invoke sed twice because it is the
22012 # simplest approach to changing $(DEPDIR) to its actual value in the
22014 for file in `sed -n "
22015 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22016 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22017 # Make sure the directory exists.
22018 test -f "$dirpart/$file" && continue
22019 fdir
=`$as_dirname -- "$file" ||
22020 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22021 X"$file" : 'X\(//\)[^/]' \| \
22022 X"$file" : 'X\(//\)$' \| \
22023 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22024 $as_echo X"$file" |
22025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22029 /^X\(\/\/\)[^/].*/{
22042 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22043 # echo "creating $dirpart/$file"
22044 echo '# dummy' > "$dirpart/$file"
22051 # See if we are running on zsh, and set the options which allow our
22052 # commands through without removal of \ escapes.
22053 if test -n "${ZSH_VERSION+set}" ; then
22054 setopt NO_GLOB_SUBST
22057 cfgfile
="${ofile}T"
22058 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22061 cat <<_LT_EOF >> "$cfgfile"
22064 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22065 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22066 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22067 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22069 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22070 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22072 # Written by Gordon Matzigkeit, 1996
22074 # This file is part of GNU Libtool.
22076 # GNU Libtool is free software; you can redistribute it and/or
22077 # modify it under the terms of the GNU General Public License as
22078 # published by the Free Software Foundation; either version 2 of
22079 # the License, or (at your option) any later version.
22081 # As a special exception to the GNU General Public License,
22082 # if you distribute this file as part of a program or library that
22083 # is built using GNU Libtool, you may include this file under the
22084 # same distribution terms that you use for the rest of that program.
22086 # GNU Libtool is distributed in the hope that it will be useful,
22087 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22088 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22089 # GNU General Public License for more details.
22091 # You should have received a copy of the GNU General Public License
22092 # along with GNU Libtool; see the file COPYING. If not, a copy
22093 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22094 # obtained by writing to the Free Software Foundation, Inc.,
22095 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22098 # The names of the tagged configurations supported by this script.
22099 available_tags="CXX "
22101 # ### BEGIN LIBTOOL CONFIG
22103 # Which release of libtool.m4 was used?
22104 macro_version=$macro_version
22105 macro_revision=$macro_revision
22107 # Whether or not to build static libraries.
22108 build_old_libs=$enable_static
22110 # Whether or not to build shared libraries.
22111 build_libtool_libs=$enable_shared
22113 # What type of objects to build.
22116 # Whether or not to optimize for fast installation.
22117 fast_install=$enable_fast_install
22119 # Shell to use when invoking shell scripts.
22122 # An echo program that protects backslashes.
22125 # The PATH separator for the build system.
22126 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22129 host_alias=$host_alias
22133 # The build system.
22134 build_alias=$build_alias
22138 # A sed program that does not truncate output.
22141 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22142 Xsed="\$SED -e 1s/^X//"
22144 # A grep program that handles long lines.
22150 # A literal string matcher.
22153 # A BSD- or MS-compatible name lister.
22156 # Whether we need soft or hard links.
22159 # What is the maximum length of a command?
22160 max_cmd_len=$max_cmd_len
22162 # Object file suffix (normally "o").
22165 # Executable file suffix (normally "").
22168 # whether the shell understands "unset".
22171 # turn spaces into newlines.
22174 # turn newlines into spaces.
22177 # convert \$build file names to \$host format.
22178 to_host_file_cmd=$lt_cv_to_host_file_cmd
22180 # convert \$build files to toolchain format.
22181 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22183 # An object symbol dumper.
22184 OBJDUMP=$lt_OBJDUMP
22186 # Method to check whether dependent libraries are shared objects.
22187 deplibs_check_method=$lt_deplibs_check_method
22189 # Command to use when deplibs_check_method = "file_magic".
22190 file_magic_cmd=$lt_file_magic_cmd
22192 # How to find potential files when deplibs_check_method = "file_magic".
22193 file_magic_glob=$lt_file_magic_glob
22195 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22196 want_nocaseglob=$lt_want_nocaseglob
22198 # DLL creation program.
22199 DLLTOOL=$lt_DLLTOOL
22201 # Command to associate shared and link libraries.
22202 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22207 # Flags to create an archive.
22208 AR_FLAGS=$lt_AR_FLAGS
22210 # How to feed a file listing to the archiver.
22211 archiver_list_spec=$lt_archiver_list_spec
22213 # A symbol stripping program.
22216 # Commands used to install an old-style archive.
22218 old_postinstall_cmds=$lt_old_postinstall_cmds
22219 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22221 # Whether to use a lock for old archive extraction.
22222 lock_old_archive_extraction=$lock_old_archive_extraction
22227 # LTCC compiler flags.
22228 LTCFLAGS=$lt_CFLAGS
22230 # Take the output of nm and produce a listing of raw symbols and C names.
22231 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22233 # Transform the output of nm in a proper C declaration.
22234 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22236 # Transform the output of nm in a C name address pair.
22237 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22239 # Transform the output of nm in a C name address pair when lib prefix is needed.
22240 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22242 # Specify filename containing input files for \$NM.
22243 nm_file_list_spec=$lt_nm_file_list_spec
22245 # The root where to search for dependent libraries,and in which our libraries should be installed.
22246 lt_sysroot=$lt_sysroot
22248 # The name of the directory that contains temporary libtool files.
22251 # Used to examine libraries when file_magic_cmd begins with "file".
22252 MAGIC_CMD=$MAGIC_CMD
22254 # Must we lock files when doing compilation?
22255 need_locks=$lt_need_locks
22258 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22260 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22261 DSYMUTIL=$lt_DSYMUTIL
22263 # Tool to change global to local symbols on Mac OS X.
22266 # Tool to manipulate fat objects and archives on Mac OS X.
22269 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22272 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22273 OTOOL64=$lt_OTOOL64
22275 # Old archive suffix (normally "a").
22278 # Shared library suffix (normally ".so").
22279 shrext_cmds=$lt_shrext_cmds
22281 # The commands to extract the exported symbol list from a shared archive.
22282 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22284 # Variables whose values should be saved in libtool wrapper scripts and
22285 # restored at link time.
22286 variables_saved_for_relink=$lt_variables_saved_for_relink
22288 # Do we need the "lib" prefix for modules?
22289 need_lib_prefix=$need_lib_prefix
22291 # Do we need a version for libraries?
22292 need_version=$need_version
22294 # Library versioning type.
22295 version_type=$version_type
22297 # Shared library runtime path variable.
22298 runpath_var=$runpath_var
22300 # Shared library path variable.
22301 shlibpath_var=$shlibpath_var
22303 # Is shlibpath searched before the hard-coded library search path?
22304 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22306 # Format of library name prefix.
22307 libname_spec=$lt_libname_spec
22309 # List of archive names. First name is the real one, the rest are links.
22310 # The last name is the one that the linker finds with -lNAME
22311 library_names_spec=$lt_library_names_spec
22313 # The coded name of the library, if different from the real name.
22314 soname_spec=$lt_soname_spec
22316 # Permission mode override for installation of shared libraries.
22317 install_override_mode=$lt_install_override_mode
22319 # Command to use after installation of a shared archive.
22320 postinstall_cmds=$lt_postinstall_cmds
22322 # Command to use after uninstallation of a shared archive.
22323 postuninstall_cmds=$lt_postuninstall_cmds
22325 # Commands used to finish a libtool library installation in a directory.
22326 finish_cmds=$lt_finish_cmds
22328 # As "finish_cmds", except a single script fragment to be evaled but
22330 finish_eval=$lt_finish_eval
22332 # Whether we should hardcode library paths into libraries.
22333 hardcode_into_libs=$hardcode_into_libs
22335 # Compile-time system search path for libraries.
22336 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22338 # Run-time system search path for libraries.
22339 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22341 # Whether dlopen is supported.
22342 dlopen_support=$enable_dlopen
22344 # Whether dlopen of programs is supported.
22345 dlopen_self=$enable_dlopen_self
22347 # Whether dlopen of statically linked programs is supported.
22348 dlopen_self_static=$enable_dlopen_self_static
22350 # Commands to strip libraries.
22351 old_striplib=$lt_old_striplib
22352 striplib=$lt_striplib
22355 # The linker used to build libraries.
22358 # How to create reloadable object files.
22359 reload_flag=$lt_reload_flag
22360 reload_cmds=$lt_reload_cmds
22362 # Commands used to build an old-style archive.
22363 old_archive_cmds=$lt_old_archive_cmds
22365 # A language specific compiler.
22368 # Is the compiler the GNU compiler?
22371 # Compiler flag to turn off builtin functions.
22372 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22374 # Additional compiler flags for building library objects.
22375 pic_flag=$lt_lt_prog_compiler_pic
22377 # How to pass a linker flag through the compiler.
22378 wl=$lt_lt_prog_compiler_wl
22380 # Compiler flag to prevent dynamic linking.
22381 link_static_flag=$lt_lt_prog_compiler_static
22383 # Does compiler simultaneously support -c and -o options?
22384 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22386 # Whether or not to add -lc for building shared libraries.
22387 build_libtool_need_lc=$archive_cmds_need_lc
22389 # Whether or not to disallow shared libs when runtime libs are static.
22390 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22392 # Compiler flag to allow reflexive dlopens.
22393 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22395 # Compiler flag to generate shared objects directly from archives.
22396 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22398 # Whether the compiler copes with passing no objects directly.
22399 compiler_needs_object=$lt_compiler_needs_object
22401 # Create an old-style archive from a shared archive.
22402 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22404 # Create a temporary old-style archive to link instead of a shared archive.
22405 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22407 # Commands used to build a shared archive.
22408 archive_cmds=$lt_archive_cmds
22409 archive_expsym_cmds=$lt_archive_expsym_cmds
22411 # Commands used to build a loadable module if different from building
22412 # a shared archive.
22413 module_cmds=$lt_module_cmds
22414 module_expsym_cmds=$lt_module_expsym_cmds
22416 # Whether we are building with GNU ld or not.
22417 with_gnu_ld=$lt_with_gnu_ld
22419 # Flag that allows shared libraries with undefined symbols to be built.
22420 allow_undefined_flag=$lt_allow_undefined_flag
22422 # Flag that enforces no undefined symbols.
22423 no_undefined_flag=$lt_no_undefined_flag
22425 # Flag to hardcode \$libdir into a binary during linking.
22426 # This must work even if \$libdir does not exist
22427 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22429 # Whether we need a single "-rpath" flag with a separated argument.
22430 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22432 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22433 # DIR into the resulting binary.
22434 hardcode_direct=$hardcode_direct
22436 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22437 # DIR into the resulting binary and the resulting library dependency is
22438 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22439 # library is relocated.
22440 hardcode_direct_absolute=$hardcode_direct_absolute
22442 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22443 # into the resulting binary.
22444 hardcode_minus_L=$hardcode_minus_L
22446 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22447 # into the resulting binary.
22448 hardcode_shlibpath_var=$hardcode_shlibpath_var
22450 # Set to "yes" if building a shared library automatically hardcodes DIR
22451 # into the library and all subsequent libraries and executables linked
22453 hardcode_automatic=$hardcode_automatic
22455 # Set to yes if linker adds runtime paths of dependent libraries
22456 # to runtime path list.
22457 inherit_rpath=$inherit_rpath
22459 # Whether libtool must link a program against all its dependency libraries.
22460 link_all_deplibs=$link_all_deplibs
22462 # Set to "yes" if exported symbols are required.
22463 always_export_symbols=$always_export_symbols
22465 # The commands to list exported symbols.
22466 export_symbols_cmds=$lt_export_symbols_cmds
22468 # Symbols that should not be listed in the preloaded symbols.
22469 exclude_expsyms=$lt_exclude_expsyms
22471 # Symbols that must always be exported.
22472 include_expsyms=$lt_include_expsyms
22474 # Commands necessary for linking programs (against libraries) with templates.
22475 prelink_cmds=$lt_prelink_cmds
22477 # Commands necessary for finishing linking programs.
22478 postlink_cmds=$lt_postlink_cmds
22480 # Specify filename containing input files.
22481 file_list_spec=$lt_file_list_spec
22483 # How to hardcode a shared library path into an executable.
22484 hardcode_action=$hardcode_action
22486 # The directories searched by this compiler when creating a shared library.
22487 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22489 # Dependencies to place before and after the objects being linked to
22490 # create a shared library.
22491 predep_objects=$lt_predep_objects
22492 postdep_objects=$lt_postdep_objects
22493 predeps=$lt_predeps
22494 postdeps=$lt_postdeps
22496 # The library search path used internally by the compiler when linking
22497 # a shared library.
22498 compiler_lib_search_path=$lt_compiler_lib_search_path
22500 # ### END LIBTOOL CONFIG
22506 cat <<\_LT_EOF
>> "$cfgfile"
22507 # AIX sometimes has problems with the GCC collect2 program. For some
22508 # reason, if we set the COLLECT_NAMES environment variable, the problems
22509 # vanish in a puff of smoke.
22510 if test "X${COLLECT_NAMES+set}" != Xset
; then
22512 export COLLECT_NAMES
22519 ltmain
="$ac_aux_dir/ltmain.sh"
22522 # We use sed instead of cat because bash on DJGPP gets confused if
22523 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22524 # text mode, it properly converts lines to CR/LF. This bash problem
22525 # is reportedly fixed, but why not run on old versions too?
22526 sed '$q' "$ltmain" >> "$cfgfile" \
22527 || (rm -f "$cfgfile"; exit 1)
22529 if test x
"$xsi_shell" = xyes
; then
22530 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22534 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22535 \ * ) func_dirname_result="${3}" ;;\
22537 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22538 && mv -f "$cfgfile.tmp" "$cfgfile" \
22539 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22540 test 0 -eq $?
|| _lt_function_replace_fail
=:
22543 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22546 \ func_basename_result="${1##*/}"\
22547 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22548 && mv -f "$cfgfile.tmp" "$cfgfile" \
22549 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22550 test 0 -eq $?
|| _lt_function_replace_fail
=:
22553 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22554 func_dirname_and_basename ()\
22557 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22558 \ * ) func_dirname_result="${3}" ;;\
22560 \ func_basename_result="${1##*/}"\
22561 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22562 && mv -f "$cfgfile.tmp" "$cfgfile" \
22563 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22564 test 0 -eq $?
|| _lt_function_replace_fail
=:
22567 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22570 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22571 \ # positional parameters, so assign one to ordinary parameter first.\
22572 \ func_stripname_result=${3}\
22573 \ func_stripname_result=${func_stripname_result#"${1}"}\
22574 \ func_stripname_result=${func_stripname_result%"${2}"}\
22575 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22576 && mv -f "$cfgfile.tmp" "$cfgfile" \
22577 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22578 test 0 -eq $?
|| _lt_function_replace_fail
=:
22581 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22582 func_split_long_opt ()\
22584 \ func_split_long_opt_name=${1%%=*}\
22585 \ func_split_long_opt_arg=${1#*=}\
22586 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22587 && mv -f "$cfgfile.tmp" "$cfgfile" \
22588 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22589 test 0 -eq $?
|| _lt_function_replace_fail
=:
22592 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22593 func_split_short_opt ()\
22595 \ func_split_short_opt_arg=${1#??}\
22596 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22597 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22598 && mv -f "$cfgfile.tmp" "$cfgfile" \
22599 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22600 test 0 -eq $?
|| _lt_function_replace_fail
=:
22603 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22607 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22608 \ *) func_lo2o_result=${1} ;;\
22610 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22611 && mv -f "$cfgfile.tmp" "$cfgfile" \
22612 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22613 test 0 -eq $?
|| _lt_function_replace_fail
=:
22616 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22619 func_xform_result=${1%.*}.lo\
22620 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22621 && mv -f "$cfgfile.tmp" "$cfgfile" \
22622 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22623 test 0 -eq $?
|| _lt_function_replace_fail
=:
22626 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22629 func_arith_result=$(( $* ))\
22630 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22631 && mv -f "$cfgfile.tmp" "$cfgfile" \
22632 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22633 test 0 -eq $?
|| _lt_function_replace_fail
=:
22636 sed -e '/^func_len ()$/,/^} # func_len /c\
22639 func_len_result=${#1}\
22640 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22641 && mv -f "$cfgfile.tmp" "$cfgfile" \
22642 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22643 test 0 -eq $?
|| _lt_function_replace_fail
=:
22647 if test x
"$lt_shell_append" = xyes
; then
22648 sed -e '/^func_append ()$/,/^} # func_append /c\
22651 eval "${1}+=\\${2}"\
22652 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22653 && mv -f "$cfgfile.tmp" "$cfgfile" \
22654 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22655 test 0 -eq $?
|| _lt_function_replace_fail
=:
22658 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22659 func_append_quoted ()\
22661 \ func_quote_for_eval "${2}"\
22662 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22663 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22664 && mv -f "$cfgfile.tmp" "$cfgfile" \
22665 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22666 test 0 -eq $?
|| _lt_function_replace_fail
=:
22669 # Save a `func_append' function call where possible by direct use of '+='
22670 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22671 && mv -f "$cfgfile.tmp" "$cfgfile" \
22672 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22673 test 0 -eq $?
|| _lt_function_replace_fail
=:
22675 # Save a `func_append' function call even when '+=' is not available
22676 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22677 && mv -f "$cfgfile.tmp" "$cfgfile" \
22678 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22679 test 0 -eq $?
|| _lt_function_replace_fail
=:
22682 if test x
"$_lt_function_replace_fail" = x
":"; then
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22684 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22688 mv -f "$cfgfile" "$ofile" ||
22689 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22693 cat <<_LT_EOF >> "$ofile"
22695 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22697 # The linker used to build libraries.
22700 # How to create reloadable object files.
22701 reload_flag=$lt_reload_flag_CXX
22702 reload_cmds=$lt_reload_cmds_CXX
22704 # Commands used to build an old-style archive.
22705 old_archive_cmds=$lt_old_archive_cmds_CXX
22707 # A language specific compiler.
22708 CC=$lt_compiler_CXX
22710 # Is the compiler the GNU compiler?
22713 # Compiler flag to turn off builtin functions.
22714 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22716 # Additional compiler flags for building library objects.
22717 pic_flag=$lt_lt_prog_compiler_pic_CXX
22719 # How to pass a linker flag through the compiler.
22720 wl=$lt_lt_prog_compiler_wl_CXX
22722 # Compiler flag to prevent dynamic linking.
22723 link_static_flag=$lt_lt_prog_compiler_static_CXX
22725 # Does compiler simultaneously support -c and -o options?
22726 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22728 # Whether or not to add -lc for building shared libraries.
22729 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22731 # Whether or not to disallow shared libs when runtime libs are static.
22732 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22734 # Compiler flag to allow reflexive dlopens.
22735 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22737 # Compiler flag to generate shared objects directly from archives.
22738 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22740 # Whether the compiler copes with passing no objects directly.
22741 compiler_needs_object=$lt_compiler_needs_object_CXX
22743 # Create an old-style archive from a shared archive.
22744 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22746 # Create a temporary old-style archive to link instead of a shared archive.
22747 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22749 # Commands used to build a shared archive.
22750 archive_cmds=$lt_archive_cmds_CXX
22751 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22753 # Commands used to build a loadable module if different from building
22754 # a shared archive.
22755 module_cmds=$lt_module_cmds_CXX
22756 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22758 # Whether we are building with GNU ld or not.
22759 with_gnu_ld=$lt_with_gnu_ld_CXX
22761 # Flag that allows shared libraries with undefined symbols to be built.
22762 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22764 # Flag that enforces no undefined symbols.
22765 no_undefined_flag=$lt_no_undefined_flag_CXX
22767 # Flag to hardcode \$libdir into a binary during linking.
22768 # This must work even if \$libdir does not exist
22769 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22771 # Whether we need a single "-rpath" flag with a separated argument.
22772 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22774 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22775 # DIR into the resulting binary.
22776 hardcode_direct=$hardcode_direct_CXX
22778 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22779 # DIR into the resulting binary and the resulting library dependency is
22780 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22781 # library is relocated.
22782 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22784 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22785 # into the resulting binary.
22786 hardcode_minus_L=$hardcode_minus_L_CXX
22788 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22789 # into the resulting binary.
22790 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22792 # Set to "yes" if building a shared library automatically hardcodes DIR
22793 # into the library and all subsequent libraries and executables linked
22795 hardcode_automatic=$hardcode_automatic_CXX
22797 # Set to yes if linker adds runtime paths of dependent libraries
22798 # to runtime path list.
22799 inherit_rpath=$inherit_rpath_CXX
22801 # Whether libtool must link a program against all its dependency libraries.
22802 link_all_deplibs=$link_all_deplibs_CXX
22804 # Set to "yes" if exported symbols are required.
22805 always_export_symbols=$always_export_symbols_CXX
22807 # The commands to list exported symbols.
22808 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22810 # Symbols that should not be listed in the preloaded symbols.
22811 exclude_expsyms=$lt_exclude_expsyms_CXX
22813 # Symbols that must always be exported.
22814 include_expsyms=$lt_include_expsyms_CXX
22816 # Commands necessary for linking programs (against libraries) with templates.
22817 prelink_cmds=$lt_prelink_cmds_CXX
22819 # Commands necessary for finishing linking programs.
22820 postlink_cmds=$lt_postlink_cmds_CXX
22822 # Specify filename containing input files.
22823 file_list_spec=$lt_file_list_spec_CXX
22825 # How to hardcode a shared library path into an executable.
22826 hardcode_action=$hardcode_action_CXX
22828 # The directories searched by this compiler when creating a shared library.
22829 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22831 # Dependencies to place before and after the objects being linked to
22832 # create a shared library.
22833 predep_objects=$lt_predep_objects_CXX
22834 postdep_objects=$lt_postdep_objects_CXX
22835 predeps=$lt_predeps_CXX
22836 postdeps=$lt_postdeps_CXX
22838 # The library search path used internally by the compiler when linking
22839 # a shared library.
22840 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22842 # ### END LIBTOOL TAG CONFIG: CXX
22853 ac_clean_files
=$ac_clean_files_save
22855 test $ac_write_fail = 0 ||
22856 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22859 # configure is writing to config.log, and then calls config.status.
22860 # config.status does its own redirection, appending to config.log.
22861 # Unfortunately, on DOS this fails, as config.log is still kept open
22862 # by configure, so config.status won't be able to write to it; its
22863 # output is simply discarded. So we exec the FD to /dev/null,
22864 # effectively closing config.log, so it can be properly (re)opened and
22865 # appended to by config.status. When coming back to configure, we
22866 # need to make the FD available again.
22867 if test "$no_create" != yes; then
22869 ac_config_status_args
=
22870 test "$silent" = yes &&
22871 ac_config_status_args
="$ac_config_status_args --quiet"
22873 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22875 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22876 # would make configure fail if this is the last instruction.
22877 $ac_cs_success || as_fn_exit
1
22879 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22881 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}