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
828 ac_precious_vars
='build_alias
857 # Initialize some variables set by options.
859 ac_init_version
=false
860 ac_unrecognized_opts
=
862 # The variables have the same names as the options, with
863 # dashes changed to underlines.
871 program_transform_name
=s
,x
,x
,
879 # Installation directory options.
880 # These are left unexpanded so users can "make install exec_prefix=/foo"
881 # and all the variables that are supposed to be based on exec_prefix
882 # by default will actually change.
883 # Use braces instead of parens because sh, perl, etc. also accept them.
884 # (The list follows the same order as the GNU Coding Standards.)
885 bindir
='${exec_prefix}/bin'
886 sbindir
='${exec_prefix}/sbin'
887 libexecdir
='${exec_prefix}/libexec'
888 datarootdir
='${prefix}/share'
889 datadir
='${datarootdir}'
890 sysconfdir
='${prefix}/etc'
891 sharedstatedir
='${prefix}/com'
892 localstatedir
='${prefix}/var'
893 includedir
='${prefix}/include'
894 oldincludedir
='/usr/include'
895 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
896 infodir
='${datarootdir}/info'
901 libdir
='${exec_prefix}/lib'
902 localedir
='${datarootdir}/locale'
903 mandir
='${datarootdir}/man'
909 # If the previous option needs an argument, assign it.
910 if test -n "$ac_prev"; then
911 eval $ac_prev=\
$ac_option
917 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
922 # Accept the important Cygnus configure options, so we can diagnose typos.
924 case $ac_dashdash$ac_option in
928 -bindir | --bindir | --bindi | --bind | --bin | --bi)
930 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
933 -build | --build | --buil | --bui | --bu)
934 ac_prev
=build_alias
;;
935 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936 build_alias
=$ac_optarg ;;
938 -cache-file | --cache-file | --cache-fil | --cache-fi \
939 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940 ac_prev
=cache_file
;;
941 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943 cache_file
=$ac_optarg ;;
946 cache_file
=config.cache
;;
948 -datadir | --datadir | --datadi | --datad)
950 -datadir=* | --datadir=* | --datadi=* | --datad=*)
951 datadir
=$ac_optarg ;;
953 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954 | --dataroo | --dataro | --datar)
955 ac_prev
=datarootdir
;;
956 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958 datarootdir
=$ac_optarg ;;
960 -disable-* | --disable-*)
961 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
964 as_fn_error $?
"invalid feature name: $ac_useropt"
965 ac_useropt_orig
=$ac_useropt
966 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972 ac_unrecognized_sep
=', ';;
974 eval enable_
$ac_useropt=no
;;
976 -docdir | --docdir | --docdi | --doc | --do)
978 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
981 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
983 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
986 -enable-* | --enable-*)
987 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
990 as_fn_error $?
"invalid feature name: $ac_useropt"
991 ac_useropt_orig
=$ac_useropt
992 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
997 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998 ac_unrecognized_sep
=', ';;
1000 eval enable_
$ac_useropt=\
$ac_optarg ;;
1002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004 | --exec | --exe | --ex)
1005 ac_prev
=exec_prefix
;;
1006 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008 | --exec=* | --exe=* | --ex=*)
1009 exec_prefix
=$ac_optarg ;;
1011 -gas | --gas | --ga | --g)
1012 # Obsolete; use --with-gas.
1015 -help | --help | --hel | --he | -h)
1016 ac_init_help
=long
;;
1017 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1018 ac_init_help
=recursive
;;
1019 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1020 ac_init_help
=short
;;
1022 -host | --host | --hos | --ho)
1023 ac_prev
=host_alias
;;
1024 -host=* | --host=* | --hos=* | --ho=*)
1025 host_alias
=$ac_optarg ;;
1027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1031 htmldir
=$ac_optarg ;;
1033 -includedir | --includedir | --includedi | --included | --include \
1034 | --includ | --inclu | --incl | --inc)
1035 ac_prev
=includedir
;;
1036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037 | --includ=* | --inclu=* | --incl=* | --inc=*)
1038 includedir
=$ac_optarg ;;
1040 -infodir | --infodir | --infodi | --infod | --info | --inf)
1042 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043 infodir
=$ac_optarg ;;
1045 -libdir | --libdir | --libdi | --libd)
1047 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048 libdir
=$ac_optarg ;;
1050 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051 | --libexe | --libex | --libe)
1052 ac_prev
=libexecdir
;;
1053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054 | --libexe=* | --libex=* | --libe=*)
1055 libexecdir
=$ac_optarg ;;
1057 -localedir | --localedir | --localedi | --localed | --locale)
1058 ac_prev
=localedir
;;
1059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060 localedir
=$ac_optarg ;;
1062 -localstatedir | --localstatedir | --localstatedi | --localstated \
1063 | --localstate | --localstat | --localsta | --localst | --locals)
1064 ac_prev
=localstatedir
;;
1065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067 localstatedir
=$ac_optarg ;;
1069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072 mandir
=$ac_optarg ;;
1074 -nfp | --nfp | --nf)
1075 # Obsolete; use --without-fp.
1078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079 | --no-cr | --no-c | -n)
1082 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1086 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088 | --oldin | --oldi | --old | --ol | --o)
1089 ac_prev
=oldincludedir
;;
1090 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093 oldincludedir
=$ac_optarg ;;
1095 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1097 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098 prefix
=$ac_optarg ;;
1100 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101 | --program-pre | --program-pr | --program-p)
1102 ac_prev
=program_prefix
;;
1103 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105 program_prefix
=$ac_optarg ;;
1107 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108 | --program-suf | --program-su | --program-s)
1109 ac_prev
=program_suffix
;;
1110 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112 program_suffix
=$ac_optarg ;;
1114 -program-transform-name | --program-transform-name \
1115 | --program-transform-nam | --program-transform-na \
1116 | --program-transform-n | --program-transform- \
1117 | --program-transform | --program-transfor \
1118 | --program-transfo | --program-transf \
1119 | --program-trans | --program-tran \
1120 | --progr-tra | --program-tr | --program-t)
1121 ac_prev
=program_transform_name
;;
1122 -program-transform-name=* | --program-transform-name=* \
1123 | --program-transform-nam=* | --program-transform-na=* \
1124 | --program-transform-n=* | --program-transform-=* \
1125 | --program-transform=* | --program-transfor=* \
1126 | --program-transfo=* | --program-transf=* \
1127 | --program-trans=* | --program-tran=* \
1128 | --progr-tra=* | --program-tr=* | --program-t=*)
1129 program_transform_name
=$ac_optarg ;;
1131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134 pdfdir
=$ac_optarg ;;
1136 -psdir | --psdir | --psdi | --psd | --ps)
1138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142 | -silent | --silent | --silen | --sile | --sil)
1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1147 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1149 sbindir
=$ac_optarg ;;
1151 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153 | --sharedst | --shareds | --shared | --share | --shar \
1155 ac_prev
=sharedstatedir
;;
1156 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1160 sharedstatedir
=$ac_optarg ;;
1162 -site | --site | --sit)
1164 -site=* | --site=* | --sit=*)
1167 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1169 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170 srcdir
=$ac_optarg ;;
1172 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173 | --syscon | --sysco | --sysc | --sys | --sy)
1174 ac_prev
=sysconfdir
;;
1175 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177 sysconfdir
=$ac_optarg ;;
1179 -target | --target | --targe | --targ | --tar | --ta | --t)
1180 ac_prev
=target_alias
;;
1181 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182 target_alias
=$ac_optarg ;;
1184 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1187 -version | --version | --versio | --versi | --vers | -V)
1188 ac_init_version
=: ;;
1191 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=\
$ac_optarg ;;
1206 -without-* | --without-*)
1207 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1210 as_fn_error $?
"invalid package name: $ac_useropt"
1211 ac_useropt_orig
=$ac_useropt
1212 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1217 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218 ac_unrecognized_sep
=', ';;
1220 eval with_
$ac_useropt=no
;;
1223 # Obsolete; use --with-x.
1226 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1227 | --x-incl | --x-inc | --x-in | --x-i)
1228 ac_prev
=x_includes
;;
1229 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1230 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1231 x_includes
=$ac_optarg ;;
1233 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1234 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1235 ac_prev
=x_libraries
;;
1236 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1237 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238 x_libraries
=$ac_optarg ;;
1240 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information"
1245 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1246 # Reject names that are not valid shell variable names.
1247 case $ac_envvar in #(
1248 '' | [0-9]* | *[!_$as_cr_alnum]* )
1249 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1251 eval $ac_envvar=\
$ac_optarg
1252 export $ac_envvar ;;
1255 # FIXME: should be removed in autoconf 3.0.
1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1265 if test -n "$ac_prev"; then
1266 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1267 as_fn_error $?
"missing argument to $ac_option"
1270 if test -n "$ac_unrecognized_opts"; then
1271 case $enable_option_checking in
1273 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1278 # Check all directory arguments for consistency.
1279 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir
1284 eval ac_val
=\$
$ac_var
1285 # Remove trailing slashes.
1288 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289 eval $ac_var=\
$ac_val;;
1291 # Be sure to have absolute directory names.
1293 [\\/$
]* | ?
:[\\/]* ) continue;;
1294 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1296 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1304 target
=$target_alias
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x
; then
1308 if test "x$build_alias" = x
; then
1309 cross_compiling
=maybe
1310 elif test "x$build_alias" != "x$host_alias"; then
1316 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1318 test "$silent" = yes && exec 6>/dev
/null
1321 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1322 ac_ls_di
=`ls -di .` &&
1323 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1324 as_fn_error $?
"working directory cannot be determined"
1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1326 as_fn_error $?
"pwd does not report name of working directory"
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted
=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir
=`$as_dirname -- "$as_myself" ||
1334 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$as_myself" : 'X\(//\)[^/]' \| \
1336 X"$as_myself" : 'X\(//\)$' \| \
1337 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1338 $as_echo X"$as_myself" |
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1361 ac_srcdir_defaulted
=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1365 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1371 # When building in place, set srcdir=.
1372 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375 # Remove unnecessary trailing slashes from srcdir.
1376 # Double slashes in file names in object file debugging info
1377 # mess up M-x gdb in Emacs.
1379 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1381 for ac_var
in $ac_precious_vars; do
1382 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1383 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1384 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1385 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1389 # Report the --help message.
1391 if test "$ac_init_help" = "long"; then
1392 # Omit some internal or obsolete options to make the list less imposing.
1393 # This message is too long to be a string in the A/UX 3.1 sh.
1395 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1397 Usage: $0 [OPTION]... [VAR=VALUE]...
1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1400 VAR=VALUE. See below for descriptions of some of the useful variables.
1402 Defaults for the options are specified in brackets.
1405 -h, --help display this help and exit
1406 --help=short display options specific to this package
1407 --help=recursive display the short help of all the included packages
1408 -V, --version display version information and exit
1409 -q, --quiet, --silent do not print \`checking ...' messages
1410 --cache-file=FILE cache test results in FILE [disabled]
1411 -C, --config-cache alias for \`--cache-file=config.cache'
1412 -n, --no-create do not create output files
1413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1415 Installation directories:
1416 --prefix=PREFIX install architecture-independent files in PREFIX
1417 [$ac_default_prefix]
1418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1421 By default, \`make install' will install all the files in
1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1424 for instance \`--prefix=\$HOME'.
1426 For better control, use the options below.
1428 Fine tuning of the installation directories:
1429 --bindir=DIR user executables [EPREFIX/bin]
1430 --sbindir=DIR system admin executables [EPREFIX/sbin]
1431 --libexecdir=DIR program executables [EPREFIX/libexec]
1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1435 --libdir=DIR object code libraries [EPREFIX/lib]
1436 --includedir=DIR C header files [PREFIX/include]
1437 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1438 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1439 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1440 --infodir=DIR info documentation [DATAROOTDIR/info]
1441 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1442 --mandir=DIR man documentation [DATAROOTDIR/man]
1443 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1444 --htmldir=DIR html documentation [DOCDIR]
1445 --dvidir=DIR dvi documentation [DOCDIR]
1446 --pdfdir=DIR pdf documentation [DOCDIR]
1447 --psdir=DIR ps documentation [DOCDIR]
1453 --program-prefix=PREFIX prepend PREFIX to installed program names
1454 --program-suffix=SUFFIX append SUFFIX to installed program names
1455 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1458 --build=BUILD configure
for building on BUILD
[guessed
]
1459 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1463 if test -n "$ac_init_help"; then
1464 case $ac_init_help in
1465 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1470 --disable-option-checking ignore unrecognized
--enable/--with options
1471 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1472 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1473 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1474 --disable-silent-rules verbose build output
(undo
: "make V=0")
1475 --enable-maintainer-mode
1476 enable make rules and dependencies not useful
(and
1477 sometimes confusing
) to the casual installer
1478 --enable-dependency-tracking
1479 do not reject slow dependency extractors
1480 --disable-dependency-tracking
1481 speeds up one
-time build
1482 --enable-static[=PKGS
] build static libraries
[default
=no
]
1483 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1484 --enable-fast-install[=PKGS
]
1485 optimize
for fast installation
[default
=yes]
1486 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1487 --enable-javascript[=ENGINE
]
1488 use a JavaScript runtime
(currently the only
1489 available option
for ENGINE is JavaScriptCore
)
1491 --disable-console disable console
1494 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1495 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1496 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1498 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1499 --with-sysroot=DIR Search
for dependent libraries within DIR
1500 (or the compiler
's sysroot if not specified).
1501 --with-apr=PATH prefix for installed APR or the full path to
1504 Some influential environment variables:
1505 CC C compiler command
1506 CFLAGS C compiler flags
1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1508 nonstandard directory <lib dir>
1509 LIBS libraries to pass to the linker, e.g. -l<library>
1510 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511 you have headers in a nonstandard directory <include dir>
1512 CXX C++ compiler command
1513 CXXFLAGS C++ compiler flags
1514 OBJCXX Objective C++ compiler command
1515 OBJCXXFLAGS Objective C++ compiler flags
1517 CXXCPP C++ preprocessor
1518 PKG_CONFIG path to pkg-config utility
1520 directories to add to pkg-config's search path
1522 path overriding pkg
-config's built-in search path
1523 BISON GNU Project parser generator (yacc replacement)
1524 FLEX the fast lexical analyser generator
1525 GPERF perfect hash function generator
1526 GNUTAR a very sticky lump of files
1528 C compiler flags for WEBKIT, overriding pkg-config
1529 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1531 prints information about the current gnustep installation
1533 Use these variables to override the choices made by `configure' or to
help
1534 it to
find libraries and programs with nonstandard names
/locations.
1536 Report bugs to
<saurik@saurik.com
>.
1537 Cycript home page
: <http
://www.cycript.org
/>.
1542 if test "$ac_init_help" = "recursive"; then
1543 # If there are subdirs, report their specific --help.
1544 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1545 test -d "$ac_dir" ||
1546 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1551 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1553 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554 # A ".." for each directory in $ac_dir_suffix.
1555 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556 case $ac_top_builddir_sub in
1557 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1558 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1561 ac_abs_top_builddir
=$ac_pwd
1562 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1563 # for backward compatibility:
1564 ac_top_builddir
=$ac_top_build_prefix
1567 .
) # We are building in place.
1569 ac_top_srcdir
=$ac_top_builddir_sub
1570 ac_abs_top_srcdir
=$ac_pwd ;;
1571 [\\/]* | ?
:[\\/]* ) # Absolute name.
1572 ac_srcdir
=$srcdir$ac_dir_suffix;
1573 ac_top_srcdir
=$srcdir
1574 ac_abs_top_srcdir
=$srcdir ;;
1576 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1578 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1580 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1582 cd "$ac_dir" || { ac_status
=$?
; continue; }
1583 # Check for guested configure.
1584 if test -f "$ac_srcdir/configure.gnu"; then
1586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587 elif test -f "$ac_srcdir/configure"; then
1589 $SHELL "$ac_srcdir/configure" --help=recursive
1591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1593 cd "$ac_pwd" || { ac_status
=$?
; break; }
1597 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then
1600 Cycript configure
0.9
1601 generated by GNU Autoconf
2.69
1603 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1604 This configure
script is free software
; the Free Software Foundation
1605 gives unlimited permission to copy
, distribute and modify it.
1607 Copyright
(C
) 2009-2012 Jay Freeman
(saurik
)
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1616 # ac_fn_c_try_compile LINENO
1617 # --------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_compile
()
1621 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1622 rm -f conftest.
$ac_objext
1623 if { { ac_try
="$ac_compile"
1625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_compile") 2>conftest.err
1632 if test -s conftest.err; then
1633 grep -v '^ *+' conftest.err >conftest.er1
1634 cat conftest.er1 >&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_c_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest.$ac_objext; then :
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1652 } # ac_fn_c_try_compile
1654 # ac_fn_cxx_try_compile LINENO
1655 # ----------------------------
1656 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_cxx_try_compile ()
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 rm -f conftest.$ac_objext
1661 if { { ac_try="$ac_compile"
1663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1664 *) ac_try_echo
=$ac_try;;
1666 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_compile") 2>conftest.err
1670 if test -s conftest.err
; then
1671 grep -v '^ *+' conftest.err
>conftest.er1
1672 cat conftest.er1
>&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && {
1677 test -z "$ac_cxx_werror_flag" ||
1678 test ! -s conftest.err
1679 } && test -s conftest.
$ac_objext; then :
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.
$ac_ext >&5
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status
$ac_retval
1690 } # ac_fn_cxx_try_compile
1692 # ac_fn_objcxx_try_compile LINENO
1693 # -------------------------------
1694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1695 ac_fn_objcxx_try_compile
()
1697 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1698 rm -f conftest.
$ac_objext
1699 if { { ac_try
="$ac_compile"
1701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_compile") 2>conftest.err
1708 if test -s conftest.err; then
1709 grep -v '^ *+' conftest.err >conftest.er1
1710 cat conftest.er1 >&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_objcxx_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest.$ac_objext; then :
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 as_fn_set_status $ac_retval
1728 } # ac_fn_objcxx_try_compile
1730 # ac_fn_c_try_link LINENO
1731 # -----------------------
1732 # Try to link conftest.$ac_ext, and return whether this succeeded.
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 rm -f conftest.$ac_objext conftest$ac_exeext
1737 if { { ac_try="$ac_link"
1739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1740 *) ac_try_echo
=$ac_try;;
1742 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_link") 2>conftest.err
1746 if test -s conftest.err
; then
1747 grep -v '^ *+' conftest.err
>conftest.er1
1748 cat conftest.er1
>&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_c_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest
$ac_exeext && {
1756 test "$cross_compiling" = yes ||
1757 test -x conftest
$ac_exeext
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.
$ac_ext >&5
1766 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1767 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1768 # interfere with the next link command; also delete a directory that is
1769 # left behind by Apple's compiler. We do this before executing the actions.
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 as_fn_set_status
$ac_retval
1774 } # ac_fn_c_try_link
1776 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1777 # -------------------------------------------------------
1778 # Tests whether HEADER exists and can be compiled using the include files in
1779 # INCLUDES, setting the cache variable VAR accordingly.
1780 ac_fn_c_check_header_compile
()
1782 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \
${$3+:} false
; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1793 if ac_fn_c_try_compile
"$LINENO"; then :
1798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } # ac_fn_c_check_header_compile
1807 # ac_fn_c_try_cpp LINENO
1808 # ----------------------
1809 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1812 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1813 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } > conftest.i && {
1829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1830 test ! -s conftest.err
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1844 # ac_fn_c_try_run LINENO
1845 # ----------------------
1846 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1847 # that executables *can* be run.
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 if { { ac_try="$ac_link"
1853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1854 *) ac_try_echo
=$ac_try;;
1856 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_link") 2>&5
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1862 { { case "(($ac_try" in
1863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1864 *) ac_try_echo=$ac_try;;
1866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_try") 2>&5
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; }; }; then :
1874 $as_echo "$as_me: program exited with status $ac_status" >&5
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1878 ac_retval=$ac_status
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status $ac_retval
1886 # ac_fn_c_check_func LINENO FUNC VAR
1887 # ----------------------------------
1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1889 ac_fn_c_check_func ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1901 #define $2 innocuous_$2
1903 /* System header to define __stub macros and hopefully few prototypes,
1904 which can conflict with char $2 (); below.
1905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906 <limits.h> exists even on freestanding compilers. */
1909 # include <limits.h>
1911 # include <assert.h>
1916 /* Override any GCC internal prototype to avoid an error.
1917 Use char because int might match the return type of a GCC
1918 builtin and then its argument prototype would still apply. */
1923 /* The GNU C library defines this for functions which it implements
1924 to always fail with ENOSYS. Some functions are actually named
1925 something starting with __ and the normal name is an alias. */
1926 #if defined __stub_$2 || defined __stub___$2
1938 if ac_fn_c_try_link "$LINENO"; then :
1943 rm -f core conftest.err conftest.$ac_objext \
1944 conftest$ac_exeext conftest.$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_func
1953 # ac_fn_cxx_try_cpp LINENO
1954 # ------------------------
1955 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1956 ac_fn_cxx_try_cpp ()
1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1959 if { { ac_try="$ac_cpp conftest.$ac_ext"
1961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1962 *) ac_try_echo
=$ac_try;;
1964 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1968 if test -s conftest.err
; then
1969 grep -v '^ *+' conftest.err
>conftest.er1
1970 cat conftest.er1
>&5
1971 mv -f conftest.er1 conftest.err
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; } > conftest.i
&& {
1975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1976 test ! -s conftest.err
1980 $as_echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.
$ac_ext >&5
1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 as_fn_set_status
$ac_retval
1988 } # ac_fn_cxx_try_cpp
1990 # ac_fn_cxx_try_link LINENO
1991 # -------------------------
1992 # Try to link conftest.$ac_ext, and return whether this succeeded.
1993 ac_fn_cxx_try_link
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 rm -f conftest.
$ac_objext conftest
$ac_exeext
1997 if { { ac_try
="$ac_link"
1999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2000 *) ac_try_echo=$ac_try;;
2002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003 $as_echo "$ac_try_echo"; } >&5
2004 (eval "$ac_link") 2>conftest.err
2006 if test -s conftest.err; then
2007 grep -v '^ *+' conftest.err >conftest.er1
2008 cat conftest.er1 >&5
2009 mv -f conftest.er1 conftest.err
2011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012 test $ac_status = 0; } && {
2013 test -z "$ac_cxx_werror_flag" ||
2014 test ! -s conftest.err
2015 } && test -s conftest$ac_exeext && {
2016 test "$cross_compiling" = yes ||
2017 test -x conftest$ac_exeext
2021 $as_echo "$as_me: failed program was:" >&5
2022 sed 's/^/| /' conftest.$ac_ext >&5
2026 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2027 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2028 # interfere with the next link command; also delete a directory that is
2029 # left behind by Apple's compiler. We do this before executing the actions.
2030 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2032 as_fn_set_status $ac_retval
2034 } # ac_fn_cxx_try_link
2036 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2037 # ---------------------------------------------------------
2038 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2039 # the include files in INCLUDES and setting the cache variable VAR
2041 ac_fn_cxx_check_header_mongrel ()
2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044 if eval \${$3+:} false; then :
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2046 $as_echo_n "checking for $2... " >&6; }
2047 if eval \${$3+:} false; then :
2048 $as_echo_n "(cached) " >&6
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052 $as_echo "$ac_res" >&6; }
2054 # Is the header compilable?
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2056 $as_echo_n "checking $2 usability... " >&6; }
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2062 if ac_fn_cxx_try_compile "$LINENO"; then :
2063 ac_header_compiler=yes
2065 ac_header_compiler=no
2067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2069 $as_echo "$ac_header_compiler" >&6; }
2071 # Is the header present?
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2073 $as_echo_n "checking $2 presence... " >&6; }
2074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2075 /* end confdefs.h. */
2078 if ac_fn_cxx_try_cpp "$LINENO"; then :
2079 ac_header_preproc=yes
2081 ac_header_preproc=no
2083 rm -f conftest.err conftest.i conftest.$ac_ext
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2085 $as_echo "$ac_header_preproc" >&6; }
2087 # So? What about this header?
2088 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2091 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2093 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2097 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2099 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2101 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2103 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106 ( $as_echo "## -------------------------------- ##
2107 ## Report this to saurik@saurik.com ##
2108 ## -------------------------------- ##"
2109 ) | sed "s/^/$as_me: WARNING: /" >&2
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113 $as_echo_n "checking for $2... " >&6; }
2114 if eval \${$3+:} false; then :
2115 $as_echo_n "(cached) " >&6
2117 eval "$3=\$ac_header_compiler"
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2121 $as_echo "$ac_res" >&6; }
2123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 } # ac_fn_cxx_check_header_mongrel
2127 # ac_fn_objcxx_try_link LINENO
2128 # ----------------------------
2129 # Try to link conftest.$ac_ext, and return whether this succeeded.
2130 ac_fn_objcxx_try_link ()
2132 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2133 rm -f conftest.$ac_objext conftest$ac_exeext
2134 if { { ac_try="$ac_link"
2136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2137 *) ac_try_echo
=$ac_try;;
2139 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2140 $as_echo "$ac_try_echo"; } >&5
2141 (eval "$ac_link") 2>conftest.err
2143 if test -s conftest.err
; then
2144 grep -v '^ *+' conftest.err
>conftest.er1
2145 cat conftest.er1
>&5
2146 mv -f conftest.er1 conftest.err
2148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2149 test $ac_status = 0; } && {
2150 test -z "$ac_objcxx_werror_flag" ||
2151 test ! -s conftest.err
2152 } && test -s conftest
$ac_exeext && {
2153 test "$cross_compiling" = yes ||
2154 test -x conftest
$ac_exeext
2158 $as_echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.
$ac_ext >&5
2163 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2164 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2165 # interfere with the next link command; also delete a directory that is
2166 # left behind by Apple's compiler. We do this before executing the actions.
2167 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169 as_fn_set_status
$ac_retval
2171 } # ac_fn_objcxx_try_link
2172 cat >config.log
<<_ACEOF
2173 This file contains any messages produced by compilers while
2174 running configure, to aid debugging if configure makes a mistake.
2176 It was created by Cycript $as_me 0.9, which was
2177 generated by GNU Autoconf 2.69. Invocation command line was
2189 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2190 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2191 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2192 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2193 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2195 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2196 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2198 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2199 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2200 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2201 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2202 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2203 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2204 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir
=.
2213 $as_echo "PATH: $as_dir"
2229 # Keep a trace of the command line.
2230 # Strip out --no-create and --no-recursion so they do not pile up.
2231 # Strip out --silent because we don't want to record it for future runs.
2232 # Also quote any args containing shell meta-characters.
2233 # Make two passes to allow for proper duplicate-argument suppression.
2237 ac_must_keep_next
=false
2243 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2245 | -silent | --silent | --silen | --sile | --sil)
2248 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2251 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2253 as_fn_append ac_configure_args1
" '$ac_arg'"
2254 if test $ac_must_keep_next = true
; then
2255 ac_must_keep_next
=false
# Got value, back to normal.
2258 *=* | --config-cache | -C | -disable-* | --disable-* \
2259 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2260 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2261 | -with-* | --with-* | -without-* | --without-* | --x)
2262 case "$ac_configure_args0 " in
2263 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2266 -* ) ac_must_keep_next
=true
;;
2269 as_fn_append ac_configure_args
" '$ac_arg'"
2274 { ac_configure_args0
=; unset ac_configure_args0
;}
2275 { ac_configure_args1
=; unset ac_configure_args1
;}
2277 # When interrupted or exit'd, cleanup temporary files, and complete
2278 # config.log. We remove comments because anyway the quotes in there
2279 # would cause problems or look ugly.
2280 # WARNING: Use '\'' to represent an apostrophe within the trap.
2281 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2282 trap 'exit_status=$?
2283 # Save into config.log some information that might help in debugging.
2287 $as_echo "## ---------------- ##
2288 ## Cache variables. ##
2289 ## ---------------- ##"
2291 # The following way of writing the cache mishandles newlines in values,
2293 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2294 eval ac_val=\$$ac_var
2298 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2299 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2302 _ | IFS | as_nl) ;; #(
2303 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2304 *) { eval $ac_var=; unset $ac_var;} ;;
2309 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2310 *${as_nl}ac_space=\ *)
2312 "s/'\''/'\''\\\\'\'''\''/g;
2313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2316 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2323 $as_echo "## ----------------- ##
2324 ## Output variables. ##
2325 ## ----------------- ##"
2327 for ac_var in $ac_subst_vars
2329 eval ac_val=\$$ac_var
2331 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2333 $as_echo "$ac_var='\''$ac_val'\''"
2337 if test -n "$ac_subst_files"; then
2338 $as_echo "## ------------------- ##
2339 ## File substitutions. ##
2340 ## ------------------- ##"
2342 for ac_var
in $ac_subst_files
2344 eval ac_val
=\$
$ac_var
2346 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2348 $as_echo "$ac_var='\''$ac_val'\''"
2353 if test -s confdefs.h; then
2354 $as_echo "## ----------- ##
2361 test "$ac_signal" != 0 &&
2362 $as_echo "$as_me: caught signal $ac_signal"
2363 $as_echo "$as_me: exit $exit_status"
2365 rm -f core *.core core.conftest.* &&
2366 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2369 for ac_signal
in 1 2 13 15; do
2370 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2374 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2375 rm -f -r conftest
* confdefs.h
2377 $as_echo "/* confdefs.h */" > confdefs.h
2379 # Predefined preprocessor variables.
2381 cat >>confdefs.h
<<_ACEOF
2382 #define PACKAGE_NAME "$PACKAGE_NAME"
2385 cat >>confdefs.h
<<_ACEOF
2386 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2389 cat >>confdefs.h
<<_ACEOF
2390 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_STRING "$PACKAGE_STRING"
2397 cat >>confdefs.h
<<_ACEOF
2398 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2401 cat >>confdefs.h
<<_ACEOF
2402 #define PACKAGE_URL "$PACKAGE_URL"
2406 # Let the site file select an alternate cache file if it wants to.
2407 # Prefer an explicitly selected file to automatically selected ones.
2410 if test -n "$CONFIG_SITE"; then
2411 # We do not want a PATH search for config.site.
2412 case $CONFIG_SITE in #((
2413 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2414 */*) ac_site_file1
=$CONFIG_SITE;;
2415 *) ac_site_file1
=.
/$CONFIG_SITE;;
2417 elif test "x$prefix" != xNONE
; then
2418 ac_site_file1
=$prefix/share
/config.site
2419 ac_site_file2
=$prefix/etc
/config.site
2421 ac_site_file1
=$ac_default_prefix/share
/config.site
2422 ac_site_file2
=$ac_default_prefix/etc
/config.site
2424 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2426 test "x$ac_site_file" = xNONE
&& continue
2427 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2429 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2430 sed 's/^/| /' "$ac_site_file" >&5
2432 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2434 as_fn_error $?
"failed to load site script $ac_site_file
2435 See \`config.log' for more details" "$LINENO" 5; }
2439 if test -r "$cache_file"; then
2440 # Some versions of bash will fail to source /dev/null (special files
2441 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2442 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2444 $as_echo "$as_me: loading cache $cache_file" >&6;}
2446 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2447 *) .
"./$cache_file";;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2452 $as_echo "$as_me: creating cache $cache_file" >&6;}
2456 # Check that the precious variables saved in the cache have kept the same
2458 ac_cache_corrupted
=false
2459 for ac_var
in $ac_precious_vars; do
2460 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2461 eval ac_new_set
=\
$ac_env_${ac_var}_set
2462 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2463 eval ac_new_val
=\
$ac_env_${ac_var}_value
2464 case $ac_old_set,$ac_new_set in
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2467 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2468 ac_cache_corrupted
=: ;;
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2471 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2472 ac_cache_corrupted
=: ;;
2475 if test "x$ac_old_val" != "x$ac_new_val"; then
2476 # differences in whitespace do not lead to failure.
2477 ac_old_val_w
=`echo x $ac_old_val`
2478 ac_new_val_w
=`echo x $ac_new_val`
2479 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2481 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2482 ac_cache_corrupted
=:
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2485 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2486 eval $ac_var=\
$ac_old_val
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2489 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2491 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2494 # Pass precious variables to config.status.
2495 if test "$ac_new_set" = set; then
2497 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2498 *) ac_arg
=$ac_var=$ac_new_val ;;
2500 case " $ac_configure_args " in
2501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2502 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2506 if $ac_cache_corrupted; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2510 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2511 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2513 ## -------------------- ##
2514 ## Main body of script. ##
2515 ## -------------------- ##
2518 ac_cpp
='$CPP $CPPFLAGS'
2519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2528 for ac_dir
in .
"$srcdir"/.
; do
2529 if test -f "$ac_dir/install-sh"; then
2531 ac_install_sh
="$ac_aux_dir/install-sh -c"
2533 elif test -f "$ac_dir/install.sh"; then
2535 ac_install_sh
="$ac_aux_dir/install.sh -c"
2537 elif test -f "$ac_dir/shtool"; then
2539 ac_install_sh
="$ac_aux_dir/shtool install -c"
2543 if test -z "$ac_aux_dir"; then
2544 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2547 # These three variables are undocumented and unsupported,
2548 # and are intended to be withdrawn in a future Autoconf release.
2549 # They can cause serious problems if a builder's source tree is in a directory
2550 # whose full name contains unusual characters.
2551 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2552 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2553 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2557 ac_config_headers
="$ac_config_headers config.h"
2560 am__api_version
='1.14'
2562 # Find a good install program. We prefer a C program (faster),
2563 # so one script is as good as another. But avoid the broken or
2564 # incompatible versions:
2565 # SysV /etc/install, /usr/sbin/install
2566 # SunOS /usr/etc/install
2567 # IRIX /sbin/install
2569 # AmigaOS /C/install, which installs bootblocks on floppy discs
2570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2573 # OS/2's system install, which has a completely different semantic
2574 # ./install, which can be erroneously created by make from ./install.sh.
2575 # Reject install programs that cannot install multiple files.
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2577 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2578 if test -z "$INSTALL"; then
2579 if ${ac_cv_path_install+:} false
; then :
2580 $as_echo_n "(cached) " >&6
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 # Account for people who put trailing slashes in PATH elements.
2588 case $as_dir/ in #((
2589 .
/ | .
// | /[cC
]/* | \
2590 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2591 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2594 # OSF1 and SCO ODT 3.0 have their own names for install.
2595 # Don't use installbsd from OSF since it installs stuff as root
2597 for ac_prog
in ginstall scoinst
install; do
2598 for ac_exec_ext
in '' $ac_executable_extensions; do
2599 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2600 if test $ac_prog = install &&
2601 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2602 # AIX install. It has an incompatible calling convention.
2604 elif test $ac_prog = install &&
2605 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2606 # program-specific install script used by HP pwplus--don't use.
2609 rm -rf conftest.one conftest.two conftest.dir
2610 echo one
> conftest.one
2611 echo two
> conftest.two
2613 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2614 test -s conftest.one
&& test -s conftest.two
&&
2615 test -s conftest.dir
/conftest.one
&&
2616 test -s conftest.dir
/conftest.two
2618 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2631 rm -rf conftest.one conftest.two conftest.dir
2634 if test "${ac_cv_path_install+set}" = set; then
2635 INSTALL
=$ac_cv_path_install
2637 # As a last resort, use the slow shell script. Don't cache a
2638 # value for INSTALL within a source directory, because that will
2639 # break other packages using the cache if that directory is
2640 # removed, or if the value is a relative name.
2641 INSTALL
=$ac_install_sh
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2645 $as_echo "$INSTALL" >&6; }
2647 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2648 # It thinks the first close brace ends the variable substitution.
2649 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2651 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2653 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2656 $as_echo_n "checking whether build environment is sane... " >&6; }
2657 # Reject unsafe characters in $srcdir or the absolute working directory
2658 # name. Accept space and tab only in the latter.
2662 *[\\\"\#\$\&\'\`$am_lf]*)
2663 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2666 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2667 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2670 # Do 'set' in a subshell so we don't clobber the current shell's
2671 # arguments. Must try -L first in case configure is actually a
2672 # symlink; some systems play weird games with the mod time of symlinks
2673 # (eg FreeBSD returns the mod time of the symlink's containing
2677 for am_try
in 1 2; do
2678 echo "timestamp, slept: $am_has_slept" > conftest.
file
2679 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2680 if test "$*" = "X"; then
2682 set X
`ls -t "$srcdir/configure" conftest.file`
2684 if test "$*" != "X $srcdir/configure conftest.file" \
2685 && test "$*" != "X conftest.file $srcdir/configure"; then
2687 # If neither matched, then we have a broken ls. This can happen
2688 # if, for instance, CONFIG_SHELL is bash and it inherits a
2689 # broken ls alias from the environment. This has actually
2690 # happened. Such a system could not be considered "sane".
2691 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2692 alias in your environment" "$LINENO" 5
2694 if test "$2" = conftest.
file || test $am_try -eq 2; then
2701 test "$2" = conftest.
file
2707 as_fn_error $?
"newly created file is older than distributed files!
2708 Check your system clock" "$LINENO" 5
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2711 $as_echo "yes" >&6; }
2712 # If we didn't sleep, we still need to ensure time stamps of config.status and
2713 # generated files are strictly newer.
2715 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2722 test "$program_prefix" != NONE
&&
2723 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2724 # Use a double $ so make ignores it.
2725 test "$program_suffix" != NONE
&&
2726 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2727 # Double any \ or $.
2728 # By default was `s,x,x', remove it if useless.
2729 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2730 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2732 # expand $ac_aux_dir to an absolute path
2733 am_aux_dir
=`cd $ac_aux_dir && pwd`
2735 if test x
"${MISSING+set}" != xset
; then
2738 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2740 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2743 # Use eval to expand $SHELL
2744 if eval "$MISSING --is-lightweight"; then
2745 am_missing_run
="$MISSING "
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2749 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2752 if test x
"${install_sh}" != xset
; then
2755 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2757 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2761 # Installed binaries are usually stripped using 'strip' when the user
2762 # run "make install-strip". However 'strip' might not be the right
2763 # tool to use in cross-compilation environments, therefore Automake
2764 # will honor the 'STRIP' environment variable to overrule this program.
2765 if test "$cross_compiling" != no
; then
2766 if test -n "$ac_tool_prefix"; then
2767 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2768 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if ${ac_cv_prog_STRIP+:} false
; then :
2772 $as_echo_n "(cached) " >&6
2774 if test -n "$STRIP"; then
2775 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir
=.
2782 for ac_exec_ext
in '' $ac_executable_extensions; do
2783 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2784 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 STRIP
=$ac_cv_prog_STRIP
2795 if test -n "$STRIP"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2797 $as_echo "$STRIP" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2805 if test -z "$ac_cv_prog_STRIP"; then
2807 # Extract the first word of "strip", so it can be a program name with args.
2808 set dummy strip
; ac_word
=$2
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810 $as_echo_n "checking for $ac_word... " >&6; }
2811 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2812 $as_echo_n "(cached) " >&6
2814 if test -n "$ac_ct_STRIP"; then
2815 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir
=.
2822 for ac_exec_ext
in '' $ac_executable_extensions; do
2823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2824 ac_cv_prog_ac_ct_STRIP
="strip"
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2835 if test -n "$ac_ct_STRIP"; then
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2837 $as_echo "$ac_ct_STRIP" >&6; }
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840 $as_echo "no" >&6; }
2843 if test "x$ac_ct_STRIP" = x
; then
2846 case $cross_compiling:$ac_tool_warned in
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2850 ac_tool_warned
=yes ;;
2855 STRIP
="$ac_cv_prog_STRIP"
2859 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2862 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2863 if test -z "$MKDIR_P"; then
2864 if ${ac_cv_path_mkdir+:} false
; then :
2865 $as_echo_n "(cached) " >&6
2867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2868 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2871 test -z "$as_dir" && as_dir
=.
2872 for ac_prog
in mkdir gmkdir
; do
2873 for ac_exec_ext
in '' $ac_executable_extensions; do
2874 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2875 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2876 'mkdir (GNU coreutils) '* | \
2877 'mkdir (coreutils) '* | \
2878 'mkdir (fileutils) '4.1*)
2879 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2889 test -d .
/--version && rmdir .
/--version
2890 if test "${ac_cv_path_mkdir+set}" = set; then
2891 MKDIR_P
="$ac_cv_path_mkdir -p"
2893 # As a last resort, use the slow shell script. Don't cache a
2894 # value for MKDIR_P within a source directory, because that will
2895 # break other packages using the cache if that directory is
2896 # removed, or if the value is a relative name.
2897 MKDIR_P
="$ac_install_sh -d"
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2901 $as_echo "$MKDIR_P" >&6; }
2903 for ac_prog
in gawk mawk nawk
awk
2905 # Extract the first word of "$ac_prog", so it can be a program name with args.
2906 set dummy
$ac_prog; ac_word
=$2
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2908 $as_echo_n "checking for $ac_word... " >&6; }
2909 if ${ac_cv_prog_AWK+:} false
; then :
2910 $as_echo_n "(cached) " >&6
2912 if test -n "$AWK"; then
2913 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir
=.
2920 for ac_exec_ext
in '' $ac_executable_extensions; do
2921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2922 ac_cv_prog_AWK
="$ac_prog"
2923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 if test -n "$AWK"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2935 $as_echo "$AWK" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 $as_echo "no" >&6; }
2942 test -n "$AWK" && break
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2946 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2948 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2949 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2950 $as_echo_n "(cached) " >&6
2952 cat >conftest.
make <<\_ACEOF
2955 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2957 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2958 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2960 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2962 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2966 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2968 $as_echo "yes" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 SET_MAKE
="MAKE=${MAKE-make}"
2976 rm -rf .tst
2>/dev
/null
2977 mkdir .tst
2>/dev
/null
2978 if test -d .tst
; then
2983 rmdir .tst
2>/dev
/null
2985 # Check whether --enable-silent-rules was given.
2986 if test "${enable_silent_rules+set}" = set; then :
2987 enableval
=$enable_silent_rules;
2990 case $enable_silent_rules in # (((
2991 yes) AM_DEFAULT_VERBOSITY
=0;;
2992 no
) AM_DEFAULT_VERBOSITY
=1;;
2993 *) AM_DEFAULT_VERBOSITY
=1;;
2995 am_make
=${MAKE-make}
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2997 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2998 if ${am_cv_make_support_nested_variables+:} false
; then :
2999 $as_echo_n "(cached) " >&6
3001 if $as_echo 'TRUE=$(BAR$(V))
3007 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3008 am_cv_make_support_nested_variables
=yes
3010 am_cv_make_support_nested_variables
=no
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3014 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3015 if test $am_cv_make_support_nested_variables = yes; then
3017 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3019 AM_V
=$AM_DEFAULT_VERBOSITY
3020 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3024 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3025 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3026 # is not polluted with repeated "-I."
3027 am__isrc
=' -I$(srcdir)'
3028 # test to see if srcdir already configured
3029 if test -f $srcdir/config.status
; then
3030 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3034 # test whether we have cygpath
3035 if test -z "$CYGPATH_W"; then
3036 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3037 CYGPATH_W
='cygpath -w'
3044 # Define the identity of the package.
3049 cat >>confdefs.h
<<_ACEOF
3050 #define PACKAGE "$PACKAGE"
3054 cat >>confdefs.h
<<_ACEOF
3055 #define VERSION "$VERSION"
3058 # Some tools Automake needs.
3060 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3063 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3066 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3069 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3072 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3074 # For better backward compatibility. To be removed once Automake 1.9.x
3075 # dies out for good. For more background, see:
3076 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3077 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3078 mkdir_p
='$(MKDIR_P)'
3080 # We need awk for the "check" target. The system "awk" is bad on
3082 # Always define AMTAR for backward compatibility. Yes, it's still used
3083 # in the wild :-( We should find a proper way to deprecate it ...
3087 # We'll loop over all known methods to create a tar archive until one works.
3088 _am_tools
='gnutar pax cpio none'
3090 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3097 # POSIX will say in a future version that running "rm -f" with no argument
3098 # is OK; and we want to be able to make that assumption in our Makefile
3099 # recipes. So use an aggressive probe to check that the usage we want is
3100 # actually supported "in the wild" to an acceptable degree.
3101 # See automake bug#10828.
3102 # To make any issue more visible, cause the running configure to be aborted
3103 # by default if the 'rm' program in use doesn't match our expectations; the
3104 # user can still override this though.
3105 if rm -f && rm -fr && rm -rf; then : OK
; else
3109 Your 'rm' program seems unable to run without file operands specified
3110 on the command line, even when the '-f' option is present. This is contrary
3111 to the behaviour of most rm programs out there, and not conforming with
3112 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3114 Please tell bug-automake@gnu.org about your system, including the value
3115 of your $PATH and any error possibly output before this message. This
3116 can help us improve future automake versions.
3119 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3120 echo 'Configuration will proceed anyway, since you have set the' >&2
3121 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3125 Aborting the configuration process, to ensure you take notice of the issue.
3127 You can download and install GNU coreutils to get an 'rm' implementation
3128 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3130 If you want to complete the configuration process using your problematic
3131 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3132 to "yes", and re-run configure.
3135 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3140 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3141 # Check whether --enable-maintainer-mode was given.
3142 if test "${enable_maintainer_mode+set}" = set; then :
3143 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3145 USE_MAINTAINER_MODE
=no
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3149 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3150 if test $USE_MAINTAINER_MODE = yes; then
3151 MAINTAINER_MODE_TRUE
=
3152 MAINTAINER_MODE_FALSE
='#'
3154 MAINTAINER_MODE_TRUE
='#'
3155 MAINTAINER_MODE_FALSE
=
3158 MAINT
=$MAINTAINER_MODE_TRUE
3163 ac_cpp
='$CPP $CPPFLAGS'
3164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3167 if test -n "$ac_tool_prefix"; then
3168 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3169 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 $as_echo_n "checking for $ac_word... " >&6; }
3172 if ${ac_cv_prog_CC+:} false
; then :
3173 $as_echo_n "(cached) " >&6
3175 if test -n "$CC"; then
3176 ac_cv_prog_CC
="$CC" # Let the user override the test.
3178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3182 test -z "$as_dir" && as_dir
=.
3183 for ac_exec_ext
in '' $ac_executable_extensions; do
3184 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3185 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3196 if test -n "$CC"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3198 $as_echo "$CC" >&6; }
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3206 if test -z "$ac_cv_prog_CC"; then
3208 # Extract the first word of "gcc", so it can be a program name with args.
3209 set dummy gcc
; ac_word
=$2
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211 $as_echo_n "checking for $ac_word... " >&6; }
3212 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3213 $as_echo_n "(cached) " >&6
3215 if test -n "$ac_ct_CC"; then
3216 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3222 test -z "$as_dir" && as_dir
=.
3223 for ac_exec_ext
in '' $ac_executable_extensions; do
3224 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3225 ac_cv_prog_ac_ct_CC
="gcc"
3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3236 if test -n "$ac_ct_CC"; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3238 $as_echo "$ac_ct_CC" >&6; }
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
3244 if test "x$ac_ct_CC" = x
; then
3247 case $cross_compiling:$ac_tool_warned in
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3251 ac_tool_warned
=yes ;;
3259 if test -z "$CC"; then
3260 if test -n "$ac_tool_prefix"; then
3261 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3262 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3264 $as_echo_n "checking for $ac_word... " >&6; }
3265 if ${ac_cv_prog_CC+:} false
; then :
3266 $as_echo_n "(cached) " >&6
3268 if test -n "$CC"; then
3269 ac_cv_prog_CC
="$CC" # Let the user override the test.
3271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir
=.
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3278 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 if test -n "$CC"; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3291 $as_echo "$CC" >&6; }
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3300 if test -z "$CC"; then
3301 # Extract the first word of "cc", so it can be a program name with args.
3302 set dummy cc
; ac_word
=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if ${ac_cv_prog_CC+:} false
; then :
3306 $as_echo_n "(cached) " >&6
3308 if test -n "$CC"; then
3309 ac_cv_prog_CC
="$CC" # Let the user override the test.
3312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3316 test -z "$as_dir" && as_dir
=.
3317 for ac_exec_ext
in '' $ac_executable_extensions; do
3318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3319 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3320 ac_prog_rejected
=yes
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 if test $ac_prog_rejected = yes; then
3332 # We found a bogon in the path, so make sure we never use it.
3333 set dummy
$ac_cv_prog_CC
3335 if test $# != 0; then
3336 # We chose a different compiler from the bogus one.
3337 # However, it has the same basename, so the bogon will be chosen
3338 # first if we set CC to just the basename; use the full file name.
3340 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3346 if test -n "$CC"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3348 $as_echo "$CC" >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3356 if test -z "$CC"; then
3357 if test -n "$ac_tool_prefix"; then
3358 for ac_prog
in cl.exe
3360 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3361 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if ${ac_cv_prog_CC+:} false
; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$CC"; then
3368 ac_cv_prog_CC
="$CC" # Let the user override the test.
3370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir
=.
3375 for ac_exec_ext
in '' $ac_executable_extensions; do
3376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3377 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 if test -n "$CC"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3390 $as_echo "$CC" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3397 test -n "$CC" && break
3400 if test -z "$CC"; then
3402 for ac_prog
in cl.exe
3404 # Extract the first word of "$ac_prog", so it can be a program name with args.
3405 set dummy
$ac_prog; ac_word
=$2
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 $as_echo_n "checking for $ac_word... " >&6; }
3408 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3409 $as_echo_n "(cached) " >&6
3411 if test -n "$ac_ct_CC"; then
3412 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir
=.
3419 for ac_exec_ext
in '' $ac_executable_extensions; do
3420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3421 ac_cv_prog_ac_ct_CC
="$ac_prog"
3422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3431 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3432 if test -n "$ac_ct_CC"; then
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3434 $as_echo "$ac_ct_CC" >&6; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3441 test -n "$ac_ct_CC" && break
3444 if test "x$ac_ct_CC" = x
; then
3447 case $cross_compiling:$ac_tool_warned in
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3451 ac_tool_warned
=yes ;;
3460 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3462 as_fn_error $?
"no acceptable C compiler found in \$PATH
3463 See \`config.log' for more details" "$LINENO" 5; }
3465 # Provide some information about the compiler.
3466 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3469 for ac_option
in --version -v -V -qversion; do
3470 { { ac_try
="$ac_compiler $ac_option >&5"
3472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3479 if test -s conftest.err; then
3481 ... rest of stderr output deleted ...
3482 10q' conftest.err >conftest.er1
3483 cat conftest.er1 >&5
3485 rm -f conftest.er1 conftest.err
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3501 ac_clean_files_save=$ac_clean_files
3502 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3503 # Try to create an executable without -o first, disregard a.out.
3504 # It will help us diagnose broken compilers, and finding out an intuition
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3507 $as_echo_n "checking whether the C compiler works... " >&6; }
3508 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3510 # The possible output files:
3511 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3514 for ac_file in $ac_files
3517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3518 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3523 if { { ac_try="$ac_link_default"
3525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3526 *) ac_try_echo
=$ac_try;;
3528 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3529 $as_echo "$ac_try_echo"; } >&5
3530 (eval "$ac_link_default") 2>&5
3532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3533 test $ac_status = 0; }; then :
3534 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3535 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3536 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3537 # so that the user can short-circuit this test for compilers unknown to
3539 for ac_file
in $ac_files ''
3541 test -f "$ac_file" || continue
3543 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3546 # We found the default executable, but exeext='' is most
3550 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3552 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3554 # We set ac_cv_exeext here because the later test for it is not
3555 # safe: cross compilers may not add the suffix if given an `-o'
3556 # argument, so we may need to know it at that point already.
3557 # Even if this section looks crufty: it has the advantage of
3564 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3569 if test -z "$ac_file"; then :
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3571 $as_echo "no" >&6; }
3572 $as_echo "$as_me: failed program was:" >&5
3573 sed 's/^/| /' conftest.
$ac_ext >&5
3575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3577 as_fn_error
77 "C compiler cannot create executables
3578 See \`config.log' for more details" "$LINENO" 5; }
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3581 $as_echo "yes" >&6; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3584 $as_echo_n "checking for C compiler default output file name... " >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3586 $as_echo "$ac_file" >&6; }
3587 ac_exeext
=$ac_cv_exeext
3589 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3590 ac_clean_files
=$ac_clean_files_save
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3592 $as_echo_n "checking for suffix of executables... " >&6; }
3593 if { { ac_try
="$ac_link"
3595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3599 $as_echo "$ac_try_echo"; } >&5
3600 (eval "$ac_link") 2>&5
3602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3603 test $ac_status = 0; }; then :
3604 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3605 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3606 # work properly (i.e., refer to `conftest.exe'), while it won't with
3608 for ac_file
in conftest.exe conftest conftest.
*; do
3609 test -f "$ac_file" || continue
3611 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3612 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3621 See \`config.log' for more details" "$LINENO" 5; }
3623 rm -f conftest conftest
$ac_cv_exeext
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3625 $as_echo "$ac_cv_exeext" >&6; }
3627 rm -f conftest.
$ac_ext
3628 EXEEXT
=$ac_cv_exeext
3630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3636 FILE *f = fopen ("conftest.out", "w");
3637 return ferror (f) || fclose (f) != 0;
3643 ac_clean_files
="$ac_clean_files conftest.out"
3644 # Check that the compiler produces executables we can run. If not, either
3645 # the compiler is broken, or we cross compile.
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3647 $as_echo_n "checking whether we are cross compiling... " >&6; }
3648 if test "$cross_compiling" != yes; then
3649 { { ac_try
="$ac_link"
3651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3655 $as_echo "$ac_try_echo"; } >&5
3656 (eval "$ac_link") 2>&5
3658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3659 test $ac_status = 0; }
3660 if { ac_try='./conftest$ac_cv_exeext'
3661 { { case "(($ac_try" in
3662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3663 *) ac_try_echo
=$ac_try;;
3665 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3666 $as_echo "$ac_try_echo"; } >&5
3667 (eval "$ac_try") 2>&5
3669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3670 test $ac_status = 0; }; }; then
3673 if test "$cross_compiling" = maybe
; then
3676 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3678 as_fn_error $?
"cannot run C compiled programs.
3679 If you meant to cross compile, use \`--host'.
3680 See \`config.log' for more details" "$LINENO" 5; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3685 $as_echo "$cross_compiling" >&6; }
3687 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3688 ac_clean_files
=$ac_clean_files_save
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3690 $as_echo_n "checking for suffix of object files... " >&6; }
3691 if ${ac_cv_objext+:} false
; then :
3692 $as_echo_n "(cached) " >&6
3694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3705 rm -f conftest.o conftest.obj
3706 if { { ac_try
="$ac_compile"
3708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3709 *) ac_try_echo=$ac_try;;
3711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712 $as_echo "$ac_try_echo"; } >&5
3713 (eval "$ac_compile") 2>&5
3715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 test $ac_status = 0; }; then :
3717 for ac_file in conftest.o conftest.obj conftest.*; do
3718 test -f "$ac_file" || continue;
3720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3721 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3726 $as_echo "$as_me: failed program was:" >&5
3727 sed 's/^/| /' conftest.$ac_ext >&5
3729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3731 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3732 See \
`config.log' for more details" "$LINENO" 5; }
3734 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3737 $as_echo "$ac_cv_objext" >&6; }
3738 OBJEXT=$ac_cv_objext
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3741 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3742 if ${ac_cv_c_compiler_gnu+:} false; then :
3743 $as_echo_n "(cached) " >&6
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3759 if ac_fn_c_try_compile "$LINENO"; then :
3764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3765 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3769 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3770 if test $ac_compiler_gnu = yes; then
3775 ac_test_CFLAGS=${CFLAGS+set}
3776 ac_save_CFLAGS=$CFLAGS
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3778 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3779 if ${ac_cv_prog_cc_g+:} false; then :
3780 $as_echo_n "(cached) " >&6
3782 ac_save_c_werror_flag=$ac_c_werror_flag
3783 ac_c_werror_flag=yes
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3797 if ac_fn_c_try_compile "$LINENO"; then :
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3812 if ac_fn_c_try_compile "$LINENO"; then :
3815 ac_c_werror_flag=$ac_save_c_werror_flag
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3828 if ac_fn_c_try_compile "$LINENO"; then :
3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836 ac_c_werror_flag=$ac_save_c_werror_flag
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3839 $as_echo "$ac_cv_prog_cc_g" >&6; }
3840 if test "$ac_test_CFLAGS" = set; then
3841 CFLAGS=$ac_save_CFLAGS
3842 elif test $ac_cv_prog_cc_g = yes; then
3843 if test "$GCC" = yes; then
3849 if test "$GCC" = yes; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3856 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3857 if ${ac_cv_prog_cc_c89+:} false; then :
3858 $as_echo_n "(cached) " >&6
3860 ac_cv_prog_cc_c89=no
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3867 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3868 struct buf { int x; };
3869 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3870 static char *e (p, i)
3876 static char *f (char * (*g) (char **, int), char **p, ...)
3881 s = g (p, va_arg (v,int));
3886 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3887 function prototypes and stuff, but not '\xHH' hex character constants.
3888 These don't provoke an error unfortunately, instead are silently treated
3889 as 'x'. The following induces an error, until -std is added to get
3890 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3891 array size at least. It's necessary to write '\x00'==0 to get something
3892 that's true only with -std. */
3893 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3895 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3896 inside strings and character constants. */
3898 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3900 int test (int i, double x);
3901 struct s1 {int (*f) (int a);};
3902 struct s2 {int (*f) (double a);};
3903 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3909 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3914 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3915 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3917 CC="$ac_save_CC $ac_arg"
3918 if ac_fn_c_try_compile "$LINENO"; then :
3919 ac_cv_prog_cc_c89=$ac_arg
3921 rm -f core conftest.err conftest.$ac_objext
3922 test "x$ac_cv_prog_cc_c89" != "xno" && break
3924 rm -f conftest.$ac_ext
3929 case "x$ac_cv_prog_cc_c89" in
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3932 $as_echo "none needed" >&6; } ;;
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3935 $as_echo "unsupported" >&6; } ;;
3937 CC="$CC $ac_cv_prog_cc_c89"
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3939 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3941 if test "x$ac_cv_prog_cc_c89" != xno; then :
3946 ac_cpp='$CPP $CPPFLAGS'
3947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3952 ac_cpp='$CPP $CPPFLAGS'
3953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3957 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3958 if ${am_cv_prog_cc_c_o+:} false; then :
3959 $as_echo_n "(cached) " >&6
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3972 # Make sure it works both with $CC and with simple cc.
3973 # Following AC_PROG_CC_C_O, we do the test twice because some
3974 # compilers refuse to overwrite an existing .o file with -o,
3975 # though they will create one.
3976 am_cv_prog_cc_c_o=yes
3978 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3979 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); } \
3983 && test -f conftest2.$ac_objext; then
3986 am_cv_prog_cc_c_o=no
3990 rm -f core conftest*
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3994 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3995 if test "$am_cv_prog_cc_c_o" != yes; then
3996 # Losing compiler, so override with the script.
3997 # FIXME: It is wrong to rewrite CC.
3998 # But if we don't then we get into trouble of one sort or another.
3999 # A longer-term fix would be to have automake use am__CC in this case,
4000 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4001 CC="$am_aux_dir/compile $CC"
4004 ac_cpp='$CPP $CPPFLAGS'
4005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4009 DEPDIR="${am__leading_dot}deps"
4011 ac_config_commands="$ac_config_commands depfiles"
4014 am_make=${MAKE-make}
4015 cat > confinc << 'END'
4017 @echo this is the am__doit target
4020 # If we don't find an include directive, just comment out the code.
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4022 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4026 # First try GNU make style include.
4027 echo "include confinc" > confmf
4028 # Ignore all kinds of additional output from 'make'.
4029 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4030 *the\ am__doit\ target*)
4036 # Now try BSD make style include.
4037 if test "$am__include" = "#"; then
4038 echo '.include "confinc"' > confmf
4039 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4040 *the\ am__doit\ target*)
4041 am__include=.include
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4050 $as_echo "$_am_result" >&6; }
4051 rm -f confinc confmf
4053 # Check whether --enable-dependency-tracking was given.
4054 if test "${enable_dependency_tracking+set}" = set; then :
4055 enableval=$enable_dependency_tracking;
4058 if test "x$enable_dependency_tracking" != xno; then
4059 am_depcomp="$ac_aux_dir/depcomp"
4063 if test "x$enable_dependency_tracking" != xno; then
4073 depcc="$CC" am_compiler_list=
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4076 $as_echo_n "checking dependency style of $depcc... " >&6; }
4077 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4078 $as_echo_n "(cached) " >&6
4080 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4081 # We make a subdir and do the tests there. Otherwise we can end up
4082 # making bogus files that we don't know about and never remove. For
4083 # instance it was reported that on HP-UX the gcc test will end up
4084 # making a dummy file named 'D' -- because '-MD' means "put the output
4088 # Copy depcomp to subdir because otherwise we won't find it if we're
4089 # using a relative directory.
4090 cp "$am_depcomp" conftest.dir
4092 # We will build objects and dependencies in a subdirectory because
4093 # it helps to detect inapplicable dependency modes. For instance
4094 # both Tru64's cc and ICC support -MD to output dependencies as a
4095 # side effect of compilation, but ICC will put the dependencies in
4096 # the current directory while Tru64 will put them in the object
4100 am_cv_CC_dependencies_compiler_type=none
4101 if test "$am_compiler_list" = ""; then
4102 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4105 case " $depcc " in #(
4106 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4109 for depmode in $am_compiler_list; do
4110 # Setup a source with many dependencies, because some compilers
4111 # like to wrap large dependency lists on column 80 (with \), and
4112 # we should not choose a depcomp mode which is confused by this.
4114 # We need to recreate these files for each test, as the compiler may
4115 # overwrite some of them when testing with obscure command lines.
4116 # This happens at least with the AIX C compiler.
4118 for i in 1 2 3 4 5 6; do
4119 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4120 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4121 # Solaris 10 /bin/sh.
4122 echo '/* dummy */' > sub/conftst$i.h
4124 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4126 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4127 # mode. It turns out that the SunPro C++ compiler does not properly
4128 # handle '-M -o', and we need to detect this. Also, some Intel
4129 # versions had trouble with output in subdirs.
4130 am__obj=sub/conftest.${OBJEXT-o}
4131 am__minus_obj="-o $am__obj"
4134 # This depmode causes a compiler race in universal mode.
4135 test "$am__universal" = false || continue
4138 # After this tag, mechanisms are not by side-effect, so they'll
4139 # only be used when explicitly requested.
4140 if test "x$enable_dependency_tracking" = xyes; then
4146 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4147 # This compiler won't grok '-c -o', but also, the minuso test has
4148 # not run yet. These depmodes are late enough in the game, and
4149 # so weak that their functioning should not be impacted.
4150 am__obj=conftest.${OBJEXT-o}
4155 if depmode=$depmode \
4156 source=sub/conftest.c object=$am__obj \
4157 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4158 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4159 >/dev/null 2>conftest.err &&
4160 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4161 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4162 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4163 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4164 # icc doesn't choke on unknown options, it will just issue warnings
4165 # or remarks (even with -Werror). So we grep stderr for any message
4166 # that says an option was ignored or not supported.
4167 # When given -MP, icc 7.0 and 7.1 complain thusly:
4168 # icc: Command line warning: ignoring option '-M'; no argument required
4169 # The diagnosis changed in icc 8.0:
4170 # icc: Command line remark: option '-MP' not supported
4171 if (grep 'ignoring option' conftest.err ||
4172 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4173 am_cv_CC_dependencies_compiler_type=$depmode
4182 am_cv_CC_dependencies_compiler_type=none
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4187 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4188 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4191 test "x$enable_dependency_tracking" != xno \
4192 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4194 am__fastdepCC_FALSE='#'
4196 am__fastdepCC_TRUE='#'
4197 am__fastdepCC_FALSE=
4202 ac_cpp='$CXXCPP $CPPFLAGS'
4203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4206 if test -z "$CXX"; then
4207 if test -n "$CCC"; then
4210 if test -n "$ac_tool_prefix"; then
4211 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4214 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216 $as_echo_n "checking for $ac_word... " >&6; }
4217 if ${ac_cv_prog_CXX+:} false; then :
4218 $as_echo_n "(cached) " >&6
4220 if test -n "$CXX"; then
4221 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4227 test -z "$as_dir" && as_dir=.
4228 for ac_exec_ext in '' $ac_executable_extensions; do
4229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4230 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 if test -n "$CXX"; then
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4243 $as_echo "$CXX" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 $as_echo "no" >&6; }
4250 test -n "$CXX" && break
4253 if test -z "$CXX"; then
4255 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4257 # Extract the first word of "$ac_prog", so it can be a program name with args.
4258 set dummy $ac_prog; ac_word=$2
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4260 $as_echo_n "checking for $ac_word... " >&6; }
4261 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4262 $as_echo_n "(cached) " >&6
4264 if test -n "$ac_ct_CXX"; then
4265 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271 test -z "$as_dir" && as_dir=.
4272 for ac_exec_ext in '' $ac_executable_extensions; do
4273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4274 ac_cv_prog_ac_ct_CXX="$ac_prog"
4275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4285 if test -n "$ac_ct_CXX"; then
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4287 $as_echo "$ac_ct_CXX" >&6; }
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290 $as_echo "no" >&6; }
4294 test -n "$ac_ct_CXX" && break
4297 if test "x$ac_ct_CXX" = x; then
4300 case $cross_compiling:$ac_tool_warned in
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4304 ac_tool_warned=yes ;;
4312 # Provide some information about the compiler.
4313 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4316 for ac_option in --version -v -V -qversion; do
4317 { { ac_try="$ac_compiler $ac_option >&5"
4319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4320 *) ac_try_echo
=$ac_try;;
4322 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4326 if test -s conftest.err
; then
4328 ... rest of stderr output deleted ...
4329 10q' conftest.err
>conftest.er1
4330 cat conftest.er1
>&5
4332 rm -f conftest.er1 conftest.err
4333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4334 test $ac_status = 0; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4338 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4339 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4340 $as_echo_n "(cached) " >&6
4342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4356 if ac_fn_cxx_try_compile
"$LINENO"; then :
4361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4362 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4366 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4367 if test $ac_compiler_gnu = yes; then
4372 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4373 ac_save_CXXFLAGS
=$CXXFLAGS
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4375 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4376 if ${ac_cv_prog_cxx_g+:} false
; then :
4377 $as_echo_n "(cached) " >&6
4379 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4380 ac_cxx_werror_flag
=yes
4383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4394 if ac_fn_cxx_try_compile
"$LINENO"; then :
4395 ac_cv_prog_cxx_g
=yes
4398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4409 if ac_fn_cxx_try_compile
"$LINENO"; then :
4412 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h. */
4425 if ac_fn_cxx_try_compile
"$LINENO"; then :
4426 ac_cv_prog_cxx_g
=yes
4428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4433 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4436 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4437 if test "$ac_test_CXXFLAGS" = set; then
4438 CXXFLAGS
=$ac_save_CXXFLAGS
4439 elif test $ac_cv_prog_cxx_g = yes; then
4440 if test "$GXX" = yes; then
4446 if test "$GXX" = yes; then
4453 ac_cpp
='$CPP $CPPFLAGS'
4454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4458 depcc
="$CXX" am_compiler_list
=
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4461 $as_echo_n "checking dependency style of $depcc... " >&6; }
4462 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4466 # We make a subdir and do the tests there. Otherwise we can end up
4467 # making bogus files that we don't know about and never remove. For
4468 # instance it was reported that on HP-UX the gcc test will end up
4469 # making a dummy file named 'D' -- because '-MD' means "put the output
4473 # Copy depcomp to subdir because otherwise we won't find it if we're
4474 # using a relative directory.
4475 cp "$am_depcomp" conftest.dir
4477 # We will build objects and dependencies in a subdirectory because
4478 # it helps to detect inapplicable dependency modes. For instance
4479 # both Tru64's cc and ICC support -MD to output dependencies as a
4480 # side effect of compilation, but ICC will put the dependencies in
4481 # the current directory while Tru64 will put them in the object
4485 am_cv_CXX_dependencies_compiler_type
=none
4486 if test "$am_compiler_list" = ""; then
4487 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4490 case " $depcc " in #(
4491 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4494 for depmode
in $am_compiler_list; do
4495 # Setup a source with many dependencies, because some compilers
4496 # like to wrap large dependency lists on column 80 (with \), and
4497 # we should not choose a depcomp mode which is confused by this.
4499 # We need to recreate these files for each test, as the compiler may
4500 # overwrite some of them when testing with obscure command lines.
4501 # This happens at least with the AIX C compiler.
4503 for i
in 1 2 3 4 5 6; do
4504 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4505 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4506 # Solaris 10 /bin/sh.
4507 echo '/* dummy */' > sub
/conftst
$i.h
4509 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4511 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4512 # mode. It turns out that the SunPro C++ compiler does not properly
4513 # handle '-M -o', and we need to detect this. Also, some Intel
4514 # versions had trouble with output in subdirs.
4515 am__obj
=sub
/conftest.
${OBJEXT-o}
4516 am__minus_obj
="-o $am__obj"
4519 # This depmode causes a compiler race in universal mode.
4520 test "$am__universal" = false
|| continue
4523 # After this tag, mechanisms are not by side-effect, so they'll
4524 # only be used when explicitly requested.
4525 if test "x$enable_dependency_tracking" = xyes
; then
4531 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4532 # This compiler won't grok '-c -o', but also, the minuso test has
4533 # not run yet. These depmodes are late enough in the game, and
4534 # so weak that their functioning should not be impacted.
4535 am__obj
=conftest.
${OBJEXT-o}
4540 if depmode
=$depmode \
4541 source=sub
/conftest.c object
=$am__obj \
4542 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4543 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4544 >/dev
/null
2>conftest.err
&&
4545 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4546 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4547 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4548 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4549 # icc doesn't choke on unknown options, it will just issue warnings
4550 # or remarks (even with -Werror). So we grep stderr for any message
4551 # that says an option was ignored or not supported.
4552 # When given -MP, icc 7.0 and 7.1 complain thusly:
4553 # icc: Command line warning: ignoring option '-M'; no argument required
4554 # The diagnosis changed in icc 8.0:
4555 # icc: Command line remark: option '-MP' not supported
4556 if (grep 'ignoring option' conftest.err
||
4557 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4558 am_cv_CXX_dependencies_compiler_type
=$depmode
4567 am_cv_CXX_dependencies_compiler_type
=none
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4572 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4573 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4576 test "x$enable_dependency_tracking" != xno \
4577 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4578 am__fastdepCXX_TRUE
=
4579 am__fastdepCXX_FALSE
='#'
4581 am__fastdepCXX_TRUE
='#'
4582 am__fastdepCXX_FALSE
=
4587 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4588 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4591 if test -n "$ac_tool_prefix"; then
4592 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4595 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if ${ac_cv_prog_OBJCXX+:} false
; then :
4599 $as_echo_n "(cached) " >&6
4601 if test -n "$OBJCXX"; then
4602 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir
=.
4609 for ac_exec_ext
in '' $ac_executable_extensions; do
4610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 OBJCXX
=$ac_cv_prog_OBJCXX
4622 if test -n "$OBJCXX"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4624 $as_echo "$OBJCXX" >&6; }
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4631 test -n "$OBJCXX" && break
4634 if test -z "$OBJCXX"; then
4635 ac_ct_OBJCXX
=$OBJCXX
4636 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4638 # Extract the first word of "$ac_prog", so it can be a program name with args.
4639 set dummy
$ac_prog; ac_word
=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$ac_ct_OBJCXX"; then
4646 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4666 if test -n "$ac_ct_OBJCXX"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4668 $as_echo "$ac_ct_OBJCXX" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4675 test -n "$ac_ct_OBJCXX" && break
4678 if test "x$ac_ct_OBJCXX" = x
; then
4681 case $cross_compiling:$ac_tool_warned in
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4685 ac_tool_warned
=yes ;;
4687 OBJCXX
=$ac_ct_OBJCXX
4691 # Provide some information about the compiler.
4692 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4695 for ac_option
in --version -v -V -qversion; do
4696 { { ac_try
="$ac_compiler $ac_option >&5"
4698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4699 *) ac_try_echo=$ac_try;;
4701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4702 $as_echo "$ac_try_echo"; } >&5
4703 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4705 if test -s conftest.err; then
4707 ... rest of stderr output deleted ...
4708 10q' conftest.err >conftest.er1
4709 cat conftest.er1 >&5
4711 rm -f conftest.er1 conftest.err
4712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4713 test $ac_status = 0; }
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4717 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4718 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4719 $as_echo_n "(cached) " >&6
4721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4735 if ac_fn_objcxx_try_compile "$LINENO"; then :
4740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4741 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4745 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4746 if test $ac_compiler_gnu = yes; then
4751 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4752 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4754 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4755 if ${ac_cv_prog_objcxx_g+:} false; then :
4756 $as_echo_n "(cached) " >&6
4758 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4759 ac_objcxx_werror_flag=yes
4760 ac_cv_prog_objcxx_g=no
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h. */
4773 if ac_fn_objcxx_try_compile "$LINENO"; then :
4774 ac_cv_prog_objcxx_g=yes
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4788 if ac_fn_objcxx_try_compile "$LINENO"; then :
4791 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4804 if ac_fn_objcxx_try_compile "$LINENO"; then :
4805 ac_cv_prog_objcxx_g=yes
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4815 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4816 if test "$ac_test_OBJCXXFLAGS" = set; then
4817 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4818 elif test $ac_cv_prog_objcxx_g = yes; then
4819 if test "$GOBJCXX" = yes; then
4820 OBJCXXFLAGS="-g -O2"
4825 if test "$GOBJCXX" = yes; then
4832 ac_cpp='$CPP $CPPFLAGS'
4833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4837 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4840 $as_echo_n "checking dependency style of $depcc... " >&6; }
4841 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4842 $as_echo_n "(cached) " >&6
4844 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4845 # We make a subdir and do the tests there. Otherwise we can end up
4846 # making bogus files that we don't know about and never remove. For
4847 # instance it was reported that on HP-UX the gcc test will end up
4848 # making a dummy file named 'D' -- because '-MD' means "put the output
4852 # Copy depcomp to subdir because otherwise we won't find it if we're
4853 # using a relative directory.
4854 cp "$am_depcomp" conftest.dir
4856 # We will build objects and dependencies in a subdirectory because
4857 # it helps to detect inapplicable dependency modes. For instance
4858 # both Tru64's cc and ICC support -MD to output dependencies as a
4859 # side effect of compilation, but ICC will put the dependencies in
4860 # the current directory while Tru64 will put them in the object
4864 am_cv_OBJCXX_dependencies_compiler_type=none
4865 if test "$am_compiler_list" = ""; then
4866 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4871 for depmode in $am_compiler_list; do
4872 # Setup a source with many dependencies, because some compilers
4873 # like to wrap large dependency lists on column 80 (with \), and
4874 # we should not choose a depcomp mode which is confused by this.
4876 # We need to recreate these files for each test, as the compiler may
4877 # overwrite some of them when testing with obscure command lines.
4878 # This happens at least with the AIX C compiler.
4880 for i in 1 2 3 4 5 6; do
4881 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4882 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4883 # Solaris 10 /bin/sh.
4884 echo '/* dummy */' > sub/conftst$i.h
4886 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4888 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4889 # mode. It turns out that the SunPro C++ compiler does not properly
4890 # handle '-M -o', and we need to detect this. Also, some Intel
4891 # versions had trouble with output in subdirs.
4892 am__obj=sub/conftest.${OBJEXT-o}
4893 am__minus_obj="-o $am__obj"
4896 # This depmode causes a compiler race in universal mode.
4897 test "$am__universal" = false || continue
4900 # After this tag, mechanisms are not by side-effect, so they'll
4901 # only be used when explicitly requested.
4902 if test "x$enable_dependency_tracking" = xyes; then
4908 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4909 # This compiler won't grok '-c -o', but also, the minuso test has
4910 # not run yet. These depmodes are late enough in the game, and
4911 # so weak that their functioning should not be impacted.
4912 am__obj=conftest.${OBJEXT-o}
4917 if depmode=$depmode \
4918 source=sub/conftest.c object=$am__obj \
4919 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4920 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4921 >/dev/null 2>conftest.err &&
4922 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4923 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4924 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4925 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4926 # icc doesn't choke on unknown options, it will just issue warnings
4927 # or remarks (even with -Werror). So we grep stderr for any message
4928 # that says an option was ignored or not supported.
4929 # When given -MP, icc 7.0 and 7.1 complain thusly:
4930 # icc: Command line warning: ignoring option '-M'; no argument required
4931 # The diagnosis changed in icc 8.0:
4932 # icc: Command line remark: option '-MP' not supported
4933 if (grep 'ignoring option' conftest.err ||
4934 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4935 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4944 am_cv_OBJCXX_dependencies_compiler_type=none
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4949 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4950 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4953 test "x$enable_dependency_tracking" != xno \
4954 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4955 am__fastdepOBJCXX_TRUE=
4956 am__fastdepOBJCXX_FALSE='#'
4958 am__fastdepOBJCXX_TRUE='#'
4959 am__fastdepOBJCXX_FALSE=
4965 if test -n "$ac_tool_prefix"; then
4966 for ac_prog in ar lib "link -lib"
4968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if ${ac_cv_prog_AR+:} false; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -n "$AR"; then
4976 ac_cv_prog_AR="$AR" # Let the user override the test.
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir=.
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4985 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 if test -n "$AR"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4998 $as_echo "$AR" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5005 test -n "$AR" && break
5008 if test -z "$AR"; then
5010 for ac_prog in ar lib "link -lib"
5012 # Extract the first word of "$ac_prog", so it can be a program name with args.
5013 set dummy $ac_prog; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5017 $as_echo_n "(cached) " >&6
5019 if test -n "$ac_ct_AR"; then
5020 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_ac_ct_AR="$ac_prog"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5040 if test -n "$ac_ct_AR"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5042 $as_echo "$ac_ct_AR" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5049 test -n "$ac_ct_AR" && break
5052 if test "x$ac_ct_AR" = x; then
5055 case $cross_compiling:$ac_tool_warned in
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5059 ac_tool_warned=yes ;;
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5068 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5069 if ${am_cv_ar_interface+:} false; then :
5070 $as_echo_n "(cached) " >&6
5073 ac_cpp='$CPP $CPPFLAGS'
5074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5078 am_cv_ar_interface=ar
5079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080 /* end confdefs.h. */
5081 int some_variable = 0;
5083 if ac_fn_c_try_compile "$LINENO"; then :
5084 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5085 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5086 (eval $am_ar_try) 2>&5
5088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5089 test $ac_status = 0; }
5090 if test "$ac_status" -eq 0; then
5091 am_cv_ar_interface=ar
5093 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5094 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5095 (eval $am_ar_try) 2>&5
5097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5098 test $ac_status = 0; }
5099 if test "$ac_status" -eq 0; then
5100 am_cv_ar_interface=lib
5102 am_cv_ar_interface=unknown
5105 rm -f conftest.lib libconftest.a
5108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5110 ac_cpp='$CPP $CPPFLAGS'
5111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5117 $as_echo "$am_cv_ar_interface" >&6; }
5119 case $am_cv_ar_interface in
5123 # Microsoft lib, so override with the ar-lib wrapper script.
5124 # FIXME: It is wrong to rewrite AR.
5125 # But if we don't then we get into trouble of one sort or another.
5126 # A longer-term fix would be to have automake use am__AR in this case,
5127 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5129 AR="$am_aux_dir/ar-lib $AR"
5132 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5141 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5146 macro_version='2.4.2'
5147 macro_revision='1.3337'
5161 ltmain="$ac_aux_dir/ltmain.sh"
5163 # Make sure we can run config.sub.
5164 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5165 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5168 $as_echo_n "checking build system type... " >&6; }
5169 if ${ac_cv_build+:} false; then :
5170 $as_echo_n "(cached) " >&6
5172 ac_build_alias=$build_alias
5173 test "x$ac_build_alias" = x &&
5174 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5175 test "x$ac_build_alias" = x &&
5176 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5177 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5178 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5182 $as_echo "$ac_cv_build" >&6; }
5183 case $ac_cv_build in
5185 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5188 ac_save_IFS=$IFS; IFS='-'
5194 # Remember, the first character of IFS is used to create $*,
5195 # except with old shells:
5198 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5202 $as_echo_n "checking host system type... " >&6; }
5203 if ${ac_cv_host+:} false; then :
5204 $as_echo_n "(cached) " >&6
5206 if test "x$host_alias" = x; then
5207 ac_cv_host=$ac_cv_build
5209 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5210 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5215 $as_echo "$ac_cv_host" >&6; }
5218 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5221 ac_save_IFS=$IFS; IFS='-'
5227 # Remember, the first character of IFS is used to create $*,
5228 # except with old shells:
5231 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5234 # Backslashify metacharacters that are still active within
5235 # double-quoted strings.
5236 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5238 # Same as above, but do not quote variable references.
5239 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5241 # Sed substitution to delay expansion of an escaped shell variable in a
5242 # double_quote_subst'ed string.
5243 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5245 # Sed substitution to delay expansion of an escaped single quote.
5246 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5248 # Sed substitution to avoid accidental globbing in evaled expressions
5249 no_glob_subst='s/\*/\\\*/g'
5251 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5252 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5253 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5256 $as_echo_n "checking how to print
strings...
" >&6; }
5257 # Test print first, because it will be a builtin if present.
5258 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5259 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5261 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5264 # Use this function as a fallback that always works.
5265 func_fallback_echo ()
5267 eval 'cat <<_LTECHO_EOF
5271 ECHO='func_fallback_echo'
5274 # func_echo_all arg...
5275 # Invoke $ECHO with all args, space-separated.
5282 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5283 $as_echo "printf" >&6; } ;;
5284 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5285 $as_echo "print
-r" >&6; } ;;
5286 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5287 $as_echo "cat" >&6; } ;;
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5304 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5305 if ${ac_cv_path_SED+:} false; then :
5306 $as_echo_n "(cached
) " >&6
5308 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5309 for ac_i in 1 2 3 4 5 6 7; do
5310 ac_script="$ac_script$as_nl$ac_script"
5312 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5313 { ac_script=; unset ac_script;}
5314 if test -z "$SED"; then
5315 ac_path_SED_found=false
5316 # Loop through the user's path and test for each of PROGNAME-LIST
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 test -z "$as_dir" && as_dir=.
5322 for ac_prog in sed gsed; do
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5325 as_fn_executable_p "$ac_path_SED" || continue
5326 # Check for GNU ac_path_SED and select it if it is found.
5327 # Check for GNU $ac_path_SED
5328 case `"$ac_path_SED" --version 2>&1` in
5330 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5333 $as_echo_n 0123456789 >"conftest.
in"
5336 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5337 mv "conftest.tmp
" "conftest.
in"
5338 cp "conftest.
in" "conftest.
nl"
5339 $as_echo '' >> "conftest.
nl"
5340 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5341 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5342 as_fn_arith $ac_count + 1 && ac_count=$as_val
5343 if test $ac_count -gt ${ac_path_SED_max-0}; then
5344 # Best one so far, save it but keep looking for a better one
5345 ac_cv_path_SED="$ac_path_SED"
5346 ac_path_SED_max=$ac_count
5348 # 10*(2^10) chars as input seems more than enough
5349 test $ac_count -gt 10 && break
5351 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5354 $ac_path_SED_found && break 3
5359 if test -z "$ac_cv_path_SED"; then
5360 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5368 $as_echo "$ac_cv_path_SED" >&6; }
5369 SED="$ac_cv_path_SED"
5372 test -z "$SED" && SED=sed
5373 Xsed="$SED -e 1s
/^X
//"
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5386 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5387 if ${ac_cv_path_GREP+:} false; then :
5388 $as_echo_n "(cached
) " >&6
5390 if test -z "$GREP"; then
5391 ac_path_GREP_found=false
5392 # Loop through the user's path and test for each of PROGNAME-LIST
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5397 test -z "$as_dir" && as_dir=.
5398 for ac_prog in grep ggrep; do
5399 for ac_exec_ext in '' $ac_executable_extensions; do
5400 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5401 as_fn_executable_p "$ac_path_GREP" || continue
5402 # Check for GNU ac_path_GREP and select it if it is found.
5403 # Check for GNU $ac_path_GREP
5404 case `"$ac_path_GREP" --version 2>&1` in
5406 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5409 $as_echo_n 0123456789 >"conftest.
in"
5412 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5413 mv "conftest.tmp
" "conftest.
in"
5414 cp "conftest.
in" "conftest.
nl"
5415 $as_echo 'GREP' >> "conftest.
nl"
5416 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5417 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5418 as_fn_arith $ac_count + 1 && ac_count=$as_val
5419 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5420 # Best one so far, save it but keep looking for a better one
5421 ac_cv_path_GREP="$ac_path_GREP"
5422 ac_path_GREP_max=$ac_count
5424 # 10*(2^10) chars as input seems more than enough
5425 test $ac_count -gt 10 && break
5427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5430 $ac_path_GREP_found && break 3
5435 if test -z "$ac_cv_path_GREP"; then
5436 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5439 ac_cv_path_GREP=$GREP
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5444 $as_echo "$ac_cv_path_GREP" >&6; }
5445 GREP="$ac_cv_path_GREP"
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5449 $as_echo_n "checking
for egrep...
" >&6; }
5450 if ${ac_cv_path_EGREP+:} false; then :
5451 $as_echo_n "(cached
) " >&6
5453 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5454 then ac_cv_path_EGREP="$GREP -E"
5456 if test -z "$EGREP"; then
5457 ac_path_EGREP_found=false
5458 # Loop through the user's path and test for each of PROGNAME-LIST
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5463 test -z "$as_dir" && as_dir=.
5464 for ac_prog in egrep; do
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5467 as_fn_executable_p "$ac_path_EGREP" || continue
5468 # Check for GNU ac_path_EGREP and select it if it is found.
5469 # Check for GNU $ac_path_EGREP
5470 case `"$ac_path_EGREP" --version 2>&1` in
5472 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5475 $as_echo_n 0123456789 >"conftest.
in"
5478 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5479 mv "conftest.tmp
" "conftest.
in"
5480 cp "conftest.
in" "conftest.
nl"
5481 $as_echo 'EGREP' >> "conftest.
nl"
5482 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5483 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5484 as_fn_arith $ac_count + 1 && ac_count=$as_val
5485 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5486 # Best one so far, save it but keep looking for a better one
5487 ac_cv_path_EGREP="$ac_path_EGREP"
5488 ac_path_EGREP_max=$ac_count
5490 # 10*(2^10) chars as input seems more than enough
5491 test $ac_count -gt 10 && break
5493 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5496 $ac_path_EGREP_found && break 3
5501 if test -z "$ac_cv_path_EGREP"; then
5502 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5505 ac_cv_path_EGREP=$EGREP
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5511 $as_echo "$ac_cv_path_EGREP" >&6; }
5512 EGREP="$ac_cv_path_EGREP"
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5516 $as_echo_n "checking
for fgrep...
" >&6; }
5517 if ${ac_cv_path_FGREP+:} false; then :
5518 $as_echo_n "(cached
) " >&6
5520 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5521 then ac_cv_path_FGREP="$GREP -F"
5523 if test -z "$FGREP"; then
5524 ac_path_FGREP_found=false
5525 # Loop through the user's path and test for each of PROGNAME-LIST
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5530 test -z "$as_dir" && as_dir=.
5531 for ac_prog in fgrep; do
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5534 as_fn_executable_p "$ac_path_FGREP" || continue
5535 # Check for GNU ac_path_FGREP and select it if it is found.
5536 # Check for GNU $ac_path_FGREP
5537 case `"$ac_path_FGREP" --version 2>&1` in
5539 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5542 $as_echo_n 0123456789 >"conftest.
in"
5545 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5546 mv "conftest.tmp
" "conftest.
in"
5547 cp "conftest.
in" "conftest.
nl"
5548 $as_echo 'FGREP' >> "conftest.
nl"
5549 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5550 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5551 as_fn_arith $ac_count + 1 && ac_count=$as_val
5552 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5553 # Best one so far, save it but keep looking for a better one
5554 ac_cv_path_FGREP="$ac_path_FGREP"
5555 ac_path_FGREP_max=$ac_count
5557 # 10*(2^10) chars as input seems more than enough
5558 test $ac_count -gt 10 && break
5560 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5563 $ac_path_FGREP_found && break 3
5568 if test -z "$ac_cv_path_FGREP"; then
5569 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5572 ac_cv_path_FGREP=$FGREP
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5578 $as_echo "$ac_cv_path_FGREP" >&6; }
5579 FGREP="$ac_cv_path_FGREP"
5582 test -z "$GREP" && GREP=grep
5602 # Check whether --with-gnu-ld was given.
5603 if test "${with_gnu_ld+set}" = set; then :
5604 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5610 if test "$GCC" = yes; then
5611 # Check if gcc -print-prog-name=ld gives a path.
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5613 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5616 # gcc leaves a trailing carriage return which upsets mingw
5617 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5619 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5622 # Accept absolute paths.
5624 re_direlt='/[^/][^/]*/\.\./'
5625 # Canonicalize the pathname of ld
5626 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5627 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5628 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5630 test -z "$LD" && LD="$ac_prog"
5633 # If it fails, then pretend we aren't using GCC.
5637 # If it is relative, then search for the first ld in PATH.
5641 elif test "$with_gnu_ld" = yes; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5643 $as_echo_n "checking
for GNU ld...
" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5646 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5648 if ${lt_cv_path_LD+:} false; then :
5649 $as_echo_n "(cached
) " >&6
5651 if test -z "$LD"; then
5652 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5653 for ac_dir in $PATH; do
5655 test -z "$ac_dir" && ac_dir=.
5656 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5657 lt_cv_path_LD="$ac_dir/$ac_prog"
5658 # Check to see if the program is GNU ld. I'd rather use --version,
5659 # but apparently some variants of GNU ld only accept -v.
5660 # Break only if it was the GNU/non-GNU ld that we prefer.
5661 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5662 *GNU* | *'with BFD'*)
5663 test "$with_gnu_ld" != no && break
5666 test "$with_gnu_ld" != yes && break
5673 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5678 if test -n "$LD"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5680 $as_echo "$LD" >&6; }
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5683 $as_echo "no
" >&6; }
5685 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5687 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5688 if ${lt_cv_prog_gnu_ld+:} false; then :
5689 $as_echo_n "(cached
) " >&6
5691 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5692 case `$LD -v 2>&1 </dev/null` in
5693 *GNU* | *'with BFD'*)
5694 lt_cv_prog_gnu_ld=yes
5697 lt_cv_prog_gnu_ld=no
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5702 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5703 with_gnu_ld=$lt_cv_prog_gnu_ld
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5714 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5715 if ${lt_cv_path_NM+:} false; then :
5716 $as_echo_n "(cached
) " >&6
5718 if test -n "$NM"; then
5719 # Let the user override the test.
5722 lt_nm_to_check="${ac_tool_prefix}nm
"
5723 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5724 lt_nm_to_check="$lt_nm_to_check nm
"
5726 for lt_tmp_nm in $lt_nm_to_check; do
5727 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5728 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5730 test -z "$ac_dir" && ac_dir=.
5731 tmp_nm="$ac_dir/$lt_tmp_nm"
5732 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5733 # Check to see if the nm accepts a BSD-compat flag.
5734 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5735 # nm: unknown option "B
" ignored
5736 # Tru64's nm complains that /dev/null is an invalid object file
5737 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5738 */dev/null* | *'Invalid file or object type'*)
5739 lt_cv_path_NM="$tmp_nm -B"
5743 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5745 lt_cv_path_NM="$tmp_nm -p"
5749 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5750 continue # so that we can try to find one that supports BSD flags
5759 : ${lt_cv_path_NM=no}
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5763 $as_echo "$lt_cv_path_NM" >&6; }
5764 if test "$lt_cv_path_NM" != "no
"; then
5767 # Didn't find any BSD compatible name lister, look for dumpbin.
5768 if test -n "$DUMPBIN"; then :
5769 # Let the user override the test.
5771 if test -n "$ac_tool_prefix"; then
5772 for ac_prog in dumpbin "link
-dump"
5774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5775 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5777 $as_echo_n "checking
for $ac_word...
" >&6; }
5778 if ${ac_cv_prog_DUMPBIN+:} false; then :
5779 $as_echo_n "(cached
) " >&6
5781 if test -n "$DUMPBIN"; then
5782 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 test -z "$as_dir" && as_dir=.
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5791 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5801 DUMPBIN=$ac_cv_prog_DUMPBIN
5802 if test -n "$DUMPBIN"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5804 $as_echo "$DUMPBIN" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5807 $as_echo "no
" >&6; }
5811 test -n "$DUMPBIN" && break
5814 if test -z "$DUMPBIN"; then
5815 ac_ct_DUMPBIN=$DUMPBIN
5816 for ac_prog in dumpbin "link
-dump"
5818 # Extract the first word of "$ac_prog", so it can be a program name with args.
5819 set dummy $ac_prog; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5821 $as_echo_n "checking
for $ac_word...
" >&6; }
5822 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5823 $as_echo_n "(cached
) " >&6
5825 if test -n "$ac_ct_DUMPBIN"; then
5826 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5845 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5846 if test -n "$ac_ct_DUMPBIN"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5848 $as_echo "$ac_ct_DUMPBIN" >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5851 $as_echo "no
" >&6; }
5855 test -n "$ac_ct_DUMPBIN" && break
5858 if test "x
$ac_ct_DUMPBIN" = x; then
5861 case $cross_compiling:$ac_tool_warned in
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5864 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5865 ac_tool_warned=yes ;;
5867 DUMPBIN=$ac_ct_DUMPBIN
5871 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5873 DUMPBIN="$DUMPBIN -symbols"
5881 if test "$DUMPBIN" != ":"; then
5885 test -z "$NM" && NM=nm
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5893 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5894 if ${lt_cv_nm_interface+:} false; then :
5895 $as_echo_n "(cached
) " >&6
5897 lt_cv_nm_interface="BSD nm
"
5898 echo "int some_variable
= 0;" > conftest.$ac_ext
5899 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5900 (eval "$ac_compile" 2>conftest.err)
5901 cat conftest.err >&5
5902 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5903 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5904 cat conftest.err >&5
5905 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5906 cat conftest.out >&5
5907 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5908 lt_cv_nm_interface="MS dumpbin
"
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5913 $as_echo "$lt_cv_nm_interface" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5916 $as_echo_n "checking whether
ln -s works...
" >&6; }
5918 if test "$LN_S" = "ln -s"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5920 $as_echo "yes" >&6; }
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5923 $as_echo "no
, using
$LN_S" >&6; }
5926 # find the maximum length of command line arguments
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5928 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5929 if ${lt_cv_sys_max_cmd_len+:} false; then :
5930 $as_echo_n "(cached
) " >&6
5937 # On DJGPP, this test can blow up pretty badly due to problems in libc
5938 # (any single argument exceeding 2000 bytes causes a buffer overrun
5939 # during glob expansion). Even if it were fixed, the result of this
5940 # check would be larger than it should be.
5941 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5945 # Under GNU Hurd, this test is not required because there is
5946 # no limit to the length of command line arguments.
5947 # Libtool will interpret -1 as no limit whatsoever
5948 lt_cv_sys_max_cmd_len=-1;
5951 cygwin* | mingw* | cegcc*)
5952 # On Win9x/ME, this test blows up -- it succeeds, but takes
5953 # about 5 minutes as the teststring grows exponentially.
5954 # Worse, since 9x/ME are not pre-emptively multitasking,
5955 # you end up with a "frozen
" computer, even though with patience
5956 # the test eventually succeeds (with a max line length of 256k).
5957 # Instead, let's just punt: use the minimum linelength reported by
5958 # all of the supported platforms: 8192 (on NT/2K/XP).
5959 lt_cv_sys_max_cmd_len=8192;
5963 # On MiNT this can take a long time and run out of memory.
5964 lt_cv_sys_max_cmd_len=8192;
5968 # On AmigaOS with pdksh, this test takes hours, literally.
5969 # So we just punt and use a minimum line length of 8192.
5970 lt_cv_sys_max_cmd_len=8192;
5973 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5974 # This has been around since 386BSD, at least. Likely further.
5975 if test -x /sbin/sysctl; then
5976 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5977 elif test -x /usr/sbin/sysctl; then
5978 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5980 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5982 # And add a safety zone
5983 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5984 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5988 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5989 lt_cv_sys_max_cmd_len=196608
5993 # The test takes a long time on OS/2.
5994 lt_cv_sys_max_cmd_len=8192
5998 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5999 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6000 # nice to cause kernel panics so lets avoid the loop below.
6001 # First set a reasonable default.
6002 lt_cv_sys_max_cmd_len=16384
6004 if test -x /sbin/sysconfig; then
6005 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6006 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6011 lt_cv_sys_max_cmd_len=102400
6013 sysv5* | sco5v6* | sysv4.2uw2*)
6014 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6015 if test -n "$kargmax"; then
6016 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6018 lt_cv_sys_max_cmd_len=32768
6022 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6023 if test -n "$lt_cv_sys_max_cmd_len"; then
6024 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6025 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6027 # Make teststring a little bigger before we do anything with it.
6028 # a 1K string should be a reasonable start.
6029 for i in 1 2 3 4 5 6 7 8 ; do
6030 teststring=$teststring$teststring
6032 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6033 # If test is not a shell built-in, we'll probably end up computing a
6034 # maximum length that is only half of the actual maximum length, but
6036 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
6037 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6038 test $i != 17 # 1/2 MB should be enough
6041 teststring=$teststring$teststring
6043 # Only check the string length outside the loop.
6044 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6046 # Add a significant safety factor because C++ compilers can tack on
6047 # massive amounts of additional arguments before passing them to the
6048 # linker. It appears as though 1/2 is a usable value.
6049 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6056 if test -n $lt_cv_sys_max_cmd_len ; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6058 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6061 $as_echo "none
" >&6; }
6063 max_cmd_len=$lt_cv_sys_max_cmd_len
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6075 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6076 # Try some XSI features
6079 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6081 && eval 'test $(( 1 + 1 )) -eq 2 \
6082 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6085 $as_echo "$xsi_shell" >&6; }
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6089 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6091 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6093 && lt_shell_append=yes
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6095 $as_echo "$lt_shell_append" >&6; }
6098 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6108 # test EBCDIC or ASCII
6109 case `echo X|tr X '\101'` in
6110 A) # ASCII based system
6111 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6112 lt_SP2NL='tr \040 \012'
6113 lt_NL2SP='tr \015\012 \040\040'
6115 *) # EBCDIC based system
6116 lt_SP2NL='tr \100 \n'
6117 lt_NL2SP='tr \r\n \100\100'
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6130 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6131 if ${lt_cv_to_host_file_cmd+:} false; then :
6132 $as_echo_n "(cached
) " >&6
6137 *-*-mingw* ) # actually msys
6138 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6141 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6143 * ) # otherwise, assume *nix
6144 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6150 *-*-mingw* ) # actually msys
6151 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6154 lt_cv_to_host_file_cmd=func_convert_file_noop
6156 * ) # otherwise, assume *nix
6157 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6161 * ) # unhandled hosts (and "normal
" native builds)
6162 lt_cv_to_host_file_cmd=func_convert_file_noop
6168 to_host_file_cmd=$lt_cv_to_host_file_cmd
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6170 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6177 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6178 if ${lt_cv_to_tool_file_cmd+:} false; then :
6179 $as_echo_n "(cached
) " >&6
6181 #assume ordinary cross tools, or native build.
6182 lt_cv_to_tool_file_cmd=func_convert_file_noop
6186 *-*-mingw* ) # actually msys
6187 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6195 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6197 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6204 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6205 if ${lt_cv_ld_reload_flag+:} false; then :
6206 $as_echo_n "(cached
) " >&6
6208 lt_cv_ld_reload_flag='-r'
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6211 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6212 reload_flag=$lt_cv_ld_reload_flag
6213 case $reload_flag in
6215 *) reload_flag=" $reload_flag" ;;
6217 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6219 cygwin* | mingw* | pw32* | cegcc*)
6220 if test "$GCC" != yes; then
6225 if test "$GCC" = yes; then
6226 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6228 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6241 if test -n "$ac_tool_prefix"; then
6242 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6243 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6245 $as_echo_n "checking
for $ac_word...
" >&6; }
6246 if ${ac_cv_prog_OBJDUMP+:} false; then :
6247 $as_echo_n "(cached
) " >&6
6249 if test -n "$OBJDUMP"; then
6250 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6259 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6269 OBJDUMP=$ac_cv_prog_OBJDUMP
6270 if test -n "$OBJDUMP"; then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6272 $as_echo "$OBJDUMP" >&6; }
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6275 $as_echo "no
" >&6; }
6280 if test -z "$ac_cv_prog_OBJDUMP"; then
6281 ac_ct_OBJDUMP=$OBJDUMP
6282 # Extract the first word of "objdump
", so it can be a program name with args.
6283 set dummy objdump; ac_word=$2
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6285 $as_echo_n "checking
for $ac_word...
" >&6; }
6286 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6287 $as_echo_n "(cached
) " >&6
6289 if test -n "$ac_ct_OBJDUMP"; then
6290 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 test -z "$as_dir" && as_dir=.
6297 for ac_exec_ext in '' $ac_executable_extensions; do
6298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6299 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6300 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6309 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6310 if test -n "$ac_ct_OBJDUMP"; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6312 $as_echo "$ac_ct_OBJDUMP" >&6; }
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6315 $as_echo "no
" >&6; }
6318 if test "x
$ac_ct_OBJDUMP" = x; then
6321 case $cross_compiling:$ac_tool_warned in
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6324 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6325 ac_tool_warned=yes ;;
6327 OBJDUMP=$ac_ct_OBJDUMP
6330 OBJDUMP="$ac_cv_prog_OBJDUMP"
6333 test -z "$OBJDUMP" && OBJDUMP=objdump
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6344 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6345 if ${lt_cv_deplibs_check_method+:} false; then :
6346 $as_echo_n "(cached
) " >&6
6348 lt_cv_file_magic_cmd='$MAGIC_CMD'
6349 lt_cv_file_magic_test_file=
6350 lt_cv_deplibs_check_method='unknown'
6351 # Need to set the preceding variable on all platforms that support
6352 # interlibrary dependencies.
6353 # 'none' -- dependencies not supported.
6354 # `unknown' -- same as none, but documents that we really don't know.
6355 # 'pass_all' -- all dependencies passed with no checks.
6356 # 'test_compile' -- check by making test program.
6357 # 'file_magic [[regex]]' -- check by looking for files in library path
6358 # which responds to the $file_magic_cmd with a given extended regex.
6359 # If you have `file' or equivalent on your system and you're not sure
6360 # whether `pass_all' will *always* work, you probably want this one.
6364 lt_cv_deplibs_check_method=pass_all
6368 lt_cv_deplibs_check_method=pass_all
6372 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6373 lt_cv_file_magic_cmd='/usr/bin/file -L'
6374 lt_cv_file_magic_test_file=/shlib/libc.so
6378 # func_win32_libid is a shell function defined in ltmain.sh
6379 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6380 lt_cv_file_magic_cmd='func_win32_libid'
6384 # Base MSYS/MinGW do not provide the 'file' command needed by
6385 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6386 # unless we find 'file', for example because we are cross-compiling.
6387 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6388 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6389 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6390 lt_cv_file_magic_cmd='func_win32_libid'
6392 # Keep this pattern in sync with the one in func_win32_libid.
6393 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6394 lt_cv_file_magic_cmd='$OBJDUMP -f'
6399 # use the weaker test based on 'objdump'. See mingw*.
6400 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6401 lt_cv_file_magic_cmd='$OBJDUMP -f'
6404 darwin* | rhapsody*)
6405 lt_cv_deplibs_check_method=pass_all
6408 freebsd* | dragonfly*)
6409 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6412 # Not sure whether the presence of OpenBSD here was a mistake.
6413 # Let's accept both of them until this is cleared up.
6414 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6415 lt_cv_file_magic_cmd=/usr/bin/file
6416 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6420 lt_cv_deplibs_check_method=pass_all
6425 lt_cv_deplibs_check_method=pass_all
6429 lt_cv_deplibs_check_method=pass_all
6432 hpux10.20* | hpux11*)
6433 lt_cv_file_magic_cmd=/usr/bin/file
6436 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6437 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6440 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]'
6441 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6444 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6445 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6451 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6452 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6455 irix5* | irix6* | nonstopux*)
6457 *-32|*"-32 ") libmagic=32-bit;;
6458 *-n32|*"-n32 ") libmagic=N32;;
6459 *-64|*"-64 ") libmagic=64-bit;;
6460 *) libmagic=never-match;;
6462 lt_cv_deplibs_check_method=pass_all
6465 # This must be glibc/ELF.
6466 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6467 lt_cv_deplibs_check_method=pass_all
6471 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6472 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6474 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6479 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6480 lt_cv_file_magic_cmd=/usr/bin/file
6481 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6485 lt_cv_deplibs_check_method=pass_all
6489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6490 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6492 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6496 osf3* | osf4* | osf5*)
6497 lt_cv_deplibs_check_method=pass_all
6501 lt_cv_deplibs_check_method=pass_all
6505 lt_cv_deplibs_check_method=pass_all
6508 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6509 lt_cv_deplibs_check_method=pass_all
6513 case $host_vendor in
6515 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]'
6516 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6519 lt_cv_deplibs_check_method=pass_all
6522 lt_cv_file_magic_cmd='/bin/file'
6523 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6526 lt_cv_file_magic_cmd='/bin/file'
6527 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6528 lt_cv_file_magic_test_file=/lib/libc.so
6531 lt_cv_deplibs_check_method=pass_all
6534 lt_cv_deplibs_check_method=pass_all
6540 lt_cv_deplibs_check_method=pass_all
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6546 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6550 if test "$build" = "$host"; then
6553 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6556 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6562 file_magic_cmd=$lt_cv_file_magic_cmd
6563 deplibs_check_method=$lt_cv_deplibs_check_method
6564 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6587 if test -n "$ac_tool_prefix"; then
6588 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6589 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6591 $as_echo_n "checking
for $ac_word...
" >&6; }
6592 if ${ac_cv_prog_DLLTOOL+:} false; then :
6593 $as_echo_n "(cached
) " >&6
6595 if test -n "$DLLTOOL"; then
6596 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6602 test -z "$as_dir" && as_dir=.
6603 for ac_exec_ext in '' $ac_executable_extensions; do
6604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6605 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6615 DLLTOOL=$ac_cv_prog_DLLTOOL
6616 if test -n "$DLLTOOL"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6618 $as_echo "$DLLTOOL" >&6; }
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6621 $as_echo "no
" >&6; }
6626 if test -z "$ac_cv_prog_DLLTOOL"; then
6627 ac_ct_DLLTOOL=$DLLTOOL
6628 # Extract the first word of "dlltool
", so it can be a program name with args.
6629 set dummy dlltool; ac_word=$2
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6631 $as_echo_n "checking
for $ac_word...
" >&6; }
6632 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6633 $as_echo_n "(cached
) " >&6
6635 if test -n "$ac_ct_DLLTOOL"; then
6636 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6642 test -z "$as_dir" && as_dir=.
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6655 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6656 if test -n "$ac_ct_DLLTOOL"; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6658 $as_echo "$ac_ct_DLLTOOL" >&6; }
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6661 $as_echo "no
" >&6; }
6664 if test "x
$ac_ct_DLLTOOL" = x; then
6667 case $cross_compiling:$ac_tool_warned in
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6670 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6671 ac_tool_warned=yes ;;
6673 DLLTOOL=$ac_ct_DLLTOOL
6676 DLLTOOL="$ac_cv_prog_DLLTOOL"
6679 test -z "$DLLTOOL" && DLLTOOL=dlltool
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6691 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6692 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6693 $as_echo_n "(cached
) " >&6
6695 lt_cv_sharedlib_from_linklib_cmd='unknown'
6698 cygwin* | mingw* | pw32* | cegcc*)
6699 # two different shell functions defined in ltmain.sh
6700 # decide which to use based on capabilities of $DLLTOOL
6701 case `$DLLTOOL --help 2>&1` in
6702 *--identify-strict*)
6703 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6706 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6711 # fallback: assume linklib IS sharedlib
6712 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6718 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6719 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6720 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6728 if test -n "$ac_tool_prefix"; then
6731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6734 $as_echo_n "checking
for $ac_word...
" >&6; }
6735 if ${ac_cv_prog_AR+:} false; then :
6736 $as_echo_n "(cached
) " >&6
6738 if test -n "$AR"; then
6739 ac_cv_prog_AR="$AR" # Let the user override the test.
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir=.
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6759 if test -n "$AR"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6761 $as_echo "$AR" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6764 $as_echo "no
" >&6; }
6768 test -n "$AR" && break
6771 if test -z "$AR"; then
6775 # Extract the first word of "$ac_prog", so it can be a program name with args.
6776 set dummy $ac_prog; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6778 $as_echo_n "checking
for $ac_word...
" >&6; }
6779 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6780 $as_echo_n "(cached
) " >&6
6782 if test -n "$ac_ct_AR"; then
6783 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792 ac_cv_prog_ac_ct_AR="$ac_prog"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6802 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6803 if test -n "$ac_ct_AR"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6805 $as_echo "$ac_ct_AR" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6808 $as_echo "no
" >&6; }
6812 test -n "$ac_ct_AR" && break
6815 if test "x
$ac_ct_AR" = x; then
6818 case $cross_compiling:$ac_tool_warned in
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6821 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6822 ac_tool_warned=yes ;;
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6842 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6843 if ${lt_cv_ar_at_file+:} false; then :
6844 $as_echo_n "(cached
) " >&6
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6858 if ac_fn_c_try_compile "$LINENO"; then :
6859 echo conftest.$ac_objext > conftest.lst
6860 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6861 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6862 (eval $lt_ar_try) 2>&5
6864 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6865 test $ac_status = 0; }
6866 if test "$ac_status" -eq 0; then
6867 # Ensure the archiver fails upon bogus file names.
6868 rm -f conftest.$ac_objext libconftest.a
6869 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6870 (eval $lt_ar_try) 2>&5
6872 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6873 test $ac_status = 0; }
6874 if test "$ac_status" -ne 0; then
6878 rm -f conftest.* libconftest.a
6881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6885 $as_echo "$lt_cv_ar_at_file" >&6; }
6887 if test "x
$lt_cv_ar_at_file" = xno; then
6890 archiver_list_spec=$lt_cv_ar_at_file
6899 if test -n "$ac_tool_prefix"; then
6900 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6901 set dummy ${ac_tool_prefix}strip; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6903 $as_echo_n "checking
for $ac_word...
" >&6; }
6904 if ${ac_cv_prog_STRIP+:} false; then :
6905 $as_echo_n "(cached
) " >&6
6907 if test -n "$STRIP"; then
6908 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914 test -z "$as_dir" && as_dir=.
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6917 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6927 STRIP=$ac_cv_prog_STRIP
6928 if test -n "$STRIP"; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6930 $as_echo "$STRIP" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6933 $as_echo "no
" >&6; }
6938 if test -z "$ac_cv_prog_STRIP"; then
6940 # Extract the first word of "strip
", so it can be a program name with args.
6941 set dummy strip; ac_word=$2
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6943 $as_echo_n "checking
for $ac_word...
" >&6; }
6944 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6945 $as_echo_n "(cached
) " >&6
6947 if test -n "$ac_ct_STRIP"; then
6948 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954 test -z "$as_dir" && as_dir=.
6955 for ac_exec_ext in '' $ac_executable_extensions; do
6956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6957 ac_cv_prog_ac_ct_STRIP="strip
"
6958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6967 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6968 if test -n "$ac_ct_STRIP"; then
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6970 $as_echo "$ac_ct_STRIP" >&6; }
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6973 $as_echo "no
" >&6; }
6976 if test "x
$ac_ct_STRIP" = x; then
6979 case $cross_compiling:$ac_tool_warned in
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6982 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6983 ac_tool_warned=yes ;;
6988 STRIP="$ac_cv_prog_STRIP"
6991 test -z "$STRIP" && STRIP=:
6998 if test -n "$ac_tool_prefix"; then
6999 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7000 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7002 $as_echo_n "checking
for $ac_word...
" >&6; }
7003 if ${ac_cv_prog_RANLIB+:} false; then :
7004 $as_echo_n "(cached
) " >&6
7006 if test -n "$RANLIB"; then
7007 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir=.
7014 for ac_exec_ext in '' $ac_executable_extensions; do
7015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7026 RANLIB=$ac_cv_prog_RANLIB
7027 if test -n "$RANLIB"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7029 $as_echo "$RANLIB" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7032 $as_echo "no
" >&6; }
7037 if test -z "$ac_cv_prog_RANLIB"; then
7038 ac_ct_RANLIB=$RANLIB
7039 # Extract the first word of "ranlib
", so it can be a program name with args.
7040 set dummy ranlib; ac_word=$2
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7042 $as_echo_n "checking
for $ac_word...
" >&6; }
7043 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7044 $as_echo_n "(cached
) " >&6
7046 if test -n "$ac_ct_RANLIB"; then
7047 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053 test -z "$as_dir" && as_dir=.
7054 for ac_exec_ext in '' $ac_executable_extensions; do
7055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7056 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7066 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7067 if test -n "$ac_ct_RANLIB"; then
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7069 $as_echo "$ac_ct_RANLIB" >&6; }
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7072 $as_echo "no
" >&6; }
7075 if test "x
$ac_ct_RANLIB" = x; then
7078 case $cross_compiling:$ac_tool_warned in
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7081 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7082 ac_tool_warned=yes ;;
7084 RANLIB=$ac_ct_RANLIB
7087 RANLIB="$ac_cv_prog_RANLIB"
7090 test -z "$RANLIB" && RANLIB=:
7097 # Determine commands to create old-style static archives.
7098 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7099 old_postinstall_cmds='chmod 644 $oldlib'
7100 old_postuninstall_cmds=
7102 if test -n "$RANLIB"; then
7105 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7108 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7111 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7116 lock_old_archive_extraction=yes ;;
7118 lock_old_archive_extraction=no ;;
7159 # If no C compiler was specified, use CC.
7162 # If no C compiler flags were specified, use CFLAGS.
7163 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7165 # Allow CC to be a program name with arguments.
7169 # Check for command to grab the raw symbol name followed by C symbol from nm.
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7171 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7172 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7173 $as_echo_n "(cached
) " >&6
7176 # These are sane defaults that work on at least a few old systems.
7177 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7179 # Character class describing NM global symbol codes.
7180 symcode='[BCDEGRST]'
7182 # Regexp to match symbols that can be accessed directly from C.
7183 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7185 # Define system-specific variables.
7190 cygwin* | mingw* | pw32* | cegcc*)
7191 symcode='[ABCDGISTW]'
7194 if test "$host_cpu" = ia64; then
7195 symcode='[ABCDEGRST]'
7199 symcode='[BCDEGRST]'
7202 symcode='[BCDEGQRST]'
7213 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7221 # If we're using GNU nm, then use its standard symbol codes.
7222 case `$NM -V 2>&1` in
7223 *GNU* | *'with BFD'*)
7224 symcode='[ABCDGIRSTW]' ;;
7227 # Transform an extracted symbol line into a proper C declaration.
7228 # Some systems (esp. on ia64) link data and code symbols differently,
7229 # so use this general approach.
7230 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7232 # Transform an extracted symbol line into symbol name and symbol address
7233 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7234 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'"
7236 # Handle CRLF in mingw tool chain
7240 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7244 # Try without a prefix underscore, then with it.
7245 for ac_symprfx in "" "_
"; do
7247 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7248 symxfrm="\\1 $ac_symprfx\\2 \\2"
7250 # Write the raw and C identifiers.
7251 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7252 # Fake it for dumpbin and say T for any non-static function
7253 # and D for any global variable.
7254 # Also find C++ and __fastcall symbols from MSVC++,
7255 # which start with @ or ?.
7256 lt_cv_sys_global_symbol_pipe="$AWK '"\
7257 " {last_section=section; section=\$ 3};"\
7258 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7259 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7260 " \$ 0!~/External *\|/{next};"\
7261 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7262 " {if(hide[section]) next};"\
7263 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7264 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7265 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7266 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7267 " ' prfx
=^
$ac_symprfx"
7269 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7271 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7273 # Check to see that the pipe works correctly.
7277 cat > conftest.$ac_ext <<_LT_EOF
7282 void nm_test_func(void);
7283 void nm_test_func(void){}
7287 int main(){nm_test_var='a';nm_test_func();return(0);}
7290 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7291 (eval $ac_compile) 2>&5
7293 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7294 test $ac_status = 0; }; then
7295 # Now try to grab the symbols.
7297 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7298 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7300 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7301 test $ac_status = 0; } && test -s "$nlist"; then
7302 # Try sorting and uniquifying the output.
7303 if sort "$nlist" | uniq > "$nlist"T; then
7304 mv -f "$nlist"T "$nlist"
7309 # Make sure that we snagged all the symbols we need.
7310 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7311 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7312 cat <<_LT_EOF > conftest.$ac_ext
7313 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7314 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7315 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7316 relocations are performed -- see ld's documentation on pseudo-relocs. */
7317 # define LT_DLSYM_CONST
7318 #elif defined(__osf__)
7319 /* This system does not cope well with relocations in const data. */
7320 # define LT_DLSYM_CONST
7322 # define LT_DLSYM_CONST const
7330 # Now generate the symbol file.
7331 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7333 cat <<_LT_EOF >> conftest.$ac_ext
7335 /* The mapping between symbol names and symbols. */
7336 LT_DLSYM_CONST struct {
7340 lt__PROGRAM__LTX_preloaded_symbols[] =
7342 { "@PROGRAM@
", (void *) 0 },
7344 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7345 cat <<\_LT_EOF >> conftest.$ac_ext
7349 /* This works around a problem in FreeBSD linker */
7350 #ifdef FREEBSD_WORKAROUND
7351 static const void *lt_preloaded_setup() {
7352 return lt__PROGRAM__LTX_preloaded_symbols;
7360 # Now try linking the two files.
7361 mv conftest.$ac_objext conftstm.$ac_objext
7362 lt_globsym_save_LIBS=$LIBS
7363 lt_globsym_save_CFLAGS=$CFLAGS
7364 LIBS="conftstm.
$ac_objext"
7365 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7366 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7367 (eval $ac_link) 2>&5
7369 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7370 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7373 LIBS=$lt_globsym_save_LIBS
7374 CFLAGS=$lt_globsym_save_CFLAGS
7376 echo "cannot
find nm_test_func
in $nlist" >&5
7379 echo "cannot
find nm_test_var
in $nlist" >&5
7382 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7385 echo "$progname: failed program was
:" >&5
7386 cat conftest.$ac_ext >&5
7388 rm -rf conftest* conftst*
7390 # Do not use the global_symbol_pipe unless it works.
7391 if test "$pipe_works" = yes; then
7394 lt_cv_sys_global_symbol_pipe=
7400 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7401 lt_cv_sys_global_symbol_to_cdecl=
7403 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7405 $as_echo "failed
" >&6; }
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7408 $as_echo "ok
" >&6; }
7411 # Response file support.
7412 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7413 nm_file_list_spec='@'
7414 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7415 nm_file_list_spec='@'
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7445 $as_echo_n "checking
for sysroot...
" >&6; }
7447 # Check whether --with-sysroot was given.
7448 if test "${with_sysroot+set}" = set; then :
7449 withval=$with_sysroot;
7456 case ${with_sysroot} in #(
7458 if test "$GCC" = yes; then
7459 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7463 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7469 $as_echo "${with_sysroot}" >&6; }
7470 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7475 $as_echo "${lt_sysroot:-no}" >&6; }
7481 # Check whether --enable-libtool-lock was given.
7482 if test "${enable_libtool_lock+set}" = set; then :
7483 enableval=$enable_libtool_lock;
7486 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7488 # Some flags need to be propagated to the compiler or linker for good
7492 # Find out which ABI we are using.
7493 echo 'int i;' > conftest.$ac_ext
7494 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7495 (eval $ac_compile) 2>&5
7497 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7498 test $ac_status = 0; }; then
7499 case `/usr/bin/file conftest.$ac_objext` in
7511 # Find out which ABI we are using.
7512 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7513 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7514 (eval $ac_compile) 2>&5
7516 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7517 test $ac_status = 0; }; then
7518 if test "$lt_cv_prog_gnu_ld" = yes; then
7519 case `/usr/bin/file conftest.$ac_objext` in
7521 LD="${LD-ld} -melf32bsmip"
7524 LD="${LD-ld} -melf32bmipn32"
7527 LD="${LD-ld} -melf64bmip"
7531 case `/usr/bin/file conftest.$ac_objext` in
7547 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7548 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7549 # Find out which ABI we are using.
7550 echo 'int i;' > conftest.$ac_ext
7551 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7552 (eval $ac_compile) 2>&5
7554 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7555 test $ac_status = 0; }; then
7556 case `/usr/bin/file conftest.o` in
7559 x86_64-*kfreebsd*-gnu)
7560 LD="${LD-ld} -m elf_i386_fbsd
"
7563 LD="${LD-ld} -m elf_i386
"
7565 ppc64-*linux*|powerpc64-*linux*)
7566 LD="${LD-ld} -m elf32ppclinux
"
7569 LD="${LD-ld} -m elf_s390
"
7572 LD="${LD-ld} -m elf32_sparc
"
7578 x86_64-*kfreebsd*-gnu)
7579 LD="${LD-ld} -m elf_x86_64_fbsd
"
7582 LD="${LD-ld} -m elf_x86_64
"
7584 ppc*-*linux*|powerpc*-*linux*)
7585 LD="${LD-ld} -m elf64ppc
"
7587 s390*-*linux*|s390*-*tpf*)
7588 LD="${LD-ld} -m elf64_s390
"
7591 LD="${LD-ld} -m elf64_sparc
"
7601 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7602 SAVE_CFLAGS="$CFLAGS"
7603 CFLAGS="$CFLAGS -belf"
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7605 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7606 if ${lt_cv_cc_needs_belf+:} false; then :
7607 $as_echo_n "(cached
) " >&6
7610 ac_cpp='$CPP $CPPFLAGS'
7611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7616 /* end confdefs.h. */
7626 if ac_fn_c_try_link "$LINENO"; then :
7627 lt_cv_cc_needs_belf=yes
7629 lt_cv_cc_needs_belf=no
7631 rm -f core conftest.err conftest.$ac_objext \
7632 conftest$ac_exeext conftest.$ac_ext
7634 ac_cpp='$CPP $CPPFLAGS'
7635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7641 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7642 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7643 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7644 CFLAGS="$SAVE_CFLAGS"
7648 # Find out which ABI we are using.
7649 echo 'int i;' > conftest.$ac_ext
7650 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7651 (eval $ac_compile) 2>&5
7653 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7654 test $ac_status = 0; }; then
7655 case `/usr/bin/file conftest.o` in
7657 case $lt_cv_prog_gnu_ld in
7661 LD="${LD-ld} -m elf_x86_64
"
7664 LD="${LD-ld} -m elf64_sparc
"
7667 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7668 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7673 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7685 need_locks="$enable_libtool_lock"
7687 if test -n "$ac_tool_prefix"; then
7688 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7689 set dummy ${ac_tool_prefix}mt; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7691 $as_echo_n "checking
for $ac_word...
" >&6; }
7692 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7693 $as_echo_n "(cached
) " >&6
7695 if test -n "$MANIFEST_TOOL"; then
7696 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7715 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7716 if test -n "$MANIFEST_TOOL"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7718 $as_echo "$MANIFEST_TOOL" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7721 $as_echo "no
" >&6; }
7726 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7727 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7728 # Extract the first word of "mt
", so it can be a program name with args.
7729 set dummy mt; ac_word=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7731 $as_echo_n "checking
for $ac_word...
" >&6; }
7732 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7733 $as_echo_n "(cached
) " >&6
7735 if test -n "$ac_ct_MANIFEST_TOOL"; then
7736 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir=.
7743 for ac_exec_ext in '' $ac_executable_extensions; do
7744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7745 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7755 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7756 if test -n "$ac_ct_MANIFEST_TOOL"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7758 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7761 $as_echo "no
" >&6; }
7764 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7767 case $cross_compiling:$ac_tool_warned in
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7770 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7771 ac_tool_warned=yes ;;
7773 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7776 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7779 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7781 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7782 if ${lt_cv_path_mainfest_tool+:} false; then :
7783 $as_echo_n "(cached
) " >&6
7785 lt_cv_path_mainfest_tool=no
7786 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7787 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7788 cat conftest.err >&5
7789 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7790 lt_cv_path_mainfest_tool=yes
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7795 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7796 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7806 rhapsody* | darwin*)
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7809 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7811 $as_echo_n "checking
for $ac_word...
" >&6; }
7812 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7813 $as_echo_n "(cached
) " >&6
7815 if test -n "$DSYMUTIL"; then
7816 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7825 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7835 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7836 if test -n "$DSYMUTIL"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7838 $as_echo "$DSYMUTIL" >&6; }
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7841 $as_echo "no
" >&6; }
7846 if test -z "$ac_cv_prog_DSYMUTIL"; then
7847 ac_ct_DSYMUTIL=$DSYMUTIL
7848 # Extract the first word of "dsymutil
", so it can be a program name with args.
7849 set dummy dsymutil; ac_word=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7851 $as_echo_n "checking
for $ac_word...
" >&6; }
7852 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7853 $as_echo_n "(cached
) " >&6
7855 if test -n "$ac_ct_DSYMUTIL"; then
7856 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7865 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7875 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7876 if test -n "$ac_ct_DSYMUTIL"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7878 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7881 $as_echo "no
" >&6; }
7884 if test "x
$ac_ct_DSYMUTIL" = x; then
7887 case $cross_compiling:$ac_tool_warned in
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7890 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7891 ac_tool_warned=yes ;;
7893 DSYMUTIL=$ac_ct_DSYMUTIL
7896 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7899 if test -n "$ac_tool_prefix"; then
7900 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7901 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7903 $as_echo_n "checking
for $ac_word...
" >&6; }
7904 if ${ac_cv_prog_NMEDIT+:} false; then :
7905 $as_echo_n "(cached
) " >&6
7907 if test -n "$NMEDIT"; then
7908 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7914 test -z "$as_dir" && as_dir=.
7915 for ac_exec_ext in '' $ac_executable_extensions; do
7916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7917 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7927 NMEDIT=$ac_cv_prog_NMEDIT
7928 if test -n "$NMEDIT"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7930 $as_echo "$NMEDIT" >&6; }
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7933 $as_echo "no
" >&6; }
7938 if test -z "$ac_cv_prog_NMEDIT"; then
7939 ac_ct_NMEDIT=$NMEDIT
7940 # Extract the first word of "nmedit
", so it can be a program name with args.
7941 set dummy nmedit; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7943 $as_echo_n "checking
for $ac_word...
" >&6; }
7944 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7945 $as_echo_n "(cached
) " >&6
7947 if test -n "$ac_ct_NMEDIT"; then
7948 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7967 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7968 if test -n "$ac_ct_NMEDIT"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7970 $as_echo "$ac_ct_NMEDIT" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7973 $as_echo "no
" >&6; }
7976 if test "x
$ac_ct_NMEDIT" = x; then
7979 case $cross_compiling:$ac_tool_warned in
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7982 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7983 ac_tool_warned=yes ;;
7985 NMEDIT=$ac_ct_NMEDIT
7988 NMEDIT="$ac_cv_prog_NMEDIT"
7991 if test -n "$ac_tool_prefix"; then
7992 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7993 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7995 $as_echo_n "checking
for $ac_word...
" >&6; }
7996 if ${ac_cv_prog_LIPO+:} false; then :
7997 $as_echo_n "(cached
) " >&6
7999 if test -n "$LIPO"; then
8000 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006 test -z "$as_dir" && as_dir=.
8007 for ac_exec_ext in '' $ac_executable_extensions; do
8008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8009 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8019 LIPO=$ac_cv_prog_LIPO
8020 if test -n "$LIPO"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8022 $as_echo "$LIPO" >&6; }
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8025 $as_echo "no
" >&6; }
8030 if test -z "$ac_cv_prog_LIPO"; then
8032 # Extract the first word of "lipo
", so it can be a program name with args.
8033 set dummy lipo; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8035 $as_echo_n "checking
for $ac_word...
" >&6; }
8036 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8037 $as_echo_n "(cached
) " >&6
8039 if test -n "$ac_ct_LIPO"; then
8040 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8049 ac_cv_prog_ac_ct_LIPO="lipo
"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8059 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8060 if test -n "$ac_ct_LIPO"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8062 $as_echo "$ac_ct_LIPO" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8065 $as_echo "no
" >&6; }
8068 if test "x
$ac_ct_LIPO" = x; then
8071 case $cross_compiling:$ac_tool_warned in
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8074 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8075 ac_tool_warned=yes ;;
8080 LIPO="$ac_cv_prog_LIPO"
8083 if test -n "$ac_tool_prefix"; then
8084 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8085 set dummy ${ac_tool_prefix}otool; ac_word=$2
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8087 $as_echo_n "checking
for $ac_word...
" >&6; }
8088 if ${ac_cv_prog_OTOOL+:} false; then :
8089 $as_echo_n "(cached
) " >&6
8091 if test -n "$OTOOL"; then
8092 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8098 test -z "$as_dir" && as_dir=.
8099 for ac_exec_ext in '' $ac_executable_extensions; do
8100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8101 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8111 OTOOL=$ac_cv_prog_OTOOL
8112 if test -n "$OTOOL"; then
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8114 $as_echo "$OTOOL" >&6; }
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8117 $as_echo "no
" >&6; }
8122 if test -z "$ac_cv_prog_OTOOL"; then
8124 # Extract the first word of "otool
", so it can be a program name with args.
8125 set dummy otool; ac_word=$2
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8127 $as_echo_n "checking
for $ac_word...
" >&6; }
8128 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8129 $as_echo_n "(cached
) " >&6
8131 if test -n "$ac_ct_OTOOL"; then
8132 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8138 test -z "$as_dir" && as_dir=.
8139 for ac_exec_ext in '' $ac_executable_extensions; do
8140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8141 ac_cv_prog_ac_ct_OTOOL="otool
"
8142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8151 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8152 if test -n "$ac_ct_OTOOL"; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8154 $as_echo "$ac_ct_OTOOL" >&6; }
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8157 $as_echo "no
" >&6; }
8160 if test "x
$ac_ct_OTOOL" = x; then
8163 case $cross_compiling:$ac_tool_warned in
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8166 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8167 ac_tool_warned=yes ;;
8172 OTOOL="$ac_cv_prog_OTOOL"
8175 if test -n "$ac_tool_prefix"; then
8176 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8177 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8179 $as_echo_n "checking
for $ac_word...
" >&6; }
8180 if ${ac_cv_prog_OTOOL64+:} false; then :
8181 $as_echo_n "(cached
) " >&6
8183 if test -n "$OTOOL64"; then
8184 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8190 test -z "$as_dir" && as_dir=.
8191 for ac_exec_ext in '' $ac_executable_extensions; do
8192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8193 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8203 OTOOL64=$ac_cv_prog_OTOOL64
8204 if test -n "$OTOOL64"; then
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8206 $as_echo "$OTOOL64" >&6; }
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8209 $as_echo "no
" >&6; }
8214 if test -z "$ac_cv_prog_OTOOL64"; then
8215 ac_ct_OTOOL64=$OTOOL64
8216 # Extract the first word of "otool64
", so it can be a program name with args.
8217 set dummy otool64; ac_word=$2
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8219 $as_echo_n "checking
for $ac_word...
" >&6; }
8220 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8221 $as_echo_n "(cached
) " >&6
8223 if test -n "$ac_ct_OTOOL64"; then
8224 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8230 test -z "$as_dir" && as_dir=.
8231 for ac_exec_ext in '' $ac_executable_extensions; do
8232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8233 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8234 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8243 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8244 if test -n "$ac_ct_OTOOL64"; then
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8246 $as_echo "$ac_ct_OTOOL64" >&6; }
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8249 $as_echo "no
" >&6; }
8252 if test "x
$ac_ct_OTOOL64" = x; then
8255 case $cross_compiling:$ac_tool_warned in
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8258 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8259 ac_tool_warned=yes ;;
8261 OTOOL64=$ac_ct_OTOOL64
8264 OTOOL64="$ac_cv_prog_OTOOL64"
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8294 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8295 if ${lt_cv_apple_cc_single_mod+:} false; then :
8296 $as_echo_n "(cached
) " >&6
8298 lt_cv_apple_cc_single_mod=no
8299 if test -z "${LT_MULTI_MODULE}"; then
8300 # By default we will add the -single_module flag. You can override
8301 # by either setting the environment variable LT_MULTI_MODULE
8302 # non-empty at configure time, or by adding -multi_module to the
8304 rm -rf libconftest.dylib*
8305 echo "int foo
(void
){return 1;}" > conftest.c
8306 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8307 -dynamiclib -Wl,-single_module conftest.c
" >&5
8308 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8309 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8311 # If there is a non-empty error log, and "single_module
"
8312 # appears in it, assume the flag caused a linker warning
8313 if test -s conftest.err && $GREP single_module conftest.err; then
8314 cat conftest.err >&5
8315 # Otherwise, if the output was created with a 0 exit code from
8316 # the compiler, it worked.
8317 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8318 lt_cv_apple_cc_single_mod=yes
8320 cat conftest.err >&5
8322 rm -rf libconftest.dylib*
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8327 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8330 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8331 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8332 $as_echo_n "(cached
) " >&6
8334 lt_cv_ld_exported_symbols_list=no
8335 save_LDFLAGS=$LDFLAGS
8336 echo "_main
" > conftest.sym
8337 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8349 if ac_fn_c_try_link "$LINENO"; then :
8350 lt_cv_ld_exported_symbols_list=yes
8352 lt_cv_ld_exported_symbols_list=no
8354 rm -f core conftest.err conftest.$ac_objext \
8355 conftest$ac_exeext conftest.$ac_ext
8356 LDFLAGS="$save_LDFLAGS"
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8360 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8363 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8364 if ${lt_cv_ld_force_load+:} false; then :
8365 $as_echo_n "(cached
) " >&6
8367 lt_cv_ld_force_load=no
8368 cat > conftest.c << _LT_EOF
8369 int forced_loaded() { return 2;}
8371 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8372 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8373 echo "$AR cru libconftest.a conftest.o
" >&5
8374 $AR cru libconftest.a conftest.o 2>&5
8375 echo "$RANLIB libconftest.a
" >&5
8376 $RANLIB libconftest.a 2>&5
8377 cat > conftest.c << _LT_EOF
8378 int main() { return 0;}
8380 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8381 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8383 if test -s conftest.err && $GREP force_load conftest.err; then
8384 cat conftest.err >&5
8385 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8386 lt_cv_ld_force_load=yes
8388 cat conftest.err >&5
8390 rm -f conftest.err libconftest.a conftest conftest.c
8391 rm -rf conftest.dSYM
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8395 $as_echo "$lt_cv_ld_force_load" >&6; }
8397 rhapsody* | darwin1.[012])
8398 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8400 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8401 darwin*) # darwin 5.x on
8402 # if running on 10.5 or later, the deployment target defaults
8403 # to the OS version, if on x86, and 10.4, the deployment
8404 # target defaults to 10.4. Don't you love it?
8405 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8406 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8407 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8409 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8411 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8415 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8416 _lt_dar_single_mod='$single_module'
8418 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8419 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8421 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8423 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8424 _lt_dsymutil='~$DSYMUTIL $lib || :'
8432 ac_cpp='$CPP $CPPFLAGS'
8433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8437 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8438 # On Suns, sometimes $CPP names a directory.
8439 if test -n "$CPP" && test -d "$CPP"; then
8442 if test -z "$CPP"; then
8443 if ${ac_cv_prog_CPP+:} false; then :
8444 $as_echo_n "(cached
) " >&6
8446 # Double quotes because CPP needs to be expanded
8447 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8450 for ac_c_preproc_warn_flag in '' yes
8452 # Use a header file that comes with gcc, so configuring glibc
8453 # with a fresh cross-compiler works.
8454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8455 # <limits.h> exists even on freestanding compilers.
8456 # On the NeXT, cc -E runs the code through the compiler's parser,
8457 # not just through cpp. "Syntax error
" is here to catch this case.
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8461 # include <limits.h>
8463 # include <assert.h>
8467 if ac_fn_c_try_cpp "$LINENO"; then :
8470 # Broken: fails on valid input.
8473 rm -f conftest.err conftest.i conftest.$ac_ext
8475 # OK, works on sane cases. Now check whether nonexistent headers
8476 # can be detected and how.
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 #include <ac_nonexistent.h>
8481 if ac_fn_c_try_cpp "$LINENO"; then :
8482 # Broken: success on invalid input.
8485 # Passes both tests.
8489 rm -f conftest.err conftest.i conftest.$ac_ext
8492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8493 rm -f conftest.i conftest.err conftest.$ac_ext
8494 if $ac_preproc_ok; then :
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8507 $as_echo "$CPP" >&6; }
8509 for ac_c_preproc_warn_flag in '' yes
8511 # Use a header file that comes with gcc, so configuring glibc
8512 # with a fresh cross-compiler works.
8513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8514 # <limits.h> exists even on freestanding compilers.
8515 # On the NeXT, cc -E runs the code through the compiler's parser,
8516 # not just through cpp. "Syntax error
" is here to catch this case.
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8520 # include <limits.h>
8522 # include <assert.h>
8526 if ac_fn_c_try_cpp "$LINENO"; then :
8529 # Broken: fails on valid input.
8532 rm -f conftest.err conftest.i conftest.$ac_ext
8534 # OK, works on sane cases. Now check whether nonexistent headers
8535 # can be detected and how.
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 #include <ac_nonexistent.h>
8540 if ac_fn_c_try_cpp "$LINENO"; then :
8541 # Broken: success on invalid input.
8544 # Passes both tests.
8548 rm -f conftest.err conftest.i conftest.$ac_ext
8551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8552 rm -f conftest.i conftest.err conftest.$ac_ext
8553 if $ac_preproc_ok; then :
8556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8558 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8559 See \`config.log' for more details
" "$LINENO" 5; }
8563 ac_cpp='$CPP $CPPFLAGS'
8564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8570 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8571 if ${ac_cv_header_stdc+:} false; then :
8572 $as_echo_n "(cached
) " >&6
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8589 if ac_fn_c_try_compile "$LINENO"; then :
8590 ac_cv_header_stdc=yes
8592 ac_cv_header_stdc=no
8594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8596 if test $ac_cv_header_stdc = yes; then
8597 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8603 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8604 $EGREP "memchr
" >/dev/null 2>&1; then :
8607 ac_cv_header_stdc=no
8613 if test $ac_cv_header_stdc = yes; then
8614 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8620 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8621 $EGREP "free
" >/dev/null 2>&1; then :
8624 ac_cv_header_stdc=no
8630 if test $ac_cv_header_stdc = yes; then
8631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8632 if test "$cross_compiling" = yes; then :
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8639 #if ((' ' & 0x0FF) == 0x020)
8640 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8641 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8643 # define ISLOWER(c) \
8644 (('a' <= (c) && (c) <= 'i') \
8645 || ('j' <= (c) && (c) <= 'r') \
8646 || ('s' <= (c) && (c) <= 'z'))
8647 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8650 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8655 for (i = 0; i < 256; i++)
8656 if (XOR (islower (i), ISLOWER (i))
8657 || toupper (i) != TOUPPER (i))
8662 if ac_fn_c_try_run "$LINENO"; then :
8665 ac_cv_header_stdc=no
8667 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8668 conftest.$ac_objext conftest.beam conftest.$ac_ext
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8674 $as_echo "$ac_cv_header_stdc" >&6; }
8675 if test $ac_cv_header_stdc = yes; then
8677 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8681 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8682 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8683 inttypes.h stdint.h unistd.h
8685 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8686 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8688 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8689 cat >>confdefs.h
<<_ACEOF
8690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8698 for ac_header
in dlfcn.h
8700 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8702 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8703 cat >>confdefs.h
<<_ACEOF
8704 #define HAVE_DLFCN_H 1
8714 func_stripname_cnf
()
8717 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8718 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8720 } # func_stripname_cnf
8727 # Check whether --enable-static was given.
8728 if test "${enable_static+set}" = set; then :
8729 enableval
=$enable_static; p
=${PACKAGE-default}
8731 yes) enable_static
=yes ;;
8732 no
) enable_static
=no
;;
8735 # Look at the argument we got. We use all the common list separators.
8736 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8737 for pkg
in $enableval; do
8739 if test "X$pkg" = "X$p"; then
8765 # Check whether --enable-shared was given.
8766 if test "${enable_shared+set}" = set; then :
8767 enableval
=$enable_shared; p
=${PACKAGE-default}
8769 yes) enable_shared
=yes ;;
8770 no
) enable_shared
=no
;;
8773 # Look at the argument we got. We use all the common list separators.
8774 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8775 for pkg
in $enableval; do
8777 if test "X$pkg" = "X$p"; then
8798 # Check whether --with-pic was given.
8799 if test "${with_pic+set}" = set; then :
8800 withval
=$with_pic; lt_p
=${PACKAGE-default}
8802 yes|no
) pic_mode
=$withval ;;
8805 # Look at the argument we got. We use all the common list separators.
8806 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8807 for lt_pkg
in $withval; do
8809 if test "X$lt_pkg" = "X$lt_p"; then
8821 test -z "$pic_mode" && pic_mode
=default
8829 # Check whether --enable-fast-install was given.
8830 if test "${enable_fast_install+set}" = set; then :
8831 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8833 yes) enable_fast_install
=yes ;;
8834 no
) enable_fast_install
=no
;;
8836 enable_fast_install
=no
8837 # Look at the argument we got. We use all the common list separators.
8838 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8839 for pkg
in $enableval; do
8841 if test "X$pkg" = "X$p"; then
8842 enable_fast_install
=yes
8849 enable_fast_install
=yes
8862 # This can be used to rebuild libtool when needed
8863 LIBTOOL_DEPS
="$ltmain"
8865 # Always use our own libtool.
8866 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8897 test -z "$LN_S" && LN_S
="ln -s"
8912 if test -n "${ZSH_VERSION+set}" ; then
8913 setopt NO_GLOB_SUBST
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8917 $as_echo_n "checking for objdir... " >&6; }
8918 if ${lt_cv_objdir+:} false
; then :
8919 $as_echo_n "(cached) " >&6
8921 rm -f .libs
2>/dev
/null
8922 mkdir .libs
2>/dev
/null
8923 if test -d .libs
; then
8926 # MS-DOS does not allow filenames that begin with a dot.
8929 rmdir .libs
2>/dev
/null
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8932 $as_echo "$lt_cv_objdir" >&6; }
8933 objdir
=$lt_cv_objdir
8939 cat >>confdefs.h
<<_ACEOF
8940 #define LT_OBJDIR "$lt_cv_objdir/"
8948 # AIX sometimes has problems with the GCC collect2 program. For some
8949 # reason, if we set the COLLECT_NAMES environment variable, the problems
8950 # vanish in a puff of smoke.
8951 if test "X${COLLECT_NAMES+set}" != Xset
; then
8953 export COLLECT_NAMES
8960 can_build_shared
=yes
8962 # All known linkers require a `.a' archive for static linking (except MSVC,
8963 # which needs '.lib').
8966 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8969 old_CFLAGS
="$CFLAGS"
8971 # Set sane defaults for various variables
8972 test -z "$CC" && CC
=cc
8973 test -z "$LTCC" && LTCC
=$CC
8974 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8975 test -z "$LD" && LD
=ld
8976 test -z "$ac_objext" && ac_objext
=o
8978 for cc_temp
in $compiler""; do
8980 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8981 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8986 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8989 # Only perform the check for file, if the check method requires it
8990 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8991 case $deplibs_check_method in
8993 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8995 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8996 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8997 $as_echo_n "(cached) " >&6
9001 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9004 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9005 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9006 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9007 for ac_dir
in $ac_dummy; do
9009 test -z "$ac_dir" && ac_dir
=.
9010 if test -f $ac_dir/${ac_tool_prefix}file; then
9011 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9012 if test -n "$file_magic_test_file"; then
9013 case $deplibs_check_method in
9015 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9016 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9017 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9018 $EGREP "$file_magic_regex" > /dev
/null
; then
9023 *** Warning: the command libtool uses to detect shared libraries,
9024 *** $file_magic_cmd, produces output that libtool cannot recognize.
9025 *** The result is that libtool may fail to recognize shared libraries
9026 *** as such. This will affect the creation of libtool libraries that
9027 *** depend on shared libraries, but programs linked with such libtool
9028 *** libraries will work regardless of this problem. Nevertheless, you
9029 *** may want to report the problem to your system manager and/or to
9030 *** bug-libtool@gnu.org
9040 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9045 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9046 if test -n "$MAGIC_CMD"; then
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9048 $as_echo "$MAGIC_CMD" >&6; }
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9051 $as_echo "no" >&6; }
9058 if test -z "$lt_cv_path_MAGIC_CMD"; then
9059 if test -n "$ac_tool_prefix"; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9061 $as_echo_n "checking for file... " >&6; }
9062 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9063 $as_echo_n "(cached) " >&6
9067 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9070 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9071 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9072 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9073 for ac_dir
in $ac_dummy; do
9075 test -z "$ac_dir" && ac_dir
=.
9076 if test -f $ac_dir/file; then
9077 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9078 if test -n "$file_magic_test_file"; then
9079 case $deplibs_check_method in
9081 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9082 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9083 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9084 $EGREP "$file_magic_regex" > /dev
/null
; then
9089 *** Warning: the command libtool uses to detect shared libraries,
9090 *** $file_magic_cmd, produces output that libtool cannot recognize.
9091 *** The result is that libtool may fail to recognize shared libraries
9092 *** as such. This will affect the creation of libtool libraries that
9093 *** depend on shared libraries, but programs linked with such libtool
9094 *** libraries will work regardless of this problem. Nevertheless, you
9095 *** may want to report the problem to your system manager and/or to
9096 *** bug-libtool@gnu.org
9106 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9111 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9112 if test -n "$MAGIC_CMD"; then
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9114 $as_echo "$MAGIC_CMD" >&6; }
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9130 # Use C for the default configuration in the libtool script
9134 ac_cpp
='$CPP $CPPFLAGS'
9135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9140 # Source file extension for C test sources.
9143 # Object file extension for compiled C test sources.
9147 # Code to be used in simple compile tests
9148 lt_simple_compile_test_code
="int some_variable = 0;"
9150 # Code to be used in simple link tests
9151 lt_simple_link_test_code
='int main(){return(0);}'
9159 # If no C compiler was specified, use CC.
9162 # If no C compiler flags were specified, use CFLAGS.
9163 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9165 # Allow CC to be a program name with arguments.
9168 # Save the default compiler, since it gets overwritten when the other
9169 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9170 compiler_DEFAULT
=$CC
9172 # save warnings/boilerplate of simple test code
9173 ac_outfile
=conftest.
$ac_objext
9174 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9175 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9176 _lt_compiler_boilerplate
=`cat conftest.err`
9179 ac_outfile
=conftest.
$ac_objext
9180 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9181 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9182 _lt_linker_boilerplate
=`cat conftest.err`
9187 ## There is no encapsulation within the following macros, do not change
9188 ## the running order or otherwise move them around unless you know exactly
9189 ## what you are doing...
9190 if test -n "$compiler"; then
9192 lt_prog_compiler_no_builtin_flag
=
9194 if test "$GCC" = yes; then
9195 case $cc_basename in
9197 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9199 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9203 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9204 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9205 $as_echo_n "(cached) " >&6
9207 lt_cv_prog_compiler_rtti_exceptions
=no
9208 ac_outfile
=conftest.
$ac_objext
9209 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9210 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9211 # Insert the option either (1) after the last *FLAGS variable, or
9212 # (2) before a word containing "conftest.", or (3) at the end.
9213 # Note that $ac_compile itself does not contain backslashes and begins
9214 # with a dollar sign (not a hyphen), so the echo should work correctly.
9215 # The option is referenced via a variable to avoid confusing sed.
9216 lt_compile
=`echo "$ac_compile" | $SED \
9217 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9218 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9219 -e 's:$: $lt_compiler_flag:'`
9220 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9221 (eval "$lt_compile" 2>conftest.err
)
9223 cat conftest.err
>&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 if (exit $ac_status) && test -s "$ac_outfile"; then
9226 # The compiler can only warn and ignore the option if not recognized
9227 # So say no if there are warnings other than the usual output.
9228 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9229 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9230 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9231 lt_cv_prog_compiler_rtti_exceptions
=yes
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9238 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9240 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9241 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9253 lt_prog_compiler_wl
=
9254 lt_prog_compiler_pic
=
9255 lt_prog_compiler_static
=
9258 if test "$GCC" = yes; then
9259 lt_prog_compiler_wl
='-Wl,'
9260 lt_prog_compiler_static
='-static'
9264 # All AIX code is PIC.
9265 if test "$host_cpu" = ia64
; then
9266 # AIX 5 now supports IA64 processor
9267 lt_prog_compiler_static
='-Bstatic'
9274 # see comment about AmigaOS4 .so support
9275 lt_prog_compiler_pic
='-fPIC'
9278 # FIXME: we need at least 68020 code to build shared libraries, but
9279 # adding the `-m68020' flag to GCC prevents building anything better,
9281 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9286 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9287 # PIC is the default for these OSes.
9290 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9291 # This hack is so that the source file can tell whether it is being
9292 # built for inclusion in a dll (and should export symbols for example).
9293 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9294 # (--disable-auto-import) libraries
9295 lt_prog_compiler_pic
='-DDLL_EXPORT'
9298 darwin
* | rhapsody
*)
9299 # PIC is the default on this platform
9300 # Common symbols not allowed in MH_DYLIB files
9301 lt_prog_compiler_pic
='-fno-common'
9305 # PIC is the default for Haiku.
9306 # The "-static" flag exists, but is broken.
9307 lt_prog_compiler_static
=
9311 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9312 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9313 # sets the default TLS model and affects inlining.
9319 lt_prog_compiler_pic
='-fPIC'
9325 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9326 # Instead, we relocate shared libraries at runtime.
9330 # Just because we use GCC doesn't mean we suddenly get shared libraries
9331 # on systems that don't support them.
9332 lt_prog_compiler_can_build_shared
=no
9337 # QNX uses GNU C++, but need to define -shared option too, otherwise
9339 lt_prog_compiler_pic
='-fPIC -shared'
9343 if test -d /usr
/nec
; then
9344 lt_prog_compiler_pic
=-Kconform_pic
9349 lt_prog_compiler_pic
='-fPIC'
9353 case $cc_basename in
9354 nvcc
*) # Cuda Compiler Driver 2.2
9355 lt_prog_compiler_wl
='-Xlinker '
9356 if test -n "$lt_prog_compiler_pic"; then
9357 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9362 # PORTME Check for flag to pass linker flags through the system compiler.
9365 lt_prog_compiler_wl
='-Wl,'
9366 if test "$host_cpu" = ia64
; then
9367 # AIX 5 now supports IA64 processor
9368 lt_prog_compiler_static
='-Bstatic'
9370 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9374 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9375 # This hack is so that the source file can tell whether it is being
9376 # built for inclusion in a dll (and should export symbols for example).
9377 lt_prog_compiler_pic
='-DDLL_EXPORT'
9380 hpux9
* | hpux10
* | hpux11
*)
9381 lt_prog_compiler_wl
='-Wl,'
9382 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9389 lt_prog_compiler_pic
='+Z'
9392 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9393 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9396 irix5
* | irix6
* | nonstopux
*)
9397 lt_prog_compiler_wl
='-Wl,'
9398 # PIC (with -KPIC) is the default.
9399 lt_prog_compiler_static
='-non_shared'
9402 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9403 case $cc_basename in
9404 # old Intel for x86_64 which still supported -KPIC.
9406 lt_prog_compiler_wl
='-Wl,'
9407 lt_prog_compiler_pic
='-KPIC'
9408 lt_prog_compiler_static
='-static'
9410 # icc used to be incompatible with GCC.
9411 # ICC 10 doesn't accept -KPIC any more.
9413 lt_prog_compiler_wl
='-Wl,'
9414 lt_prog_compiler_pic
='-fPIC'
9415 lt_prog_compiler_static
='-static'
9417 # Lahey Fortran 8.1.
9419 lt_prog_compiler_wl
='-Wl,'
9420 lt_prog_compiler_pic
='--shared'
9421 lt_prog_compiler_static
='--static'
9424 # NAG Fortran compiler
9425 lt_prog_compiler_wl
='-Wl,-Wl,,'
9426 lt_prog_compiler_pic
='-PIC'
9427 lt_prog_compiler_static
='-Bstatic'
9429 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9430 # Portland Group compilers (*not* the Pentium gcc compiler,
9431 # which looks to be a dead project)
9432 lt_prog_compiler_wl
='-Wl,'
9433 lt_prog_compiler_pic
='-fpic'
9434 lt_prog_compiler_static
='-Bstatic'
9437 lt_prog_compiler_wl
='-Wl,'
9438 # All Alpha code is PIC.
9439 lt_prog_compiler_static
='-non_shared'
9441 xl
* | bgxl
* | bgf
* | mpixl
*)
9442 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9443 lt_prog_compiler_wl
='-Wl,'
9444 lt_prog_compiler_pic
='-qpic'
9445 lt_prog_compiler_static
='-qstaticlink'
9448 case `$CC -V 2>&1 | sed 5q` in
9449 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9450 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9451 lt_prog_compiler_pic
='-KPIC'
9452 lt_prog_compiler_static
='-Bstatic'
9453 lt_prog_compiler_wl
=''
9455 *Sun\ F
* | *Sun
*Fortran
*)
9456 lt_prog_compiler_pic
='-KPIC'
9457 lt_prog_compiler_static
='-Bstatic'
9458 lt_prog_compiler_wl
='-Qoption ld '
9462 lt_prog_compiler_pic
='-KPIC'
9463 lt_prog_compiler_static
='-Bstatic'
9464 lt_prog_compiler_wl
='-Wl,'
9466 *Intel
*\
[CF
]*Compiler
*)
9467 lt_prog_compiler_wl
='-Wl,'
9468 lt_prog_compiler_pic
='-fPIC'
9469 lt_prog_compiler_static
='-static'
9472 lt_prog_compiler_wl
='-Wl,'
9473 lt_prog_compiler_pic
='-fpic'
9474 lt_prog_compiler_static
='-Bstatic'
9482 lt_prog_compiler_pic
='-KPIC'
9483 lt_prog_compiler_static
='-Bstatic'
9487 # QNX uses GNU C++, but need to define -shared option too, otherwise
9489 lt_prog_compiler_pic
='-fPIC -shared'
9492 osf3
* | osf4
* | osf5
*)
9493 lt_prog_compiler_wl
='-Wl,'
9494 # All OSF/1 code is PIC.
9495 lt_prog_compiler_static
='-non_shared'
9499 lt_prog_compiler_static
='-non_shared'
9503 lt_prog_compiler_pic
='-KPIC'
9504 lt_prog_compiler_static
='-Bstatic'
9505 case $cc_basename in
9506 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9507 lt_prog_compiler_wl
='-Qoption ld ';;
9509 lt_prog_compiler_wl
='-Wl,';;
9514 lt_prog_compiler_wl
='-Qoption ld '
9515 lt_prog_compiler_pic
='-PIC'
9516 lt_prog_compiler_static
='-Bstatic'
9519 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9520 lt_prog_compiler_wl
='-Wl,'
9521 lt_prog_compiler_pic
='-KPIC'
9522 lt_prog_compiler_static
='-Bstatic'
9526 if test -d /usr
/nec
;then
9527 lt_prog_compiler_pic
='-Kconform_pic'
9528 lt_prog_compiler_static
='-Bstatic'
9532 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9533 lt_prog_compiler_wl
='-Wl,'
9534 lt_prog_compiler_pic
='-KPIC'
9535 lt_prog_compiler_static
='-Bstatic'
9539 lt_prog_compiler_wl
='-Wl,'
9540 lt_prog_compiler_can_build_shared
=no
9544 lt_prog_compiler_pic
='-pic'
9545 lt_prog_compiler_static
='-Bstatic'
9549 lt_prog_compiler_can_build_shared
=no
9555 # For platforms which do not support PIC, -DPIC is meaningless:
9557 lt_prog_compiler_pic
=
9560 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9565 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9566 if ${lt_cv_prog_compiler_pic+:} false
; then :
9567 $as_echo_n "(cached) " >&6
9569 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9572 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9573 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9576 # Check to make sure the PIC flag actually works.
9578 if test -n "$lt_prog_compiler_pic"; then
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9580 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9581 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9582 $as_echo_n "(cached) " >&6
9584 lt_cv_prog_compiler_pic_works
=no
9585 ac_outfile
=conftest.
$ac_objext
9586 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9587 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9588 # Insert the option either (1) after the last *FLAGS variable, or
9589 # (2) before a word containing "conftest.", or (3) at the end.
9590 # Note that $ac_compile itself does not contain backslashes and begins
9591 # with a dollar sign (not a hyphen), so the echo should work correctly.
9592 # The option is referenced via a variable to avoid confusing sed.
9593 lt_compile
=`echo "$ac_compile" | $SED \
9594 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9595 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9596 -e 's:$: $lt_compiler_flag:'`
9597 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9598 (eval "$lt_compile" 2>conftest.err
)
9600 cat conftest.err
>&5
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 if (exit $ac_status) && test -s "$ac_outfile"; then
9603 # The compiler can only warn and ignore the option if not recognized
9604 # So say no if there are warnings other than the usual output.
9605 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9606 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9607 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9608 lt_cv_prog_compiler_pic_works
=yes
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9615 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9617 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9618 case $lt_prog_compiler_pic in
9620 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9623 lt_prog_compiler_pic
=
9624 lt_prog_compiler_can_build_shared
=no
9640 # Check to make sure the static flag actually works.
9642 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9644 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9645 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9646 $as_echo_n "(cached) " >&6
9648 lt_cv_prog_compiler_static_works
=no
9649 save_LDFLAGS
="$LDFLAGS"
9650 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9651 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9652 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9653 # The linker can only warn and ignore the option if not recognized
9654 # So say no if there are warnings
9655 if test -s conftest.err
; then
9656 # Append any errors to the config.log.
9657 cat conftest.err
1>&5
9658 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9659 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9660 if diff conftest.exp conftest.er2
>/dev
/null
; then
9661 lt_cv_prog_compiler_static_works
=yes
9664 lt_cv_prog_compiler_static_works
=yes
9668 LDFLAGS
="$save_LDFLAGS"
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9672 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9674 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9677 lt_prog_compiler_static
=
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9687 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9688 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9689 $as_echo_n "(cached) " >&6
9691 lt_cv_prog_compiler_c_o
=no
9692 $RM -r conftest
2>/dev
/null
9696 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9698 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9699 # Insert the option either (1) after the last *FLAGS variable, or
9700 # (2) before a word containing "conftest.", or (3) at the end.
9701 # Note that $ac_compile itself does not contain backslashes and begins
9702 # with a dollar sign (not a hyphen), so the echo should work correctly.
9703 lt_compile
=`echo "$ac_compile" | $SED \
9704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9705 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9706 -e 's:$: $lt_compiler_flag:'`
9707 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9708 (eval "$lt_compile" 2>out
/conftest.err
)
9710 cat out
/conftest.err
>&5
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9714 # The compiler can only warn and ignore the option if not recognized
9715 # So say no if there are warnings
9716 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9717 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9718 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9719 lt_cv_prog_compiler_c_o
=yes
9724 # SGI C++ compiler will create directory out/ii_files/ for
9725 # template instantiation
9726 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9727 $RM out
/* && rmdir out
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9734 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9742 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9743 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9744 $as_echo_n "(cached) " >&6
9746 lt_cv_prog_compiler_c_o
=no
9747 $RM -r conftest
2>/dev
/null
9751 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9753 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9754 # Insert the option either (1) after the last *FLAGS variable, or
9755 # (2) before a word containing "conftest.", or (3) at the end.
9756 # Note that $ac_compile itself does not contain backslashes and begins
9757 # with a dollar sign (not a hyphen), so the echo should work correctly.
9758 lt_compile
=`echo "$ac_compile" | $SED \
9759 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9761 -e 's:$: $lt_compiler_flag:'`
9762 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9763 (eval "$lt_compile" 2>out
/conftest.err
)
9765 cat out
/conftest.err
>&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9769 # The compiler can only warn and ignore the option if not recognized
9770 # So say no if there are warnings
9771 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9772 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9773 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9774 lt_cv_prog_compiler_c_o
=yes
9779 # SGI C++ compiler will create directory out/ii_files/ for
9780 # template instantiation
9781 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9782 $RM out
/* && rmdir out
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9789 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9794 hard_links
="nottested"
9795 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9796 # do not overwrite the value of need_locks provided by the user
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9798 $as_echo_n "checking if we can lock with hard links... " >&6; }
9801 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9803 ln conftest.a conftest.b
2>&5 || hard_links
=no
9804 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9806 $as_echo "$hard_links" >&6; }
9807 if test "$hard_links" = no
; then
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9809 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9822 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9825 allow_undefined_flag
=
9826 always_export_symbols
=no
9828 archive_expsym_cmds
=
9829 compiler_needs_object
=no
9830 enable_shared_with_static_runtimes
=no
9831 export_dynamic_flag_spec
=
9832 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9833 hardcode_automatic
=no
9835 hardcode_direct_absolute
=no
9836 hardcode_libdir_flag_spec
=
9837 hardcode_libdir_separator
=
9839 hardcode_shlibpath_var
=unsupported
9841 link_all_deplibs
=unknown
9844 old_archive_from_new_cmds
=
9845 old_archive_from_expsyms_cmds
=
9846 thread_safe_flag_spec
=
9847 whole_archive_flag_spec
=
9848 # include_expsyms should be a list of space-separated symbols to be *always*
9849 # included in the symbol list
9851 # exclude_expsyms can be an extended regexp of symbols to exclude
9852 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9853 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9854 # as well as any symbol that contains `d'.
9855 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9856 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9857 # platforms (ab)use it in PIC code, but their linkers get confused if
9858 # the symbol is explicitly referenced. Since portable code cannot
9859 # rely on this symbol name, it's probably fine to never include it in
9860 # preloaded symbol tables.
9861 # Exclude shared library initialization/finalization symbols.
9862 extract_expsyms_cmds
=
9865 cygwin
* | mingw
* | pw32
* | cegcc
*)
9866 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9867 # When not using gcc, we currently assume that we are using
9868 # Microsoft Visual C++.
9869 if test "$GCC" != yes; then
9874 # we just hope/assume this is gcc and not c89 (= MSVC++)
9884 # On some targets, GNU ld is compatible enough with the native linker
9885 # that we're better off using the native interface for both.
9886 lt_use_gnu_ld_interface
=no
9887 if test "$with_gnu_ld" = yes; then
9890 # The AIX port of GNU ld has always aspired to compatibility
9891 # with the native linker. However, as the warning in the GNU ld
9892 # block says, versions before 2.19.5* couldn't really create working
9893 # shared libraries, regardless of the interface used.
9894 case `$LD -v 2>&1` in
9895 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9896 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9897 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9899 lt_use_gnu_ld_interface
=yes
9904 lt_use_gnu_ld_interface
=yes
9909 if test "$lt_use_gnu_ld_interface" = yes; then
9910 # If archive_cmds runs LD, not CC, wlarc should be empty
9913 # Set some defaults for GNU ld with shared library support. These
9914 # are reset later if shared libraries are not supported. Putting them
9915 # here allows them to be overridden if necessary.
9916 runpath_var
=LD_RUN_PATH
9917 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9918 export_dynamic_flag_spec
='${wl}--export-dynamic'
9919 # ancient GNU ld didn't support --whole-archive et. al.
9920 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9921 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9923 whole_archive_flag_spec
=
9925 supports_anon_versioning
=no
9926 case `$LD -v 2>&1` in
9927 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9928 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9929 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9930 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9931 *\
2.11.
*) ;; # other 2.11 versions
9932 *) supports_anon_versioning
=yes ;;
9935 # See if GNU ld supports shared libraries.
9938 # On AIX/PPC, the GNU linker is very broken
9939 if test "$host_cpu" != ia64
; then
9943 *** Warning: the GNU linker, at least up to release 2.19, is reported
9944 *** to be unable to reliably create shared libraries on AIX.
9945 *** Therefore, libtool is disabling shared libraries support. If you
9946 *** really care for shared libraries, you may want to install binutils
9947 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9948 *** You will then need to restart the configuration process.
9957 # see comment about AmigaOS4 .so support
9958 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9959 archive_expsym_cmds
=''
9962 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)'
9963 hardcode_libdir_flag_spec
='-L$libdir'
9964 hardcode_minus_L
=yes
9970 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9971 allow_undefined_flag
=unsupported
9972 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9973 # support --undefined. This deserves some investigation. FIXME
9974 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9980 cygwin
* | mingw
* | pw32
* | cegcc
*)
9981 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9982 # as there is no search path for DLLs.
9983 hardcode_libdir_flag_spec
='-L$libdir'
9984 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9985 allow_undefined_flag
=unsupported
9986 always_export_symbols
=no
9987 enable_shared_with_static_runtimes
=yes
9988 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'
9989 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9991 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9992 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9993 # If the export-symbols file already is a .def file (1st line
9994 # is EXPORTS), use it as is; otherwise, prepend...
9995 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9996 cp $export_symbols $output_objdir/$soname.def;
9998 echo EXPORTS > $output_objdir/$soname.def;
9999 cat $export_symbols >> $output_objdir/$soname.def;
10001 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10008 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10009 link_all_deplibs
=yes
10014 hardcode_shlibpath_var
=no
10015 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10016 export_dynamic_flag_spec
='${wl}-E'
10017 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10018 # Instead, shared libraries are loaded at an image base (0x10000000 by
10019 # default) and relocated if they conflict, which is a slow very memory
10020 # consuming and fragmenting process. To avoid this, we pick a random,
10021 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10022 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10023 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10024 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'
10027 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10029 if test "$host_os" = linux
-dietlibc; then
10030 case $cc_basename in
10031 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10034 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10035 && test "$tmp_diet" = no
10037 tmp_addflag
=' $pic_flag'
10038 tmp_sharedflag
='-shared'
10039 case $cc_basename,$host_cpu in
10040 pgcc
*) # Portland Group C compiler
10041 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'
10042 tmp_addflag
=' $pic_flag'
10044 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10045 # Portland Group f77 and f90 compilers
10046 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'
10047 tmp_addflag
=' $pic_flag -Mnomain' ;;
10048 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10049 tmp_addflag
=' -i_dynamic' ;;
10050 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10051 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10052 ifc
* | ifort
*) # Intel Fortran compiler
10053 tmp_addflag
=' -nofor_main' ;;
10054 lf95
*) # Lahey Fortran 8.1
10055 whole_archive_flag_spec
=
10056 tmp_sharedflag
='--shared' ;;
10057 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10058 tmp_sharedflag
='-qmkshrobj'
10060 nvcc
*) # Cuda Compiler Driver 2.2
10061 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'
10062 compiler_needs_object
=yes
10065 case `$CC -V 2>&1 | sed 5q` in
10066 *Sun\ C
*) # Sun C 5.9
10067 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'
10068 compiler_needs_object
=yes
10069 tmp_sharedflag
='-G' ;;
10070 *Sun\ F
*) # Sun Fortran 8.3
10071 tmp_sharedflag
='-G' ;;
10073 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10075 if test "x$supports_anon_versioning" = xyes
; then
10076 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10077 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10078 echo "local: *; };" >> $output_objdir/$libname.ver~
10079 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10082 case $cc_basename in
10083 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10084 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10085 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10086 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10087 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10088 if test "x$supports_anon_versioning" = xyes
; then
10089 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10091 echo "local: *; };" >> $output_objdir/$libname.ver~
10092 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10102 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10103 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10106 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10107 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10112 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10116 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10117 *** create shared libraries on Solaris systems. Therefore, libtool
10118 *** is disabling shared libraries support. We urge you to upgrade GNU
10119 *** binutils to release 2.9.1 or newer. Another option is to modify
10120 *** your PATH or compiler configuration so that the native linker is
10121 *** used, and then restart.
10124 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10125 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10126 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10132 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10133 case `$LD -v 2>&1` in
10134 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10138 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10139 *** reliably create shared libraries on SCO systems. Therefore, libtool
10140 *** is disabling shared libraries support. We urge you to upgrade GNU
10141 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10142 *** your PATH or compiler configuration so that the native linker is
10143 *** used, and then restart.
10148 # For security reasons, it is highly recommended that you always
10149 # use absolute paths for naming shared libraries, and exclude the
10150 # DT_RUNPATH tag from executables and libraries. But doing so
10151 # requires that you compile everything twice, which is a pain.
10152 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10153 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10154 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10155 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10164 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10166 hardcode_direct
=yes
10167 hardcode_shlibpath_var
=no
10171 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10172 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10173 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10180 if test "$ld_shlibs" = no
; then
10182 hardcode_libdir_flag_spec
=
10183 export_dynamic_flag_spec
=
10184 whole_archive_flag_spec
=
10187 # PORTME fill in a description of your system's linker (not GNU ld)
10190 allow_undefined_flag
=unsupported
10191 always_export_symbols
=yes
10192 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'
10193 # Note: this linker hardcodes the directories in LIBPATH if there
10194 # are no directories specified by -L.
10195 hardcode_minus_L
=yes
10196 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10197 # Neither direct hardcoding nor static linking is supported with a
10199 hardcode_direct
=unsupported
10204 if test "$host_cpu" = ia64
; then
10205 # On IA64, the linker does run time linking by default, so we don't
10206 # have to do anything special.
10207 aix_use_runtimelinking
=no
10208 exp_sym_flag
='-Bexport'
10211 # If we're using GNU nm, then we don't want the "-C" option.
10212 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10213 # Also, AIX nm treats weak defined symbols like other global
10214 # defined symbols, whereas GNU nm marks them as "W".
10215 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10216 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'
10218 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'
10220 aix_use_runtimelinking
=no
10222 # Test if we are trying to use run time linking or normal
10223 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10224 # need to do runtime linking.
10225 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10226 for ld_flag
in $LDFLAGS; do
10227 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10228 aix_use_runtimelinking
=yes
10235 exp_sym_flag
='-bexport'
10236 no_entry_flag
='-bnoentry'
10239 # When large executables or shared objects are built, AIX ld can
10240 # have problems creating the table of contents. If linking a library
10241 # or program results in "error TOC overflow" add -mminimal-toc to
10242 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10243 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10246 hardcode_direct
=yes
10247 hardcode_direct_absolute
=yes
10248 hardcode_libdir_separator
=':'
10249 link_all_deplibs
=yes
10250 file_list_spec
='${wl}-f,'
10252 if test "$GCC" = yes; then
10253 case $host_os in aix4.
[012]|aix4.
[012].
*)
10254 # We only want to do this on AIX 4.2 and lower, the check
10255 # below for broken collect2 doesn't work under 4.3+
10256 collect2name
=`${CC} -print-prog-name=collect2`
10257 if test -f "$collect2name" &&
10258 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10260 # We have reworked collect2
10263 # We have old collect2
10264 hardcode_direct
=unsupported
10265 # It fails to find uninstalled libraries when the uninstalled
10266 # path is not listed in the libpath. Setting hardcode_minus_L
10267 # to unsupported forces relinking
10268 hardcode_minus_L
=yes
10269 hardcode_libdir_flag_spec
='-L$libdir'
10270 hardcode_libdir_separator
=
10274 shared_flag
='-shared'
10275 if test "$aix_use_runtimelinking" = yes; then
10276 shared_flag
="$shared_flag "'${wl}-G'
10280 if test "$host_cpu" = ia64
; then
10281 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10282 # chokes on -Wl,-G. The following line is correct:
10285 if test "$aix_use_runtimelinking" = yes; then
10286 shared_flag
='${wl}-G'
10288 shared_flag
='${wl}-bM:SRE'
10293 export_dynamic_flag_spec
='${wl}-bexpall'
10294 # It seems that -bexpall does not export symbols beginning with
10295 # underscore (_), so it is better to generate a list of symbols to export.
10296 always_export_symbols
=yes
10297 if test "$aix_use_runtimelinking" = yes; then
10298 # Warning - without using the other runtime loading flags (-brtl),
10299 # -berok will link without error, but may produce a broken library.
10300 allow_undefined_flag
='-berok'
10301 # Determine the default libpath from the value encoded in an
10302 # empty executable.
10303 if test "${lt_cv_aix_libpath+set}" = set; then
10304 aix_libpath
=$lt_cv_aix_libpath
10306 if ${lt_cv_aix_libpath_+:} false
; then :
10307 $as_echo_n "(cached) " >&6
10309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10320 if ac_fn_c_try_link
"$LINENO"; then :
10322 lt_aix_libpath_sed
='
10323 /Import File Strings/,/^$/ {
10325 s/^0 *\([^ ]*\) *$/\1/
10329 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10330 # Check for a 64-bit object if we didn't find anything.
10331 if test -z "$lt_cv_aix_libpath_"; then
10332 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10335 rm -f core conftest.err conftest.
$ac_objext \
10336 conftest
$ac_exeext conftest.
$ac_ext
10337 if test -z "$lt_cv_aix_libpath_"; then
10338 lt_cv_aix_libpath_
="/usr/lib:/lib"
10343 aix_libpath
=$lt_cv_aix_libpath_
10346 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10347 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"
10349 if test "$host_cpu" = ia64
; then
10350 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10351 allow_undefined_flag
="-z nodefs"
10352 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"
10354 # Determine the default libpath from the value encoded in an
10355 # empty executable.
10356 if test "${lt_cv_aix_libpath+set}" = set; then
10357 aix_libpath
=$lt_cv_aix_libpath
10359 if ${lt_cv_aix_libpath_+:} false
; then :
10360 $as_echo_n "(cached) " >&6
10362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10363 /* end confdefs.h. */
10373 if ac_fn_c_try_link
"$LINENO"; then :
10375 lt_aix_libpath_sed
='
10376 /Import File Strings/,/^$/ {
10378 s/^0 *\([^ ]*\) *$/\1/
10382 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10383 # Check for a 64-bit object if we didn't find anything.
10384 if test -z "$lt_cv_aix_libpath_"; then
10385 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10388 rm -f core conftest.err conftest.
$ac_objext \
10389 conftest
$ac_exeext conftest.
$ac_ext
10390 if test -z "$lt_cv_aix_libpath_"; then
10391 lt_cv_aix_libpath_
="/usr/lib:/lib"
10396 aix_libpath
=$lt_cv_aix_libpath_
10399 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10400 # Warning - without using the other run time loading flags,
10401 # -berok will link without error, but may produce a broken library.
10402 no_undefined_flag
=' ${wl}-bernotok'
10403 allow_undefined_flag
=' ${wl}-berok'
10404 if test "$with_gnu_ld" = yes; then
10405 # We only use this code for GNU lds that support --whole-archive.
10406 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10408 # Exported symbols can be pulled into shared objects from archives
10409 whole_archive_flag_spec
='$convenience'
10411 archive_cmds_need_lc
=yes
10412 # This is similar to how AIX traditionally builds its shared libraries.
10413 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'
10421 # see comment about AmigaOS4 .so support
10422 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10423 archive_expsym_cmds
=''
10426 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)'
10427 hardcode_libdir_flag_spec
='-L$libdir'
10428 hardcode_minus_L
=yes
10434 export_dynamic_flag_spec
=-rdynamic
10437 cygwin
* | mingw
* | pw32
* | cegcc
*)
10438 # When not using gcc, we currently assume that we are using
10439 # Microsoft Visual C++.
10440 # hardcode_libdir_flag_spec is actually meaningless, as there is
10441 # no search path for DLLs.
10442 case $cc_basename in
10445 hardcode_libdir_flag_spec
=' '
10446 allow_undefined_flag
=unsupported
10447 always_export_symbols
=yes
10449 # Tell ltmain to make .lib files, not .a files.
10451 # Tell ltmain to make .dll files, not .so files.
10453 # FIXME: Setting linknames here is a bad hack.
10454 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10455 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10456 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10458 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10460 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10462 # The linker will not automatically build a static lib if we build a DLL.
10463 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10464 enable_shared_with_static_runtimes
=yes
10465 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10466 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10468 old_postinstall_cmds
='chmod 644 $oldlib'
10469 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10470 lt_tool_outputfile="@TOOL_OUTPUT@"~
10471 case $lt_outputfile in
10474 lt_outputfile="$lt_outputfile.exe"
10475 lt_tool_outputfile="$lt_tool_outputfile.exe"
10478 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10479 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10480 $RM "$lt_outputfile.manifest";
10484 # Assume MSVC wrapper
10485 hardcode_libdir_flag_spec
=' '
10486 allow_undefined_flag
=unsupported
10487 # Tell ltmain to make .lib files, not .a files.
10489 # Tell ltmain to make .dll files, not .so files.
10491 # FIXME: Setting linknames here is a bad hack.
10492 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10493 # The linker will automatically build a .lib file if we build a DLL.
10494 old_archive_from_new_cmds
='true'
10495 # FIXME: Should let the user specify the lib program.
10496 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10497 enable_shared_with_static_runtimes
=yes
10502 darwin
* | rhapsody
*)
10505 archive_cmds_need_lc
=no
10507 hardcode_automatic
=yes
10508 hardcode_shlibpath_var
=unsupported
10509 if test "$lt_cv_ld_force_load" = "yes"; then
10510 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\"`'
10513 whole_archive_flag_spec
=''
10515 link_all_deplibs
=yes
10516 allow_undefined_flag
="$_lt_dar_allow_undefined"
10517 case $cc_basename in
10518 ifort
*) _lt_dar_can_shared
=yes ;;
10519 *) _lt_dar_can_shared
=$GCC ;;
10521 if test "$_lt_dar_can_shared" = "yes"; then
10522 output_verbose_link_cmd
=func_echo_all
10523 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10524 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10525 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}"
10526 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}"
10535 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10536 hardcode_libdir_flag_spec
='-L$libdir'
10537 hardcode_shlibpath_var
=no
10540 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10541 # support. Future versions do this automatically, but an explicit c++rt0.o
10542 # does not break anything, and helps significantly (at the cost of a little
10545 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10546 hardcode_libdir_flag_spec
='-R$libdir'
10547 hardcode_direct
=yes
10548 hardcode_shlibpath_var
=no
10551 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10553 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10554 hardcode_direct
=yes
10555 hardcode_minus_L
=yes
10556 hardcode_shlibpath_var
=no
10559 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10560 freebsd
* | dragonfly
*)
10561 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10562 hardcode_libdir_flag_spec
='-R$libdir'
10563 hardcode_direct
=yes
10564 hardcode_shlibpath_var
=no
10568 if test "$GCC" = yes; then
10569 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'
10571 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'
10573 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10574 hardcode_libdir_separator
=:
10575 hardcode_direct
=yes
10577 # hardcode_minus_L: Not really in the search PATH,
10578 # but as the default location of the library.
10579 hardcode_minus_L
=yes
10580 export_dynamic_flag_spec
='${wl}-E'
10584 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10585 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10587 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10589 if test "$with_gnu_ld" = no
; then
10590 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10591 hardcode_libdir_separator
=:
10592 hardcode_direct
=yes
10593 hardcode_direct_absolute
=yes
10594 export_dynamic_flag_spec
='${wl}-E'
10595 # hardcode_minus_L: Not really in the search PATH,
10596 # but as the default location of the library.
10597 hardcode_minus_L
=yes
10602 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10605 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10608 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10611 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10620 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10624 # Older versions of the 11.00 compiler do not understand -b yet
10625 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10627 $as_echo_n "checking if $CC understands -b... " >&6; }
10628 if ${lt_cv_prog_compiler__b+:} false
; then :
10629 $as_echo_n "(cached) " >&6
10631 lt_cv_prog_compiler__b
=no
10632 save_LDFLAGS
="$LDFLAGS"
10633 LDFLAGS
="$LDFLAGS -b"
10634 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10635 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10636 # The linker can only warn and ignore the option if not recognized
10637 # So say no if there are warnings
10638 if test -s conftest.err
; then
10639 # Append any errors to the config.log.
10640 cat conftest.err
1>&5
10641 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10642 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10643 if diff conftest.exp conftest.er2
>/dev
/null
; then
10644 lt_cv_prog_compiler__b
=yes
10647 lt_cv_prog_compiler__b
=yes
10651 LDFLAGS
="$save_LDFLAGS"
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10655 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10657 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10658 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10660 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10666 if test "$with_gnu_ld" = no
; then
10667 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10668 hardcode_libdir_separator
=:
10673 hardcode_shlibpath_var
=no
10676 hardcode_direct
=yes
10677 hardcode_direct_absolute
=yes
10678 export_dynamic_flag_spec
='${wl}-E'
10680 # hardcode_minus_L: Not really in the search PATH,
10681 # but as the default location of the library.
10682 hardcode_minus_L
=yes
10688 irix5
* | irix6
* | nonstopux
*)
10689 if test "$GCC" = yes; then
10690 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'
10691 # Try to use the -exported_symbol ld option, if it does not
10692 # work, assume that -exports_file does not work either and
10693 # implicitly export all symbols.
10694 # This should be the same for all languages, so no per-tag cache variable.
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10696 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10697 if ${lt_cv_irix_exported_symbol+:} false
; then :
10698 $as_echo_n "(cached) " >&6
10700 save_LDFLAGS
="$LDFLAGS"
10701 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10704 int foo (void) { return 0; }
10706 if ac_fn_c_try_link
"$LINENO"; then :
10707 lt_cv_irix_exported_symbol
=yes
10709 lt_cv_irix_exported_symbol
=no
10711 rm -f core conftest.err conftest.
$ac_objext \
10712 conftest
$ac_exeext conftest.
$ac_ext
10713 LDFLAGS
="$save_LDFLAGS"
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10716 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10717 if test "$lt_cv_irix_exported_symbol" = yes; then
10718 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'
10721 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'
10722 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'
10724 archive_cmds_need_lc
='no'
10725 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10726 hardcode_libdir_separator
=:
10728 link_all_deplibs
=yes
10732 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10733 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10735 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10737 hardcode_libdir_flag_spec
='-R$libdir'
10738 hardcode_direct
=yes
10739 hardcode_shlibpath_var
=no
10743 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10744 hardcode_direct
=yes
10745 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10746 hardcode_libdir_separator
=:
10747 hardcode_shlibpath_var
=no
10754 if test -f /usr
/libexec
/ld.so
; then
10755 hardcode_direct
=yes
10756 hardcode_shlibpath_var
=no
10757 hardcode_direct_absolute
=yes
10758 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10759 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10760 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10761 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10762 export_dynamic_flag_spec
='${wl}-E'
10765 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10766 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10767 hardcode_libdir_flag_spec
='-R$libdir'
10770 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10771 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10781 hardcode_libdir_flag_spec
='-L$libdir'
10782 hardcode_minus_L
=yes
10783 allow_undefined_flag
=unsupported
10784 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'
10785 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10789 if test "$GCC" = yes; then
10790 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10791 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'
10793 allow_undefined_flag
=' -expect_unresolved \*'
10794 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'
10796 archive_cmds_need_lc
='no'
10797 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10798 hardcode_libdir_separator
=:
10801 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10802 if test "$GCC" = yes; then
10803 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10804 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'
10805 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10807 allow_undefined_flag
=' -expect_unresolved \*'
10808 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'
10809 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~
10810 $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'
10812 # Both c and cxx compiler support -rpath directly
10813 hardcode_libdir_flag_spec
='-rpath $libdir'
10815 archive_cmds_need_lc
='no'
10816 hardcode_libdir_separator
=:
10820 no_undefined_flag
=' -z defs'
10821 if test "$GCC" = yes; then
10823 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10824 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10825 $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'
10827 case `$CC -V 2>&1` in
10830 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10831 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10832 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10836 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10837 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10838 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10842 hardcode_libdir_flag_spec
='-R$libdir'
10843 hardcode_shlibpath_var
=no
10845 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10847 # The compiler driver will combine and reorder linker options,
10848 # but understands `-z linker_flag'. GCC discards it without `$wl',
10849 # but is careful enough not to reorder.
10850 # Supported since Solaris 2.6 (maybe 2.5.1?)
10851 if test "$GCC" = yes; then
10852 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10854 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10858 link_all_deplibs
=yes
10862 if test "x$host_vendor" = xsequent
; then
10863 # Use $CC to link under sequent, because it throws in some extra .o
10864 # files that make .init and .fini sections work.
10865 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10867 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10869 hardcode_libdir_flag_spec
='-L$libdir'
10870 hardcode_direct
=yes
10871 hardcode_minus_L
=yes
10872 hardcode_shlibpath_var
=no
10876 case $host_vendor in
10878 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10879 hardcode_direct
=yes # is this really true???
10882 ## LD is ld it makes a PLAMLIB
10883 ## CC just makes a GrossModule.
10884 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10885 reload_cmds
='$CC -r -o $output$reload_objs'
10889 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10890 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10893 runpath_var
='LD_RUN_PATH'
10894 hardcode_shlibpath_var
=no
10898 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10899 hardcode_shlibpath_var
=no
10900 export_dynamic_flag_spec
='-Bexport'
10904 if test -d /usr
/nec
; then
10905 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10906 hardcode_shlibpath_var
=no
10907 runpath_var
=LD_RUN_PATH
10908 hardcode_runpath_var
=yes
10913 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10914 no_undefined_flag
='${wl}-z,text'
10915 archive_cmds_need_lc
=no
10916 hardcode_shlibpath_var
=no
10917 runpath_var
='LD_RUN_PATH'
10919 if test "$GCC" = yes; then
10920 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10921 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10928 sysv5
* | sco3.2v5
* | sco5v6
*)
10929 # Note: We can NOT use -z defs as we might desire, because we do not
10930 # link with -lc, and that would cause any symbols used from libc to
10931 # always be unresolved, which means just about no library would
10932 # ever link correctly. If we're not using GNU ld we use -z text
10933 # though, which does catch some bad symbols but isn't as heavy-handed
10935 no_undefined_flag
='${wl}-z,text'
10936 allow_undefined_flag
='${wl}-z,nodefs'
10937 archive_cmds_need_lc
=no
10938 hardcode_shlibpath_var
=no
10939 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10940 hardcode_libdir_separator
=':'
10941 link_all_deplibs
=yes
10942 export_dynamic_flag_spec
='${wl}-Bexport'
10943 runpath_var
='LD_RUN_PATH'
10945 if test "$GCC" = yes; then
10946 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10947 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10955 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10956 hardcode_libdir_flag_spec
='-L$libdir'
10957 hardcode_shlibpath_var
=no
10965 if test x
$host_vendor = xsni
; then
10967 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10968 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10975 $as_echo "$ld_shlibs" >&6; }
10976 test "$ld_shlibs" = no
&& can_build_shared
=no
10978 with_gnu_ld
=$with_gnu_ld
10995 # Do we need to explicitly link libc?
10997 case "x$archive_cmds_need_lc" in
10999 # Assume -lc should be added
11000 archive_cmds_need_lc
=yes
11002 if test "$enable_shared" = yes && test "$GCC" = yes; then
11003 case $archive_cmds in
11005 # FIXME: we may have to deal with multi-command sequences.
11008 # Test whether the compiler implicitly links with -lc since on some
11009 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11010 # to ld, don't add -lc before -lgcc.
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11012 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11013 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11014 $as_echo_n "(cached) " >&6
11017 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11020 (eval $ac_compile) 2>&5
11022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11023 test $ac_status = 0; } 2>conftest.err
; then
11026 libobjs
=conftest.
$ac_objext
11028 wl
=$lt_prog_compiler_wl
11029 pic_flag
=$lt_prog_compiler_pic
11035 lt_save_allow_undefined_flag
=$allow_undefined_flag
11036 allow_undefined_flag
=
11037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11038 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11041 test $ac_status = 0; }
11043 lt_cv_archive_cmds_need_lc
=no
11045 lt_cv_archive_cmds_need_lc
=yes
11047 allow_undefined_flag
=$lt_save_allow_undefined_flag
11049 cat conftest.err
1>&5
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11055 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11056 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11215 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11217 if test "$GCC" = yes; then
11219 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11220 *) lt_awk_arg
="/^libraries:/" ;;
11223 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11224 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11226 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11227 case $lt_search_path_spec in
11229 # if the path contains ";" then we assume it to be the separator
11230 # otherwise default to the standard path separator (i.e. ":") - it is
11231 # assumed that no part of a normal pathname contains ";" but that should
11232 # okay in the real world where ";" in dirpaths is itself problematic.
11233 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11236 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11239 # Ok, now we have the path, separated by spaces, we can step through it
11240 # and add multilib dir if necessary.
11241 lt_tmp_lt_search_path_spec
=
11242 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11243 for lt_sys_path
in $lt_search_path_spec; do
11244 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11245 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11247 test -d "$lt_sys_path" && \
11248 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11251 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11252 BEGIN {RS=" "; FS="/|\n";} {
11255 for (lt_i = NF; lt_i > 0; lt_i--) {
11256 if ($lt_i != "" && $lt_i != ".") {
11257 if ($lt_i == "..") {
11260 if (lt_count == 0) {
11261 lt_foo="/" $lt_i lt_foo;
11268 if (lt_foo != "") { lt_freq[lt_foo]++; }
11269 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11271 # AWK program above erroneously prepends '/' to C:/dos/paths
11274 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11275 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11277 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11279 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11281 library_names_spec
=
11282 libname_spec
='lib$name'
11286 postuninstall_cmds
=
11290 shlibpath_overrides_runpath
=unknown
11292 dynamic_linker
="$host_os ld.so"
11293 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11294 need_lib_prefix
=unknown
11295 hardcode_into_libs
=no
11297 # when you set need_version to no, make sure it does not cause -set_version
11298 # flags to be left without arguments
11299 need_version
=unknown
11303 version_type
=linux
# correct to gnu/linux during the next big refactor
11304 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11305 shlibpath_var
=LIBPATH
11307 # AIX 3 has no versioning support, so we append a major version to the name.
11308 soname_spec
='${libname}${release}${shared_ext}$major'
11312 version_type
=linux
# correct to gnu/linux during the next big refactor
11315 hardcode_into_libs
=yes
11316 if test "$host_cpu" = ia64
; then
11317 # AIX 5 supports IA64
11318 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11319 shlibpath_var
=LD_LIBRARY_PATH
11321 # With GCC up to 2.95.x, collect2 would create an import file
11322 # for dependence libraries. The import file would start with
11323 # the line `#! .'. This would cause the generated library to
11324 # depend on `.', always an invalid library. This was fixed in
11325 # development snapshots of GCC prior to 3.0.
11327 aix4
| aix4.
[01] | aix4.
[01].
*)
11328 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11330 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11333 can_build_shared
=no
11337 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11338 # soname into executable. Probably we can add versioning support to
11339 # collect2, so additional links can be useful in future.
11340 if test "$aix_use_runtimelinking" = yes; then
11341 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11342 # instead of lib<name>.a to let people know that these are not
11343 # typical AIX shared libraries.
11344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 # We preserve .a as extension for shared libraries through AIX4.2
11347 # and later when we are not doing run time linking.
11348 library_names_spec
='${libname}${release}.a $libname.a'
11349 soname_spec
='${libname}${release}${shared_ext}$major'
11351 shlibpath_var
=LIBPATH
11358 # Since July 2007 AmigaOS4 officially supports .so libraries.
11359 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11363 library_names_spec
='$libname.ixlibrary $libname.a'
11364 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11365 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'
11371 library_names_spec
='${libname}${shared_ext}'
11372 dynamic_linker
="$host_os ld.so"
11373 shlibpath_var
=LIBRARY_PATH
11377 version_type
=linux
# correct to gnu/linux during the next big refactor
11379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380 soname_spec
='${libname}${release}${shared_ext}$major'
11381 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11382 shlibpath_var
=LD_LIBRARY_PATH
11383 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11384 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11385 # the default ld.so.conf also contains /usr/contrib/lib and
11386 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11387 # libtool to hard-code these into programs
11390 cygwin
* | mingw
* | pw32
* | cegcc
*)
11391 version_type
=windows
11396 case $GCC,$cc_basename in
11399 library_names_spec
='$libname.dll.a'
11400 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11401 postinstall_cmds
='base_file=`basename \${file}`~
11402 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11403 dldir=$destdir/`dirname \$dlpath`~
11404 test -d \$dldir || mkdir -p \$dldir~
11405 $install_prog $dir/$dlname \$dldir/$dlname~
11406 chmod a+x \$dldir/$dlname~
11407 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11408 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11410 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11411 dlpath=$dir/\$dldll~
11413 shlibpath_overrides_runpath
=yes
11417 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11418 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11420 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11423 # MinGW DLLs use traditional 'lib' prefix
11424 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11427 # pw32 DLLs use 'pw' prefix rather than 'lib'
11428 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11431 dynamic_linker
='Win32 ld.exe'
11436 libname_spec
='$name'
11437 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11438 library_names_spec
='${libname}.dll.lib'
11442 sys_lib_search_path_spec
=
11445 for lt_path
in $LIB
11448 # Let DOS variable expansion print the short 8.3 style file name.
11449 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11450 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11453 # Convert to MSYS style.
11454 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11457 # Convert to unix form, then to dos form, then back to unix form
11458 # but this time dos style (no spaces!) so that the unix form looks
11459 # like /cygdrive/c/PROGRA~1:/cygdr...
11460 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11461 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11462 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11465 sys_lib_search_path_spec
="$LIB"
11466 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11467 # It is most probably a Windows format PATH.
11468 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11470 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11472 # FIXME: find the short name or the path components, as spaces are
11473 # common. (e.g. "Program Files" -> "PROGRA~1")
11477 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11478 postinstall_cmds
='base_file=`basename \${file}`~
11479 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11480 dldir=$destdir/`dirname \$dlpath`~
11481 test -d \$dldir || mkdir -p \$dldir~
11482 $install_prog $dir/$dlname \$dldir/$dlname'
11483 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11484 dlpath=$dir/\$dldll~
11486 shlibpath_overrides_runpath
=yes
11487 dynamic_linker
='Win32 link.exe'
11491 # Assume MSVC wrapper
11492 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11493 dynamic_linker
='Win32 ld.exe'
11496 # FIXME: first we should search . and the directory the executable is in
11500 darwin
* | rhapsody
*)
11501 dynamic_linker
="$host_os dyld"
11502 version_type
=darwin
11505 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11506 soname_spec
='${libname}${release}${major}$shared_ext'
11507 shlibpath_overrides_runpath
=yes
11508 shlibpath_var
=DYLD_LIBRARY_PATH
11509 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11511 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11512 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11516 version_type
=linux
# correct to gnu/linux during the next big refactor
11519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11520 soname_spec
='${libname}${release}${shared_ext}$major'
11521 shlibpath_var
=LD_LIBRARY_PATH
11524 freebsd
* | dragonfly
*)
11525 # DragonFly does not have aout. When/if they implement a new
11526 # versioning mechanism, adjust this.
11527 if test -x /usr
/bin
/objformat
; then
11528 objformat
=`/usr/bin/objformat`
11531 freebsd
[23].
*) objformat
=aout
;;
11532 *) objformat
=elf
;;
11535 version_type
=freebsd
-$objformat
11536 case $version_type in
11538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11543 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11547 shlibpath_var
=LD_LIBRARY_PATH
11550 shlibpath_overrides_runpath
=yes
11552 freebsd3.
[01]* | freebsdelf3.
[01]*)
11553 shlibpath_overrides_runpath
=yes
11554 hardcode_into_libs
=yes
11556 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11557 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11558 shlibpath_overrides_runpath
=no
11559 hardcode_into_libs
=yes
11561 *) # from 4.6 on, and DragonFly
11562 shlibpath_overrides_runpath
=yes
11563 hardcode_into_libs
=yes
11569 version_type
=linux
# correct to gnu/linux during the next big refactor
11572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11573 soname_spec
='${libname}${release}${shared_ext}$major'
11574 shlibpath_var
=LD_LIBRARY_PATH
11575 shlibpath_overrides_runpath
=no
11576 hardcode_into_libs
=yes
11580 version_type
=linux
# correct to gnu/linux during the next big refactor
11583 dynamic_linker
="$host_os runtime_loader"
11584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11585 soname_spec
='${libname}${release}${shared_ext}$major'
11586 shlibpath_var
=LIBRARY_PATH
11587 shlibpath_overrides_runpath
=yes
11588 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11589 hardcode_into_libs
=yes
11592 hpux9
* | hpux10
* | hpux11
*)
11593 # Give a soname corresponding to the major version so that dld.sl refuses to
11594 # link against other versions.
11601 hardcode_into_libs
=yes
11602 dynamic_linker
="$host_os dld.so"
11603 shlibpath_var
=LD_LIBRARY_PATH
11604 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11606 soname_spec
='${libname}${release}${shared_ext}$major'
11607 if test "X$HPUX_IA64_MODE" = X32
; then
11608 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11610 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11612 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11616 hardcode_into_libs
=yes
11617 dynamic_linker
="$host_os dld.sl"
11618 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11619 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11621 soname_spec
='${libname}${release}${shared_ext}$major'
11622 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11623 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11627 dynamic_linker
="$host_os dld.sl"
11628 shlibpath_var
=SHLIB_PATH
11629 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631 soname_spec
='${libname}${release}${shared_ext}$major'
11634 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11635 postinstall_cmds
='chmod 555 $lib'
11636 # or fails outright, so override atomically:
11637 install_override_mode
=555
11641 version_type
=linux
# correct to gnu/linux during the next big refactor
11644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11645 soname_spec
='${libname}${release}${shared_ext}$major'
11646 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11647 shlibpath_var
=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath
=no
11649 hardcode_into_libs
=yes
11652 irix5
* | irix6
* | nonstopux
*)
11654 nonstopux
*) version_type
=nonstopux
;;
11656 if test "$lt_cv_prog_gnu_ld" = yes; then
11657 version_type
=linux
# correct to gnu/linux during the next big refactor
11664 soname_spec
='${libname}${release}${shared_ext}$major'
11665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11667 irix5
* | nonstopux
*)
11668 libsuff
= shlibsuff
=
11671 case $LD in # libtool.m4 will add one of these switches to LD
11672 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11673 libsuff
= shlibsuff
= libmagic
=32-bit;;
11674 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11675 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11676 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11677 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11678 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11682 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11683 shlibpath_overrides_runpath
=no
11684 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11685 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11686 hardcode_into_libs
=yes
11689 # No shared lib support for Linux oldld, aout, or coff.
11690 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11694 # This must be glibc/ELF.
11695 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11696 version_type
=linux
# correct to gnu/linux during the next big refactor
11699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11700 soname_spec
='${libname}${release}${shared_ext}$major'
11701 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11702 shlibpath_var
=LD_LIBRARY_PATH
11703 shlibpath_overrides_runpath
=no
11705 # Some binutils ld are patched to set DT_RUNPATH
11706 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11707 $as_echo_n "(cached) " >&6
11709 lt_cv_shlibpath_overrides_runpath
=no
11710 save_LDFLAGS
=$LDFLAGS
11711 save_libdir
=$libdir
11712 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11713 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11725 if ac_fn_c_try_link
"$LINENO"; then :
11726 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11727 lt_cv_shlibpath_overrides_runpath
=yes
11730 rm -f core conftest.err conftest.
$ac_objext \
11731 conftest
$ac_exeext conftest.
$ac_ext
11732 LDFLAGS
=$save_LDFLAGS
11733 libdir
=$save_libdir
11737 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11739 # This implies no fast_install, which is unacceptable.
11740 # Some rework will be needed to allow for fast_install
11741 # before this can be enabled.
11742 hardcode_into_libs
=yes
11744 # Append ld.so.conf contents to the search path
11745 if test -f /etc
/ld.so.conf
; then
11746 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' ' '`
11747 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11750 # We used to test for /lib/ld.so.1 and disable shared libraries on
11751 # powerpc, because MkLinux only supported shared libraries with the
11752 # GNU dynamic linker. Since this was broken with cross compilers,
11753 # most powerpc-linux boxes support dynamic linking these days and
11754 # people can always --disable-shared, the test was removed, and we
11755 # assume the GNU/Linux dynamic linker is in use.
11756 dynamic_linker
='GNU/Linux ld.so'
11763 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11765 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11766 dynamic_linker
='NetBSD (a.out) ld.so'
11768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11769 soname_spec
='${libname}${release}${shared_ext}$major'
11770 dynamic_linker
='NetBSD ld.elf_so'
11772 shlibpath_var
=LD_LIBRARY_PATH
11773 shlibpath_overrides_runpath
=yes
11774 hardcode_into_libs
=yes
11778 version_type
=linux
# correct to gnu/linux during the next big refactor
11779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11780 shlibpath_var
=LD_LIBRARY_PATH
11781 shlibpath_overrides_runpath
=yes
11788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11789 soname_spec
='${libname}${release}${shared_ext}$major'
11790 shlibpath_var
=LD_LIBRARY_PATH
11791 shlibpath_overrides_runpath
=no
11792 hardcode_into_libs
=yes
11793 dynamic_linker
='ldqnx.so'
11798 sys_lib_dlsearch_path_spec
="/usr/lib"
11800 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11802 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11803 *) need_version
=no
;;
11805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11806 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11807 shlibpath_var
=LD_LIBRARY_PATH
11808 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11810 openbsd2.
[89] | openbsd2.
[89].
*)
11811 shlibpath_overrides_runpath
=no
11814 shlibpath_overrides_runpath
=yes
11818 shlibpath_overrides_runpath
=yes
11823 libname_spec
='$name'
11826 library_names_spec
='$libname${shared_ext} $libname.a'
11827 dynamic_linker
='OS/2 ld.exe'
11828 shlibpath_var
=LIBPATH
11831 osf3
* | osf4
* | osf5
*)
11835 soname_spec
='${libname}${release}${shared_ext}$major'
11836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11837 shlibpath_var
=LD_LIBRARY_PATH
11838 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11839 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11847 version_type
=linux
# correct to gnu/linux during the next big refactor
11850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11851 soname_spec
='${libname}${release}${shared_ext}$major'
11852 shlibpath_var
=LD_LIBRARY_PATH
11853 shlibpath_overrides_runpath
=yes
11854 hardcode_into_libs
=yes
11855 # ldd complains unless libraries are executable
11856 postinstall_cmds
='chmod +x $lib'
11861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11862 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11863 shlibpath_var
=LD_LIBRARY_PATH
11864 shlibpath_overrides_runpath
=yes
11865 if test "$with_gnu_ld" = yes; then
11872 version_type
=linux
# correct to gnu/linux during the next big refactor
11873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11874 soname_spec
='${libname}${release}${shared_ext}$major'
11875 shlibpath_var
=LD_LIBRARY_PATH
11876 case $host_vendor in
11878 shlibpath_overrides_runpath
=no
11880 runpath_var
=LD_RUN_PATH
11888 shlibpath_overrides_runpath
=no
11889 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11895 if test -d /usr
/nec
;then
11896 version_type
=linux
# correct to gnu/linux during the next big refactor
11897 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11898 soname_spec
='$libname${shared_ext}.$major'
11899 shlibpath_var
=LD_LIBRARY_PATH
11903 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11904 version_type
=freebsd
-elf
11907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11908 soname_spec
='${libname}${release}${shared_ext}$major'
11909 shlibpath_var
=LD_LIBRARY_PATH
11910 shlibpath_overrides_runpath
=yes
11911 hardcode_into_libs
=yes
11912 if test "$with_gnu_ld" = yes; then
11913 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11915 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11918 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11922 sys_lib_dlsearch_path_spec
='/usr/lib'
11926 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11927 version_type
=linux
# correct to gnu/linux during the next big refactor
11930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11931 shlibpath_var
=LD_LIBRARY_PATH
11932 shlibpath_overrides_runpath
=no
11933 hardcode_into_libs
=yes
11937 version_type
=linux
# correct to gnu/linux during the next big refactor
11938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11939 soname_spec
='${libname}${release}${shared_ext}$major'
11940 shlibpath_var
=LD_LIBRARY_PATH
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11948 $as_echo "$dynamic_linker" >&6; }
11949 test "$dynamic_linker" = no
&& can_build_shared
=no
11951 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11952 if test "$GCC" = yes; then
11953 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11956 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11957 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11959 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11960 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12055 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12057 if test -n "$hardcode_libdir_flag_spec" ||
12058 test -n "$runpath_var" ||
12059 test "X$hardcode_automatic" = "Xyes" ; then
12061 # We can hardcode non-existent directories.
12062 if test "$hardcode_direct" != no
&&
12063 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12064 # have to relink, otherwise we might link with an installed library
12065 # when we should be linking with a yet-to-be-installed one
12066 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12067 test "$hardcode_minus_L" != no
; then
12068 # Linking always hardcodes the temporary library directory.
12069 hardcode_action
=relink
12071 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12072 hardcode_action
=immediate
12075 # We cannot hardcode anything, or else we can only hardcode existing
12077 hardcode_action
=unsupported
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12080 $as_echo "$hardcode_action" >&6; }
12082 if test "$hardcode_action" = relink
||
12083 test "$inherit_rpath" = yes; then
12084 # Fast installation is not supported
12085 enable_fast_install
=no
12086 elif test "$shlibpath_overrides_runpath" = yes ||
12087 test "$enable_shared" = no
; then
12088 # Fast installation is not necessary
12089 enable_fast_install
=needless
12097 if test "x$enable_dlopen" != xyes
; then
12098 enable_dlopen
=unknown
12099 enable_dlopen_self
=unknown
12100 enable_dlopen_self_static
=unknown
12107 lt_cv_dlopen
="load_add_on"
12109 lt_cv_dlopen_self
=yes
12112 mingw
* | pw32
* | cegcc
*)
12113 lt_cv_dlopen
="LoadLibrary"
12118 lt_cv_dlopen
="dlopen"
12123 # if libdl is installed we need to link against it
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12125 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12126 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12127 $as_echo_n "(cached) " >&6
12129 ac_check_lib_save_LIBS
=$LIBS
12131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12149 if ac_fn_c_try_link
"$LINENO"; then :
12150 ac_cv_lib_dl_dlopen
=yes
12152 ac_cv_lib_dl_dlopen
=no
12154 rm -f core conftest.err conftest.
$ac_objext \
12155 conftest
$ac_exeext conftest.
$ac_ext
12156 LIBS
=$ac_check_lib_save_LIBS
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12159 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12160 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12161 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12164 lt_cv_dlopen
="dyld"
12166 lt_cv_dlopen_self
=yes
12173 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12174 if test "x$ac_cv_func_shl_load" = xyes
; then :
12175 lt_cv_dlopen
="shl_load"
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12178 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12179 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12180 $as_echo_n "(cached) " >&6
12182 ac_check_lib_save_LIBS
=$LIBS
12184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12197 return shl_load ();
12202 if ac_fn_c_try_link
"$LINENO"; then :
12203 ac_cv_lib_dld_shl_load
=yes
12205 ac_cv_lib_dld_shl_load
=no
12207 rm -f core conftest.err conftest.
$ac_objext \
12208 conftest
$ac_exeext conftest.
$ac_ext
12209 LIBS
=$ac_check_lib_save_LIBS
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12212 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12213 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12214 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12216 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12217 if test "x$ac_cv_func_dlopen" = xyes
; then :
12218 lt_cv_dlopen
="dlopen"
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12221 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12222 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12223 $as_echo_n "(cached) " >&6
12225 ac_check_lib_save_LIBS
=$LIBS
12227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12230 /* Override any GCC internal prototype to avoid an error.
12231 Use char because int might match the return type of a GCC
12232 builtin and then its argument prototype would still apply. */
12245 if ac_fn_c_try_link
"$LINENO"; then :
12246 ac_cv_lib_dl_dlopen
=yes
12248 ac_cv_lib_dl_dlopen
=no
12250 rm -f core conftest.err conftest.
$ac_objext \
12251 conftest
$ac_exeext conftest.
$ac_ext
12252 LIBS
=$ac_check_lib_save_LIBS
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12255 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12256 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12257 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12260 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12261 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12262 $as_echo_n "(cached) " >&6
12264 ac_check_lib_save_LIBS
=$LIBS
12265 LIBS
="-lsvld $LIBS"
12266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12269 /* Override any GCC internal prototype to avoid an error.
12270 Use char because int might match the return type of a GCC
12271 builtin and then its argument prototype would still apply. */
12284 if ac_fn_c_try_link
"$LINENO"; then :
12285 ac_cv_lib_svld_dlopen
=yes
12287 ac_cv_lib_svld_dlopen
=no
12289 rm -f core conftest.err conftest.
$ac_objext \
12290 conftest
$ac_exeext conftest.
$ac_ext
12291 LIBS
=$ac_check_lib_save_LIBS
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12294 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12295 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12296 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12299 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12300 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12301 $as_echo_n "(cached) " >&6
12303 ac_check_lib_save_LIBS
=$LIBS
12305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12306 /* end confdefs.h. */
12308 /* Override any GCC internal prototype to avoid an error.
12309 Use char because int might match the return type of a GCC
12310 builtin and then its argument prototype would still apply. */
12318 return dld_link ();
12323 if ac_fn_c_try_link
"$LINENO"; then :
12324 ac_cv_lib_dld_dld_link
=yes
12326 ac_cv_lib_dld_dld_link
=no
12328 rm -f core conftest.err conftest.
$ac_objext \
12329 conftest
$ac_exeext conftest.
$ac_ext
12330 LIBS
=$ac_check_lib_save_LIBS
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12333 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12334 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12335 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12356 if test "x$lt_cv_dlopen" != xno
; then
12362 case $lt_cv_dlopen in
12364 save_CPPFLAGS
="$CPPFLAGS"
12365 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12367 save_LDFLAGS
="$LDFLAGS"
12368 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12371 LIBS
="$lt_cv_dlopen_libs $LIBS"
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12374 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12375 if ${lt_cv_dlopen_self+:} false
; then :
12376 $as_echo_n "(cached) " >&6
12378 if test "$cross_compiling" = yes; then :
12379 lt_cv_dlopen_self
=cross
12381 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12382 lt_status
=$lt_dlunknown
12383 cat > conftest.
$ac_ext <<_LT_EOF
12384 #line $LINENO "configure"
12385 #include "confdefs.h"
12394 # define LT_DLGLOBAL RTLD_GLOBAL
12397 # define LT_DLGLOBAL DL_GLOBAL
12399 # define LT_DLGLOBAL 0
12403 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12404 find out it does not work in some platform. */
12405 #ifndef LT_DLLAZY_OR_NOW
12407 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12410 # define LT_DLLAZY_OR_NOW DL_LAZY
12413 # define LT_DLLAZY_OR_NOW RTLD_NOW
12416 # define LT_DLLAZY_OR_NOW DL_NOW
12418 # define LT_DLLAZY_OR_NOW 0
12425 /* When -fvisbility=hidden is used, assume the code has been annotated
12426 correspondingly for the symbols needed. */
12427 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12428 int fnord () __attribute__((visibility("default")));
12431 int fnord () { return 42; }
12434 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12435 int status = $lt_dlunknown;
12439 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12442 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12443 else puts (dlerror ());
12445 /* dlclose (self); */
12453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12454 (eval $ac_link) 2>&5
12456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12457 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12458 (.
/conftest
; exit; ) >&5 2>/dev
/null
12460 case x
$lt_status in
12461 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12462 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12463 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12466 # compilation failed
12467 lt_cv_dlopen_self
=no
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12475 $as_echo "$lt_cv_dlopen_self" >&6; }
12477 if test "x$lt_cv_dlopen_self" = xyes
; then
12478 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12480 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12481 if ${lt_cv_dlopen_self_static+:} false
; then :
12482 $as_echo_n "(cached) " >&6
12484 if test "$cross_compiling" = yes; then :
12485 lt_cv_dlopen_self_static
=cross
12487 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12488 lt_status
=$lt_dlunknown
12489 cat > conftest.
$ac_ext <<_LT_EOF
12490 #line $LINENO "configure"
12491 #include "confdefs.h"
12500 # define LT_DLGLOBAL RTLD_GLOBAL
12503 # define LT_DLGLOBAL DL_GLOBAL
12505 # define LT_DLGLOBAL 0
12509 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12510 find out it does not work in some platform. */
12511 #ifndef LT_DLLAZY_OR_NOW
12513 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12516 # define LT_DLLAZY_OR_NOW DL_LAZY
12519 # define LT_DLLAZY_OR_NOW RTLD_NOW
12522 # define LT_DLLAZY_OR_NOW DL_NOW
12524 # define LT_DLLAZY_OR_NOW 0
12531 /* When -fvisbility=hidden is used, assume the code has been annotated
12532 correspondingly for the symbols needed. */
12533 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12534 int fnord () __attribute__((visibility("default")));
12537 int fnord () { return 42; }
12540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12541 int status = $lt_dlunknown;
12545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12548 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12549 else puts (dlerror ());
12551 /* dlclose (self); */
12559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12560 (eval $ac_link) 2>&5
12562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12563 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12564 (.
/conftest
; exit; ) >&5 2>/dev
/null
12566 case x
$lt_status in
12567 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12568 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12569 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12572 # compilation failed
12573 lt_cv_dlopen_self_static
=no
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12581 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12584 CPPFLAGS
="$save_CPPFLAGS"
12585 LDFLAGS
="$save_LDFLAGS"
12590 case $lt_cv_dlopen_self in
12591 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12592 *) enable_dlopen_self
=unknown
;;
12595 case $lt_cv_dlopen_self_static in
12596 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12597 *) enable_dlopen_self_static
=unknown
;;
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12620 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12621 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12622 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12623 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12625 $as_echo "yes" >&6; }
12627 # FIXME - insert some real tests, host_os isn't really good enough
12630 if test -n "$STRIP" ; then
12631 striplib
="$STRIP -x"
12632 old_striplib
="$STRIP -S"
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12634 $as_echo "yes" >&6; }
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12637 $as_echo "no" >&6; }
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12642 $as_echo "no" >&6; }
12658 # Report which library types will actually be built
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12660 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12662 $as_echo "$can_build_shared" >&6; }
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12665 $as_echo_n "checking whether to build shared libraries... " >&6; }
12666 test "$can_build_shared" = "no" && enable_shared
=no
12668 # On AIX, shared libraries and static libraries use the same namespace, and
12669 # are all built from PIC.
12672 test "$enable_shared" = yes && enable_static
=no
12673 if test -n "$RANLIB"; then
12674 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12675 postinstall_cmds
='$RANLIB $lib'
12680 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12681 test "$enable_shared" = yes && enable_static
=no
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12686 $as_echo "$enable_shared" >&6; }
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12689 $as_echo_n "checking whether to build static libraries... " >&6; }
12690 # Make sure either enable_shared or enable_static is yes.
12691 test "$enable_shared" = yes || enable_static
=yes
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12693 $as_echo "$enable_static" >&6; }
12700 ac_cpp
='$CPP $CPPFLAGS'
12701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12707 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12708 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12709 (test "X$CXX" != "Xg++"))) ; then
12711 ac_cpp
='$CXXCPP $CPPFLAGS'
12712 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12713 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12714 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12716 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12717 if test -z "$CXXCPP"; then
12718 if ${ac_cv_prog_CXXCPP+:} false
; then :
12719 $as_echo_n "(cached) " >&6
12721 # Double quotes because CXXCPP needs to be expanded
12722 for CXXCPP
in "$CXX -E" "/lib/cpp"
12724 ac_preproc_ok
=false
12725 for ac_cxx_preproc_warn_flag
in '' yes
12727 # Use a header file that comes with gcc, so configuring glibc
12728 # with a fresh cross-compiler works.
12729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12730 # <limits.h> exists even on freestanding compilers.
12731 # On the NeXT, cc -E runs the code through the compiler's parser,
12732 # not just through cpp. "Syntax error" is here to catch this case.
12733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12736 # include <limits.h>
12738 # include <assert.h>
12742 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12745 # Broken: fails on valid input.
12748 rm -f conftest.err conftest.i conftest.
$ac_ext
12750 # OK, works on sane cases. Now check whether nonexistent headers
12751 # can be detected and how.
12752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12754 #include <ac_nonexistent.h>
12756 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12757 # Broken: success on invalid input.
12760 # Passes both tests.
12764 rm -f conftest.err conftest.i conftest.
$ac_ext
12767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12768 rm -f conftest.i conftest.err conftest.
$ac_ext
12769 if $ac_preproc_ok; then :
12774 ac_cv_prog_CXXCPP
=$CXXCPP
12777 CXXCPP
=$ac_cv_prog_CXXCPP
12779 ac_cv_prog_CXXCPP
=$CXXCPP
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12782 $as_echo "$CXXCPP" >&6; }
12783 ac_preproc_ok
=false
12784 for ac_cxx_preproc_warn_flag
in '' yes
12786 # Use a header file that comes with gcc, so configuring glibc
12787 # with a fresh cross-compiler works.
12788 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12789 # <limits.h> exists even on freestanding compilers.
12790 # On the NeXT, cc -E runs the code through the compiler's parser,
12791 # not just through cpp. "Syntax error" is here to catch this case.
12792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12793 /* end confdefs.h. */
12795 # include <limits.h>
12797 # include <assert.h>
12801 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12804 # Broken: fails on valid input.
12807 rm -f conftest.err conftest.i conftest.
$ac_ext
12809 # OK, works on sane cases. Now check whether nonexistent headers
12810 # can be detected and how.
12811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12813 #include <ac_nonexistent.h>
12815 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12816 # Broken: success on invalid input.
12819 # Passes both tests.
12823 rm -f conftest.err conftest.i conftest.
$ac_ext
12826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12827 rm -f conftest.i conftest.err conftest.
$ac_ext
12828 if $ac_preproc_ok; then :
12831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12833 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12834 See \`config.log' for more details" "$LINENO" 5; }
12838 ac_cpp
='$CPP $CPPFLAGS'
12839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12844 _lt_caught_CXX_error
=yes
12848 ac_cpp
='$CXXCPP $CPPFLAGS'
12849 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12850 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12851 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12853 archive_cmds_need_lc_CXX
=no
12854 allow_undefined_flag_CXX
=
12855 always_export_symbols_CXX
=no
12856 archive_expsym_cmds_CXX
=
12857 compiler_needs_object_CXX
=no
12858 export_dynamic_flag_spec_CXX
=
12859 hardcode_direct_CXX
=no
12860 hardcode_direct_absolute_CXX
=no
12861 hardcode_libdir_flag_spec_CXX
=
12862 hardcode_libdir_separator_CXX
=
12863 hardcode_minus_L_CXX
=no
12864 hardcode_shlibpath_var_CXX
=unsupported
12865 hardcode_automatic_CXX
=no
12866 inherit_rpath_CXX
=no
12868 module_expsym_cmds_CXX
=
12869 link_all_deplibs_CXX
=unknown
12870 old_archive_cmds_CXX
=$old_archive_cmds
12871 reload_flag_CXX
=$reload_flag
12872 reload_cmds_CXX
=$reload_cmds
12873 no_undefined_flag_CXX
=
12874 whole_archive_flag_spec_CXX
=
12875 enable_shared_with_static_runtimes_CXX
=no
12877 # Source file extension for C++ test sources.
12880 # Object file extension for compiled C++ test sources.
12884 # No sense in running all these tests if we already determined that
12885 # the CXX compiler isn't working. Some variables (like enable_shared)
12886 # are currently assumed to apply to all compilers on this platform,
12887 # and will be corrupted by setting them based on a non-working compiler.
12888 if test "$_lt_caught_CXX_error" != yes; then
12889 # Code to be used in simple compile tests
12890 lt_simple_compile_test_code
="int some_variable = 0;"
12892 # Code to be used in simple link tests
12893 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12895 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12902 # If no C compiler was specified, use CC.
12905 # If no C compiler flags were specified, use CFLAGS.
12906 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12908 # Allow CC to be a program name with arguments.
12912 # save warnings/boilerplate of simple test code
12913 ac_outfile
=conftest.
$ac_objext
12914 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12915 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12916 _lt_compiler_boilerplate
=`cat conftest.err`
12919 ac_outfile
=conftest.
$ac_objext
12920 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12921 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12922 _lt_linker_boilerplate
=`cat conftest.err`
12926 # Allow CC to be a program name with arguments.
12928 lt_save_CFLAGS
=$CFLAGS
12932 lt_save_with_gnu_ld
=$with_gnu_ld
12933 lt_save_path_LD
=$lt_cv_path_LD
12934 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12935 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12937 $as_unset lt_cv_prog_gnu_ld
12939 if test -n "${lt_cv_path_LDCXX+set}"; then
12940 lt_cv_path_LD
=$lt_cv_path_LDCXX
12942 $as_unset lt_cv_path_LD
12944 test -z "${LDCXX+set}" || LD
=$LDCXX
12949 for cc_temp
in $compiler""; do
12951 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12952 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12957 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12960 if test -n "$compiler"; then
12961 # We don't want -fno-exception when compiling C++ code, so set the
12962 # no_builtin_flag separately
12963 if test "$GXX" = yes; then
12964 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12966 lt_prog_compiler_no_builtin_flag_CXX
=
12969 if test "$GXX" = yes; then
12970 # Set up default GNU C++ configuration
12974 # Check whether --with-gnu-ld was given.
12975 if test "${with_gnu_ld+set}" = set; then :
12976 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12982 if test "$GCC" = yes; then
12983 # Check if gcc -print-prog-name=ld gives a path.
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12985 $as_echo_n "checking for ld used by $CC... " >&6; }
12988 # gcc leaves a trailing carriage return which upsets mingw
12989 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12991 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12994 # Accept absolute paths.
12996 re_direlt
='/[^/][^/]*/\.\./'
12997 # Canonicalize the pathname of ld
12998 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12999 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13000 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13002 test -z "$LD" && LD
="$ac_prog"
13005 # If it fails, then pretend we aren't using GCC.
13009 # If it is relative, then search for the first ld in PATH.
13010 with_gnu_ld
=unknown
13013 elif test "$with_gnu_ld" = yes; then
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13015 $as_echo_n "checking for GNU ld... " >&6; }
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13018 $as_echo_n "checking for non-GNU ld... " >&6; }
13020 if ${lt_cv_path_LD+:} false
; then :
13021 $as_echo_n "(cached) " >&6
13023 if test -z "$LD"; then
13024 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13025 for ac_dir
in $PATH; do
13027 test -z "$ac_dir" && ac_dir
=.
13028 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13029 lt_cv_path_LD
="$ac_dir/$ac_prog"
13030 # Check to see if the program is GNU ld. I'd rather use --version,
13031 # but apparently some variants of GNU ld only accept -v.
13032 # Break only if it was the GNU/non-GNU ld that we prefer.
13033 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13034 *GNU
* | *'with BFD'*)
13035 test "$with_gnu_ld" != no
&& break
13038 test "$with_gnu_ld" != yes && break
13045 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13049 LD
="$lt_cv_path_LD"
13050 if test -n "$LD"; then
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13052 $as_echo "$LD" >&6; }
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13055 $as_echo "no" >&6; }
13057 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13059 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13060 if ${lt_cv_prog_gnu_ld+:} false
; then :
13061 $as_echo_n "(cached) " >&6
13063 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13064 case `$LD -v 2>&1 </dev/null` in
13065 *GNU
* | *'with BFD'*)
13066 lt_cv_prog_gnu_ld
=yes
13069 lt_cv_prog_gnu_ld
=no
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13074 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13075 with_gnu_ld
=$lt_cv_prog_gnu_ld
13083 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13084 # archiving commands below assume that GNU ld is being used.
13085 if test "$with_gnu_ld" = yes; then
13086 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13087 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'
13089 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13090 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13092 # If archive_cmds runs LD, not CC, wlarc should be empty
13093 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13094 # investigate it a little bit more. (MM)
13097 # ancient GNU ld didn't support --whole-archive et. al.
13098 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13099 $GREP 'no-whole-archive' > /dev
/null
; then
13100 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13102 whole_archive_flag_spec_CXX
=
13108 # A generic and very simple default shared library creation
13109 # command for GNU C++ for the case where it uses the native
13110 # linker, instead of GNU ld. If possible, this setting should
13111 # overridden to take advantage of the native linker features on
13112 # the platform it is being used on.
13113 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13127 # PORTME: fill in a description of your system's C++ link characteristics
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13129 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13133 # FIXME: insert proper C++ library support
13137 if test "$host_cpu" = ia64
; then
13138 # On IA64, the linker does run time linking by default, so we don't
13139 # have to do anything special.
13140 aix_use_runtimelinking
=no
13141 exp_sym_flag
='-Bexport'
13144 aix_use_runtimelinking
=no
13146 # Test if we are trying to use run time linking or normal
13147 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13148 # need to do runtime linking.
13149 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13150 for ld_flag
in $LDFLAGS; do
13153 aix_use_runtimelinking
=yes
13161 exp_sym_flag
='-bexport'
13162 no_entry_flag
='-bnoentry'
13165 # When large executables or shared objects are built, AIX ld can
13166 # have problems creating the table of contents. If linking a library
13167 # or program results in "error TOC overflow" add -mminimal-toc to
13168 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13169 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13171 archive_cmds_CXX
=''
13172 hardcode_direct_CXX
=yes
13173 hardcode_direct_absolute_CXX
=yes
13174 hardcode_libdir_separator_CXX
=':'
13175 link_all_deplibs_CXX
=yes
13176 file_list_spec_CXX
='${wl}-f,'
13178 if test "$GXX" = yes; then
13179 case $host_os in aix4.
[012]|aix4.
[012].
*)
13180 # We only want to do this on AIX 4.2 and lower, the check
13181 # below for broken collect2 doesn't work under 4.3+
13182 collect2name
=`${CC} -print-prog-name=collect2`
13183 if test -f "$collect2name" &&
13184 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13186 # We have reworked collect2
13189 # We have old collect2
13190 hardcode_direct_CXX
=unsupported
13191 # It fails to find uninstalled libraries when the uninstalled
13192 # path is not listed in the libpath. Setting hardcode_minus_L
13193 # to unsupported forces relinking
13194 hardcode_minus_L_CXX
=yes
13195 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13196 hardcode_libdir_separator_CXX
=
13199 shared_flag
='-shared'
13200 if test "$aix_use_runtimelinking" = yes; then
13201 shared_flag
="$shared_flag "'${wl}-G'
13205 if test "$host_cpu" = ia64
; then
13206 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13207 # chokes on -Wl,-G. The following line is correct:
13210 if test "$aix_use_runtimelinking" = yes; then
13211 shared_flag
='${wl}-G'
13213 shared_flag
='${wl}-bM:SRE'
13218 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13219 # It seems that -bexpall does not export symbols beginning with
13220 # underscore (_), so it is better to generate a list of symbols to
13222 always_export_symbols_CXX
=yes
13223 if test "$aix_use_runtimelinking" = yes; then
13224 # Warning - without using the other runtime loading flags (-brtl),
13225 # -berok will link without error, but may produce a broken library.
13226 allow_undefined_flag_CXX
='-berok'
13227 # Determine the default libpath from the value encoded in an empty
13229 if test "${lt_cv_aix_libpath+set}" = set; then
13230 aix_libpath
=$lt_cv_aix_libpath
13232 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13233 $as_echo_n "(cached) " >&6
13235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13246 if ac_fn_cxx_try_link
"$LINENO"; then :
13248 lt_aix_libpath_sed
='
13249 /Import File Strings/,/^$/ {
13251 s/^0 *\([^ ]*\) *$/\1/
13255 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13256 # Check for a 64-bit object if we didn't find anything.
13257 if test -z "$lt_cv_aix_libpath__CXX"; then
13258 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13261 rm -f core conftest.err conftest.
$ac_objext \
13262 conftest
$ac_exeext conftest.
$ac_ext
13263 if test -z "$lt_cv_aix_libpath__CXX"; then
13264 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13269 aix_libpath
=$lt_cv_aix_libpath__CXX
13272 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13274 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"
13276 if test "$host_cpu" = ia64
; then
13277 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13278 allow_undefined_flag_CXX
="-z nodefs"
13279 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"
13281 # Determine the default libpath from the value encoded in an
13282 # empty executable.
13283 if test "${lt_cv_aix_libpath+set}" = set; then
13284 aix_libpath
=$lt_cv_aix_libpath
13286 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13287 $as_echo_n "(cached) " >&6
13289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13300 if ac_fn_cxx_try_link
"$LINENO"; then :
13302 lt_aix_libpath_sed
='
13303 /Import File Strings/,/^$/ {
13305 s/^0 *\([^ ]*\) *$/\1/
13309 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13310 # Check for a 64-bit object if we didn't find anything.
13311 if test -z "$lt_cv_aix_libpath__CXX"; then
13312 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13315 rm -f core conftest.err conftest.
$ac_objext \
13316 conftest
$ac_exeext conftest.
$ac_ext
13317 if test -z "$lt_cv_aix_libpath__CXX"; then
13318 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13323 aix_libpath
=$lt_cv_aix_libpath__CXX
13326 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13327 # Warning - without using the other run time loading flags,
13328 # -berok will link without error, but may produce a broken library.
13329 no_undefined_flag_CXX
=' ${wl}-bernotok'
13330 allow_undefined_flag_CXX
=' ${wl}-berok'
13331 if test "$with_gnu_ld" = yes; then
13332 # We only use this code for GNU lds that support --whole-archive.
13333 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13335 # Exported symbols can be pulled into shared objects from archives
13336 whole_archive_flag_spec_CXX
='$convenience'
13338 archive_cmds_need_lc_CXX
=yes
13339 # This is similar to how AIX traditionally builds its shared
13341 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'
13347 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13348 allow_undefined_flag_CXX
=unsupported
13349 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13350 # support --undefined. This deserves some investigation. FIXME
13351 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13358 case $cc_basename in
13360 # FIXME: insert proper C++ library support
13366 cygwin
* | mingw
* | pw32
* | cegcc
*)
13367 case $GXX,$cc_basename in
13370 # hardcode_libdir_flag_spec is actually meaningless, as there is
13371 # no search path for DLLs.
13372 hardcode_libdir_flag_spec_CXX
=' '
13373 allow_undefined_flag_CXX
=unsupported
13374 always_export_symbols_CXX
=yes
13375 file_list_spec_CXX
='@'
13376 # Tell ltmain to make .lib files, not .a files.
13378 # Tell ltmain to make .dll files, not .so files.
13380 # FIXME: Setting linknames here is a bad hack.
13381 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13382 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13383 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13385 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13387 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13389 # The linker will not automatically build a static lib if we build a DLL.
13390 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13391 enable_shared_with_static_runtimes_CXX
=yes
13393 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13394 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13395 lt_tool_outputfile="@TOOL_OUTPUT@"~
13396 case $lt_outputfile in
13399 lt_outputfile="$lt_outputfile.exe"
13400 lt_tool_outputfile="$lt_tool_outputfile.exe"
13403 func_to_tool_file "$lt_outputfile"~
13404 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13405 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13406 $RM "$lt_outputfile.manifest";
13411 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13412 # as there is no search path for DLLs.
13413 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13414 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13415 allow_undefined_flag_CXX
=unsupported
13416 always_export_symbols_CXX
=no
13417 enable_shared_with_static_runtimes_CXX
=yes
13419 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13420 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'
13421 # If the export-symbols file already is a .def file (1st line
13422 # is EXPORTS), use it as is; otherwise, prepend...
13423 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13424 cp $export_symbols $output_objdir/$soname.def;
13426 echo EXPORTS > $output_objdir/$soname.def;
13427 cat $export_symbols >> $output_objdir/$soname.def;
13429 $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'
13436 darwin
* | rhapsody
*)
13439 archive_cmds_need_lc_CXX
=no
13440 hardcode_direct_CXX
=no
13441 hardcode_automatic_CXX
=yes
13442 hardcode_shlibpath_var_CXX
=unsupported
13443 if test "$lt_cv_ld_force_load" = "yes"; then
13444 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\"`'
13447 whole_archive_flag_spec_CXX
=''
13449 link_all_deplibs_CXX
=yes
13450 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13451 case $cc_basename in
13452 ifort
*) _lt_dar_can_shared
=yes ;;
13453 *) _lt_dar_can_shared
=$GCC ;;
13455 if test "$_lt_dar_can_shared" = "yes"; then
13456 output_verbose_link_cmd
=func_echo_all
13457 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}"
13458 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13459 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}"
13460 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}"
13461 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13462 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}"
13463 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}"
13473 case $cc_basename in
13475 # FIXME: insert proper C++ library support
13479 # Green Hills C++ Compiler
13480 # FIXME: insert proper C++ library support
13484 # FIXME: insert proper C++ library support
13491 # C++ shared libraries reported to be fairly broken before
13497 archive_cmds_need_lc_CXX
=no
13500 freebsd
* | dragonfly
*)
13501 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13510 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13511 link_all_deplibs_CXX
=yes
13515 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13516 hardcode_libdir_separator_CXX
=:
13517 export_dynamic_flag_spec_CXX
='${wl}-E'
13518 hardcode_direct_CXX
=yes
13519 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13520 # but as the default
13521 # location of the library.
13523 case $cc_basename in
13525 # FIXME: insert proper C++ library support
13529 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'
13530 # Commands to make compiler produce verbose output that lists
13531 # what "hidden" libraries, object files and flags are used when
13532 # linking a shared library.
13534 # There doesn't appear to be a way to prevent this compiler from
13535 # explicitly linking system object files so we need to strip them
13536 # from the output so that they don't get included in the library
13538 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"'
13541 if test "$GXX" = yes; then
13542 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'
13544 # FIXME: insert proper C++ library support
13552 if test $with_gnu_ld = no
; then
13553 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13554 hardcode_libdir_separator_CXX
=:
13560 export_dynamic_flag_spec_CXX
='${wl}-E'
13566 hardcode_direct_CXX
=no
13567 hardcode_shlibpath_var_CXX
=no
13570 hardcode_direct_CXX
=yes
13571 hardcode_direct_absolute_CXX
=yes
13572 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13573 # but as the default
13574 # location of the library.
13578 case $cc_basename in
13580 # FIXME: insert proper C++ library support
13586 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13589 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13592 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13595 # Commands to make compiler produce verbose output that lists
13596 # what "hidden" libraries, object files and flags are used when
13597 # linking a shared library.
13599 # There doesn't appear to be a way to prevent this compiler from
13600 # explicitly linking system object files so we need to strip them
13601 # from the output so that they don't get included in the library
13603 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"'
13606 if test "$GXX" = yes; then
13607 if test $with_gnu_ld = no
; then
13610 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13613 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13616 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'
13621 # FIXME: insert proper C++ library support
13629 hardcode_direct_CXX
=no
13630 hardcode_shlibpath_var_CXX
=no
13631 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13632 export_dynamic_flag_spec_CXX
='${wl}-E'
13633 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13634 # Instead, shared libraries are loaded at an image base (0x10000000 by
13635 # default) and relocated if they conflict, which is a slow very memory
13636 # consuming and fragmenting process. To avoid this, we pick a random,
13637 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13638 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13639 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'
13640 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'
13643 case $cc_basename in
13646 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'
13648 # Archives containing C++ object files must be created using
13649 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13650 # necessary to make sure instantiated templates are included
13652 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13655 if test "$GXX" = yes; then
13656 if test "$with_gnu_ld" = no
; then
13657 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'
13659 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'
13662 link_all_deplibs_CXX
=yes
13665 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13666 hardcode_libdir_separator_CXX
=:
13667 inherit_rpath_CXX
=yes
13670 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13671 case $cc_basename in
13673 # Kuck and Associates, Inc. (KAI) C++ Compiler
13675 # KCC will only create a shared library if the output file
13676 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13677 # to its proper name (with version) after linking.
13678 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'
13679 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'
13680 # Commands to make compiler produce verbose output that lists
13681 # what "hidden" libraries, object files and flags are used when
13682 # linking a shared library.
13684 # There doesn't appear to be a way to prevent this compiler from
13685 # explicitly linking system object files so we need to strip them
13686 # from the output so that they don't get included in the library
13688 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"'
13690 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13691 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13693 # Archives containing C++ object files must be created using
13694 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13695 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13700 # version 8.0 and above of icpc choke on multiply defined symbols
13701 # if we add $predep_objects and $postdep_objects, however 7.1 and
13702 # earlier do not add the objects themselves.
13703 case `$CC -V 2>&1` in
13705 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13706 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'
13708 *) # Version 8.0 or newer
13711 ia64
*) tmp_idyn
=' -i_dynamic';;
13713 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13714 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'
13717 archive_cmds_need_lc_CXX
=no
13718 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13719 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13720 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13723 # Portland Group C++ compiler
13725 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13726 prelink_cmds_CXX
='tpldir=Template.dir~
13728 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13729 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13730 old_archive_cmds_CXX
='tpldir=Template.dir~
13732 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13733 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13735 archive_cmds_CXX
='tpldir=Template.dir~
13737 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13738 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13739 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13741 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13742 $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'
13744 *) # Version 6 and above use weak symbols
13745 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13746 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'
13750 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13751 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13752 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'
13756 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13757 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'
13759 runpath_var
=LD_RUN_PATH
13760 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13761 hardcode_libdir_separator_CXX
=:
13763 # Commands to make compiler produce verbose output that lists
13764 # what "hidden" libraries, object files and flags are used when
13765 # linking a shared library.
13767 # There doesn't appear to be a way to prevent this compiler from
13768 # explicitly linking system object files so we need to strip them
13769 # from the output so that they don't get included in the library
13771 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'
13773 xl
* | mpixl
* | bgxl
*)
13774 # IBM XL 8.0 on PPC, with GNU ld
13775 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13776 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13777 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13778 if test "x$supports_anon_versioning" = xyes
; then
13779 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13780 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13781 echo "local: *; };" >> $output_objdir/$libname.ver~
13782 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13786 case `$CC -V 2>&1 | sed 5q` in
13789 no_undefined_flag_CXX
=' -zdefs'
13790 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13791 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'
13792 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13793 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'
13794 compiler_needs_object_CXX
=yes
13796 # Not sure whether something based on
13797 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13799 output_verbose_link_cmd
='func_echo_all'
13801 # Archives containing C++ object files must be created using
13802 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13803 # necessary to make sure instantiated templates are included
13805 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13813 # FIXME: insert proper C++ library support
13818 # FIXME: insert proper C++ library support
13823 case $cc_basename in
13825 # FIXME: insert proper C++ library support
13829 # FIXME: insert proper C++ library support
13836 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13837 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13839 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13840 hardcode_direct_CXX
=yes
13841 hardcode_shlibpath_var_CXX
=no
13843 # Workaround some broken pre-1.5 toolchains
13844 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13852 # C++ shared libraries are fairly broken
13857 if test -f /usr
/libexec
/ld.so
; then
13858 hardcode_direct_CXX
=yes
13859 hardcode_shlibpath_var_CXX
=no
13860 hardcode_direct_absolute_CXX
=yes
13861 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13862 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13863 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13864 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13865 export_dynamic_flag_spec_CXX
='${wl}-E'
13866 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13868 output_verbose_link_cmd
=func_echo_all
13874 osf3
* | osf4
* | osf5
*)
13875 case $cc_basename in
13877 # Kuck and Associates, Inc. (KAI) C++ Compiler
13879 # KCC will only create a shared library if the output file
13880 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13881 # to its proper name (with version) after linking.
13882 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'
13884 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13885 hardcode_libdir_separator_CXX
=:
13887 # Archives containing C++ object files must be created using
13888 # the KAI C++ compiler.
13890 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13891 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13895 # Rational C++ 2.4.1
13896 # FIXME: insert proper C++ library support
13902 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13903 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'
13904 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13907 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13908 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'
13909 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13910 echo "-hidden">> $lib.exp~
13911 $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~
13913 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13917 hardcode_libdir_separator_CXX
=:
13919 # Commands to make compiler produce verbose output that lists
13920 # what "hidden" libraries, object files and flags are used when
13921 # linking a shared library.
13923 # There doesn't appear to be a way to prevent this compiler from
13924 # explicitly linking system object files so we need to strip them
13925 # from the output so that they don't get included in the library
13927 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"'
13930 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13931 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13934 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'
13937 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'
13941 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13942 hardcode_libdir_separator_CXX
=:
13944 # Commands to make compiler produce verbose output that lists
13945 # what "hidden" libraries, object files and flags are used when
13946 # linking a shared library.
13947 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13950 # FIXME: insert proper C++ library support
13958 # FIXME: insert proper C++ library support
13963 case $cc_basename in
13966 # FIXME: insert proper C++ library support
13971 # FIXME: insert proper C++ library support
13975 # FIXME: insert proper C++ library support
13982 case $cc_basename in
13984 # Sun C++ 4.2, 5.x and Centerline C++
13985 archive_cmds_need_lc_CXX
=yes
13986 no_undefined_flag_CXX
=' -zdefs'
13987 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13988 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13989 $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'
13991 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13992 hardcode_shlibpath_var_CXX
=no
13994 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13996 # The compiler driver will combine and reorder linker options,
13997 # but understands `-z linker_flag'.
13998 # Supported since Solaris 2.6 (maybe 2.5.1?)
13999 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14002 link_all_deplibs_CXX
=yes
14004 output_verbose_link_cmd
='func_echo_all'
14006 # Archives containing C++ object files must be created using
14007 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14008 # necessary to make sure instantiated templates are included
14010 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14013 # Green Hills C++ Compiler
14014 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14016 # The C++ compiler must be used to create the archive.
14017 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14020 # GNU C++ compiler with Solaris linker
14021 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14022 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14023 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14024 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14025 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14026 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14028 # Commands to make compiler produce verbose output that lists
14029 # what "hidden" libraries, object files and flags are used when
14030 # linking a shared library.
14031 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14033 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14035 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14036 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14037 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14039 # Commands to make compiler produce verbose output that lists
14040 # what "hidden" libraries, object files and flags are used when
14041 # linking a shared library.
14042 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14045 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14047 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14049 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14057 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14058 no_undefined_flag_CXX
='${wl}-z,text'
14059 archive_cmds_need_lc_CXX
=no
14060 hardcode_shlibpath_var_CXX
=no
14061 runpath_var
='LD_RUN_PATH'
14063 case $cc_basename in
14065 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14066 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14069 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14070 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14075 sysv5
* | sco3.2v5
* | sco5v6
*)
14076 # Note: We can NOT use -z defs as we might desire, because we do not
14077 # link with -lc, and that would cause any symbols used from libc to
14078 # always be unresolved, which means just about no library would
14079 # ever link correctly. If we're not using GNU ld we use -z text
14080 # though, which does catch some bad symbols but isn't as heavy-handed
14082 no_undefined_flag_CXX
='${wl}-z,text'
14083 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14084 archive_cmds_need_lc_CXX
=no
14085 hardcode_shlibpath_var_CXX
=no
14086 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14087 hardcode_libdir_separator_CXX
=':'
14088 link_all_deplibs_CXX
=yes
14089 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14090 runpath_var
='LD_RUN_PATH'
14092 case $cc_basename in
14094 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14095 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14096 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14097 '"$old_archive_cmds_CXX"
14098 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14099 '"$reload_cmds_CXX"
14102 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14103 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14109 case $cc_basename in
14111 # NonStop-UX NCC 3.20
14112 # FIXME: insert proper C++ library support
14116 # FIXME: insert proper C++ library support
14123 # FIXME: insert proper C++ library support
14128 # FIXME: insert proper C++ library support
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14134 $as_echo "$ld_shlibs_CXX" >&6; }
14135 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14141 ## There is no encapsulation within the following macros, do not change
14142 ## the running order or otherwise move them around unless you know exactly
14143 ## what you are doing...
14144 # Dependencies to place before and after the object being linked:
14145 predep_objects_CXX
=
14146 postdep_objects_CXX
=
14149 compiler_lib_search_path_CXX
=
14151 cat > conftest.
$ac_ext <<_LT_EOF
14155 Foo (void) { a = 0; }
14162 _lt_libdeps_save_CFLAGS
=$CFLAGS
14163 case "$CC $CFLAGS " in #(
14164 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14165 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14166 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14170 (eval $ac_compile) 2>&5
14172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14173 test $ac_status = 0; }; then
14174 # Parse the compiler output and extract the necessary
14175 # objects, libraries and library flags.
14177 # Sentinel used to keep track of whether or not we are before
14178 # the conftest object file.
14179 pre_test_object_deps_done
=no
14181 for p
in `eval "$output_verbose_link_cmd"`; do
14182 case ${prev}${p} in
14185 # Some compilers place space between "-{L,R}" and the path.
14186 # Remove the space.
14187 if test $p = "-L" ||
14188 test $p = "-R"; then
14193 # Expand the sysroot to ease extracting the directories later.
14194 if test -z "$prev"; then
14196 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14197 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14198 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14202 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14204 if test "$pre_test_object_deps_done" = no
; then
14207 # Internal compiler library paths should come after those
14208 # provided the user. The postdeps already come after the
14209 # user supplied libs so there is no need to process them.
14210 if test -z "$compiler_lib_search_path_CXX"; then
14211 compiler_lib_search_path_CXX
="${prev}${p}"
14213 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14216 # The "-l" case would never come before the object being
14217 # linked, so don't bother handling this case.
14220 if test -z "$postdeps_CXX"; then
14221 postdeps_CXX
="${prev}${p}"
14223 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14229 *.lto.
$objext) ;; # Ignore GCC LTO objects
14231 # This assumes that the test object file only shows up
14232 # once in the compiler output.
14233 if test "$p" = "conftest.$objext"; then
14234 pre_test_object_deps_done
=yes
14238 if test "$pre_test_object_deps_done" = no
; then
14239 if test -z "$predep_objects_CXX"; then
14240 predep_objects_CXX
="$p"
14242 predep_objects_CXX
="$predep_objects_CXX $p"
14245 if test -z "$postdep_objects_CXX"; then
14246 postdep_objects_CXX
="$p"
14248 postdep_objects_CXX
="$postdep_objects_CXX $p"
14253 *) ;; # Ignore the rest.
14261 echo "libtool.m4: error: problem compiling CXX test program"
14264 $RM -f confest.
$objext
14265 CFLAGS
=$_lt_libdeps_save_CFLAGS
14267 # PORTME: override above test on systems where it is broken
14270 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14271 # hack all around it, let's just trust "g++" to DTRT.
14272 predep_objects_CXX
=
14273 postdep_objects_CXX
=
14278 case `$CC -V 2>&1 | sed 5q` in
14282 # The more standards-conforming stlport4 library is
14283 # incompatible with the Cstd library. Avoid specifying
14284 # it if it's in CXXFLAGS. Ignore libCrun as
14285 # -library=stlport4 depends on it.
14286 case " $CXX $CXXFLAGS " in
14287 *" -library=stlport4 "*)
14288 solaris_use_stlport4
=yes
14292 if test "$solaris_use_stlport4" != yes; then
14293 postdeps_CXX
='-library=Cstd -library=Crun'
14300 case $cc_basename in
14302 # The more standards-conforming stlport4 library is
14303 # incompatible with the Cstd library. Avoid specifying
14304 # it if it's in CXXFLAGS. Ignore libCrun as
14305 # -library=stlport4 depends on it.
14306 case " $CXX $CXXFLAGS " in
14307 *" -library=stlport4 "*)
14308 solaris_use_stlport4
=yes
14312 # Adding this requires a known-good setup of shared libraries for
14313 # Sun compiler versions before 5.6, else PIC objects from an old
14314 # archive will be linked into the output, leading to subtle bugs.
14315 if test "$solaris_use_stlport4" != yes; then
14316 postdeps_CXX
='-library=Cstd -library=Crun'
14324 case " $postdeps_CXX " in
14325 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14327 compiler_lib_search_dirs_CXX
=
14328 if test -n "${compiler_lib_search_path_CXX}"; then
14329 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14362 lt_prog_compiler_wl_CXX
=
14363 lt_prog_compiler_pic_CXX
=
14364 lt_prog_compiler_static_CXX
=
14367 # C++ specific cases for pic, static, wl, etc.
14368 if test "$GXX" = yes; then
14369 lt_prog_compiler_wl_CXX
='-Wl,'
14370 lt_prog_compiler_static_CXX
='-static'
14374 # All AIX code is PIC.
14375 if test "$host_cpu" = ia64
; then
14376 # AIX 5 now supports IA64 processor
14377 lt_prog_compiler_static_CXX
='-Bstatic'
14384 # see comment about AmigaOS4 .so support
14385 lt_prog_compiler_pic_CXX
='-fPIC'
14388 # FIXME: we need at least 68020 code to build shared libraries, but
14389 # adding the `-m68020' flag to GCC prevents building anything better,
14391 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14396 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14397 # PIC is the default for these OSes.
14399 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14400 # This hack is so that the source file can tell whether it is being
14401 # built for inclusion in a dll (and should export symbols for example).
14402 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14403 # (--disable-auto-import) libraries
14404 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14406 darwin
* | rhapsody
*)
14407 # PIC is the default on this platform
14408 # Common symbols not allowed in MH_DYLIB files
14409 lt_prog_compiler_pic_CXX
='-fno-common'
14412 # DJGPP does not support shared libraries at all
14413 lt_prog_compiler_pic_CXX
=
14416 # PIC is the default for Haiku.
14417 # The "-static" flag exists, but is broken.
14418 lt_prog_compiler_static_CXX
=
14421 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14422 # Instead, we relocate shared libraries at runtime.
14425 if test -d /usr
/nec
; then
14426 lt_prog_compiler_pic_CXX
=-Kconform_pic
14430 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14431 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14432 # sets the default TLS model and affects inlining.
14437 lt_prog_compiler_pic_CXX
='-fPIC'
14442 # QNX uses GNU C++, but need to define -shared option too, otherwise
14443 # it will coredump.
14444 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14447 lt_prog_compiler_pic_CXX
='-fPIC'
14453 # All AIX code is PIC.
14454 if test "$host_cpu" = ia64
; then
14455 # AIX 5 now supports IA64 processor
14456 lt_prog_compiler_static_CXX
='-Bstatic'
14458 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14462 case $cc_basename in
14464 # Green Hills C++ Compiler
14465 # _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"
14469 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14470 # This hack is so that the source file can tell whether it is being
14471 # built for inclusion in a dll (and should export symbols for example).
14472 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14475 case $cc_basename in
14477 lt_prog_compiler_pic_CXX
='-KPIC'
14480 # Green Hills C++ Compiler
14481 lt_prog_compiler_pic_CXX
='-pic'
14487 freebsd
* | dragonfly
*)
14488 # FreeBSD uses GNU C++
14490 hpux9
* | hpux10
* | hpux11
*)
14491 case $cc_basename in
14493 lt_prog_compiler_wl_CXX
='-Wl,'
14494 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14495 if test "$host_cpu" != ia64
; then
14496 lt_prog_compiler_pic_CXX
='+Z'
14500 lt_prog_compiler_wl_CXX
='-Wl,'
14501 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14507 lt_prog_compiler_pic_CXX
='+Z'
14516 # This is c89, which is MS Visual C++ (no shared libs)
14517 # Anyone wants to do a port?
14519 irix5
* | irix6
* | nonstopux
*)
14520 case $cc_basename in
14522 lt_prog_compiler_wl_CXX
='-Wl,'
14523 lt_prog_compiler_static_CXX
='-non_shared'
14524 # CC pic flag -KPIC is the default.
14530 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14531 case $cc_basename in
14534 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14535 lt_prog_compiler_pic_CXX
='-fPIC'
14538 # old Intel C++ for x86_64 which still supported -KPIC.
14539 lt_prog_compiler_wl_CXX
='-Wl,'
14540 lt_prog_compiler_pic_CXX
='-KPIC'
14541 lt_prog_compiler_static_CXX
='-static'
14544 # Intel C++, used to be incompatible with GCC.
14545 # ICC 10 doesn't accept -KPIC any more.
14546 lt_prog_compiler_wl_CXX
='-Wl,'
14547 lt_prog_compiler_pic_CXX
='-fPIC'
14548 lt_prog_compiler_static_CXX
='-static'
14551 # Portland Group C++ compiler
14552 lt_prog_compiler_wl_CXX
='-Wl,'
14553 lt_prog_compiler_pic_CXX
='-fpic'
14554 lt_prog_compiler_static_CXX
='-Bstatic'
14558 # Make sure the PIC flag is empty. It appears that all Alpha
14559 # Linux and Compaq Tru64 Unix objects are PIC.
14560 lt_prog_compiler_pic_CXX
=
14561 lt_prog_compiler_static_CXX
='-non_shared'
14563 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14564 # IBM XL 8.0, 9.0 on PPC and BlueGene
14565 lt_prog_compiler_wl_CXX
='-Wl,'
14566 lt_prog_compiler_pic_CXX
='-qpic'
14567 lt_prog_compiler_static_CXX
='-qstaticlink'
14570 case `$CC -V 2>&1 | sed 5q` in
14573 lt_prog_compiler_pic_CXX
='-KPIC'
14574 lt_prog_compiler_static_CXX
='-Bstatic'
14575 lt_prog_compiler_wl_CXX
='-Qoption ld '
14586 case $cc_basename in
14588 lt_prog_compiler_pic_CXX
='-W c,exportall'
14597 # QNX uses GNU C++, but need to define -shared option too, otherwise
14598 # it will coredump.
14599 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14601 osf3
* | osf4
* | osf5
*)
14602 case $cc_basename in
14604 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14607 # Rational C++ 2.4.1
14608 lt_prog_compiler_pic_CXX
='-pic'
14611 # Digital/Compaq C++
14612 lt_prog_compiler_wl_CXX
='-Wl,'
14613 # Make sure the PIC flag is empty. It appears that all Alpha
14614 # Linux and Compaq Tru64 Unix objects are PIC.
14615 lt_prog_compiler_pic_CXX
=
14616 lt_prog_compiler_static_CXX
='-non_shared'
14625 case $cc_basename in
14627 # Sun C++ 4.2, 5.x and Centerline C++
14628 lt_prog_compiler_pic_CXX
='-KPIC'
14629 lt_prog_compiler_static_CXX
='-Bstatic'
14630 lt_prog_compiler_wl_CXX
='-Qoption ld '
14633 # Green Hills C++ Compiler
14634 lt_prog_compiler_pic_CXX
='-PIC'
14641 case $cc_basename in
14644 lt_prog_compiler_pic_CXX
='-pic'
14645 lt_prog_compiler_static_CXX
='-Bstatic'
14649 lt_prog_compiler_pic_CXX
='-pic'
14655 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14656 case $cc_basename in
14658 lt_prog_compiler_wl_CXX
='-Wl,'
14659 lt_prog_compiler_pic_CXX
='-KPIC'
14660 lt_prog_compiler_static_CXX
='-Bstatic'
14665 case $cc_basename in
14667 # NonStop-UX NCC 3.20
14668 lt_prog_compiler_pic_CXX
='-KPIC'
14677 lt_prog_compiler_can_build_shared_CXX
=no
14683 # For platforms which do not support PIC, -DPIC is meaningless:
14685 lt_prog_compiler_pic_CXX
=
14688 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14693 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14694 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14695 $as_echo_n "(cached) " >&6
14697 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14700 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14701 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14704 # Check to make sure the PIC flag actually works.
14706 if test -n "$lt_prog_compiler_pic_CXX"; then
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14708 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14709 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14710 $as_echo_n "(cached) " >&6
14712 lt_cv_prog_compiler_pic_works_CXX
=no
14713 ac_outfile
=conftest.
$ac_objext
14714 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14715 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14716 # Insert the option either (1) after the last *FLAGS variable, or
14717 # (2) before a word containing "conftest.", or (3) at the end.
14718 # Note that $ac_compile itself does not contain backslashes and begins
14719 # with a dollar sign (not a hyphen), so the echo should work correctly.
14720 # The option is referenced via a variable to avoid confusing sed.
14721 lt_compile
=`echo "$ac_compile" | $SED \
14722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14724 -e 's:$: $lt_compiler_flag:'`
14725 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14726 (eval "$lt_compile" 2>conftest.err
)
14728 cat conftest.err
>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 if (exit $ac_status) && test -s "$ac_outfile"; then
14731 # The compiler can only warn and ignore the option if not recognized
14732 # So say no if there are warnings other than the usual output.
14733 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14734 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14735 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14736 lt_cv_prog_compiler_pic_works_CXX
=yes
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14743 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14745 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14746 case $lt_prog_compiler_pic_CXX in
14748 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14751 lt_prog_compiler_pic_CXX
=
14752 lt_prog_compiler_can_build_shared_CXX
=no
14762 # Check to make sure the static flag actually works.
14764 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14766 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14767 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14768 $as_echo_n "(cached) " >&6
14770 lt_cv_prog_compiler_static_works_CXX
=no
14771 save_LDFLAGS
="$LDFLAGS"
14772 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14773 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14774 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14775 # The linker can only warn and ignore the option if not recognized
14776 # So say no if there are warnings
14777 if test -s conftest.err
; then
14778 # Append any errors to the config.log.
14779 cat conftest.err
1>&5
14780 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14781 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14782 if diff conftest.exp conftest.er2
>/dev
/null
; then
14783 lt_cv_prog_compiler_static_works_CXX
=yes
14786 lt_cv_prog_compiler_static_works_CXX
=yes
14790 LDFLAGS
="$save_LDFLAGS"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14794 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14796 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14799 lt_prog_compiler_static_CXX
=
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14806 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14807 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14808 $as_echo_n "(cached) " >&6
14810 lt_cv_prog_compiler_c_o_CXX
=no
14811 $RM -r conftest
2>/dev
/null
14815 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14817 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14818 # Insert the option either (1) after the last *FLAGS variable, or
14819 # (2) before a word containing "conftest.", or (3) at the end.
14820 # Note that $ac_compile itself does not contain backslashes and begins
14821 # with a dollar sign (not a hyphen), so the echo should work correctly.
14822 lt_compile
=`echo "$ac_compile" | $SED \
14823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14825 -e 's:$: $lt_compiler_flag:'`
14826 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14827 (eval "$lt_compile" 2>out
/conftest.err
)
14829 cat out
/conftest.err
>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14833 # The compiler can only warn and ignore the option if not recognized
14834 # So say no if there are warnings
14835 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14836 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14837 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14838 lt_cv_prog_compiler_c_o_CXX
=yes
14843 # SGI C++ compiler will create directory out/ii_files/ for
14844 # template instantiation
14845 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14846 $RM out
/* && rmdir out
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14853 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14858 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14859 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14860 $as_echo_n "(cached) " >&6
14862 lt_cv_prog_compiler_c_o_CXX
=no
14863 $RM -r conftest
2>/dev
/null
14867 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14869 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14870 # Insert the option either (1) after the last *FLAGS variable, or
14871 # (2) before a word containing "conftest.", or (3) at the end.
14872 # Note that $ac_compile itself does not contain backslashes and begins
14873 # with a dollar sign (not a hyphen), so the echo should work correctly.
14874 lt_compile
=`echo "$ac_compile" | $SED \
14875 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14876 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14877 -e 's:$: $lt_compiler_flag:'`
14878 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14879 (eval "$lt_compile" 2>out
/conftest.err
)
14881 cat out
/conftest.err
>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14885 # The compiler can only warn and ignore the option if not recognized
14886 # So say no if there are warnings
14887 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14888 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14889 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14890 lt_cv_prog_compiler_c_o_CXX
=yes
14895 # SGI C++ compiler will create directory out/ii_files/ for
14896 # template instantiation
14897 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14898 $RM out
/* && rmdir out
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14905 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14910 hard_links
="nottested"
14911 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14912 # do not overwrite the value of need_locks provided by the user
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14914 $as_echo_n "checking if we can lock with hard links... " >&6; }
14917 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14919 ln conftest.a conftest.b
2>&5 || hard_links
=no
14920 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14922 $as_echo "$hard_links" >&6; }
14923 if test "$hard_links" = no
; then
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14925 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14935 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14937 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14938 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14941 # If we're using GNU nm, then we don't want the "-C" option.
14942 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14943 # Also, AIX nm treats weak defined symbols like other global defined
14944 # symbols, whereas GNU nm marks them as "W".
14945 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14946 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'
14948 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'
14952 export_symbols_cmds_CXX
="$ltdll_cmds"
14954 cygwin
* | mingw
* | cegcc
*)
14955 case $cc_basename in
14957 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14960 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'
14961 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14966 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14971 $as_echo "$ld_shlibs_CXX" >&6; }
14972 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14974 with_gnu_ld_CXX
=$with_gnu_ld
14982 # Do we need to explicitly link libc?
14984 case "x$archive_cmds_need_lc_CXX" in
14986 # Assume -lc should be added
14987 archive_cmds_need_lc_CXX
=yes
14989 if test "$enable_shared" = yes && test "$GCC" = yes; then
14990 case $archive_cmds_CXX in
14992 # FIXME: we may have to deal with multi-command sequences.
14995 # Test whether the compiler implicitly links with -lc since on some
14996 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14997 # to ld, don't add -lc before -lgcc.
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14999 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15000 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15001 $as_echo_n "(cached) " >&6
15004 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15007 (eval $ac_compile) 2>&5
15009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15010 test $ac_status = 0; } 2>conftest.err
; then
15013 libobjs
=conftest.
$ac_objext
15015 wl
=$lt_prog_compiler_wl_CXX
15016 pic_flag
=$lt_prog_compiler_pic_CXX
15022 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15023 allow_undefined_flag_CXX
=
15024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15025 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15028 test $ac_status = 0; }
15030 lt_cv_archive_cmds_need_lc_CXX
=no
15032 lt_cv_archive_cmds_need_lc_CXX
=yes
15034 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15036 cat conftest.err
1>&5
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15042 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15043 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15112 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15114 library_names_spec
=
15115 libname_spec
='lib$name'
15119 postuninstall_cmds
=
15123 shlibpath_overrides_runpath
=unknown
15125 dynamic_linker
="$host_os ld.so"
15126 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15127 need_lib_prefix
=unknown
15128 hardcode_into_libs
=no
15130 # when you set need_version to no, make sure it does not cause -set_version
15131 # flags to be left without arguments
15132 need_version
=unknown
15136 version_type
=linux
# correct to gnu/linux during the next big refactor
15137 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15138 shlibpath_var
=LIBPATH
15140 # AIX 3 has no versioning support, so we append a major version to the name.
15141 soname_spec
='${libname}${release}${shared_ext}$major'
15145 version_type
=linux
# correct to gnu/linux during the next big refactor
15148 hardcode_into_libs
=yes
15149 if test "$host_cpu" = ia64
; then
15150 # AIX 5 supports IA64
15151 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15152 shlibpath_var
=LD_LIBRARY_PATH
15154 # With GCC up to 2.95.x, collect2 would create an import file
15155 # for dependence libraries. The import file would start with
15156 # the line `#! .'. This would cause the generated library to
15157 # depend on `.', always an invalid library. This was fixed in
15158 # development snapshots of GCC prior to 3.0.
15160 aix4
| aix4.
[01] | aix4.
[01].
*)
15161 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15163 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15166 can_build_shared
=no
15170 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15171 # soname into executable. Probably we can add versioning support to
15172 # collect2, so additional links can be useful in future.
15173 if test "$aix_use_runtimelinking" = yes; then
15174 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15175 # instead of lib<name>.a to let people know that these are not
15176 # typical AIX shared libraries.
15177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15179 # We preserve .a as extension for shared libraries through AIX4.2
15180 # and later when we are not doing run time linking.
15181 library_names_spec
='${libname}${release}.a $libname.a'
15182 soname_spec
='${libname}${release}${shared_ext}$major'
15184 shlibpath_var
=LIBPATH
15191 # Since July 2007 AmigaOS4 officially supports .so libraries.
15192 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15196 library_names_spec
='$libname.ixlibrary $libname.a'
15197 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15198 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'
15204 library_names_spec
='${libname}${shared_ext}'
15205 dynamic_linker
="$host_os ld.so"
15206 shlibpath_var
=LIBRARY_PATH
15210 version_type
=linux
# correct to gnu/linux during the next big refactor
15212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15213 soname_spec
='${libname}${release}${shared_ext}$major'
15214 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15215 shlibpath_var
=LD_LIBRARY_PATH
15216 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15217 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15218 # the default ld.so.conf also contains /usr/contrib/lib and
15219 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15220 # libtool to hard-code these into programs
15223 cygwin
* | mingw
* | pw32
* | cegcc
*)
15224 version_type
=windows
15229 case $GCC,$cc_basename in
15232 library_names_spec
='$libname.dll.a'
15233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15234 postinstall_cmds
='base_file=`basename \${file}`~
15235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15236 dldir=$destdir/`dirname \$dlpath`~
15237 test -d \$dldir || mkdir -p \$dldir~
15238 $install_prog $dir/$dlname \$dldir/$dlname~
15239 chmod a+x \$dldir/$dlname~
15240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15243 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15244 dlpath=$dir/\$dldll~
15246 shlibpath_overrides_runpath
=yes
15250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15251 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15255 # MinGW DLLs use traditional 'lib' prefix
15256 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15259 # pw32 DLLs use 'pw' prefix rather than 'lib'
15260 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15263 dynamic_linker
='Win32 ld.exe'
15268 libname_spec
='$name'
15269 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15270 library_names_spec
='${libname}.dll.lib'
15274 sys_lib_search_path_spec
=
15277 for lt_path
in $LIB
15280 # Let DOS variable expansion print the short 8.3 style file name.
15281 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15282 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15285 # Convert to MSYS style.
15286 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15289 # Convert to unix form, then to dos form, then back to unix form
15290 # but this time dos style (no spaces!) so that the unix form looks
15291 # like /cygdrive/c/PROGRA~1:/cygdr...
15292 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15293 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15294 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15297 sys_lib_search_path_spec
="$LIB"
15298 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15299 # It is most probably a Windows format PATH.
15300 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15302 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15304 # FIXME: find the short name or the path components, as spaces are
15305 # common. (e.g. "Program Files" -> "PROGRA~1")
15309 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15310 postinstall_cmds
='base_file=`basename \${file}`~
15311 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15312 dldir=$destdir/`dirname \$dlpath`~
15313 test -d \$dldir || mkdir -p \$dldir~
15314 $install_prog $dir/$dlname \$dldir/$dlname'
15315 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15316 dlpath=$dir/\$dldll~
15318 shlibpath_overrides_runpath
=yes
15319 dynamic_linker
='Win32 link.exe'
15323 # Assume MSVC wrapper
15324 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15325 dynamic_linker
='Win32 ld.exe'
15328 # FIXME: first we should search . and the directory the executable is in
15332 darwin
* | rhapsody
*)
15333 dynamic_linker
="$host_os dyld"
15334 version_type
=darwin
15337 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15338 soname_spec
='${libname}${release}${major}$shared_ext'
15339 shlibpath_overrides_runpath
=yes
15340 shlibpath_var
=DYLD_LIBRARY_PATH
15341 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15343 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15347 version_type
=linux
# correct to gnu/linux during the next big refactor
15350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15351 soname_spec
='${libname}${release}${shared_ext}$major'
15352 shlibpath_var
=LD_LIBRARY_PATH
15355 freebsd
* | dragonfly
*)
15356 # DragonFly does not have aout. When/if they implement a new
15357 # versioning mechanism, adjust this.
15358 if test -x /usr
/bin
/objformat
; then
15359 objformat
=`/usr/bin/objformat`
15362 freebsd
[23].
*) objformat
=aout
;;
15363 *) objformat
=elf
;;
15366 version_type
=freebsd
-$objformat
15367 case $version_type in
15369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15374 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15378 shlibpath_var
=LD_LIBRARY_PATH
15381 shlibpath_overrides_runpath
=yes
15383 freebsd3.
[01]* | freebsdelf3.
[01]*)
15384 shlibpath_overrides_runpath
=yes
15385 hardcode_into_libs
=yes
15387 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15388 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15389 shlibpath_overrides_runpath
=no
15390 hardcode_into_libs
=yes
15392 *) # from 4.6 on, and DragonFly
15393 shlibpath_overrides_runpath
=yes
15394 hardcode_into_libs
=yes
15400 version_type
=linux
# correct to gnu/linux during the next big refactor
15403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15404 soname_spec
='${libname}${release}${shared_ext}$major'
15405 shlibpath_var
=LD_LIBRARY_PATH
15406 shlibpath_overrides_runpath
=no
15407 hardcode_into_libs
=yes
15411 version_type
=linux
# correct to gnu/linux during the next big refactor
15414 dynamic_linker
="$host_os runtime_loader"
15415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15416 soname_spec
='${libname}${release}${shared_ext}$major'
15417 shlibpath_var
=LIBRARY_PATH
15418 shlibpath_overrides_runpath
=yes
15419 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15420 hardcode_into_libs
=yes
15423 hpux9
* | hpux10
* | hpux11
*)
15424 # Give a soname corresponding to the major version so that dld.sl refuses to
15425 # link against other versions.
15432 hardcode_into_libs
=yes
15433 dynamic_linker
="$host_os dld.so"
15434 shlibpath_var
=LD_LIBRARY_PATH
15435 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15437 soname_spec
='${libname}${release}${shared_ext}$major'
15438 if test "X$HPUX_IA64_MODE" = X32
; then
15439 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15441 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15443 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15447 hardcode_into_libs
=yes
15448 dynamic_linker
="$host_os dld.sl"
15449 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15450 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15452 soname_spec
='${libname}${release}${shared_ext}$major'
15453 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15454 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15458 dynamic_linker
="$host_os dld.sl"
15459 shlibpath_var
=SHLIB_PATH
15460 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15462 soname_spec
='${libname}${release}${shared_ext}$major'
15465 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15466 postinstall_cmds
='chmod 555 $lib'
15467 # or fails outright, so override atomically:
15468 install_override_mode
=555
15472 version_type
=linux
# correct to gnu/linux during the next big refactor
15475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15476 soname_spec
='${libname}${release}${shared_ext}$major'
15477 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15478 shlibpath_var
=LD_LIBRARY_PATH
15479 shlibpath_overrides_runpath
=no
15480 hardcode_into_libs
=yes
15483 irix5
* | irix6
* | nonstopux
*)
15485 nonstopux
*) version_type
=nonstopux
;;
15487 if test "$lt_cv_prog_gnu_ld" = yes; then
15488 version_type
=linux
# correct to gnu/linux during the next big refactor
15495 soname_spec
='${libname}${release}${shared_ext}$major'
15496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15498 irix5
* | nonstopux
*)
15499 libsuff
= shlibsuff
=
15502 case $LD in # libtool.m4 will add one of these switches to LD
15503 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15504 libsuff
= shlibsuff
= libmagic
=32-bit;;
15505 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15506 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15507 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15508 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15509 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15513 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15514 shlibpath_overrides_runpath
=no
15515 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15516 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15517 hardcode_into_libs
=yes
15520 # No shared lib support for Linux oldld, aout, or coff.
15521 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15525 # This must be glibc/ELF.
15526 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15527 version_type
=linux
# correct to gnu/linux during the next big refactor
15530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15531 soname_spec
='${libname}${release}${shared_ext}$major'
15532 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15533 shlibpath_var
=LD_LIBRARY_PATH
15534 shlibpath_overrides_runpath
=no
15536 # Some binutils ld are patched to set DT_RUNPATH
15537 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15538 $as_echo_n "(cached) " >&6
15540 lt_cv_shlibpath_overrides_runpath
=no
15541 save_LDFLAGS
=$LDFLAGS
15542 save_libdir
=$libdir
15543 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15544 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h. */
15556 if ac_fn_cxx_try_link
"$LINENO"; then :
15557 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15558 lt_cv_shlibpath_overrides_runpath
=yes
15561 rm -f core conftest.err conftest.
$ac_objext \
15562 conftest
$ac_exeext conftest.
$ac_ext
15563 LDFLAGS
=$save_LDFLAGS
15564 libdir
=$save_libdir
15568 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15570 # This implies no fast_install, which is unacceptable.
15571 # Some rework will be needed to allow for fast_install
15572 # before this can be enabled.
15573 hardcode_into_libs
=yes
15575 # Append ld.so.conf contents to the search path
15576 if test -f /etc
/ld.so.conf
; then
15577 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' ' '`
15578 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15581 # We used to test for /lib/ld.so.1 and disable shared libraries on
15582 # powerpc, because MkLinux only supported shared libraries with the
15583 # GNU dynamic linker. Since this was broken with cross compilers,
15584 # most powerpc-linux boxes support dynamic linking these days and
15585 # people can always --disable-shared, the test was removed, and we
15586 # assume the GNU/Linux dynamic linker is in use.
15587 dynamic_linker
='GNU/Linux ld.so'
15594 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15597 dynamic_linker
='NetBSD (a.out) ld.so'
15599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15600 soname_spec
='${libname}${release}${shared_ext}$major'
15601 dynamic_linker
='NetBSD ld.elf_so'
15603 shlibpath_var
=LD_LIBRARY_PATH
15604 shlibpath_overrides_runpath
=yes
15605 hardcode_into_libs
=yes
15609 version_type
=linux
# correct to gnu/linux during the next big refactor
15610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15611 shlibpath_var
=LD_LIBRARY_PATH
15612 shlibpath_overrides_runpath
=yes
15619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15620 soname_spec
='${libname}${release}${shared_ext}$major'
15621 shlibpath_var
=LD_LIBRARY_PATH
15622 shlibpath_overrides_runpath
=no
15623 hardcode_into_libs
=yes
15624 dynamic_linker
='ldqnx.so'
15629 sys_lib_dlsearch_path_spec
="/usr/lib"
15631 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15633 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15634 *) need_version
=no
;;
15636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15637 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15638 shlibpath_var
=LD_LIBRARY_PATH
15639 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15641 openbsd2.
[89] | openbsd2.
[89].
*)
15642 shlibpath_overrides_runpath
=no
15645 shlibpath_overrides_runpath
=yes
15649 shlibpath_overrides_runpath
=yes
15654 libname_spec
='$name'
15657 library_names_spec
='$libname${shared_ext} $libname.a'
15658 dynamic_linker
='OS/2 ld.exe'
15659 shlibpath_var
=LIBPATH
15662 osf3
* | osf4
* | osf5
*)
15666 soname_spec
='${libname}${release}${shared_ext}$major'
15667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15668 shlibpath_var
=LD_LIBRARY_PATH
15669 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15670 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15678 version_type
=linux
# correct to gnu/linux during the next big refactor
15681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15682 soname_spec
='${libname}${release}${shared_ext}$major'
15683 shlibpath_var
=LD_LIBRARY_PATH
15684 shlibpath_overrides_runpath
=yes
15685 hardcode_into_libs
=yes
15686 # ldd complains unless libraries are executable
15687 postinstall_cmds
='chmod +x $lib'
15692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15693 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15694 shlibpath_var
=LD_LIBRARY_PATH
15695 shlibpath_overrides_runpath
=yes
15696 if test "$with_gnu_ld" = yes; then
15703 version_type
=linux
# correct to gnu/linux during the next big refactor
15704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15705 soname_spec
='${libname}${release}${shared_ext}$major'
15706 shlibpath_var
=LD_LIBRARY_PATH
15707 case $host_vendor in
15709 shlibpath_overrides_runpath
=no
15711 runpath_var
=LD_RUN_PATH
15719 shlibpath_overrides_runpath
=no
15720 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15726 if test -d /usr
/nec
;then
15727 version_type
=linux
# correct to gnu/linux during the next big refactor
15728 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15729 soname_spec
='$libname${shared_ext}.$major'
15730 shlibpath_var
=LD_LIBRARY_PATH
15734 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15735 version_type
=freebsd
-elf
15738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15739 soname_spec
='${libname}${release}${shared_ext}$major'
15740 shlibpath_var
=LD_LIBRARY_PATH
15741 shlibpath_overrides_runpath
=yes
15742 hardcode_into_libs
=yes
15743 if test "$with_gnu_ld" = yes; then
15744 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15746 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15749 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15753 sys_lib_dlsearch_path_spec
='/usr/lib'
15757 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15758 version_type
=linux
# correct to gnu/linux during the next big refactor
15761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15762 shlibpath_var
=LD_LIBRARY_PATH
15763 shlibpath_overrides_runpath
=no
15764 hardcode_into_libs
=yes
15768 version_type
=linux
# correct to gnu/linux during the next big refactor
15769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15770 soname_spec
='${libname}${release}${shared_ext}$major'
15771 shlibpath_var
=LD_LIBRARY_PATH
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15779 $as_echo "$dynamic_linker" >&6; }
15780 test "$dynamic_linker" = no
&& can_build_shared
=no
15782 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15783 if test "$GCC" = yes; then
15784 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15787 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15788 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15790 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15791 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15832 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15833 hardcode_action_CXX
=
15834 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15835 test -n "$runpath_var_CXX" ||
15836 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15838 # We can hardcode non-existent directories.
15839 if test "$hardcode_direct_CXX" != no
&&
15840 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15841 # have to relink, otherwise we might link with an installed library
15842 # when we should be linking with a yet-to-be-installed one
15843 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15844 test "$hardcode_minus_L_CXX" != no
; then
15845 # Linking always hardcodes the temporary library directory.
15846 hardcode_action_CXX
=relink
15848 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15849 hardcode_action_CXX
=immediate
15852 # We cannot hardcode anything, or else we can only hardcode existing
15854 hardcode_action_CXX
=unsupported
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15857 $as_echo "$hardcode_action_CXX" >&6; }
15859 if test "$hardcode_action_CXX" = relink
||
15860 test "$inherit_rpath_CXX" = yes; then
15861 # Fast installation is not supported
15862 enable_fast_install
=no
15863 elif test "$shlibpath_overrides_runpath" = yes ||
15864 test "$enable_shared" = no
; then
15865 # Fast installation is not necessary
15866 enable_fast_install
=needless
15875 fi # test -n "$compiler"
15878 CFLAGS
=$lt_save_CFLAGS
15882 with_gnu_ld
=$lt_save_with_gnu_ld
15883 lt_cv_path_LDCXX
=$lt_cv_path_LD
15884 lt_cv_path_LD
=$lt_save_path_LD
15885 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15886 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15887 fi # test "$_lt_caught_CXX_error" != yes
15890 ac_cpp
='$CPP $CPPFLAGS'
15891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15909 ac_config_commands
="$ac_config_commands libtool"
15914 # Only expand once:
15919 ac_cpp
='$CXXCPP $CPPFLAGS'
15920 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15921 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15922 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15931 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15932 if test -n "$ac_tool_prefix"; then
15933 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15934 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15936 $as_echo_n "checking for $ac_word... " >&6; }
15937 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15938 $as_echo_n "(cached) " >&6
15940 case $PKG_CONFIG in
15942 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15946 for as_dir
in $PATH
15949 test -z "$as_dir" && as_dir
=.
15950 for ac_exec_ext
in '' $ac_executable_extensions; do
15951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15952 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15963 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15964 if test -n "$PKG_CONFIG"; then
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15966 $as_echo "$PKG_CONFIG" >&6; }
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15969 $as_echo "no" >&6; }
15974 if test -z "$ac_cv_path_PKG_CONFIG"; then
15975 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15976 # Extract the first word of "pkg-config", so it can be a program name with args.
15977 set dummy pkg
-config; ac_word
=$2
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15979 $as_echo_n "checking for $ac_word... " >&6; }
15980 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15981 $as_echo_n "(cached) " >&6
15983 case $ac_pt_PKG_CONFIG in
15985 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15989 for as_dir
in $PATH
15992 test -z "$as_dir" && as_dir
=.
15993 for ac_exec_ext
in '' $ac_executable_extensions; do
15994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15995 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16006 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16007 if test -n "$ac_pt_PKG_CONFIG"; then
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16009 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16012 $as_echo "no" >&6; }
16015 if test "x$ac_pt_PKG_CONFIG" = x
; then
16018 case $cross_compiling:$ac_tool_warned in
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16022 ac_tool_warned
=yes ;;
16024 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16027 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16031 if test -n "$PKG_CONFIG"; then
16032 _pkg_min_version
=0.22
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16034 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16035 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16037 $as_echo "yes" >&6; }
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16040 $as_echo "no" >&6; }
16045 # Extract the first word of "git", so it can be a program name with args.
16046 set dummy git
; ac_word
=$2
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16048 $as_echo_n "checking for $ac_word... " >&6; }
16049 if ${ac_cv_path_GIT+:} false
; then :
16050 $as_echo_n "(cached) " >&6
16054 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16058 for as_dir
in $PATH
16061 test -z "$as_dir" && as_dir
=.
16062 for ac_exec_ext
in '' $ac_executable_extensions; do
16063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16064 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16075 GIT
=$ac_cv_path_GIT
16076 if test -n "$GIT"; then
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16078 $as_echo "$GIT" >&6; }
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16081 $as_echo "no" >&6; }
16085 # Extract the first word of "time", so it can be a program name with args.
16086 set dummy
time; ac_word
=$2
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16088 $as_echo_n "checking for $ac_word... " >&6; }
16089 if ${ac_cv_path_TIME+:} false
; then :
16090 $as_echo_n "(cached) " >&6
16094 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16098 for as_dir
in $PATH
16101 test -z "$as_dir" && as_dir
=.
16102 for ac_exec_ext
in '' $ac_executable_extensions; do
16103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16104 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16115 TIME
=$ac_cv_path_TIME
16116 if test -n "$TIME"; then
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16118 $as_echo "$TIME" >&6; }
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16121 $as_echo "no" >&6; }
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16131 $as_echo_n "checking for bison >= 2.3... " >&6; }
16132 if test -z "$BISON"; then
16133 ac_path_BISON_found
=false
16134 # Loop through the user's path and test for each of PROGNAME-LIST
16135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16136 for as_dir
in $PATH
16139 test -z "$as_dir" && as_dir
=.
16140 for ac_prog
in bison
; do
16141 for ac_exec_ext
in '' $ac_executable_extensions; do
16142 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16143 as_fn_executable_p
"$ac_path_BISON" || continue
16144 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16145 if ${version:+false} :; then :
16148 as_awk_strverscmp
='
16149 # Use only awk features that work with 7th edition Unix awk (1978).
16150 # My, what an old awk you have, Mr. Solaris!
16152 while (length(v1) && length(v2)) {
16153 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16154 # Normally this is a single character, but if v1 and v2 contain digits,
16155 # compare them as integers and fractions as strverscmp does.
16156 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16157 # Split v1 and v2 into their leading digit string components d1 and d2,
16158 # and advance v1 and v2 past the leading digit strings.
16159 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16160 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16161 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16162 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16165 # Compare two fractions.
16166 while (d1 ~ /^0/ && d2 ~ /^0/) {
16167 d1 = substr(d1, 2); len1--
16168 d2 = substr(d2, 2); len2--
16170 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16171 # The two components differ in length, and the common prefix
16172 # contains only leading zeros. Consider the longer to be less.
16176 # Otherwise, compare as strings.
16181 # A fraction is less than an integer.
16186 # An integer is greater than a fraction.
16189 # Compare two integers.
16195 # The normal case, without worrying about digits.
16196 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16197 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16199 if (d1 < d2) exit 1
16200 if (d1 > d2) exit 2
16202 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16203 # which mishandles some comparisons of empty strings to integers.
16204 if (length(v2)) exit 1
16205 if (length(v1)) exit 2
16210 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16215 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16217 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16223 $ac_path_BISON_found && break 3
16228 if test -z "$ac_cv_path_BISON"; then
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16230 $as_echo "no" >&6; }
16233 ac_cv_path_BISON
=$BISON
16239 BISON
=$ac_cv_path_BISON
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16242 $as_echo "$BISON" >&6; }
16247 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16254 $as_echo "no" >&6; }
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16263 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16264 if test -z "$FLEX"; then
16265 ac_path_FLEX_found
=false
16266 # Loop through the user's path and test for each of PROGNAME-LIST
16267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16268 for as_dir
in $PATH
16271 test -z "$as_dir" && as_dir
=.
16272 for ac_prog
in flex
; do
16273 for ac_exec_ext
in '' $ac_executable_extensions; do
16274 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16275 as_fn_executable_p
"$ac_path_FLEX" || continue
16276 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16277 if ${version:+false} :; then :
16282 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16287 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16289 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16295 $ac_path_FLEX_found && break 3
16300 if test -z "$ac_cv_path_FLEX"; then
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16302 $as_echo "no" >&6; }
16305 ac_cv_path_FLEX
=$FLEX
16311 FLEX
=$ac_cv_path_FLEX
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16314 $as_echo "$FLEX" >&6; }
16319 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16326 $as_echo "no" >&6; }
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16335 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16336 if test -z "$GPERF"; then
16337 ac_path_GPERF_found
=false
16338 # Loop through the user's path and test for each of PROGNAME-LIST
16339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16340 for as_dir
in $PATH
16343 test -z "$as_dir" && as_dir
=.
16344 for ac_prog
in gperf
; do
16345 for ac_exec_ext
in '' $ac_executable_extensions; do
16346 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16347 as_fn_executable_p
"$ac_path_GPERF" || continue
16348 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16349 if ${version:+false} :; then :
16354 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16359 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16361 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16367 $ac_path_GPERF_found && break 3
16372 if test -z "$ac_cv_path_GPERF"; then
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16374 $as_echo "no" >&6; }
16377 ac_cv_path_GPERF
=$GPERF
16383 GPERF
=$ac_cv_path_GPERF
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16386 $as_echo "$GPERF" >&6; }
16391 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16398 $as_echo "no" >&6; }
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16407 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16408 if test -z "$GNUTAR"; then
16409 ac_path_GNUTAR_found
=false
16410 # Loop through the user's path and test for each of PROGNAME-LIST
16411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16412 for as_dir
in $PATH
16415 test -z "$as_dir" && as_dir
=.
16416 for ac_prog
in tar gtar gnutar
; do
16417 for ac_exec_ext
in '' $ac_executable_extensions; do
16418 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16419 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16420 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16421 if ${version:+false} :; then :
16426 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16431 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16433 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16439 $ac_path_GNUTAR_found && break 3
16444 if test -z "$ac_cv_path_GNUTAR"; then
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16446 $as_echo "no" >&6; }
16449 ac_cv_path_GNUTAR
=$GNUTAR
16455 GNUTAR
=$ac_cv_path_GNUTAR
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16458 $as_echo "$GNUTAR" >&6; }
16463 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16470 $as_echo "no" >&6; }
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16477 $as_echo_n "checking bison for %code{}... " >&6; }
16478 echo '%code{}%%_:' >conftest.y
16479 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16481 for element
in Bison24
; do
16483 for x
in $CY_FILTERS; do
16485 acl_save_prefix
="$prefix"
16486 prefix
="$acl_final_prefix"
16487 acl_save_exec_prefix
="$exec_prefix"
16488 exec_prefix
="$acl_final_exec_prefix"
16490 exec_prefix
="$acl_save_exec_prefix"
16491 prefix
="$acl_save_prefix"
16493 if test "X$x" = "X$element"; then
16498 if test -z "$haveit"; then
16499 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16504 $as_echo "yes" >&6; }
16507 for element
in Bison23
; do
16509 for x
in $CY_FILTERS; do
16511 acl_save_prefix
="$prefix"
16512 prefix
="$acl_final_prefix"
16513 acl_save_exec_prefix
="$exec_prefix"
16514 exec_prefix
="$acl_final_exec_prefix"
16516 exec_prefix
="$acl_save_exec_prefix"
16517 prefix
="$acl_save_prefix"
16519 if test "X$x" = "X$element"; then
16524 if test -z "$haveit"; then
16525 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16530 $as_echo "no" >&6; }
16544 if ${CFLAGS+:} false
; then :
16545 case " $CFLAGS " in
16547 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16548 (: CFLAGS already contains
) 2>&5
16550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16551 test $ac_status = 0; }
16554 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16555 (: CFLAGS
="$CFLAGS ") 2>&5
16557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16558 test $ac_status = 0; }
16567 ac_cpp
='$CPP $CPPFLAGS'
16568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16573 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16574 if ${ac_cv_cflags_warn_all+:} false
; then :
16575 $as_echo_n "(cached) " >&6
16577 ac_cv_cflags_warn_all
="no, unknown"
16578 ac_save_CFLAGS
="$CFLAGS"
16579 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" #
16580 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16582 /* end confdefs.h. */
16592 if ac_fn_c_try_compile
"$LINENO"; then :
16593 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16597 CFLAGS
="$ac_save_CFLAGS"
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16601 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16603 case ".$ac_cv_cflags_warn_all" in
16606 *) if ${CFLAGS+:} false
; then :
16607 case " $CFLAGS " in
16608 *" $ac_cv_cflags_warn_all "*)
16609 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16610 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16613 test $ac_status = 0; }
16616 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16617 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16620 test $ac_status = 0; }
16621 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16625 CFLAGS
="$ac_cv_cflags_warn_all"
16631 ac_cpp
='$CXXCPP $CPPFLAGS'
16632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16638 ac_cpp
='$CXXCPP $CPPFLAGS'
16639 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16640 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16641 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16644 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16645 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16646 $as_echo_n "(cached) " >&6
16648 ac_cv_cxxflags_warn_all
="no, unknown"
16649 ac_save_CXXFLAGS
="$CXXFLAGS"
16650 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" #
16651 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16663 if ac_fn_cxx_try_compile
"$LINENO"; then :
16664 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16668 CXXFLAGS
="$ac_save_CXXFLAGS"
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16672 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16674 case ".$ac_cv_cxxflags_warn_all" in
16677 *) if ${CXXFLAGS+:} false
; then :
16678 case " $CXXFLAGS " in
16679 *" $ac_cv_cxxflags_warn_all "*)
16680 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16681 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16684 test $ac_status = 0; }
16687 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16688 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16691 test $ac_status = 0; }
16692 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16696 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16702 ac_cpp
='$CXXCPP $CPPFLAGS'
16703 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16704 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16705 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16709 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16710 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16711 $as_echo_n "(cached) " >&6
16713 ac_cv_cxxflags_warn_all
="no, unknown"
16714 ac_save_CXXFLAGS
="$CXXFLAGS"
16715 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" #
16716 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16728 if ac_fn_cxx_try_compile
"$LINENO"; then :
16729 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16733 CXXFLAGS
="$ac_save_CXXFLAGS"
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16737 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16739 case ".$ac_cv_cxxflags_warn_all" in
16742 *) if ${CXXFLAGS+:} false
; then :
16743 case " $CXXFLAGS " in
16744 *" $ac_cv_cxxflags_warn_all "*)
16745 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16746 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16749 test $ac_status = 0; }
16752 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16753 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16756 test $ac_status = 0; }
16757 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16761 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16771 ac_cpp
='$CPP $CPPFLAGS'
16772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
16777 $as_echo_n "checking for cc -Werror... " >&6; }
16781 for element
in -Werror; do
16783 for x
in $CFLAGS; do
16785 acl_save_prefix
="$prefix"
16786 prefix
="$acl_final_prefix"
16787 acl_save_exec_prefix
="$exec_prefix"
16788 exec_prefix
="$acl_final_exec_prefix"
16790 exec_prefix
="$acl_save_exec_prefix"
16791 prefix
="$acl_save_prefix"
16793 if test "X$x" = "X$element"; then
16798 if test -z "$haveit"; then
16799 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16808 if ac_fn_c_try_compile
"$LINENO"; then :
16813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16816 if test "x$cy_good" = x1
; then :
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16818 $as_echo "yes" >&6; }
16820 for element
in -Werror; do
16822 for x
in $CFLAGS; do
16824 acl_save_prefix
="$prefix"
16825 prefix
="$acl_final_prefix"
16826 acl_save_exec_prefix
="$exec_prefix"
16827 exec_prefix
="$acl_final_exec_prefix"
16829 exec_prefix
="$acl_save_exec_prefix"
16830 prefix
="$acl_save_prefix"
16832 if test "X$x" = "X$element"; then
16837 if test -z "$haveit"; then
16838 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16845 $as_echo "no" >&6; }
16849 ac_cpp
='$CXXCPP $CPPFLAGS'
16850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16857 ac_cpp
='$CXXCPP $CPPFLAGS'
16858 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16859 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16860 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
16863 $as_echo_n "checking for c++ -Werror... " >&6; }
16867 for element
in -Werror; do
16869 for x
in $CXXFLAGS; do
16871 acl_save_prefix
="$prefix"
16872 prefix
="$acl_final_prefix"
16873 acl_save_exec_prefix
="$exec_prefix"
16874 exec_prefix
="$acl_final_exec_prefix"
16876 exec_prefix
="$acl_save_exec_prefix"
16877 prefix
="$acl_save_prefix"
16879 if test "X$x" = "X$element"; then
16884 if test -z "$haveit"; then
16885 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h. */
16894 if ac_fn_cxx_try_compile
"$LINENO"; then :
16899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16902 if test "x$cy_good" = x1
; then :
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16904 $as_echo "yes" >&6; }
16906 for element
in -Werror; do
16908 for x
in $CXXFLAGS; do
16910 acl_save_prefix
="$prefix"
16911 prefix
="$acl_final_prefix"
16912 acl_save_exec_prefix
="$exec_prefix"
16913 exec_prefix
="$acl_final_exec_prefix"
16915 exec_prefix
="$acl_save_exec_prefix"
16916 prefix
="$acl_save_prefix"
16918 if test "X$x" = "X$element"; then
16923 if test -z "$haveit"; then
16924 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16931 $as_echo "no" >&6; }
16935 ac_cpp
='$CXXCPP $CPPFLAGS'
16936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16943 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16944 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16945 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16946 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
16949 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
16951 cy_save
=$OBJCXXFLAGS
16953 for element
in -Werror; do
16955 for x
in $OBJCXXFLAGS; do
16957 acl_save_prefix
="$prefix"
16958 prefix
="$acl_final_prefix"
16959 acl_save_exec_prefix
="$exec_prefix"
16960 exec_prefix
="$acl_final_exec_prefix"
16962 exec_prefix
="$acl_save_exec_prefix"
16963 prefix
="$acl_save_prefix"
16965 if test "X$x" = "X$element"; then
16970 if test -z "$haveit"; then
16971 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16980 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16987 OBJCXXFLAGS
=$cy_save
16988 if test "x$cy_good" = x1
; then :
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16990 $as_echo "yes" >&6; }
16992 for element
in -Werror; do
16994 for x
in $OBJCXXFLAGS; do
16996 acl_save_prefix
="$prefix"
16997 prefix
="$acl_final_prefix"
16998 acl_save_exec_prefix
="$exec_prefix"
16999 exec_prefix
="$acl_final_exec_prefix"
17001 exec_prefix
="$acl_save_exec_prefix"
17002 prefix
="$acl_save_prefix"
17004 if test "X$x" = "X$element"; then
17009 if test -z "$haveit"; then
17010 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17017 $as_echo "no" >&6; }
17021 ac_cpp
='$CXXCPP $CPPFLAGS'
17022 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17023 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17024 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17032 ac_cpp
='$CPP $CPPFLAGS'
17033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17038 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17042 for element
in -Wno-deprecated-declarations; do
17044 for x
in $CFLAGS; do
17046 acl_save_prefix
="$prefix"
17047 prefix
="$acl_final_prefix"
17048 acl_save_exec_prefix
="$exec_prefix"
17049 exec_prefix
="$acl_final_exec_prefix"
17051 exec_prefix
="$acl_save_exec_prefix"
17052 prefix
="$acl_save_prefix"
17054 if test "X$x" = "X$element"; then
17059 if test -z "$haveit"; then
17060 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17069 if ac_fn_c_try_compile
"$LINENO"; then :
17074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17077 if test "x$cy_good" = x1
; then :
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17079 $as_echo "yes" >&6; }
17081 for element
in -Wno-deprecated-declarations; do
17083 for x
in $CFLAGS; do
17085 acl_save_prefix
="$prefix"
17086 prefix
="$acl_final_prefix"
17087 acl_save_exec_prefix
="$exec_prefix"
17088 exec_prefix
="$acl_final_exec_prefix"
17090 exec_prefix
="$acl_save_exec_prefix"
17091 prefix
="$acl_save_prefix"
17093 if test "X$x" = "X$element"; then
17098 if test -z "$haveit"; then
17099 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17106 $as_echo "no" >&6; }
17110 ac_cpp
='$CXXCPP $CPPFLAGS'
17111 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17112 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17113 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17118 ac_cpp
='$CXXCPP $CPPFLAGS'
17119 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17120 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17121 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17124 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17128 for element
in -Wno-deprecated-declarations; do
17130 for x
in $CXXFLAGS; do
17132 acl_save_prefix
="$prefix"
17133 prefix
="$acl_final_prefix"
17134 acl_save_exec_prefix
="$exec_prefix"
17135 exec_prefix
="$acl_final_exec_prefix"
17137 exec_prefix
="$acl_save_exec_prefix"
17138 prefix
="$acl_save_prefix"
17140 if test "X$x" = "X$element"; then
17145 if test -z "$haveit"; then
17146 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17155 if ac_fn_cxx_try_compile
"$LINENO"; then :
17160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17163 if test "x$cy_good" = x1
; then :
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17165 $as_echo "yes" >&6; }
17167 for element
in -Wno-deprecated-declarations; do
17169 for x
in $CXXFLAGS; do
17171 acl_save_prefix
="$prefix"
17172 prefix
="$acl_final_prefix"
17173 acl_save_exec_prefix
="$exec_prefix"
17174 exec_prefix
="$acl_final_exec_prefix"
17176 exec_prefix
="$acl_save_exec_prefix"
17177 prefix
="$acl_save_prefix"
17179 if test "X$x" = "X$element"; then
17184 if test -z "$haveit"; then
17185 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17192 $as_echo "no" >&6; }
17196 ac_cpp
='$CXXCPP $CPPFLAGS'
17197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17204 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17205 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17206 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17207 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17210 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17212 cy_save
=$OBJCXXFLAGS
17214 for element
in -Wno-deprecated-declarations; do
17216 for x
in $OBJCXXFLAGS; do
17218 acl_save_prefix
="$prefix"
17219 prefix
="$acl_final_prefix"
17220 acl_save_exec_prefix
="$exec_prefix"
17221 exec_prefix
="$acl_final_exec_prefix"
17223 exec_prefix
="$acl_save_exec_prefix"
17224 prefix
="$acl_save_prefix"
17226 if test "X$x" = "X$element"; then
17231 if test -z "$haveit"; then
17232 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17241 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17248 OBJCXXFLAGS
=$cy_save
17249 if test "x$cy_good" = x1
; then :
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17251 $as_echo "yes" >&6; }
17253 for element
in -Wno-deprecated-declarations; do
17255 for x
in $OBJCXXFLAGS; do
17257 acl_save_prefix
="$prefix"
17258 prefix
="$acl_final_prefix"
17259 acl_save_exec_prefix
="$exec_prefix"
17260 exec_prefix
="$acl_final_exec_prefix"
17262 exec_prefix
="$acl_save_exec_prefix"
17263 prefix
="$acl_save_prefix"
17265 if test "X$x" = "X$element"; then
17270 if test -z "$haveit"; then
17271 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17278 $as_echo "no" >&6; }
17282 ac_cpp
='$CXXCPP $CPPFLAGS'
17283 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17284 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17285 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17293 ac_cpp
='$CPP $CPPFLAGS'
17294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17299 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17303 for element
in -Wno-dangling-else; do
17305 for x
in $CFLAGS; do
17307 acl_save_prefix
="$prefix"
17308 prefix
="$acl_final_prefix"
17309 acl_save_exec_prefix
="$exec_prefix"
17310 exec_prefix
="$acl_final_exec_prefix"
17312 exec_prefix
="$acl_save_exec_prefix"
17313 prefix
="$acl_save_prefix"
17315 if test "X$x" = "X$element"; then
17320 if test -z "$haveit"; then
17321 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17330 if ac_fn_c_try_compile
"$LINENO"; then :
17335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17338 if test "x$cy_good" = x1
; then :
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17340 $as_echo "yes" >&6; }
17342 for element
in -Wno-dangling-else; do
17344 for x
in $CFLAGS; do
17346 acl_save_prefix
="$prefix"
17347 prefix
="$acl_final_prefix"
17348 acl_save_exec_prefix
="$exec_prefix"
17349 exec_prefix
="$acl_final_exec_prefix"
17351 exec_prefix
="$acl_save_exec_prefix"
17352 prefix
="$acl_save_prefix"
17354 if test "X$x" = "X$element"; then
17359 if test -z "$haveit"; then
17360 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17367 $as_echo "no" >&6; }
17371 ac_cpp
='$CXXCPP $CPPFLAGS'
17372 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17379 ac_cpp
='$CXXCPP $CPPFLAGS'
17380 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
17385 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
17389 for element
in -Wno-dangling-else; do
17391 for x
in $CXXFLAGS; do
17393 acl_save_prefix
="$prefix"
17394 prefix
="$acl_final_prefix"
17395 acl_save_exec_prefix
="$exec_prefix"
17396 exec_prefix
="$acl_final_exec_prefix"
17398 exec_prefix
="$acl_save_exec_prefix"
17399 prefix
="$acl_save_prefix"
17401 if test "X$x" = "X$element"; then
17406 if test -z "$haveit"; then
17407 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17416 if ac_fn_cxx_try_compile
"$LINENO"; then :
17421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17424 if test "x$cy_good" = x1
; then :
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17426 $as_echo "yes" >&6; }
17428 for element
in -Wno-dangling-else; do
17430 for x
in $CXXFLAGS; do
17432 acl_save_prefix
="$prefix"
17433 prefix
="$acl_final_prefix"
17434 acl_save_exec_prefix
="$exec_prefix"
17435 exec_prefix
="$acl_final_exec_prefix"
17437 exec_prefix
="$acl_save_exec_prefix"
17438 prefix
="$acl_save_prefix"
17440 if test "X$x" = "X$element"; then
17445 if test -z "$haveit"; then
17446 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17453 $as_echo "no" >&6; }
17457 ac_cpp
='$CXXCPP $CPPFLAGS'
17458 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17459 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17460 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17465 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17466 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17467 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17468 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17471 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17473 cy_save
=$OBJCXXFLAGS
17475 for element
in -Wno-dangling-else; do
17477 for x
in $OBJCXXFLAGS; do
17479 acl_save_prefix
="$prefix"
17480 prefix
="$acl_final_prefix"
17481 acl_save_exec_prefix
="$exec_prefix"
17482 exec_prefix
="$acl_final_exec_prefix"
17484 exec_prefix
="$acl_save_exec_prefix"
17485 prefix
="$acl_save_prefix"
17487 if test "X$x" = "X$element"; then
17492 if test -z "$haveit"; then
17493 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17502 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17509 OBJCXXFLAGS
=$cy_save
17510 if test "x$cy_good" = x1
; then :
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17512 $as_echo "yes" >&6; }
17514 for element
in -Wno-dangling-else; do
17516 for x
in $OBJCXXFLAGS; do
17518 acl_save_prefix
="$prefix"
17519 prefix
="$acl_final_prefix"
17520 acl_save_exec_prefix
="$exec_prefix"
17521 exec_prefix
="$acl_final_exec_prefix"
17523 exec_prefix
="$acl_save_exec_prefix"
17524 prefix
="$acl_save_prefix"
17526 if test "X$x" = "X$element"; then
17531 if test -z "$haveit"; then
17532 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17539 $as_echo "no" >&6; }
17543 ac_cpp
='$CXXCPP $CPPFLAGS'
17544 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17545 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17546 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17553 ac_cpp
='$CPP $CPPFLAGS'
17554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17559 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17563 for element
in -Wno-overloaded-virtual; do
17565 for x
in $CFLAGS; do
17567 acl_save_prefix
="$prefix"
17568 prefix
="$acl_final_prefix"
17569 acl_save_exec_prefix
="$exec_prefix"
17570 exec_prefix
="$acl_final_exec_prefix"
17572 exec_prefix
="$acl_save_exec_prefix"
17573 prefix
="$acl_save_prefix"
17575 if test "X$x" = "X$element"; then
17580 if test -z "$haveit"; then
17581 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17590 if ac_fn_c_try_compile
"$LINENO"; then :
17595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17598 if test "x$cy_good" = x1
; then :
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17600 $as_echo "yes" >&6; }
17602 for element
in -Wno-overloaded-virtual; do
17604 for x
in $CFLAGS; do
17606 acl_save_prefix
="$prefix"
17607 prefix
="$acl_final_prefix"
17608 acl_save_exec_prefix
="$exec_prefix"
17609 exec_prefix
="$acl_final_exec_prefix"
17611 exec_prefix
="$acl_save_exec_prefix"
17612 prefix
="$acl_save_prefix"
17614 if test "X$x" = "X$element"; then
17619 if test -z "$haveit"; then
17620 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17627 $as_echo "no" >&6; }
17631 ac_cpp
='$CXXCPP $CPPFLAGS'
17632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17639 ac_cpp
='$CXXCPP $CPPFLAGS'
17640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17645 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17649 for element
in -Wno-overloaded-virtual; do
17651 for x
in $CXXFLAGS; do
17653 acl_save_prefix
="$prefix"
17654 prefix
="$acl_final_prefix"
17655 acl_save_exec_prefix
="$exec_prefix"
17656 exec_prefix
="$acl_final_exec_prefix"
17658 exec_prefix
="$acl_save_exec_prefix"
17659 prefix
="$acl_save_prefix"
17661 if test "X$x" = "X$element"; then
17666 if test -z "$haveit"; then
17667 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17676 if ac_fn_cxx_try_compile
"$LINENO"; then :
17681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17684 if test "x$cy_good" = x1
; then :
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17686 $as_echo "yes" >&6; }
17688 for element
in -Wno-overloaded-virtual; do
17690 for x
in $CXXFLAGS; do
17692 acl_save_prefix
="$prefix"
17693 prefix
="$acl_final_prefix"
17694 acl_save_exec_prefix
="$exec_prefix"
17695 exec_prefix
="$acl_final_exec_prefix"
17697 exec_prefix
="$acl_save_exec_prefix"
17698 prefix
="$acl_save_prefix"
17700 if test "X$x" = "X$element"; then
17705 if test -z "$haveit"; then
17706 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17713 $as_echo "no" >&6; }
17717 ac_cpp
='$CXXCPP $CPPFLAGS'
17718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17725 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17726 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17727 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17728 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17731 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17733 cy_save
=$OBJCXXFLAGS
17735 for element
in -Wno-overloaded-virtual; do
17737 for x
in $OBJCXXFLAGS; do
17739 acl_save_prefix
="$prefix"
17740 prefix
="$acl_final_prefix"
17741 acl_save_exec_prefix
="$exec_prefix"
17742 exec_prefix
="$acl_final_exec_prefix"
17744 exec_prefix
="$acl_save_exec_prefix"
17745 prefix
="$acl_save_prefix"
17747 if test "X$x" = "X$element"; then
17752 if test -z "$haveit"; then
17753 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17762 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17769 OBJCXXFLAGS
=$cy_save
17770 if test "x$cy_good" = x1
; then :
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17772 $as_echo "yes" >&6; }
17774 for element
in -Wno-overloaded-virtual; do
17776 for x
in $OBJCXXFLAGS; do
17778 acl_save_prefix
="$prefix"
17779 prefix
="$acl_final_prefix"
17780 acl_save_exec_prefix
="$exec_prefix"
17781 exec_prefix
="$acl_final_exec_prefix"
17783 exec_prefix
="$acl_save_exec_prefix"
17784 prefix
="$acl_save_prefix"
17786 if test "X$x" = "X$element"; then
17791 if test -z "$haveit"; then
17792 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17799 $as_echo "no" >&6; }
17803 ac_cpp
='$CXXCPP $CPPFLAGS'
17804 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17805 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17806 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17813 ac_cpp
='$CPP $CPPFLAGS'
17814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17819 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17823 for element
in -Wno-parentheses; do
17825 for x
in $CFLAGS; do
17827 acl_save_prefix
="$prefix"
17828 prefix
="$acl_final_prefix"
17829 acl_save_exec_prefix
="$exec_prefix"
17830 exec_prefix
="$acl_final_exec_prefix"
17832 exec_prefix
="$acl_save_exec_prefix"
17833 prefix
="$acl_save_prefix"
17835 if test "X$x" = "X$element"; then
17840 if test -z "$haveit"; then
17841 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17847 /* end confdefs.h. */
17850 if ac_fn_c_try_compile
"$LINENO"; then :
17855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17858 if test "x$cy_good" = x1
; then :
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17860 $as_echo "yes" >&6; }
17862 for element
in -Wno-parentheses; do
17864 for x
in $CFLAGS; do
17866 acl_save_prefix
="$prefix"
17867 prefix
="$acl_final_prefix"
17868 acl_save_exec_prefix
="$exec_prefix"
17869 exec_prefix
="$acl_final_exec_prefix"
17871 exec_prefix
="$acl_save_exec_prefix"
17872 prefix
="$acl_save_prefix"
17874 if test "X$x" = "X$element"; then
17879 if test -z "$haveit"; then
17880 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17887 $as_echo "no" >&6; }
17891 ac_cpp
='$CXXCPP $CPPFLAGS'
17892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17899 ac_cpp
='$CXXCPP $CPPFLAGS'
17900 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17901 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17902 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17905 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17909 for element
in -Wno-parentheses; do
17911 for x
in $CXXFLAGS; do
17913 acl_save_prefix
="$prefix"
17914 prefix
="$acl_final_prefix"
17915 acl_save_exec_prefix
="$exec_prefix"
17916 exec_prefix
="$acl_final_exec_prefix"
17918 exec_prefix
="$acl_save_exec_prefix"
17919 prefix
="$acl_save_prefix"
17921 if test "X$x" = "X$element"; then
17926 if test -z "$haveit"; then
17927 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h. */
17936 if ac_fn_cxx_try_compile
"$LINENO"; then :
17941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17944 if test "x$cy_good" = x1
; then :
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17946 $as_echo "yes" >&6; }
17948 for element
in -Wno-parentheses; do
17950 for x
in $CXXFLAGS; do
17952 acl_save_prefix
="$prefix"
17953 prefix
="$acl_final_prefix"
17954 acl_save_exec_prefix
="$exec_prefix"
17955 exec_prefix
="$acl_final_exec_prefix"
17957 exec_prefix
="$acl_save_exec_prefix"
17958 prefix
="$acl_save_prefix"
17960 if test "X$x" = "X$element"; then
17965 if test -z "$haveit"; then
17966 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17973 $as_echo "no" >&6; }
17977 ac_cpp
='$CXXCPP $CPPFLAGS'
17978 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17979 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17980 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17985 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17986 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17987 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17988 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17991 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17993 cy_save
=$OBJCXXFLAGS
17995 for element
in -Wno-parentheses; do
17997 for x
in $OBJCXXFLAGS; do
17999 acl_save_prefix
="$prefix"
18000 prefix
="$acl_final_prefix"
18001 acl_save_exec_prefix
="$exec_prefix"
18002 exec_prefix
="$acl_final_exec_prefix"
18004 exec_prefix
="$acl_save_exec_prefix"
18005 prefix
="$acl_save_prefix"
18007 if test "X$x" = "X$element"; then
18012 if test -z "$haveit"; then
18013 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18022 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18029 OBJCXXFLAGS
=$cy_save
18030 if test "x$cy_good" = x1
; then :
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18032 $as_echo "yes" >&6; }
18034 for element
in -Wno-parentheses; do
18036 for x
in $OBJCXXFLAGS; do
18038 acl_save_prefix
="$prefix"
18039 prefix
="$acl_final_prefix"
18040 acl_save_exec_prefix
="$exec_prefix"
18041 exec_prefix
="$acl_final_exec_prefix"
18043 exec_prefix
="$acl_save_exec_prefix"
18044 prefix
="$acl_save_prefix"
18046 if test "X$x" = "X$element"; then
18051 if test -z "$haveit"; then
18052 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18059 $as_echo "no" >&6; }
18063 ac_cpp
='$CXXCPP $CPPFLAGS'
18064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18073 ac_cpp
='$CPP $CPPFLAGS'
18074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18079 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18083 for element
in -Wno-unneeded-internal-declaration; do
18085 for x
in $CFLAGS; do
18087 acl_save_prefix
="$prefix"
18088 prefix
="$acl_final_prefix"
18089 acl_save_exec_prefix
="$exec_prefix"
18090 exec_prefix
="$acl_final_exec_prefix"
18092 exec_prefix
="$acl_save_exec_prefix"
18093 prefix
="$acl_save_prefix"
18095 if test "X$x" = "X$element"; then
18100 if test -z "$haveit"; then
18101 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18107 /* end confdefs.h. */
18110 if ac_fn_c_try_compile
"$LINENO"; then :
18115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18118 if test "x$cy_good" = x1
; then :
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18120 $as_echo "yes" >&6; }
18122 for element
in -Wno-unneeded-internal-declaration; do
18124 for x
in $CFLAGS; do
18126 acl_save_prefix
="$prefix"
18127 prefix
="$acl_final_prefix"
18128 acl_save_exec_prefix
="$exec_prefix"
18129 exec_prefix
="$acl_final_exec_prefix"
18131 exec_prefix
="$acl_save_exec_prefix"
18132 prefix
="$acl_save_prefix"
18134 if test "X$x" = "X$element"; then
18139 if test -z "$haveit"; then
18140 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18147 $as_echo "no" >&6; }
18151 ac_cpp
='$CXXCPP $CPPFLAGS'
18152 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18153 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18154 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18159 ac_cpp
='$CXXCPP $CPPFLAGS'
18160 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18161 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18162 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18165 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18169 for element
in -Wno-unneeded-internal-declaration; do
18171 for x
in $CXXFLAGS; do
18173 acl_save_prefix
="$prefix"
18174 prefix
="$acl_final_prefix"
18175 acl_save_exec_prefix
="$exec_prefix"
18176 exec_prefix
="$acl_final_exec_prefix"
18178 exec_prefix
="$acl_save_exec_prefix"
18179 prefix
="$acl_save_prefix"
18181 if test "X$x" = "X$element"; then
18186 if test -z "$haveit"; then
18187 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18193 /* end confdefs.h. */
18196 if ac_fn_cxx_try_compile
"$LINENO"; then :
18201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18204 if test "x$cy_good" = x1
; then :
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18206 $as_echo "yes" >&6; }
18208 for element
in -Wno-unneeded-internal-declaration; do
18210 for x
in $CXXFLAGS; do
18212 acl_save_prefix
="$prefix"
18213 prefix
="$acl_final_prefix"
18214 acl_save_exec_prefix
="$exec_prefix"
18215 exec_prefix
="$acl_final_exec_prefix"
18217 exec_prefix
="$acl_save_exec_prefix"
18218 prefix
="$acl_save_prefix"
18220 if test "X$x" = "X$element"; then
18225 if test -z "$haveit"; then
18226 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18233 $as_echo "no" >&6; }
18237 ac_cpp
='$CXXCPP $CPPFLAGS'
18238 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18245 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18246 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18247 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18248 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18251 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18253 cy_save
=$OBJCXXFLAGS
18255 for element
in -Wno-unneeded-internal-declaration; do
18257 for x
in $OBJCXXFLAGS; do
18259 acl_save_prefix
="$prefix"
18260 prefix
="$acl_final_prefix"
18261 acl_save_exec_prefix
="$exec_prefix"
18262 exec_prefix
="$acl_final_exec_prefix"
18264 exec_prefix
="$acl_save_exec_prefix"
18265 prefix
="$acl_save_prefix"
18267 if test "X$x" = "X$element"; then
18272 if test -z "$haveit"; then
18273 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h. */
18282 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18289 OBJCXXFLAGS
=$cy_save
18290 if test "x$cy_good" = x1
; then :
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18292 $as_echo "yes" >&6; }
18294 for element
in -Wno-unneeded-internal-declaration; do
18296 for x
in $OBJCXXFLAGS; do
18298 acl_save_prefix
="$prefix"
18299 prefix
="$acl_final_prefix"
18300 acl_save_exec_prefix
="$exec_prefix"
18301 exec_prefix
="$acl_final_exec_prefix"
18303 exec_prefix
="$acl_save_exec_prefix"
18304 prefix
="$acl_save_prefix"
18306 if test "X$x" = "X$element"; then
18311 if test -z "$haveit"; then
18312 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18319 $as_echo "no" >&6; }
18323 ac_cpp
='$CXXCPP $CPPFLAGS'
18324 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18325 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18326 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18333 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
18335 $as_echo_n "checking for -arch $cy_arch... " >&6; }
18339 for element
in "-arch $cy_arch"; do
18341 for x
in $CXXFLAGS; do
18343 acl_save_prefix
="$prefix"
18344 prefix
="$acl_final_prefix"
18345 acl_save_exec_prefix
="$exec_prefix"
18346 exec_prefix
="$acl_final_exec_prefix"
18348 exec_prefix
="$acl_save_exec_prefix"
18349 prefix
="$acl_save_prefix"
18351 if test "X$x" = "X$element"; then
18356 if test -z "$haveit"; then
18357 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18363 /* end confdefs.h. */
18373 if ac_fn_cxx_try_link
"$LINENO"; then :
18378 rm -f core conftest.err conftest.
$ac_objext \
18379 conftest
$ac_exeext conftest.
$ac_ext
18382 if test "x$cy_good" = x1
; then :
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18384 $as_echo "yes" >&6; }
18386 for element
in "-arch $cy_arch"; do
18388 for x
in $CY_ARCH; do
18390 acl_save_prefix
="$prefix"
18391 prefix
="$acl_final_prefix"
18392 acl_save_exec_prefix
="$exec_prefix"
18393 exec_prefix
="$acl_final_exec_prefix"
18395 exec_prefix
="$acl_save_exec_prefix"
18396 prefix
="$acl_save_prefix"
18398 if test "X$x" = "X$element"; then
18403 if test -z "$haveit"; then
18404 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18411 $as_echo "no" >&6; }
18421 # Check whether --enable-javascript was given.
18422 if test "${enable_javascript+set}" = set; then :
18423 enableval
=$enable_javascript;
18424 case $enableval in #(
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18434 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18435 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18436 $as_echo_n "(cached) " >&6
18439 ac_check_framework_save_LIBS
=$LIBS
18440 LIBS
="-framework JavaScriptCore $LIBS"
18441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18444 #include <JavaScriptCore/JSBase.h>
18450 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18456 if ac_fn_cxx_try_link
"$LINENO"; then :
18458 ac_cv_framework_JavaScriptCore
=yes
18461 ac_cv_framework_JavaScriptCore
=no
18463 rm -f core conftest.err conftest.
$ac_objext \
18464 conftest
$ac_exeext conftest.
$ac_ext
18465 LIBS
=$ac_check_framework_save_LIBS
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18469 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18470 if test $ac_cv_framework_JavaScriptCore = yes; then :
18473 for element
in "-framework JavaScriptCore"; do
18477 acl_save_prefix
="$prefix"
18478 prefix
="$acl_final_prefix"
18479 acl_save_exec_prefix
="$exec_prefix"
18480 exec_prefix
="$acl_final_exec_prefix"
18482 exec_prefix
="$acl_save_exec_prefix"
18483 prefix
="$acl_save_prefix"
18485 if test "X$x" = "X$element"; then
18490 if test -z "$haveit"; then
18491 LIBS
="${LIBS}${LIBS:+ }$element"
18502 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18506 $as_echo_n "checking for WEBKIT... " >&6; }
18508 if test -n "$WEBKIT_CFLAGS"; then
18509 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18510 elif test -n "$PKG_CONFIG"; then
18511 if test -n "$PKG_CONFIG" && \
18512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18513 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18516 test $ac_status = 0; }; then
18517 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18524 if test -n "$WEBKIT_LIBS"; then
18525 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18526 elif test -n "$PKG_CONFIG"; then
18527 if test -n "$PKG_CONFIG" && \
18528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18529 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18532 test $ac_status = 0; }; then
18533 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18543 if test $pkg_failed = yes; then
18544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18545 $as_echo "no" >&6; }
18547 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18548 _pkg_short_errors_supported
=yes
18550 _pkg_short_errors_supported
=no
18552 if test $_pkg_short_errors_supported = yes; then
18553 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18555 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18557 # Put the nasty error message in config.log where it belongs
18558 echo "$WEBKIT_PKG_ERRORS" >&5
18561 elif test $pkg_failed = untried
; then
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18563 $as_echo "no" >&6; }
18566 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18567 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18569 $as_echo "yes" >&6; }
18574 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18576 for x
in $CPPFLAGS; do
18578 acl_save_prefix
="$prefix"
18579 prefix
="$acl_final_prefix"
18580 acl_save_exec_prefix
="$exec_prefix"
18581 exec_prefix
="$acl_final_exec_prefix"
18583 exec_prefix
="$acl_save_exec_prefix"
18584 prefix
="$acl_save_prefix"
18586 if test "X$x" = "X$element"; then
18591 if test -z "$haveit"; then
18592 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18597 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18601 acl_save_prefix
="$prefix"
18602 prefix
="$acl_final_prefix"
18603 acl_save_exec_prefix
="$exec_prefix"
18604 exec_prefix
="$acl_final_exec_prefix"
18606 exec_prefix
="$acl_save_exec_prefix"
18607 prefix
="$acl_save_prefix"
18609 if test "X$x" = "X$element"; then
18614 if test -z "$haveit"; then
18615 LIBS
="${LIBS}${LIBS:+ }$element"
18620 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18624 LTJAVASCRIPTCORE
=$LIBS
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18641 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18642 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18643 $as_echo_n "(cached) " >&6
18646 ac_check_framework_save_LIBS
=$LIBS
18647 LIBS
="-framework JavaScriptCore $LIBS"
18648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18649 /* end confdefs.h. */
18651 #include <JavaScriptCore/JSBase.h>
18657 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18663 if ac_fn_cxx_try_link
"$LINENO"; then :
18665 ac_cv_framework_JavaScriptCore
=yes
18668 ac_cv_framework_JavaScriptCore
=no
18670 rm -f core conftest.err conftest.
$ac_objext \
18671 conftest
$ac_exeext conftest.
$ac_ext
18672 LIBS
=$ac_check_framework_save_LIBS
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18676 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18677 if test $ac_cv_framework_JavaScriptCore = yes; then :
18680 for element
in "-framework JavaScriptCore"; do
18684 acl_save_prefix
="$prefix"
18685 prefix
="$acl_final_prefix"
18686 acl_save_exec_prefix
="$exec_prefix"
18687 exec_prefix
="$acl_final_exec_prefix"
18689 exec_prefix
="$acl_save_exec_prefix"
18690 prefix
="$acl_save_prefix"
18692 if test "X$x" = "X$element"; then
18697 if test -z "$haveit"; then
18698 LIBS
="${LIBS}${LIBS:+ }$element"
18709 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18713 $as_echo_n "checking for WEBKIT... " >&6; }
18715 if test -n "$WEBKIT_CFLAGS"; then
18716 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18717 elif test -n "$PKG_CONFIG"; then
18718 if test -n "$PKG_CONFIG" && \
18719 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18720 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18723 test $ac_status = 0; }; then
18724 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18731 if test -n "$WEBKIT_LIBS"; then
18732 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18733 elif test -n "$PKG_CONFIG"; then
18734 if test -n "$PKG_CONFIG" && \
18735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18736 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18739 test $ac_status = 0; }; then
18740 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18750 if test $pkg_failed = yes; then
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18752 $as_echo "no" >&6; }
18754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18755 _pkg_short_errors_supported
=yes
18757 _pkg_short_errors_supported
=no
18759 if test $_pkg_short_errors_supported = yes; then
18760 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18762 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18764 # Put the nasty error message in config.log where it belongs
18765 echo "$WEBKIT_PKG_ERRORS" >&5
18768 elif test $pkg_failed = untried
; then
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18770 $as_echo "no" >&6; }
18773 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18774 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18776 $as_echo "yes" >&6; }
18781 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18783 for x
in $CPPFLAGS; do
18785 acl_save_prefix
="$prefix"
18786 prefix
="$acl_final_prefix"
18787 acl_save_exec_prefix
="$exec_prefix"
18788 exec_prefix
="$acl_final_exec_prefix"
18790 exec_prefix
="$acl_save_exec_prefix"
18791 prefix
="$acl_save_prefix"
18793 if test "X$x" = "X$element"; then
18798 if test -z "$haveit"; then
18799 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18804 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18808 acl_save_prefix
="$prefix"
18809 prefix
="$acl_final_prefix"
18810 acl_save_exec_prefix
="$exec_prefix"
18811 exec_prefix
="$acl_final_exec_prefix"
18813 exec_prefix
="$acl_save_exec_prefix"
18814 prefix
="$acl_save_prefix"
18816 if test "X$x" = "X$element"; then
18821 if test -z "$haveit"; then
18822 LIBS
="${LIBS}${LIBS:+ }$element"
18827 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18831 LTJAVASCRIPTCORE
=$LIBS
18837 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18848 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18849 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18850 $as_echo_n "(cached) " >&6
18853 ac_check_framework_save_LIBS
=$LIBS
18854 LIBS
="-framework JavaScriptCore $LIBS"
18855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18858 #include <JavaScriptCore/JSBase.h>
18864 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18870 if ac_fn_cxx_try_link
"$LINENO"; then :
18872 ac_cv_framework_JavaScriptCore
=yes
18875 ac_cv_framework_JavaScriptCore
=no
18877 rm -f core conftest.err conftest.
$ac_objext \
18878 conftest
$ac_exeext conftest.
$ac_ext
18879 LIBS
=$ac_check_framework_save_LIBS
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18883 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18884 if test $ac_cv_framework_JavaScriptCore = yes; then :
18887 for element
in "-framework JavaScriptCore"; do
18891 acl_save_prefix
="$prefix"
18892 prefix
="$acl_final_prefix"
18893 acl_save_exec_prefix
="$exec_prefix"
18894 exec_prefix
="$acl_final_exec_prefix"
18896 exec_prefix
="$acl_save_exec_prefix"
18897 prefix
="$acl_save_prefix"
18899 if test "X$x" = "X$element"; then
18904 if test -z "$haveit"; then
18905 LIBS
="${LIBS}${LIBS:+ }$element"
18916 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18920 $as_echo_n "checking for WEBKIT... " >&6; }
18922 if test -n "$WEBKIT_CFLAGS"; then
18923 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18924 elif test -n "$PKG_CONFIG"; then
18925 if test -n "$PKG_CONFIG" && \
18926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18927 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18930 test $ac_status = 0; }; then
18931 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18938 if test -n "$WEBKIT_LIBS"; then
18939 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18940 elif test -n "$PKG_CONFIG"; then
18941 if test -n "$PKG_CONFIG" && \
18942 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18943 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18946 test $ac_status = 0; }; then
18947 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18957 if test $pkg_failed = yes; then
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18959 $as_echo "no" >&6; }
18961 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18962 _pkg_short_errors_supported
=yes
18964 _pkg_short_errors_supported
=no
18966 if test $_pkg_short_errors_supported = yes; then
18967 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18969 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18971 # Put the nasty error message in config.log where it belongs
18972 echo "$WEBKIT_PKG_ERRORS" >&5
18975 elif test $pkg_failed = untried
; then
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18977 $as_echo "no" >&6; }
18980 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18981 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18983 $as_echo "yes" >&6; }
18988 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18990 for x
in $CPPFLAGS; do
18992 acl_save_prefix
="$prefix"
18993 prefix
="$acl_final_prefix"
18994 acl_save_exec_prefix
="$exec_prefix"
18995 exec_prefix
="$acl_final_exec_prefix"
18997 exec_prefix
="$acl_save_exec_prefix"
18998 prefix
="$acl_save_prefix"
19000 if test "X$x" = "X$element"; then
19005 if test -z "$haveit"; then
19006 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19011 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19015 acl_save_prefix
="$prefix"
19016 prefix
="$acl_final_prefix"
19017 acl_save_exec_prefix
="$exec_prefix"
19018 exec_prefix
="$acl_final_exec_prefix"
19020 exec_prefix
="$acl_save_exec_prefix"
19021 prefix
="$acl_save_prefix"
19023 if test "X$x" = "X$element"; then
19028 if test -z "$haveit"; then
19029 LIBS
="${LIBS}${LIBS:+ }$element"
19034 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19038 LTJAVASCRIPTCORE
=$LIBS
19046 # Check whether --enable-console was given.
19047 if test "${enable_console+set}" = set; then :
19048 enableval
=$enable_console;
19051 if test "x$enable_console" != "xno"; then
19053 CY_CONSOLE_FALSE
='#'
19055 CY_CONSOLE_TRUE
='#'
19060 if test -z "$CY_CONSOLE_TRUE"; then :
19062 if test "x$LTLIBAPR" != x
; then :
19071 if test "$target_os" = "os2-emx"; then
19072 # Scripts don't pass test -x on OS/2
19078 acceptable_majors
="1"
19080 apr_temp_acceptable_apr_config
=""
19081 for apr_temp_major
in $acceptable_majors
19083 case $apr_temp_major in
19085 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19088 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19094 $as_echo_n "checking for APR... " >&6; }
19096 # Check whether --with-apr was given.
19097 if test "${with_apr+set}" = set; then :
19099 if test "$withval" = "no" || test "$withval" = "yes"; then
19100 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19103 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19105 for lookdir
in "$withval/bin" "$withval"
19107 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19108 apr_config
="$lookdir/$apr_temp_apr_config_file"
19116 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19117 apr_config
="$withval"
19121 if test "$apr_found" != "yes"; then
19122 as_fn_error $?
"the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5
19127 if test -n "1" && test "1" = "1"; then
19128 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19130 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19131 apr_config
="$apr_temp_apr_config_file"
19136 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19137 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19138 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19147 if test "$apr_found" = "no" && test -d ""; then
19148 apr_temp_abs_srcdir
="`cd && pwd`"
19149 apr_found
="reconfig"
19150 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19151 case $apr_bundled_major in
19153 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19156 apr_temp_apr_config_file
="apr-config"
19159 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19162 if test -n ""; then
19163 apr_config
="/$apr_temp_apr_config_file"
19165 apr_config
="/$apr_temp_apr_config_file"
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19173 $as_echo "$apr_found" >&6; }
19175 case $apr_found in #(
19179 for element
in `$apr_config --includes`; do
19181 for x
in $CPPFLAGS; do
19183 acl_save_prefix
="$prefix"
19184 prefix
="$acl_final_prefix"
19185 acl_save_exec_prefix
="$exec_prefix"
19186 exec_prefix
="$acl_final_exec_prefix"
19188 exec_prefix
="$acl_save_exec_prefix"
19189 prefix
="$acl_save_prefix"
19191 if test "X$x" = "X$element"; then
19196 if test -z "$haveit"; then
19197 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19202 for element
in `$apr_config --link-libtool`; do
19204 for x
in $LTLIBAPR; do
19206 acl_save_prefix
="$prefix"
19207 prefix
="$acl_final_prefix"
19208 acl_save_exec_prefix
="$exec_prefix"
19209 exec_prefix
="$acl_final_exec_prefix"
19211 exec_prefix
="$acl_save_exec_prefix"
19212 prefix
="$acl_save_prefix"
19214 if test "X$x" = "X$element"; then
19219 if test -z "$haveit"; then
19220 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
19228 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5
19237 if test "x$CY_EXECUTE" = x1
; then
19239 CY_EXECUTE_FALSE
='#'
19241 CY_EXECUTE_TRUE
='#'
19247 case $CY_EXECUTE in #(
19250 for ac_header
in ffi.h ffi
/ffi.h
19252 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19253 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19254 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19255 cat >>confdefs.h
<<_ACEOF
19256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19267 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19271 C compiler flags
for LIBFFI
, overriding pkg
-config
19272 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
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"
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19393 $as_echo_n "checking for library containing ffi_call... " >&6; }
19394 if ${ac_cv_search_ffi_call+:} false
; then :
19395 $as_echo_n "(cached) " >&6
19397 ac_func_search_save_LIBS
=$LIBS
19398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19401 /* Override any GCC internal prototype to avoid an error.
19402 Use char because int might match the return type of a GCC
19403 builtin and then its argument prototype would still apply. */
19411 return ffi_call ();
19416 for ac_lib
in '' ffi
; do
19417 if test -z "$ac_lib"; then
19418 ac_res
="none required"
19421 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19423 if ac_fn_cxx_try_link
"$LINENO"; then :
19424 ac_cv_search_ffi_call
=$ac_res
19426 rm -f core conftest.err conftest.
$ac_objext \
19428 if ${ac_cv_search_ffi_call+:} false
; then :
19432 if ${ac_cv_search_ffi_call+:} false
; then :
19435 ac_cv_search_ffi_call
=no
19437 rm conftest.
$ac_ext
19438 LIBS
=$ac_func_search_save_LIBS
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19441 $as_echo "$ac_cv_search_ffi_call" >&6; }
19442 ac_res
=$ac_cv_search_ffi_call
19443 if test "$ac_res" != no
; then :
19444 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19448 case $ac_cv_search_ffi_call in #(
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19454 $as_echo_n "checking for LIBFFI... " >&6; }
19456 if test -n "$LIBFFI_CFLAGS"; then
19457 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19458 elif test -n "$PKG_CONFIG"; then
19459 if test -n "$PKG_CONFIG" && \
19460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19461 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19464 test $ac_status = 0; }; then
19465 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19472 if test -n "$LIBFFI_LIBS"; then
19473 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19474 elif test -n "$PKG_CONFIG"; then
19475 if test -n "$PKG_CONFIG" && \
19476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19477 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19480 test $ac_status = 0; }; then
19481 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19491 if test $pkg_failed = yes; then
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19493 $as_echo "no" >&6; }
19495 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19496 _pkg_short_errors_supported
=yes
19498 _pkg_short_errors_supported
=no
19500 if test $_pkg_short_errors_supported = yes; then
19501 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19503 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19505 # Put the nasty error message in config.log where it belongs
19506 echo "$LIBFFI_PKG_ERRORS" >&5
19508 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19509 elif test $pkg_failed = untried
; then
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19511 $as_echo "no" >&6; }
19512 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19514 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19515 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19517 $as_echo "yes" >&6; }
19520 for element
in `$PKG_CONFIG --cflags libffi`; do
19522 for x
in $CPPFLAGS; do
19524 acl_save_prefix
="$prefix"
19525 prefix
="$acl_final_prefix"
19526 acl_save_exec_prefix
="$exec_prefix"
19527 exec_prefix
="$acl_final_exec_prefix"
19529 exec_prefix
="$acl_save_exec_prefix"
19530 prefix
="$acl_save_prefix"
19532 if test "X$x" = "X$element"; then
19537 if test -z "$haveit"; then
19538 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19543 for element
in `$PKG_CONFIG --libs libffi`; do
19547 acl_save_prefix
="$prefix"
19548 prefix
="$acl_final_prefix"
19549 acl_save_exec_prefix
="$exec_prefix"
19550 exec_prefix
="$acl_final_exec_prefix"
19552 exec_prefix
="$acl_save_exec_prefix"
19553 prefix
="$acl_save_prefix"
19555 if test "X$x" = "X$element"; then
19560 if test -z "$haveit"; then
19561 LIBS
="${LIBS}${LIBS:+ }$element"
19578 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19579 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19580 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19581 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19585 $as_echo_n "checking if we really have Objective C++... " >&6; }
19586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19590 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19594 $as_echo "yes" >&6; }
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19598 $as_echo "no" >&6; }
19600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19602 if test "x$CY_OBJECTIVEC" = x1
; then :
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19609 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19610 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19611 $as_echo_n "(cached) " >&6
19614 ac_check_framework_save_LIBS
=$LIBS
19615 LIBS
="-framework CoreFoundation $LIBS"
19616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19619 #include <CoreFoundation/CFBase.h>
19624 CFAllocatorGetDefault();
19629 if ac_fn_objcxx_try_link
"$LINENO"; then :
19631 ac_cv_framework_CoreFoundation
=yes
19634 ac_cv_framework_CoreFoundation
=no
19636 rm -f core conftest.err conftest.
$ac_objext \
19637 conftest
$ac_exeext conftest.
$ac_ext
19638 LIBS
=$ac_check_framework_save_LIBS
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19642 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19643 if test $ac_cv_framework_CoreFoundation = yes; then :
19646 for element
in "-framework CoreFoundation"; do
19650 acl_save_prefix
="$prefix"
19651 prefix
="$acl_final_prefix"
19652 acl_save_exec_prefix
="$exec_prefix"
19653 exec_prefix
="$acl_final_exec_prefix"
19655 exec_prefix
="$acl_save_exec_prefix"
19656 prefix
="$acl_save_prefix"
19658 if test "X$x" = "X$element"; then
19663 if test -z "$haveit"; then
19664 LIBS
="${LIBS}${LIBS:+ }$element"
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19674 $as_echo_n "checking for framework Foundation... " >&6; }
19675 if ${ac_cv_framework_Foundation+:} false
; then :
19676 $as_echo_n "(cached) " >&6
19679 ac_check_framework_save_LIBS
=$LIBS
19680 LIBS
="-framework Foundation $LIBS"
19681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19682 /* end confdefs.h. */
19684 #include <Foundation/NSObject.h>
19689 [[NSObject alloc] init];
19694 if ac_fn_objcxx_try_link
"$LINENO"; then :
19696 ac_cv_framework_Foundation
=yes
19699 ac_cv_framework_Foundation
=no
19701 rm -f core conftest.err conftest.
$ac_objext \
19702 conftest
$ac_exeext conftest.
$ac_ext
19703 LIBS
=$ac_check_framework_save_LIBS
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19707 $as_echo "$ac_cv_framework_Foundation" >&6; }
19708 if test $ac_cv_framework_Foundation = yes; then :
19711 for element
in "-framework Foundation"; do
19715 acl_save_prefix
="$prefix"
19716 prefix
="$acl_final_prefix"
19717 acl_save_exec_prefix
="$exec_prefix"
19718 exec_prefix
="$acl_final_exec_prefix"
19720 exec_prefix
="$acl_save_exec_prefix"
19721 prefix
="$acl_save_prefix"
19723 if test "X$x" = "X$element"; then
19728 if test -z "$haveit"; then
19729 LIBS
="${LIBS}${LIBS:+ }$element"
19733 cat >>confdefs.h
<<_ACEOF
19734 #define HAVE_FRAMEWORK_FOUNDATION 1
19744 for ac_prog
in gnustep
-config
19746 # Extract the first word of "$ac_prog", so it can be a program name with args.
19747 set dummy
$ac_prog; ac_word
=$2
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19749 $as_echo_n "checking for $ac_word... " >&6; }
19750 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19751 $as_echo_n "(cached) " >&6
19753 if test -n "$GNUSTEP_CONFIG"; then
19754 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19757 for as_dir
in $PATH
19760 test -z "$as_dir" && as_dir
=.
19761 for ac_exec_ext
in '' $ac_executable_extensions; do
19762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19763 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19773 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19774 if test -n "$GNUSTEP_CONFIG"; then
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19776 $as_echo "$GNUSTEP_CONFIG" >&6; }
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19779 $as_echo "no" >&6; }
19783 test -n "$GNUSTEP_CONFIG" && break
19787 if test "x$GNUSTEP_CONFIG" != x
; then :
19791 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19793 for x
in $OBJCXXFLAGS; do
19795 acl_save_prefix
="$prefix"
19796 prefix
="$acl_final_prefix"
19797 acl_save_exec_prefix
="$exec_prefix"
19798 exec_prefix
="$acl_final_exec_prefix"
19800 exec_prefix
="$acl_save_exec_prefix"
19801 prefix
="$acl_save_prefix"
19803 if test "X$x" = "X$element"; then
19808 if test -z "$haveit"; then
19809 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19814 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19818 acl_save_prefix
="$prefix"
19819 prefix
="$acl_final_prefix"
19820 acl_save_exec_prefix
="$exec_prefix"
19821 exec_prefix
="$acl_final_exec_prefix"
19823 exec_prefix
="$acl_save_exec_prefix"
19824 prefix
="$acl_save_prefix"
19826 if test "X$x" = "X$element"; then
19831 if test -z "$haveit"; then
19832 LIBS
="${LIBS}${LIBS:+ }$element"
19851 ac_cpp
='$CXXCPP $CPPFLAGS'
19852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19861 if test "x$CY_OBJECTIVEC" = x1
; then
19862 CY_OBJECTIVEC_TRUE
=
19863 CY_OBJECTIVEC_FALSE
='#'
19865 CY_OBJECTIVEC_TRUE
='#'
19866 CY_OBJECTIVEC_FALSE
=
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19875 $as_echo_n "checking for a readline compatible library... " >&6; }
19876 if ${ax_cv_lib_readline+:} false
; then :
19877 $as_echo_n "(cached) " >&6
19881 for readline_lib
in readline edit editline
; do
19882 for termcap_lib
in "" termcap curses ncurses
; do
19883 if test -z "$termcap_lib"; then
19884 TRY_LIB
="-l$readline_lib"
19886 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19888 LIBS
="$ORIG_LIBS $TRY_LIB"
19889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19892 /* Override any GCC internal prototype to avoid an error.
19893 Use char because int might match the return type of a GCC
19894 builtin and then its argument prototype would still apply. */
19902 return readline ();
19907 if ac_fn_cxx_try_link
"$LINENO"; then :
19908 ax_cv_lib_readline
="$TRY_LIB"
19910 rm -f core conftest.err conftest.
$ac_objext \
19911 conftest
$ac_exeext conftest.
$ac_ext
19912 if test -n "$ax_cv_lib_readline"; then
19916 if test -n "$ax_cv_lib_readline"; then
19920 if test -z "$ax_cv_lib_readline"; then
19921 ax_cv_lib_readline
="no"
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19927 $as_echo "$ax_cv_lib_readline" >&6; }
19929 if test "$ax_cv_lib_readline" != "no"; then
19930 LIBS
="$LIBS $ax_cv_lib_readline"
19932 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19934 for ac_header
in readline.h readline
/readline.h
19936 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19937 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19938 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19939 cat >>confdefs.h
<<_ACEOF
19940 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19948 $as_echo_n "checking whether readline supports history... " >&6; }
19949 if ${ax_cv_lib_readline_history+:} false
; then :
19950 $as_echo_n "(cached) " >&6
19953 ax_cv_lib_readline_history
="no"
19954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19957 /* Override any GCC internal prototype to avoid an error.
19958 Use char because int might match the return type of a GCC
19959 builtin and then its argument prototype would still apply. */
19963 char add_history ();
19967 return add_history ();
19972 if ac_fn_cxx_try_link
"$LINENO"; then :
19973 ax_cv_lib_readline_history
="yes"
19975 rm -f core conftest.err conftest.
$ac_objext \
19976 conftest
$ac_exeext conftest.
$ac_ext
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19980 $as_echo "$ax_cv_lib_readline_history" >&6; }
19981 if test "$ax_cv_lib_readline_history" = "yes"; then
19983 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19985 for ac_header
in history.h readline
/history.h
19987 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19988 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19989 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19990 cat >>confdefs.h
<<_ACEOF
19991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20001 LTLIBREADLINE
=$LIBS
20005 case $ax_cv_lib_readline in #(
20007 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20016 $as_echo_n "checking for library containing cur_term... " >&6; }
20017 if ${ac_cv_search_cur_term+:} false
; then :
20018 $as_echo_n "(cached) " >&6
20020 ac_func_search_save_LIBS
=$LIBS
20021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20022 /* end confdefs.h. */
20024 /* Override any GCC internal prototype to avoid an error.
20025 Use char because int might match the return type of a GCC
20026 builtin and then its argument prototype would still apply. */
20034 return cur_term ();
20039 for ac_lib
in '' termcap ncurses
; do
20040 if test -z "$ac_lib"; then
20041 ac_res
="none required"
20044 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20046 if ac_fn_cxx_try_link
"$LINENO"; then :
20047 ac_cv_search_cur_term
=$ac_res
20049 rm -f core conftest.err conftest.
$ac_objext \
20051 if ${ac_cv_search_cur_term+:} false
; then :
20055 if ${ac_cv_search_cur_term+:} false
; then :
20058 ac_cv_search_cur_term
=no
20060 rm conftest.
$ac_ext
20061 LIBS
=$ac_func_search_save_LIBS
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20064 $as_echo "$ac_cv_search_cur_term" >&6; }
20065 ac_res
=$ac_cv_search_cur_term
20066 if test "$ac_res" != no
; then :
20067 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20080 if test "x$CY_EXECUTE" = x1
; then :
20082 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20083 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20085 if test -n "$ac_tool_prefix"; then
20086 for ac_prog
in lipo
20088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20089 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20091 $as_echo_n "checking for $ac_word... " >&6; }
20092 if ${ac_cv_prog__LIPO+:} false
; then :
20093 $as_echo_n "(cached) " >&6
20095 if test -n "$_LIPO"; then
20096 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20099 for as_dir
in $PATH
20102 test -z "$as_dir" && as_dir
=.
20103 for ac_exec_ext
in '' $ac_executable_extensions; do
20104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20105 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20115 _LIPO
=$ac_cv_prog__LIPO
20116 if test -n "$_LIPO"; then
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20118 $as_echo "$_LIPO" >&6; }
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20121 $as_echo "no" >&6; }
20125 test -n "$_LIPO" && break
20128 if test -z "$_LIPO"; then
20130 for ac_prog
in lipo
20132 # Extract the first word of "$ac_prog", so it can be a program name with args.
20133 set dummy
$ac_prog; ac_word
=$2
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20135 $as_echo_n "checking for $ac_word... " >&6; }
20136 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20137 $as_echo_n "(cached) " >&6
20139 if test -n "$ac_ct__LIPO"; then
20140 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20143 for as_dir
in $PATH
20146 test -z "$as_dir" && as_dir
=.
20147 for ac_exec_ext
in '' $ac_executable_extensions; do
20148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20149 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20159 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20160 if test -n "$ac_ct__LIPO"; then
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20162 $as_echo "$ac_ct__LIPO" >&6; }
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20165 $as_echo "no" >&6; }
20169 test -n "$ac_ct__LIPO" && break
20172 if test "x$ac_ct__LIPO" = x
; then
20173 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20175 case $cross_compiling:$ac_tool_warned in
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20179 ac_tool_warned
=yes ;;
20185 if test -n "$ac_tool_prefix"; then
20188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20189 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20191 $as_echo_n "checking for $ac_word... " >&6; }
20192 if ${ac_cv_prog__NM+:} false
; then :
20193 $as_echo_n "(cached) " >&6
20195 if test -n "$_NM"; then
20196 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20199 for as_dir
in $PATH
20202 test -z "$as_dir" && as_dir
=.
20203 for ac_exec_ext
in '' $ac_executable_extensions; do
20204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20205 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20215 _NM
=$ac_cv_prog__NM
20216 if test -n "$_NM"; then
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20218 $as_echo "$_NM" >&6; }
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20221 $as_echo "no" >&6; }
20225 test -n "$_NM" && break
20228 if test -z "$_NM"; then
20232 # Extract the first word of "$ac_prog", so it can be a program name with args.
20233 set dummy
$ac_prog; ac_word
=$2
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20235 $as_echo_n "checking for $ac_word... " >&6; }
20236 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20237 $as_echo_n "(cached) " >&6
20239 if test -n "$ac_ct__NM"; then
20240 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20243 for as_dir
in $PATH
20246 test -z "$as_dir" && as_dir
=.
20247 for ac_exec_ext
in '' $ac_executable_extensions; do
20248 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20249 ac_cv_prog_ac_ct__NM
="$ac_prog"
20250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20259 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20260 if test -n "$ac_ct__NM"; then
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20262 $as_echo "$ac_ct__NM" >&6; }
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20265 $as_echo "no" >&6; }
20269 test -n "$ac_ct__NM" && break
20272 if test "x$ac_ct__NM" = x
; then
20273 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20275 case $cross_compiling:$ac_tool_warned in
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20279 ac_tool_warned
=yes ;;
20285 if test -n "$ac_tool_prefix"; then
20286 for ac_prog
in otool
20288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20289 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20291 $as_echo_n "checking for $ac_word... " >&6; }
20292 if ${ac_cv_prog__OTOOL+:} false
; then :
20293 $as_echo_n "(cached) " >&6
20295 if test -n "$_OTOOL"; then
20296 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20299 for as_dir
in $PATH
20302 test -z "$as_dir" && as_dir
=.
20303 for ac_exec_ext
in '' $ac_executable_extensions; do
20304 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20305 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20315 _OTOOL
=$ac_cv_prog__OTOOL
20316 if test -n "$_OTOOL"; then
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20318 $as_echo "$_OTOOL" >&6; }
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20321 $as_echo "no" >&6; }
20325 test -n "$_OTOOL" && break
20328 if test -z "$_OTOOL"; then
20329 ac_ct__OTOOL
=$_OTOOL
20330 for ac_prog
in otool
20332 # Extract the first word of "$ac_prog", so it can be a program name with args.
20333 set dummy
$ac_prog; ac_word
=$2
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20335 $as_echo_n "checking for $ac_word... " >&6; }
20336 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20337 $as_echo_n "(cached) " >&6
20339 if test -n "$ac_ct__OTOOL"; then
20340 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20343 for as_dir
in $PATH
20346 test -z "$as_dir" && as_dir
=.
20347 for ac_exec_ext
in '' $ac_executable_extensions; do
20348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20349 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20359 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20360 if test -n "$ac_ct__OTOOL"; then
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20362 $as_echo "$ac_ct__OTOOL" >&6; }
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20365 $as_echo "no" >&6; }
20369 test -n "$ac_ct__OTOOL" && break
20372 if test "x$ac_ct__OTOOL" = x
; then
20373 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20375 case $cross_compiling:$ac_tool_warned in
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20379 ac_tool_warned
=yes ;;
20381 _OTOOL
=$ac_ct__OTOOL
20385 CY_ATTACH_GROUP
=procmod
20393 if test "x$CY_MACH" = x1
; then
20402 ac_config_files
="$ac_config_files Makefile"
20404 cat >confcache
<<\_ACEOF
20405 # This file is a shell script that caches the results of configure
20406 # tests run on this system so they can be shared between configure
20407 # scripts and configure runs, see configure's option --config-cache.
20408 # It is not useful on other systems. If it contains results you don't
20409 # want to keep, you may remove or edit it.
20411 # config.status only pays attention to the cache file if you give it
20412 # the --recheck option to rerun configure.
20414 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20415 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20416 # following values.
20420 # The following way of writing the cache mishandles newlines in values,
20421 # but we know of no workaround that is simple, portable, and efficient.
20422 # So, we kill variables containing newlines.
20423 # Ultrix sh set writes to stderr and can't be redirected directly,
20424 # and sets the high bit in the cache file unless we assign to the vars.
20426 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20427 eval ac_val
=\$
$ac_var
20431 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20432 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20435 _
| IFS
| as_nl
) ;; #(
20436 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20437 *) { eval $ac_var=; unset $ac_var;} ;;
20443 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20444 *${as_nl}ac_space
=\
*)
20445 # `set' does not quote correctly, so add quotes: double-quote
20446 # substitution turns \\\\ into \\, and sed turns \\ into \.
20449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20452 # `set' quotes correctly as required by POSIX, so do not add quotes.
20453 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20462 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20464 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20466 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20467 if test -w "$cache_file"; then
20468 if test "x$cache_file" != "x/dev/null"; then
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20470 $as_echo "$as_me: updating cache $cache_file" >&6;}
20471 if test ! -f "$cache_file" || test -h "$cache_file"; then
20472 cat confcache
>"$cache_file"
20474 case $cache_file in #(
20476 mv -f confcache
"$cache_file"$$
&&
20477 mv -f "$cache_file"$$
"$cache_file" ;; #(
20479 mv -f confcache
"$cache_file" ;;
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20485 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20490 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20491 # Let make expand exec_prefix.
20492 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20494 DEFS
=-DHAVE_CONFIG_H
20499 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20500 # 1. Remove the extension, and $U if already installed.
20501 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20502 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20503 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20504 # will be set to the directory where LIBOBJS objects are built.
20505 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20506 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20508 LIBOBJS
=$ac_libobjs
20510 LTLIBOBJS
=$ac_ltlibobjs
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20514 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20515 if test -n "$am_sleep_pid"; then
20516 # Hide warnings about reused PIDs.
20517 wait $am_sleep_pid 2>/dev
/null
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20520 $as_echo "done" >&6; }
20521 if test -n "$EXEEXT"; then
20523 am__EXEEXT_FALSE
='#'
20525 am__EXEEXT_TRUE
='#'
20529 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20530 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20533 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20534 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20537 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20538 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20541 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20542 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20545 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
20546 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
20547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20549 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
20550 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
20551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20553 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
20554 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
20555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20557 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
20558 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
20559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20561 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
20562 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
20563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20566 : "${CONFIG_STATUS=./config.status}"
20568 ac_clean_files_save
=$ac_clean_files
20569 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20571 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20573 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20575 # Generated by $as_me.
20576 # Run this file to recreate the current configuration.
20577 # Compiler output produced by configure, useful for debugging
20578 # configure, is in config.log if it exists.
20581 ac_cs_recheck=false
20584 SHELL=\${CONFIG_SHELL-$SHELL}
20587 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20588 ## -------------------- ##
20589 ## M4sh Initialization. ##
20590 ## -------------------- ##
20592 # Be more Bourne compatible
20593 DUALCASE
=1; export DUALCASE
# for MKS sh
20594 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20597 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20598 # is contrary to our usage. Disable this feature.
20599 alias -g '${1+"$@"}'='"$@"'
20600 setopt NO_GLOB_SUBST
20602 case `(set -o) 2>/dev/null` in #(
20614 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20615 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20616 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20617 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20618 # Prefer a ksh shell builtin over an external printf program on Solaris,
20619 # but without wasting forks for bash or zsh.
20620 if test -z "$BASH_VERSION$ZSH_VERSION" \
20621 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20622 as_echo='print
-r --'
20623 as_echo_n='print
-rn --'
20624 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20625 as_echo='printf %s
\n'
20626 as_echo_n='printf %s
'
20628 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20629 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20630 as_echo_n='/usr
/ucb
/echo -n'
20632 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20633 as_echo_n_body='eval
20637 expr "X$arg" : "X\\(.*\\)$as_nl";
20638 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20640 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20642 export as_echo_n_body
20643 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20645 export as_echo_body
20646 as_echo='sh
-c $as_echo_body as_echo
'
20649 # The user is always right.
20650 if test "${PATH_SEPARATOR+set}" != set; then
20652 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20653 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20660 # We need space, tab and new line, in precisely that order. Quoting is
20661 # there to prevent editors from complaining about space-tab.
20662 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20663 # splitting by setting IFS to empty value.)
20666 # Find who we are. Look in the path if we contain no directory separator.
20669 *[\\/]* ) as_myself=$0 ;;
20670 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20671 for as_dir in $PATH
20674 test -z "$as_dir" && as_dir=.
20675 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20681 # We did not find ourselves, most probably we were run as `sh COMMAND'
20682 # in which case we are not to be found in the path.
20683 if test "x$as_myself" = x
; then
20686 if test ! -f "$as_myself"; then
20687 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20691 # Unset variables that we do not need and which cause bugs (e.g. in
20692 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20693 # suppresses any "Segmentation fault" message there. '((' could
20694 # trigger a bug in pdksh 5.2.14.
20695 for as_var
in BASH_ENV ENV MAIL MAILPATH
20696 do eval test x\
${$as_var+set} = xset \
20697 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20710 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20713 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20714 # ----------------------------------------
20715 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20716 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20717 # script with STATUS, using 1 if that was 0.
20720 as_status
=$1; test $as_status -eq 0 && as_status
=1
20722 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20723 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20725 $as_echo "$as_me: error: $2" >&2
20726 as_fn_exit
$as_status
20730 # as_fn_set_status STATUS
20731 # -----------------------
20732 # Set $? to STATUS, without forking.
20733 as_fn_set_status
()
20736 } # as_fn_set_status
20738 # as_fn_exit STATUS
20739 # -----------------
20740 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20744 as_fn_set_status
$1
20750 # Portably unset VAR.
20753 { eval $1=; unset $1;}
20755 as_unset
=as_fn_unset
20756 # as_fn_append VAR VALUE
20757 # ----------------------
20758 # Append the text in VALUE to the end of the definition contained in VAR. Take
20759 # advantage of any shell optimizations that allow amortized linear growth over
20760 # repeated appends, instead of the typical quadratic growth present in naive
20762 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20763 eval 'as_fn_append ()
20774 # as_fn_arith ARG...
20775 # ------------------
20776 # Perform arithmetic evaluation on the ARGs, and store the result in the
20777 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20778 # must be portable across $(()) and expr.
20779 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20780 eval 'as_fn_arith ()
20787 as_val
=`expr "$@" || test $? -eq 1`
20792 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20793 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20799 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20800 as_basename
=basename
20805 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20811 as_me
=`$as_basename -- "$0" ||
20812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20813 X"$0" : 'X\(//\)$' \| \
20814 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20816 sed '/^.*\/\([^/][^/]*\)\/*$/{
20830 # Avoid depending upon Character Ranges.
20831 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20832 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20833 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20834 as_cr_digits
='0123456789'
20835 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20837 ECHO_C
= ECHO_N
= ECHO_T
=
20838 case `echo -n x` in #(((((
20840 case `echo 'xy\c'` in
20841 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20843 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20850 rm -f conf$$ conf$$.exe conf$$.
file
20851 if test -d conf$$.dir
; then
20852 rm -f conf$$.dir
/conf$$.
file
20855 mkdir conf$$.dir
2>/dev
/null
20857 if (echo >conf$$.
file) 2>/dev
/null
; then
20858 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20860 # ... but there are two gotchas:
20861 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20862 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20863 # In both cases, we have to default to `cp -pR'.
20864 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20866 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20874 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20875 rmdir conf$$.dir
2>/dev
/null
20880 # Create "$as_dir" as a directory, including parents if necessary.
20885 -*) as_dir
=.
/$as_dir;;
20887 test -d "$as_dir" || eval $as_mkdir_p || {
20891 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20892 *) as_qdir
=$as_dir;;
20894 as_dirs
="'$as_qdir' $as_dirs"
20895 as_dir
=`$as_dirname -- "$as_dir" ||
20896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20897 X"$as_dir" : 'X\(//\)[^/]' \| \
20898 X"$as_dir" : 'X\(//\)$' \| \
20899 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20900 $as_echo X"$as_dir" |
20901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20905 /^X\(\/\/\)[^/].*/{
20918 test -d "$as_dir" && break
20920 test -z "$as_dirs" || eval "mkdir $as_dirs"
20921 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20925 if mkdir -p .
2>/dev
/null
; then
20926 as_mkdir_p
='mkdir -p "$as_dir"'
20928 test -d .
/-p && rmdir .
/-p
20933 # as_fn_executable_p FILE
20934 # -----------------------
20935 # Test if FILE is an executable regular file.
20936 as_fn_executable_p
()
20938 test -f "$1" && test -x "$1"
20939 } # as_fn_executable_p
20940 as_test_x
='test -x'
20941 as_executable_p
=as_fn_executable_p
20943 # Sed expression to map a string onto a valid CPP name.
20944 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20946 # Sed expression to map a string onto a valid variable name.
20947 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20951 ## ----------------------------------- ##
20952 ## Main body of $CONFIG_STATUS script. ##
20953 ## ----------------------------------- ##
20955 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20957 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20958 # Save the log message, to keep $0 and so on meaningful, and to
20959 # report actual input values of CONFIG_FILES etc. instead of their
20960 # values after options handling.
20962 This file was extended by Cycript $as_me 0.9, which was
20963 generated by GNU Autoconf 2.69. Invocation command line was
20965 CONFIG_FILES = $CONFIG_FILES
20966 CONFIG_HEADERS = $CONFIG_HEADERS
20967 CONFIG_LINKS = $CONFIG_LINKS
20968 CONFIG_COMMANDS = $CONFIG_COMMANDS
20971 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20976 case $ac_config_files in *"
20977 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20980 case $ac_config_headers in *"
20981 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20986 # Files that config.status was made for.
20987 config_files="$ac_config_files"
20988 config_headers="$ac_config_headers"
20989 config_commands="$ac_config_commands"
20993 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20995 \`$as_me' instantiates files and other configuration actions
20996 from templates according to the current configuration. Unless the files
20997 and actions are specified as TAGs, all are instantiated by default.
20999 Usage: $0 [OPTION]... [TAG]...
21001 -h, --help print this help, then exit
21002 -V, --version print version number and configuration settings, then exit
21003 --config print configuration, then exit
21004 -q, --quiet, --silent
21005 do not print progress messages
21006 -d, --debug don't remove temporary files
21007 --recheck update $as_me by reconfiguring in the same conditions
21008 --file=FILE[:TEMPLATE]
21009 instantiate the configuration file FILE
21010 --header=FILE[:TEMPLATE]
21011 instantiate the configuration header FILE
21013 Configuration files:
21016 Configuration headers:
21019 Configuration commands:
21022 Report bugs to <saurik@saurik.com>.
21023 Cycript home page: <http://www.cycript.org/>."
21026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21027 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21029 Cycript config.status 0.9
21030 configured by $0, generated by GNU Autoconf 2.69,
21031 with options \\"\$ac_cs_config\\"
21033 Copyright (C) 2012 Free Software Foundation, Inc.
21034 This config.status script is free software; the Free Software Foundation
21035 gives unlimited permission to copy, distribute and modify it."
21042 test -n "\$AWK" || AWK=awk
21045 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21046 # The default lists apply if the user does not specify any file.
21052 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21053 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21057 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21069 # Handling of the options.
21070 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21072 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21073 $as_echo "$ac_cs_version"; exit ;;
21074 --config | --confi | --conf | --con | --co | --c )
21075 $as_echo "$ac_cs_config"; exit ;;
21076 --debug | --debu | --deb | --de | --d | -d )
21078 --file | --fil | --fi | --f )
21081 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21082 '') as_fn_error $?
"missing file argument" ;;
21084 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21085 ac_need_defaults
=false
;;
21086 --header | --heade | --head | --hea )
21089 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21091 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21092 ac_need_defaults
=false
;;
21094 # Conflict between --help and --header
21095 as_fn_error $?
"ambiguous option: \`$1'
21096 Try \`$0 --help' for more information.";;
21097 --help | --hel | -h )
21098 $as_echo "$ac_cs_usage"; exit ;;
21099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21100 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21103 # This is an error.
21104 -*) as_fn_error $?
"unrecognized option: \`$1'
21105 Try \`$0 --help' for more information." ;;
21107 *) as_fn_append ac_config_targets
" $1"
21108 ac_need_defaults
=false
;;
21114 ac_configure_extra_args
=
21116 if $ac_cs_silent; then
21118 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21123 if \$ac_cs_recheck; then
21124 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21126 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21127 CONFIG_SHELL='$SHELL'
21128 export CONFIG_SHELL
21133 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21137 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21138 ## Running $as_me. ##
21144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21148 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21151 # The HP-UX ksh and POSIX shell print the target directory to stdout
21152 # if CDPATH is set.
21153 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21155 sed_quote_subst='$sed_quote_subst'
21156 double_quote_subst='$double_quote_subst'
21157 delay_variable_subst='$delay_variable_subst'
21158 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21159 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21160 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21161 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21162 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21163 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21164 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21165 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21166 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21167 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21168 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21169 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21170 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21171 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21172 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21173 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21174 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21175 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21176 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21177 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21178 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21179 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21180 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21181 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21182 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21183 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21184 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21185 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21186 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21187 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21188 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21189 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21190 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21191 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21192 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21193 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21194 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21195 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21196 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21197 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21198 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21199 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21200 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21201 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21202 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21203 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21204 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21205 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21206 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21207 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21208 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21209 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21210 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21211 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21212 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21213 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21214 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"`'
21215 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21216 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21217 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21218 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21219 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21220 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21221 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21222 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21223 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21224 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21225 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21226 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21227 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21228 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21229 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21230 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21231 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21232 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21233 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21234 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21235 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21236 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21237 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21238 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21239 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21240 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21241 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21242 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21243 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21244 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21245 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21246 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21247 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21248 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21249 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21250 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21251 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21252 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21253 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21254 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21255 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21256 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21257 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21258 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21259 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21260 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21261 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21262 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21263 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21264 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21265 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21266 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21267 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21268 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21269 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21270 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21271 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21272 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21273 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21274 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21275 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21276 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21277 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21278 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21279 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21280 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21281 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21282 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21283 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21284 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21285 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21286 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21287 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21288 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21289 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21290 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21291 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21292 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21293 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21294 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21295 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21296 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21297 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21298 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21299 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21300 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21301 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21302 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21303 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21304 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21305 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21306 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21307 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21308 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21309 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21310 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21311 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21312 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21313 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21314 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21315 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21316 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21317 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21318 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21319 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21320 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21321 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21322 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21323 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21324 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21325 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21326 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21327 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21328 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21329 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21330 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21331 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21332 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21333 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21334 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21335 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21336 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21337 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21338 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21339 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21340 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21341 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21344 LTCFLAGS='$LTCFLAGS'
21345 compiler='$compiler_DEFAULT'
21347 # A function that is used when there is no print builtin or printf.
21348 func_fallback_echo ()
21350 eval 'cat <<_LTECHO_EOF
21355 # Quote evaled strings.
21370 deplibs_check_method \
21375 sharedlib_from_linklib_cmd \
21378 archiver_list_spec \
21384 lt_cv_sys_global_symbol_pipe \
21385 lt_cv_sys_global_symbol_to_cdecl \
21386 lt_cv_sys_global_symbol_to_c_name_address \
21387 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21388 nm_file_list_spec \
21389 lt_prog_compiler_no_builtin_flag \
21390 lt_prog_compiler_pic \
21391 lt_prog_compiler_wl \
21392 lt_prog_compiler_static \
21393 lt_cv_prog_compiler_c_o \
21402 export_dynamic_flag_spec \
21403 whole_archive_flag_spec \
21404 compiler_needs_object \
21406 allow_undefined_flag \
21407 no_undefined_flag \
21408 hardcode_libdir_flag_spec \
21409 hardcode_libdir_separator \
21413 variables_saved_for_relink \
21415 library_names_spec \
21417 install_override_mode \
21421 compiler_lib_search_dirs \
21426 compiler_lib_search_path \
21430 lt_prog_compiler_no_builtin_flag_CXX \
21431 lt_prog_compiler_pic_CXX \
21432 lt_prog_compiler_wl_CXX \
21433 lt_prog_compiler_static_CXX \
21434 lt_cv_prog_compiler_c_o_CXX \
21435 export_dynamic_flag_spec_CXX \
21436 whole_archive_flag_spec_CXX \
21437 compiler_needs_object_CXX \
21439 allow_undefined_flag_CXX \
21440 no_undefined_flag_CXX \
21441 hardcode_libdir_flag_spec_CXX \
21442 hardcode_libdir_separator_CXX \
21443 exclude_expsyms_CXX \
21444 include_expsyms_CXX \
21445 file_list_spec_CXX \
21446 compiler_lib_search_dirs_CXX \
21447 predep_objects_CXX \
21448 postdep_objects_CXX \
21451 compiler_lib_search_path_CXX; do
21452 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21453 *[\\\\\\\`\\"\\\$]*)
21454 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21457 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21462 # Double-quote double-evaled strings.
21463 for var in reload_cmds \
21464 old_postinstall_cmds \
21465 old_postuninstall_cmds \
21467 extract_expsyms_cmds \
21468 old_archive_from_new_cmds \
21469 old_archive_from_expsyms_cmds \
21471 archive_expsym_cmds \
21473 module_expsym_cmds \
21474 export_symbols_cmds \
21478 postuninstall_cmds \
21480 sys_lib_search_path_spec \
21481 sys_lib_dlsearch_path_spec \
21483 old_archive_cmds_CXX \
21484 old_archive_from_new_cmds_CXX \
21485 old_archive_from_expsyms_cmds_CXX \
21487 archive_expsym_cmds_CXX \
21489 module_expsym_cmds_CXX \
21490 export_symbols_cmds_CXX \
21492 postlink_cmds_CXX; do
21493 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21494 *[\\\\\\\`\\"\\\$]*)
21495 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21498 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21503 ac_aux_dir='$ac_aux_dir'
21504 xsi_shell='$xsi_shell'
21505 lt_shell_append='$lt_shell_append'
21507 # See if we are running on zsh, and set the options which allow our
21508 # commands through without removal of \ escapes INIT.
21509 if test -n "\${ZSH_VERSION+set}" ; then
21510 setopt NO_GLOB_SUBST
21516 TIMESTAMP='$TIMESTAMP'
21527 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21529 # Handling of arguments.
21530 for ac_config_target
in $ac_config_targets
21532 case $ac_config_target in
21533 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21534 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21535 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21536 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21538 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21543 # If the user did not use the arguments to specify the items to instantiate,
21544 # then the envvar interface is used. Set only those that are not.
21545 # We use the long form for the default assignment because of an extremely
21546 # bizarre bug on SunOS 4.1.3.
21547 if $ac_need_defaults; then
21548 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21549 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21550 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21553 # Have a temporary directory for convenience. Make it in the build tree
21554 # simply because there is no reason against having it here, and in addition,
21555 # creating and moving files from /tmp can sometimes cause problems.
21556 # Hook for its removal unless debugging.
21557 # Note that there is a small window in which the directory will not be cleaned:
21558 # after its creation but before its name has been assigned to `$tmp'.
21562 trap 'exit_status=$?
21563 : "${ac_tmp:=$tmp}"
21564 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21566 trap 'as_fn_exit 1' 1 2 13 15
21568 # Create a (secure) tmp directory for tmp files.
21571 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21575 tmp
=.
/conf$$
-$RANDOM
21576 (umask 077 && mkdir "$tmp")
21577 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21580 # Set up the scripts for CONFIG_FILES section.
21581 # No need to generate them if there are no CONFIG_FILES.
21582 # This happens for instance with `./config.status config.h'.
21583 if test -n "$CONFIG_FILES"; then
21586 ac_cr
=`echo X | tr X '\015'`
21587 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21588 # But we know of no other shell where ac_cr would be empty at this
21589 # point, so we can use a bashism as a fallback.
21590 if test "x$ac_cr" = x
; then
21591 eval ac_cr
=\$
\'\\r
\'
21593 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21594 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21597 ac_cs_awk_cr
=$ac_cr
21600 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21605 echo "cat >conf$$subs.awk <<_ACEOF" &&
21606 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21608 } >conf$$subs.sh ||
21609 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21610 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21612 for ac_last_try in false false false false false :; do
21613 . ./conf$$subs.sh ||
21614 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21616 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21617 if test $ac_delim_n = $ac_delim_num; then
21619 elif $ac_last_try; then
21620 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21622 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21625 rm -f conf$$subs.sh
21627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21628 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21632 s/^/S["/; s
/!.
*/"]=/
21642 s/\(.\{148\}\)..*/\1/
21644 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21649 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21656 s/\(.\{148\}\)..*/\1/
21658 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21662 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21667 ' <conf$$subs.awk | sed '
21672 ' >>$CONFIG_STATUS || ac_write_fail=1
21673 rm -f conf$$subs.awk
21674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21676 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21677 for (key in S) S_is_set[key] = 1
21683 nfields = split(line, field, "@
")
21685 len = length(field[1])
21686 for (i = 2; i < nfields; i++) {
21688 keylen = length(key)
21689 if (S_is_set[key]) {
21691 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21692 len += length(value) + length(field[++i])
21703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21704 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21705 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21708 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21709 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21712 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21713 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21714 # trailing colons and then remove the whole line if VPATH becomes empty
21715 # (actually we leave an empty line to preserve line numbers).
21716 if test "x
$srcdir" = x.; then
21717 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21736 fi # test -n "$CONFIG_FILES"
21738 # Set up the scripts for CONFIG_HEADERS section.
21739 # No need to generate them if there are no CONFIG_HEADERS.
21740 # This happens for instance with `./config.status Makefile'.
21741 if test -n "$CONFIG_HEADERS"; then
21742 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21746 # Transform confdefs.h into an awk script `defines.awk', embedded as
21747 # here-document in config.status, that substitutes the proper values into
21748 # config.h.in to produce config.h.
21750 # Create a delimiter string that does not exist in confdefs.h, to ease
21751 # handling of long lines.
21753 for ac_last_try in false false :; do
21754 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21755 if test -z "$ac_tt"; then
21757 elif $ac_last_try; then
21758 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21760 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21764 # For the awk script, D is an array of macro values keyed by name,
21765 # likewise P contains macro parameters if any. Preserve backslash
21766 # newline sequences.
21768 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21770 s/.\{148\}/&'"$ac_delim"'/g
21773 s/^[ ]*#[ ]*define[ ][ ]*/ /
21780 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21782 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21786 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21787 D["\
1"]=" \
3\\\\\\n
"\\/p
21789 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21794 s/.\{148\}/&'"$ac_delim"'/g
21799 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21802 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21804 ' <confdefs.h | sed '
21805 s/'"$ac_delim"'/"\\\
21806 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21809 for (key in D) D_is_set[key] = 1
21812 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21814 split(line, arg, " ")
21815 if (arg[1] == "#") {
21819 defundef
= substr
(arg
[1], 2)
21822 split(mac1
, mac2
, "(") #)
21824 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21825 if (D_is_set
[macro
]) {
21826 # Preserve the white space surrounding the "#".
21827 print prefix
"define", macro P
[macro
] D
[macro
]
21830 # Replace #undef with comments. This is necessary, for example,
21831 # in the case of _POSIX_SOURCE, which is predefined and required
21832 # on some systems where configure will not decide to define it.
21833 if (defundef
== "undef") {
21834 print
"/*", prefix defundef
, macro
, "*/"
21842 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21843 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21844 fi # test -n "$CONFIG_HEADERS"
21847 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21852 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21854 case $ac_mode$ac_tag in
21856 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21857 :[FH
]-) ac_tag
=-:-;;
21858 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21875 -) ac_f
="$ac_tmp/stdin";;
21876 *) # Look for the file first in the build tree, then in the source tree
21877 # (if the path is not absolute). The absolute path cannot be DOS-style,
21878 # because $ac_f cannot contain `:'.
21882 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21884 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21886 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21887 as_fn_append ac_file_inputs
" '$ac_f'"
21890 # Let's still pretend it is `configure' which instantiates (i.e., don't
21891 # use $as_me), people would be surprised to read:
21892 # /* config.h. Generated by config.status. */
21893 configure_input
='Generated from '`
21894 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21896 if test x
"$ac_file" != x
-; then
21897 configure_input
="$ac_file. $configure_input"
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21899 $as_echo "$as_me: creating $ac_file" >&6;}
21901 # Neutralize special characters interpreted by sed in replacement strings.
21902 case $configure_input in #(
21903 *\
&* | *\
|* | *\\* )
21904 ac_sed_conf_input
=`$as_echo "$configure_input" |
21905 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21906 *) ac_sed_conf_input
=$configure_input;;
21910 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21911 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21916 ac_dir
=`$as_dirname -- "$ac_file" ||
21917 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21918 X"$ac_file" : 'X\(//\)[^/]' \| \
21919 X"$ac_file" : 'X\(//\)$' \| \
21920 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21921 $as_echo X"$ac_file" |
21922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21926 /^X\(\/\/\)[^/].*/{
21939 as_dir
="$ac_dir"; as_fn_mkdir_p
21943 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21945 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21946 # A ".." for each directory in $ac_dir_suffix.
21947 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21948 case $ac_top_builddir_sub in
21949 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21950 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21953 ac_abs_top_builddir
=$ac_pwd
21954 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21955 # for backward compatibility:
21956 ac_top_builddir
=$ac_top_build_prefix
21959 .
) # We are building in place.
21961 ac_top_srcdir
=$ac_top_builddir_sub
21962 ac_abs_top_srcdir
=$ac_pwd ;;
21963 [\\/]* | ?
:[\\/]* ) # Absolute name.
21964 ac_srcdir
=$srcdir$ac_dir_suffix;
21965 ac_top_srcdir
=$srcdir
21966 ac_abs_top_srcdir
=$srcdir ;;
21967 *) # Relative name.
21968 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21969 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21970 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21972 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21982 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21983 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21985 ac_MKDIR_P
=$MKDIR_P
21987 [\\/$
]* | ?
:[\\/]* ) ;;
21988 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21992 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21993 # If the template does not know about datarootdir, expand it.
21994 # FIXME: This hack should be removed a few years after 2.60.
21995 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22006 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22007 *datarootdir
*) ac_datarootdir_seen
=yes;;
22008 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22010 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22013 ac_datarootdir_hack='
22014 s&@datadir@&$datadir&g
22015 s&@docdir@&$docdir&g
22016 s&@infodir@&$infodir&g
22017 s&@localedir@&$localedir&g
22018 s&@mandir@&$mandir&g
22019 s&\\\${datarootdir}&$datarootdir&g' ;;
22023 # Neutralize VPATH when `$srcdir' = `.'.
22024 # Shell code in configure.ac might set extrasub.
22025 # FIXME: do we really want to maintain this feature?
22026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22027 ac_sed_extra="$ac_vpsub
22030 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22032 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22033 s
|@configure_input@
|$ac_sed_conf_input|;t t
22034 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22035 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22036 s
&@srcdir@
&$ac_srcdir&;t t
22037 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22038 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22039 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22040 s
&@builddir@
&$ac_builddir&;t t
22041 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22042 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22043 s
&@INSTALL@
&$ac_INSTALL&;t t
22044 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22045 $ac_datarootdir_hack
22047 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22048 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22050 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22051 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22052 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22053 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22055 which seems to be undefined. Please make sure it is defined" >&5
22056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22057 which seems to be undefined. Please make sure it is defined" >&2;}
22059 rm -f "$ac_tmp/stdin"
22061 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22062 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22070 if test x"$ac_file" != x-; then
22072 $as_echo "/* $configure_input */" \
22073 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22074 } >"$ac_tmp/config.h" \
22075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22076 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22078 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22081 mv "$ac_tmp/config.h" "$ac_file" \
22082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22085 $as_echo "/* $configure_input */" \
22086 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22087 || as_fn_error $? "could not create -" "$LINENO" 5
22089 # Compute "$ac_file"'s index
in $config_headers.
22092 for _am_header
in $config_headers :; do
22093 case $_am_header in
22094 $_am_arg | $_am_arg:* )
22097 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22100 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22101 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22102 X"$_am_arg" : 'X\(//\)[^/]' \| \
22103 X"$_am_arg" : 'X\(//\)$' \| \
22104 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22105 $as_echo X"$_am_arg" |
22106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22110 /^X\(\/\/\)[^/].*/{
22122 s/.*/./; q'`/stamp
-h$_am_stamp_count
22125 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22126 $as_echo "$as_me: executing $ac_file commands" >&6;}
22131 case $ac_file$ac_mode in
22132 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22133 # Older Autoconf quotes --file arguments for eval, but not when files
22134 # are listed without --file. Let's play safe and only enable the eval
22135 # if we detect the quoting.
22136 case $CONFIG_FILES in
22137 *\'*) eval set x
"$CONFIG_FILES" ;;
22138 *) set x
$CONFIG_FILES ;;
22143 # Strip MF so we end up with the name of the file.
22144 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22145 # Check whether this is an Automake generated Makefile or not.
22146 # We used to match only the files named 'Makefile.in', but
22147 # some people rename them; so instead we look at the file content.
22148 # Grep'ing the first line is not enough: some people post-process
22149 # each Makefile.in and add a new line on top of each file to say so.
22150 # Grep'ing the whole file is not good either: AIX grep has a line
22151 # limit of 2048, but all sed's we know have understand at least 4000.
22152 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22153 dirpart
=`$as_dirname -- "$mf" ||
22154 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22155 X"$mf" : 'X\(//\)[^/]' \| \
22156 X"$mf" : 'X\(//\)$' \| \
22157 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22163 /^X\(\/\/\)[^/].*/{
22179 # Extract the definition of DEPDIR, am__include, and am__quote
22180 # from the Makefile without running 'make'.
22181 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22182 test -z "$DEPDIR" && continue
22183 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22184 test -z "$am__include" && continue
22185 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22186 # Find all dependency output files, they are included files with
22187 # $(DEPDIR) in their names. We invoke sed twice because it is the
22188 # simplest approach to changing $(DEPDIR) to its actual value in the
22190 for file in `sed -n "
22191 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22192 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22193 # Make sure the directory exists.
22194 test -f "$dirpart/$file" && continue
22195 fdir
=`$as_dirname -- "$file" ||
22196 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22197 X"$file" : 'X\(//\)[^/]' \| \
22198 X"$file" : 'X\(//\)$' \| \
22199 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22200 $as_echo X"$file" |
22201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22205 /^X\(\/\/\)[^/].*/{
22218 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22219 # echo "creating $dirpart/$file"
22220 echo '# dummy' > "$dirpart/$file"
22227 # See if we are running on zsh, and set the options which allow our
22228 # commands through without removal of \ escapes.
22229 if test -n "${ZSH_VERSION+set}" ; then
22230 setopt NO_GLOB_SUBST
22233 cfgfile
="${ofile}T"
22234 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22237 cat <<_LT_EOF >> "$cfgfile"
22240 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22241 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22242 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22243 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22245 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22246 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22248 # Written by Gordon Matzigkeit, 1996
22250 # This file is part of GNU Libtool.
22252 # GNU Libtool is free software; you can redistribute it and/or
22253 # modify it under the terms of the GNU General Public License as
22254 # published by the Free Software Foundation; either version 2 of
22255 # the License, or (at your option) any later version.
22257 # As a special exception to the GNU General Public License,
22258 # if you distribute this file as part of a program or library that
22259 # is built using GNU Libtool, you may include this file under the
22260 # same distribution terms that you use for the rest of that program.
22262 # GNU Libtool is distributed in the hope that it will be useful,
22263 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22264 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22265 # GNU General Public License for more details.
22267 # You should have received a copy of the GNU General Public License
22268 # along with GNU Libtool; see the file COPYING. If not, a copy
22269 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22270 # obtained by writing to the Free Software Foundation, Inc.,
22271 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22274 # The names of the tagged configurations supported by this script.
22275 available_tags="CXX "
22277 # ### BEGIN LIBTOOL CONFIG
22279 # Which release of libtool.m4 was used?
22280 macro_version=$macro_version
22281 macro_revision=$macro_revision
22283 # Whether or not to build static libraries.
22284 build_old_libs=$enable_static
22286 # Whether or not to build shared libraries.
22287 build_libtool_libs=$enable_shared
22289 # What type of objects to build.
22292 # Whether or not to optimize for fast installation.
22293 fast_install=$enable_fast_install
22295 # Shell to use when invoking shell scripts.
22298 # An echo program that protects backslashes.
22301 # The PATH separator for the build system.
22302 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22305 host_alias=$host_alias
22309 # The build system.
22310 build_alias=$build_alias
22314 # A sed program that does not truncate output.
22317 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22318 Xsed="\$SED -e 1s/^X//"
22320 # A grep program that handles long lines.
22326 # A literal string matcher.
22329 # A BSD- or MS-compatible name lister.
22332 # Whether we need soft or hard links.
22335 # What is the maximum length of a command?
22336 max_cmd_len=$max_cmd_len
22338 # Object file suffix (normally "o").
22341 # Executable file suffix (normally "").
22344 # whether the shell understands "unset".
22347 # turn spaces into newlines.
22350 # turn newlines into spaces.
22353 # convert \$build file names to \$host format.
22354 to_host_file_cmd=$lt_cv_to_host_file_cmd
22356 # convert \$build files to toolchain format.
22357 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22359 # An object symbol dumper.
22360 OBJDUMP=$lt_OBJDUMP
22362 # Method to check whether dependent libraries are shared objects.
22363 deplibs_check_method=$lt_deplibs_check_method
22365 # Command to use when deplibs_check_method = "file_magic".
22366 file_magic_cmd=$lt_file_magic_cmd
22368 # How to find potential files when deplibs_check_method = "file_magic".
22369 file_magic_glob=$lt_file_magic_glob
22371 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22372 want_nocaseglob=$lt_want_nocaseglob
22374 # DLL creation program.
22375 DLLTOOL=$lt_DLLTOOL
22377 # Command to associate shared and link libraries.
22378 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22383 # Flags to create an archive.
22384 AR_FLAGS=$lt_AR_FLAGS
22386 # How to feed a file listing to the archiver.
22387 archiver_list_spec=$lt_archiver_list_spec
22389 # A symbol stripping program.
22392 # Commands used to install an old-style archive.
22394 old_postinstall_cmds=$lt_old_postinstall_cmds
22395 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22397 # Whether to use a lock for old archive extraction.
22398 lock_old_archive_extraction=$lock_old_archive_extraction
22403 # LTCC compiler flags.
22404 LTCFLAGS=$lt_CFLAGS
22406 # Take the output of nm and produce a listing of raw symbols and C names.
22407 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22409 # Transform the output of nm in a proper C declaration.
22410 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22412 # Transform the output of nm in a C name address pair.
22413 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22415 # Transform the output of nm in a C name address pair when lib prefix is needed.
22416 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22418 # Specify filename containing input files for \$NM.
22419 nm_file_list_spec=$lt_nm_file_list_spec
22421 # The root where to search for dependent libraries,and in which our libraries should be installed.
22422 lt_sysroot=$lt_sysroot
22424 # The name of the directory that contains temporary libtool files.
22427 # Used to examine libraries when file_magic_cmd begins with "file".
22428 MAGIC_CMD=$MAGIC_CMD
22430 # Must we lock files when doing compilation?
22431 need_locks=$lt_need_locks
22434 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22436 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22437 DSYMUTIL=$lt_DSYMUTIL
22439 # Tool to change global to local symbols on Mac OS X.
22442 # Tool to manipulate fat objects and archives on Mac OS X.
22445 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22448 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22449 OTOOL64=$lt_OTOOL64
22451 # Old archive suffix (normally "a").
22454 # Shared library suffix (normally ".so").
22455 shrext_cmds=$lt_shrext_cmds
22457 # The commands to extract the exported symbol list from a shared archive.
22458 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22460 # Variables whose values should be saved in libtool wrapper scripts and
22461 # restored at link time.
22462 variables_saved_for_relink=$lt_variables_saved_for_relink
22464 # Do we need the "lib" prefix for modules?
22465 need_lib_prefix=$need_lib_prefix
22467 # Do we need a version for libraries?
22468 need_version=$need_version
22470 # Library versioning type.
22471 version_type=$version_type
22473 # Shared library runtime path variable.
22474 runpath_var=$runpath_var
22476 # Shared library path variable.
22477 shlibpath_var=$shlibpath_var
22479 # Is shlibpath searched before the hard-coded library search path?
22480 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22482 # Format of library name prefix.
22483 libname_spec=$lt_libname_spec
22485 # List of archive names. First name is the real one, the rest are links.
22486 # The last name is the one that the linker finds with -lNAME
22487 library_names_spec=$lt_library_names_spec
22489 # The coded name of the library, if different from the real name.
22490 soname_spec=$lt_soname_spec
22492 # Permission mode override for installation of shared libraries.
22493 install_override_mode=$lt_install_override_mode
22495 # Command to use after installation of a shared archive.
22496 postinstall_cmds=$lt_postinstall_cmds
22498 # Command to use after uninstallation of a shared archive.
22499 postuninstall_cmds=$lt_postuninstall_cmds
22501 # Commands used to finish a libtool library installation in a directory.
22502 finish_cmds=$lt_finish_cmds
22504 # As "finish_cmds", except a single script fragment to be evaled but
22506 finish_eval=$lt_finish_eval
22508 # Whether we should hardcode library paths into libraries.
22509 hardcode_into_libs=$hardcode_into_libs
22511 # Compile-time system search path for libraries.
22512 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22514 # Run-time system search path for libraries.
22515 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22517 # Whether dlopen is supported.
22518 dlopen_support=$enable_dlopen
22520 # Whether dlopen of programs is supported.
22521 dlopen_self=$enable_dlopen_self
22523 # Whether dlopen of statically linked programs is supported.
22524 dlopen_self_static=$enable_dlopen_self_static
22526 # Commands to strip libraries.
22527 old_striplib=$lt_old_striplib
22528 striplib=$lt_striplib
22531 # The linker used to build libraries.
22534 # How to create reloadable object files.
22535 reload_flag=$lt_reload_flag
22536 reload_cmds=$lt_reload_cmds
22538 # Commands used to build an old-style archive.
22539 old_archive_cmds=$lt_old_archive_cmds
22541 # A language specific compiler.
22544 # Is the compiler the GNU compiler?
22547 # Compiler flag to turn off builtin functions.
22548 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22550 # Additional compiler flags for building library objects.
22551 pic_flag=$lt_lt_prog_compiler_pic
22553 # How to pass a linker flag through the compiler.
22554 wl=$lt_lt_prog_compiler_wl
22556 # Compiler flag to prevent dynamic linking.
22557 link_static_flag=$lt_lt_prog_compiler_static
22559 # Does compiler simultaneously support -c and -o options?
22560 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22562 # Whether or not to add -lc for building shared libraries.
22563 build_libtool_need_lc=$archive_cmds_need_lc
22565 # Whether or not to disallow shared libs when runtime libs are static.
22566 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22568 # Compiler flag to allow reflexive dlopens.
22569 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22571 # Compiler flag to generate shared objects directly from archives.
22572 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22574 # Whether the compiler copes with passing no objects directly.
22575 compiler_needs_object=$lt_compiler_needs_object
22577 # Create an old-style archive from a shared archive.
22578 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22580 # Create a temporary old-style archive to link instead of a shared archive.
22581 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22583 # Commands used to build a shared archive.
22584 archive_cmds=$lt_archive_cmds
22585 archive_expsym_cmds=$lt_archive_expsym_cmds
22587 # Commands used to build a loadable module if different from building
22588 # a shared archive.
22589 module_cmds=$lt_module_cmds
22590 module_expsym_cmds=$lt_module_expsym_cmds
22592 # Whether we are building with GNU ld or not.
22593 with_gnu_ld=$lt_with_gnu_ld
22595 # Flag that allows shared libraries with undefined symbols to be built.
22596 allow_undefined_flag=$lt_allow_undefined_flag
22598 # Flag that enforces no undefined symbols.
22599 no_undefined_flag=$lt_no_undefined_flag
22601 # Flag to hardcode \$libdir into a binary during linking.
22602 # This must work even if \$libdir does not exist
22603 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22605 # Whether we need a single "-rpath" flag with a separated argument.
22606 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22608 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22609 # DIR into the resulting binary.
22610 hardcode_direct=$hardcode_direct
22612 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22613 # DIR into the resulting binary and the resulting library dependency is
22614 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22615 # library is relocated.
22616 hardcode_direct_absolute=$hardcode_direct_absolute
22618 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22619 # into the resulting binary.
22620 hardcode_minus_L=$hardcode_minus_L
22622 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22623 # into the resulting binary.
22624 hardcode_shlibpath_var=$hardcode_shlibpath_var
22626 # Set to "yes" if building a shared library automatically hardcodes DIR
22627 # into the library and all subsequent libraries and executables linked
22629 hardcode_automatic=$hardcode_automatic
22631 # Set to yes if linker adds runtime paths of dependent libraries
22632 # to runtime path list.
22633 inherit_rpath=$inherit_rpath
22635 # Whether libtool must link a program against all its dependency libraries.
22636 link_all_deplibs=$link_all_deplibs
22638 # Set to "yes" if exported symbols are required.
22639 always_export_symbols=$always_export_symbols
22641 # The commands to list exported symbols.
22642 export_symbols_cmds=$lt_export_symbols_cmds
22644 # Symbols that should not be listed in the preloaded symbols.
22645 exclude_expsyms=$lt_exclude_expsyms
22647 # Symbols that must always be exported.
22648 include_expsyms=$lt_include_expsyms
22650 # Commands necessary for linking programs (against libraries) with templates.
22651 prelink_cmds=$lt_prelink_cmds
22653 # Commands necessary for finishing linking programs.
22654 postlink_cmds=$lt_postlink_cmds
22656 # Specify filename containing input files.
22657 file_list_spec=$lt_file_list_spec
22659 # How to hardcode a shared library path into an executable.
22660 hardcode_action=$hardcode_action
22662 # The directories searched by this compiler when creating a shared library.
22663 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22665 # Dependencies to place before and after the objects being linked to
22666 # create a shared library.
22667 predep_objects=$lt_predep_objects
22668 postdep_objects=$lt_postdep_objects
22669 predeps=$lt_predeps
22670 postdeps=$lt_postdeps
22672 # The library search path used internally by the compiler when linking
22673 # a shared library.
22674 compiler_lib_search_path=$lt_compiler_lib_search_path
22676 # ### END LIBTOOL CONFIG
22682 cat <<\_LT_EOF
>> "$cfgfile"
22683 # AIX sometimes has problems with the GCC collect2 program. For some
22684 # reason, if we set the COLLECT_NAMES environment variable, the problems
22685 # vanish in a puff of smoke.
22686 if test "X${COLLECT_NAMES+set}" != Xset
; then
22688 export COLLECT_NAMES
22695 ltmain
="$ac_aux_dir/ltmain.sh"
22698 # We use sed instead of cat because bash on DJGPP gets confused if
22699 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22700 # text mode, it properly converts lines to CR/LF. This bash problem
22701 # is reportedly fixed, but why not run on old versions too?
22702 sed '$q' "$ltmain" >> "$cfgfile" \
22703 || (rm -f "$cfgfile"; exit 1)
22705 if test x
"$xsi_shell" = xyes
; then
22706 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22710 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22711 \ * ) func_dirname_result="${3}" ;;\
22713 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22714 && mv -f "$cfgfile.tmp" "$cfgfile" \
22715 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22716 test 0 -eq $?
|| _lt_function_replace_fail
=:
22719 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22722 \ func_basename_result="${1##*/}"\
22723 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22724 && mv -f "$cfgfile.tmp" "$cfgfile" \
22725 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22726 test 0 -eq $?
|| _lt_function_replace_fail
=:
22729 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22730 func_dirname_and_basename ()\
22733 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22734 \ * ) func_dirname_result="${3}" ;;\
22736 \ func_basename_result="${1##*/}"\
22737 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22738 && mv -f "$cfgfile.tmp" "$cfgfile" \
22739 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22740 test 0 -eq $?
|| _lt_function_replace_fail
=:
22743 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22746 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22747 \ # positional parameters, so assign one to ordinary parameter first.\
22748 \ func_stripname_result=${3}\
22749 \ func_stripname_result=${func_stripname_result#"${1}"}\
22750 \ func_stripname_result=${func_stripname_result%"${2}"}\
22751 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22752 && mv -f "$cfgfile.tmp" "$cfgfile" \
22753 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22754 test 0 -eq $?
|| _lt_function_replace_fail
=:
22757 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22758 func_split_long_opt ()\
22760 \ func_split_long_opt_name=${1%%=*}\
22761 \ func_split_long_opt_arg=${1#*=}\
22762 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22763 && mv -f "$cfgfile.tmp" "$cfgfile" \
22764 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22765 test 0 -eq $?
|| _lt_function_replace_fail
=:
22768 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22769 func_split_short_opt ()\
22771 \ func_split_short_opt_arg=${1#??}\
22772 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22773 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22774 && mv -f "$cfgfile.tmp" "$cfgfile" \
22775 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22776 test 0 -eq $?
|| _lt_function_replace_fail
=:
22779 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22783 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22784 \ *) func_lo2o_result=${1} ;;\
22786 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22787 && mv -f "$cfgfile.tmp" "$cfgfile" \
22788 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22789 test 0 -eq $?
|| _lt_function_replace_fail
=:
22792 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22795 func_xform_result=${1%.*}.lo\
22796 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22797 && mv -f "$cfgfile.tmp" "$cfgfile" \
22798 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22799 test 0 -eq $?
|| _lt_function_replace_fail
=:
22802 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22805 func_arith_result=$(( $* ))\
22806 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22807 && mv -f "$cfgfile.tmp" "$cfgfile" \
22808 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22809 test 0 -eq $?
|| _lt_function_replace_fail
=:
22812 sed -e '/^func_len ()$/,/^} # func_len /c\
22815 func_len_result=${#1}\
22816 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22817 && mv -f "$cfgfile.tmp" "$cfgfile" \
22818 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22819 test 0 -eq $?
|| _lt_function_replace_fail
=:
22823 if test x
"$lt_shell_append" = xyes
; then
22824 sed -e '/^func_append ()$/,/^} # func_append /c\
22827 eval "${1}+=\\${2}"\
22828 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22829 && mv -f "$cfgfile.tmp" "$cfgfile" \
22830 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22831 test 0 -eq $?
|| _lt_function_replace_fail
=:
22834 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22835 func_append_quoted ()\
22837 \ func_quote_for_eval "${2}"\
22838 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22839 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22840 && mv -f "$cfgfile.tmp" "$cfgfile" \
22841 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22842 test 0 -eq $?
|| _lt_function_replace_fail
=:
22845 # Save a `func_append' function call where possible by direct use of '+='
22846 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22847 && mv -f "$cfgfile.tmp" "$cfgfile" \
22848 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22849 test 0 -eq $?
|| _lt_function_replace_fail
=:
22851 # Save a `func_append' function call even when '+=' is not available
22852 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22853 && mv -f "$cfgfile.tmp" "$cfgfile" \
22854 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22855 test 0 -eq $?
|| _lt_function_replace_fail
=:
22858 if test x
"$_lt_function_replace_fail" = x
":"; then
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22860 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22864 mv -f "$cfgfile" "$ofile" ||
22865 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22869 cat <<_LT_EOF >> "$ofile"
22871 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22873 # The linker used to build libraries.
22876 # How to create reloadable object files.
22877 reload_flag=$lt_reload_flag_CXX
22878 reload_cmds=$lt_reload_cmds_CXX
22880 # Commands used to build an old-style archive.
22881 old_archive_cmds=$lt_old_archive_cmds_CXX
22883 # A language specific compiler.
22884 CC=$lt_compiler_CXX
22886 # Is the compiler the GNU compiler?
22889 # Compiler flag to turn off builtin functions.
22890 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22892 # Additional compiler flags for building library objects.
22893 pic_flag=$lt_lt_prog_compiler_pic_CXX
22895 # How to pass a linker flag through the compiler.
22896 wl=$lt_lt_prog_compiler_wl_CXX
22898 # Compiler flag to prevent dynamic linking.
22899 link_static_flag=$lt_lt_prog_compiler_static_CXX
22901 # Does compiler simultaneously support -c and -o options?
22902 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22904 # Whether or not to add -lc for building shared libraries.
22905 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22907 # Whether or not to disallow shared libs when runtime libs are static.
22908 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22910 # Compiler flag to allow reflexive dlopens.
22911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22913 # Compiler flag to generate shared objects directly from archives.
22914 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22916 # Whether the compiler copes with passing no objects directly.
22917 compiler_needs_object=$lt_compiler_needs_object_CXX
22919 # Create an old-style archive from a shared archive.
22920 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22922 # Create a temporary old-style archive to link instead of a shared archive.
22923 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22925 # Commands used to build a shared archive.
22926 archive_cmds=$lt_archive_cmds_CXX
22927 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22929 # Commands used to build a loadable module if different from building
22930 # a shared archive.
22931 module_cmds=$lt_module_cmds_CXX
22932 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22934 # Whether we are building with GNU ld or not.
22935 with_gnu_ld=$lt_with_gnu_ld_CXX
22937 # Flag that allows shared libraries with undefined symbols to be built.
22938 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22940 # Flag that enforces no undefined symbols.
22941 no_undefined_flag=$lt_no_undefined_flag_CXX
22943 # Flag to hardcode \$libdir into a binary during linking.
22944 # This must work even if \$libdir does not exist
22945 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22947 # Whether we need a single "-rpath" flag with a separated argument.
22948 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22950 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22951 # DIR into the resulting binary.
22952 hardcode_direct=$hardcode_direct_CXX
22954 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22955 # DIR into the resulting binary and the resulting library dependency is
22956 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22957 # library is relocated.
22958 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22960 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22961 # into the resulting binary.
22962 hardcode_minus_L=$hardcode_minus_L_CXX
22964 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22965 # into the resulting binary.
22966 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22968 # Set to "yes" if building a shared library automatically hardcodes DIR
22969 # into the library and all subsequent libraries and executables linked
22971 hardcode_automatic=$hardcode_automatic_CXX
22973 # Set to yes if linker adds runtime paths of dependent libraries
22974 # to runtime path list.
22975 inherit_rpath=$inherit_rpath_CXX
22977 # Whether libtool must link a program against all its dependency libraries.
22978 link_all_deplibs=$link_all_deplibs_CXX
22980 # Set to "yes" if exported symbols are required.
22981 always_export_symbols=$always_export_symbols_CXX
22983 # The commands to list exported symbols.
22984 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22986 # Symbols that should not be listed in the preloaded symbols.
22987 exclude_expsyms=$lt_exclude_expsyms_CXX
22989 # Symbols that must always be exported.
22990 include_expsyms=$lt_include_expsyms_CXX
22992 # Commands necessary for linking programs (against libraries) with templates.
22993 prelink_cmds=$lt_prelink_cmds_CXX
22995 # Commands necessary for finishing linking programs.
22996 postlink_cmds=$lt_postlink_cmds_CXX
22998 # Specify filename containing input files.
22999 file_list_spec=$lt_file_list_spec_CXX
23001 # How to hardcode a shared library path into an executable.
23002 hardcode_action=$hardcode_action_CXX
23004 # The directories searched by this compiler when creating a shared library.
23005 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23007 # Dependencies to place before and after the objects being linked to
23008 # create a shared library.
23009 predep_objects=$lt_predep_objects_CXX
23010 postdep_objects=$lt_postdep_objects_CXX
23011 predeps=$lt_predeps_CXX
23012 postdeps=$lt_postdeps_CXX
23014 # The library search path used internally by the compiler when linking
23015 # a shared library.
23016 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23018 # ### END LIBTOOL TAG CONFIG: CXX
23029 ac_clean_files
=$ac_clean_files_save
23031 test $ac_write_fail = 0 ||
23032 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23035 # configure is writing to config.log, and then calls config.status.
23036 # config.status does its own redirection, appending to config.log.
23037 # Unfortunately, on DOS this fails, as config.log is still kept open
23038 # by configure, so config.status won't be able to write to it; its
23039 # output is simply discarded. So we exec the FD to /dev/null,
23040 # effectively closing config.log, so it can be properly (re)opened and
23041 # appended to by config.status. When coming back to configure, we
23042 # need to make the FD available again.
23043 if test "$no_create" != yes; then
23045 ac_config_status_args
=
23046 test "$silent" = yes &&
23047 ac_config_status_args
="$ac_config_status_args --quiet"
23049 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23051 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23052 # would make configure fail if this is the last instruction.
23053 $ac_cs_success || as_fn_exit
1
23055 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23057 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}