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
15932 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15933 if test -n "$ac_tool_prefix"; then
15934 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15935 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15937 $as_echo_n "checking for $ac_word... " >&6; }
15938 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15939 $as_echo_n "(cached) " >&6
15941 case $PKG_CONFIG in
15943 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15947 for as_dir
in $PATH
15950 test -z "$as_dir" && as_dir
=.
15951 for ac_exec_ext
in '' $ac_executable_extensions; do
15952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15953 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15964 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15965 if test -n "$PKG_CONFIG"; then
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15967 $as_echo "$PKG_CONFIG" >&6; }
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15970 $as_echo "no" >&6; }
15975 if test -z "$ac_cv_path_PKG_CONFIG"; then
15976 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15977 # Extract the first word of "pkg-config", so it can be a program name with args.
15978 set dummy pkg
-config; ac_word
=$2
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15980 $as_echo_n "checking for $ac_word... " >&6; }
15981 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15982 $as_echo_n "(cached) " >&6
15984 case $ac_pt_PKG_CONFIG in
15986 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15990 for as_dir
in $PATH
15993 test -z "$as_dir" && as_dir
=.
15994 for ac_exec_ext
in '' $ac_executable_extensions; do
15995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15996 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16007 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16008 if test -n "$ac_pt_PKG_CONFIG"; then
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16010 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16013 $as_echo "no" >&6; }
16016 if test "x$ac_pt_PKG_CONFIG" = x
; then
16019 case $cross_compiling:$ac_tool_warned in
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16023 ac_tool_warned
=yes ;;
16025 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16028 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16032 if test -n "$PKG_CONFIG"; then
16033 _pkg_min_version
=0.22
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16035 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16036 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16038 $as_echo "yes" >&6; }
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041 $as_echo "no" >&6; }
16046 # Extract the first word of "git", so it can be a program name with args.
16047 set dummy git
; ac_word
=$2
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16049 $as_echo_n "checking for $ac_word... " >&6; }
16050 if ${ac_cv_path_GIT+:} false
; then :
16051 $as_echo_n "(cached) " >&6
16055 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16059 for as_dir
in $PATH
16062 test -z "$as_dir" && as_dir
=.
16063 for ac_exec_ext
in '' $ac_executable_extensions; do
16064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16065 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16076 GIT
=$ac_cv_path_GIT
16077 if test -n "$GIT"; then
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16079 $as_echo "$GIT" >&6; }
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16082 $as_echo "no" >&6; }
16086 # Extract the first word of "time", so it can be a program name with args.
16087 set dummy
time; ac_word
=$2
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16089 $as_echo_n "checking for $ac_word... " >&6; }
16090 if ${ac_cv_path_TIME+:} false
; then :
16091 $as_echo_n "(cached) " >&6
16095 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16099 for as_dir
in $PATH
16102 test -z "$as_dir" && as_dir
=.
16103 for ac_exec_ext
in '' $ac_executable_extensions; do
16104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16105 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16116 TIME
=$ac_cv_path_TIME
16117 if test -n "$TIME"; then
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16119 $as_echo "$TIME" >&6; }
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16122 $as_echo "no" >&6; }
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16132 $as_echo_n "checking for bison >= 2.3... " >&6; }
16133 if test -z "$BISON"; then
16134 ac_path_BISON_found
=false
16135 # Loop through the user's path and test for each of PROGNAME-LIST
16136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16137 for as_dir
in $PATH
16140 test -z "$as_dir" && as_dir
=.
16141 for ac_prog
in bison
; do
16142 for ac_exec_ext
in '' $ac_executable_extensions; do
16143 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16144 as_fn_executable_p
"$ac_path_BISON" || continue
16145 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16146 if ${version:+false} :; then :
16149 as_awk_strverscmp
='
16150 # Use only awk features that work with 7th edition Unix awk (1978).
16151 # My, what an old awk you have, Mr. Solaris!
16153 while (length(v1) && length(v2)) {
16154 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16155 # Normally this is a single character, but if v1 and v2 contain digits,
16156 # compare them as integers and fractions as strverscmp does.
16157 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16158 # Split v1 and v2 into their leading digit string components d1 and d2,
16159 # and advance v1 and v2 past the leading digit strings.
16160 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16161 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16162 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16163 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16166 # Compare two fractions.
16167 while (d1 ~ /^0/ && d2 ~ /^0/) {
16168 d1 = substr(d1, 2); len1--
16169 d2 = substr(d2, 2); len2--
16171 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16172 # The two components differ in length, and the common prefix
16173 # contains only leading zeros. Consider the longer to be less.
16177 # Otherwise, compare as strings.
16182 # A fraction is less than an integer.
16187 # An integer is greater than a fraction.
16190 # Compare two integers.
16196 # The normal case, without worrying about digits.
16197 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16198 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16200 if (d1 < d2) exit 1
16201 if (d1 > d2) exit 2
16203 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16204 # which mishandles some comparisons of empty strings to integers.
16205 if (length(v2)) exit 1
16206 if (length(v1)) exit 2
16211 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16216 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16218 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16224 $ac_path_BISON_found && break 3
16229 if test -z "$ac_cv_path_BISON"; then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16231 $as_echo "no" >&6; }
16234 ac_cv_path_BISON
=$BISON
16240 BISON
=$ac_cv_path_BISON
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16243 $as_echo "$BISON" >&6; }
16248 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16255 $as_echo "no" >&6; }
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16264 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16265 if test -z "$FLEX"; then
16266 ac_path_FLEX_found
=false
16267 # Loop through the user's path and test for each of PROGNAME-LIST
16268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16269 for as_dir
in $PATH
16272 test -z "$as_dir" && as_dir
=.
16273 for ac_prog
in flex
; do
16274 for ac_exec_ext
in '' $ac_executable_extensions; do
16275 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16276 as_fn_executable_p
"$ac_path_FLEX" || continue
16277 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16278 if ${version:+false} :; then :
16283 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16288 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16290 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16296 $ac_path_FLEX_found && break 3
16301 if test -z "$ac_cv_path_FLEX"; then
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16303 $as_echo "no" >&6; }
16306 ac_cv_path_FLEX
=$FLEX
16312 FLEX
=$ac_cv_path_FLEX
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16315 $as_echo "$FLEX" >&6; }
16320 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16327 $as_echo "no" >&6; }
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16336 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16337 if test -z "$GPERF"; then
16338 ac_path_GPERF_found
=false
16339 # Loop through the user's path and test for each of PROGNAME-LIST
16340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16341 for as_dir
in $PATH
16344 test -z "$as_dir" && as_dir
=.
16345 for ac_prog
in gperf
; do
16346 for ac_exec_ext
in '' $ac_executable_extensions; do
16347 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16348 as_fn_executable_p
"$ac_path_GPERF" || continue
16349 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16350 if ${version:+false} :; then :
16355 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16360 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16362 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16368 $ac_path_GPERF_found && break 3
16373 if test -z "$ac_cv_path_GPERF"; then
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16375 $as_echo "no" >&6; }
16378 ac_cv_path_GPERF
=$GPERF
16384 GPERF
=$ac_cv_path_GPERF
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16387 $as_echo "$GPERF" >&6; }
16392 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16399 $as_echo "no" >&6; }
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16408 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16409 if test -z "$GNUTAR"; then
16410 ac_path_GNUTAR_found
=false
16411 # Loop through the user's path and test for each of PROGNAME-LIST
16412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16413 for as_dir
in $PATH
16416 test -z "$as_dir" && as_dir
=.
16417 for ac_prog
in tar gtar gnutar
; do
16418 for ac_exec_ext
in '' $ac_executable_extensions; do
16419 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16420 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16421 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16422 if ${version:+false} :; then :
16427 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16432 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16434 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16440 $ac_path_GNUTAR_found && break 3
16445 if test -z "$ac_cv_path_GNUTAR"; then
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16447 $as_echo "no" >&6; }
16450 ac_cv_path_GNUTAR
=$GNUTAR
16456 GNUTAR
=$ac_cv_path_GNUTAR
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16459 $as_echo "$GNUTAR" >&6; }
16464 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16471 $as_echo "no" >&6; }
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison for %code{}" >&5
16478 $as_echo_n "checking bison for %code{}... " >&6; }
16479 echo '%code{}%%_:' >conftest.y
16480 if $BISON conftest.y
-o/dev
/null
2>/dev
/null
; then
16482 for element
in Bison24
; do
16484 for x
in $CY_FILTERS; do
16486 acl_save_prefix
="$prefix"
16487 prefix
="$acl_final_prefix"
16488 acl_save_exec_prefix
="$exec_prefix"
16489 exec_prefix
="$acl_final_exec_prefix"
16491 exec_prefix
="$acl_save_exec_prefix"
16492 prefix
="$acl_save_prefix"
16494 if test "X$x" = "X$element"; then
16499 if test -z "$haveit"; then
16500 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16505 $as_echo "yes" >&6; }
16508 for element
in Bison23
; do
16510 for x
in $CY_FILTERS; do
16512 acl_save_prefix
="$prefix"
16513 prefix
="$acl_final_prefix"
16514 acl_save_exec_prefix
="$exec_prefix"
16515 exec_prefix
="$acl_final_exec_prefix"
16517 exec_prefix
="$acl_save_exec_prefix"
16518 prefix
="$acl_save_prefix"
16520 if test "X$x" = "X$element"; then
16525 if test -z "$haveit"; then
16526 CY_FILTERS
="${CY_FILTERS}${CY_FILTERS:+ }$element"
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16531 $as_echo "no" >&6; }
16545 if ${CFLAGS+:} false
; then :
16546 case " $CFLAGS " in
16548 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16549 (: CFLAGS already contains
) 2>&5
16551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16552 test $ac_status = 0; }
16555 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16556 (: CFLAGS
="$CFLAGS ") 2>&5
16558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16559 test $ac_status = 0; }
16568 ac_cpp
='$CPP $CPPFLAGS'
16569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16574 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16575 if ${ac_cv_cflags_warn_all+:} false
; then :
16576 $as_echo_n "(cached) " >&6
16578 ac_cv_cflags_warn_all
="no, unknown"
16579 ac_save_CFLAGS
="$CFLAGS"
16580 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" #
16581 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16593 if ac_fn_c_try_compile
"$LINENO"; then :
16594 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16598 CFLAGS
="$ac_save_CFLAGS"
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16602 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16604 case ".$ac_cv_cflags_warn_all" in
16607 *) if ${CFLAGS+:} false
; then :
16608 case " $CFLAGS " in
16609 *" $ac_cv_cflags_warn_all "*)
16610 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16611 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16614 test $ac_status = 0; }
16617 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16618 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16621 test $ac_status = 0; }
16622 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16626 CFLAGS
="$ac_cv_cflags_warn_all"
16632 ac_cpp
='$CXXCPP $CPPFLAGS'
16633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16639 ac_cpp
='$CXXCPP $CPPFLAGS'
16640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16645 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16646 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16647 $as_echo_n "(cached) " >&6
16649 ac_cv_cxxflags_warn_all
="no, unknown"
16650 ac_save_CXXFLAGS
="$CXXFLAGS"
16651 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" #
16652 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16664 if ac_fn_cxx_try_compile
"$LINENO"; then :
16665 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16669 CXXFLAGS
="$ac_save_CXXFLAGS"
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16673 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16675 case ".$ac_cv_cxxflags_warn_all" in
16678 *) if ${CXXFLAGS+:} false
; then :
16679 case " $CXXFLAGS " in
16680 *" $ac_cv_cxxflags_warn_all "*)
16681 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16682 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16685 test $ac_status = 0; }
16688 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16689 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16692 test $ac_status = 0; }
16693 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16697 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16703 ac_cpp
='$CXXCPP $CPPFLAGS'
16704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16710 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16711 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16712 $as_echo_n "(cached) " >&6
16714 ac_cv_cxxflags_warn_all
="no, unknown"
16715 ac_save_CXXFLAGS
="$CXXFLAGS"
16716 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" #
16717 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16729 if ac_fn_cxx_try_compile
"$LINENO"; then :
16730 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16734 CXXFLAGS
="$ac_save_CXXFLAGS"
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16738 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16740 case ".$ac_cv_cxxflags_warn_all" in
16743 *) if ${CXXFLAGS+:} false
; then :
16744 case " $CXXFLAGS " in
16745 *" $ac_cv_cxxflags_warn_all "*)
16746 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16747 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16750 test $ac_status = 0; }
16753 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16754 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16757 test $ac_status = 0; }
16758 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16762 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16772 ac_cpp
='$CPP $CPPFLAGS'
16773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
16778 $as_echo_n "checking for cc -Werror... " >&6; }
16782 for element
in -Werror; do
16784 for x
in $CFLAGS; do
16786 acl_save_prefix
="$prefix"
16787 prefix
="$acl_final_prefix"
16788 acl_save_exec_prefix
="$exec_prefix"
16789 exec_prefix
="$acl_final_exec_prefix"
16791 exec_prefix
="$acl_save_exec_prefix"
16792 prefix
="$acl_save_prefix"
16794 if test "X$x" = "X$element"; then
16799 if test -z "$haveit"; then
16800 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16809 if ac_fn_c_try_compile
"$LINENO"; then :
16814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16817 if test "x$cy_good" = x1
; then :
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16819 $as_echo "yes" >&6; }
16821 for element
in -Werror; do
16823 for x
in $CFLAGS; do
16825 acl_save_prefix
="$prefix"
16826 prefix
="$acl_final_prefix"
16827 acl_save_exec_prefix
="$exec_prefix"
16828 exec_prefix
="$acl_final_exec_prefix"
16830 exec_prefix
="$acl_save_exec_prefix"
16831 prefix
="$acl_save_prefix"
16833 if test "X$x" = "X$element"; then
16838 if test -z "$haveit"; then
16839 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16846 $as_echo "no" >&6; }
16850 ac_cpp
='$CXXCPP $CPPFLAGS'
16851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16858 ac_cpp
='$CXXCPP $CPPFLAGS'
16859 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16860 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16861 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
16864 $as_echo_n "checking for c++ -Werror... " >&6; }
16868 for element
in -Werror; do
16870 for x
in $CXXFLAGS; do
16872 acl_save_prefix
="$prefix"
16873 prefix
="$acl_final_prefix"
16874 acl_save_exec_prefix
="$exec_prefix"
16875 exec_prefix
="$acl_final_exec_prefix"
16877 exec_prefix
="$acl_save_exec_prefix"
16878 prefix
="$acl_save_prefix"
16880 if test "X$x" = "X$element"; then
16885 if test -z "$haveit"; then
16886 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16895 if ac_fn_cxx_try_compile
"$LINENO"; then :
16900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16903 if test "x$cy_good" = x1
; then :
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16905 $as_echo "yes" >&6; }
16907 for element
in -Werror; do
16909 for x
in $CXXFLAGS; do
16911 acl_save_prefix
="$prefix"
16912 prefix
="$acl_final_prefix"
16913 acl_save_exec_prefix
="$exec_prefix"
16914 exec_prefix
="$acl_final_exec_prefix"
16916 exec_prefix
="$acl_save_exec_prefix"
16917 prefix
="$acl_save_prefix"
16919 if test "X$x" = "X$element"; then
16924 if test -z "$haveit"; then
16925 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16932 $as_echo "no" >&6; }
16936 ac_cpp
='$CXXCPP $CPPFLAGS'
16937 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16938 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16939 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16944 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16945 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16946 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16947 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
16950 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
16952 cy_save
=$OBJCXXFLAGS
16954 for element
in -Werror; do
16956 for x
in $OBJCXXFLAGS; do
16958 acl_save_prefix
="$prefix"
16959 prefix
="$acl_final_prefix"
16960 acl_save_exec_prefix
="$exec_prefix"
16961 exec_prefix
="$acl_final_exec_prefix"
16963 exec_prefix
="$acl_save_exec_prefix"
16964 prefix
="$acl_save_prefix"
16966 if test "X$x" = "X$element"; then
16971 if test -z "$haveit"; then
16972 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16981 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16988 OBJCXXFLAGS
=$cy_save
16989 if test "x$cy_good" = x1
; then :
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16991 $as_echo "yes" >&6; }
16993 for element
in -Werror; do
16995 for x
in $OBJCXXFLAGS; do
16997 acl_save_prefix
="$prefix"
16998 prefix
="$acl_final_prefix"
16999 acl_save_exec_prefix
="$exec_prefix"
17000 exec_prefix
="$acl_final_exec_prefix"
17002 exec_prefix
="$acl_save_exec_prefix"
17003 prefix
="$acl_save_prefix"
17005 if test "X$x" = "X$element"; then
17010 if test -z "$haveit"; then
17011 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17018 $as_echo "no" >&6; }
17022 ac_cpp
='$CXXCPP $CPPFLAGS'
17023 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17024 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17025 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17033 ac_cpp
='$CPP $CPPFLAGS'
17034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17039 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17043 for element
in -Wno-deprecated-declarations; do
17045 for x
in $CFLAGS; do
17047 acl_save_prefix
="$prefix"
17048 prefix
="$acl_final_prefix"
17049 acl_save_exec_prefix
="$exec_prefix"
17050 exec_prefix
="$acl_final_exec_prefix"
17052 exec_prefix
="$acl_save_exec_prefix"
17053 prefix
="$acl_save_prefix"
17055 if test "X$x" = "X$element"; then
17060 if test -z "$haveit"; then
17061 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17067 /* end confdefs.h. */
17070 if ac_fn_c_try_compile
"$LINENO"; then :
17075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17078 if test "x$cy_good" = x1
; then :
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17080 $as_echo "yes" >&6; }
17082 for element
in -Wno-deprecated-declarations; do
17084 for x
in $CFLAGS; do
17086 acl_save_prefix
="$prefix"
17087 prefix
="$acl_final_prefix"
17088 acl_save_exec_prefix
="$exec_prefix"
17089 exec_prefix
="$acl_final_exec_prefix"
17091 exec_prefix
="$acl_save_exec_prefix"
17092 prefix
="$acl_save_prefix"
17094 if test "X$x" = "X$element"; then
17099 if test -z "$haveit"; then
17100 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17107 $as_echo "no" >&6; }
17111 ac_cpp
='$CXXCPP $CPPFLAGS'
17112 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17113 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17114 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17119 ac_cpp
='$CXXCPP $CPPFLAGS'
17120 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17121 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17122 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17125 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17129 for element
in -Wno-deprecated-declarations; do
17131 for x
in $CXXFLAGS; do
17133 acl_save_prefix
="$prefix"
17134 prefix
="$acl_final_prefix"
17135 acl_save_exec_prefix
="$exec_prefix"
17136 exec_prefix
="$acl_final_exec_prefix"
17138 exec_prefix
="$acl_save_exec_prefix"
17139 prefix
="$acl_save_prefix"
17141 if test "X$x" = "X$element"; then
17146 if test -z "$haveit"; then
17147 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17156 if ac_fn_cxx_try_compile
"$LINENO"; then :
17161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17164 if test "x$cy_good" = x1
; then :
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17166 $as_echo "yes" >&6; }
17168 for element
in -Wno-deprecated-declarations; do
17170 for x
in $CXXFLAGS; do
17172 acl_save_prefix
="$prefix"
17173 prefix
="$acl_final_prefix"
17174 acl_save_exec_prefix
="$exec_prefix"
17175 exec_prefix
="$acl_final_exec_prefix"
17177 exec_prefix
="$acl_save_exec_prefix"
17178 prefix
="$acl_save_prefix"
17180 if test "X$x" = "X$element"; then
17185 if test -z "$haveit"; then
17186 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17193 $as_echo "no" >&6; }
17197 ac_cpp
='$CXXCPP $CPPFLAGS'
17198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17205 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17206 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17211 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17213 cy_save
=$OBJCXXFLAGS
17215 for element
in -Wno-deprecated-declarations; do
17217 for x
in $OBJCXXFLAGS; do
17219 acl_save_prefix
="$prefix"
17220 prefix
="$acl_final_prefix"
17221 acl_save_exec_prefix
="$exec_prefix"
17222 exec_prefix
="$acl_final_exec_prefix"
17224 exec_prefix
="$acl_save_exec_prefix"
17225 prefix
="$acl_save_prefix"
17227 if test "X$x" = "X$element"; then
17232 if test -z "$haveit"; then
17233 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17242 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17249 OBJCXXFLAGS
=$cy_save
17250 if test "x$cy_good" = x1
; then :
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17252 $as_echo "yes" >&6; }
17254 for element
in -Wno-deprecated-declarations; do
17256 for x
in $OBJCXXFLAGS; do
17258 acl_save_prefix
="$prefix"
17259 prefix
="$acl_final_prefix"
17260 acl_save_exec_prefix
="$exec_prefix"
17261 exec_prefix
="$acl_final_exec_prefix"
17263 exec_prefix
="$acl_save_exec_prefix"
17264 prefix
="$acl_save_prefix"
17266 if test "X$x" = "X$element"; then
17271 if test -z "$haveit"; then
17272 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17279 $as_echo "no" >&6; }
17283 ac_cpp
='$CXXCPP $CPPFLAGS'
17284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17294 ac_cpp
='$CPP $CPPFLAGS'
17295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17300 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17304 for element
in -Wno-dangling-else; do
17306 for x
in $CFLAGS; do
17308 acl_save_prefix
="$prefix"
17309 prefix
="$acl_final_prefix"
17310 acl_save_exec_prefix
="$exec_prefix"
17311 exec_prefix
="$acl_final_exec_prefix"
17313 exec_prefix
="$acl_save_exec_prefix"
17314 prefix
="$acl_save_prefix"
17316 if test "X$x" = "X$element"; then
17321 if test -z "$haveit"; then
17322 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17331 if ac_fn_c_try_compile
"$LINENO"; then :
17336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17339 if test "x$cy_good" = x1
; then :
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17341 $as_echo "yes" >&6; }
17343 for element
in -Wno-dangling-else; do
17345 for x
in $CFLAGS; do
17347 acl_save_prefix
="$prefix"
17348 prefix
="$acl_final_prefix"
17349 acl_save_exec_prefix
="$exec_prefix"
17350 exec_prefix
="$acl_final_exec_prefix"
17352 exec_prefix
="$acl_save_exec_prefix"
17353 prefix
="$acl_save_prefix"
17355 if test "X$x" = "X$element"; then
17360 if test -z "$haveit"; then
17361 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17368 $as_echo "no" >&6; }
17372 ac_cpp
='$CXXCPP $CPPFLAGS'
17373 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17374 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17375 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17380 ac_cpp
='$CXXCPP $CPPFLAGS'
17381 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
17386 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
17390 for element
in -Wno-dangling-else; do
17392 for x
in $CXXFLAGS; do
17394 acl_save_prefix
="$prefix"
17395 prefix
="$acl_final_prefix"
17396 acl_save_exec_prefix
="$exec_prefix"
17397 exec_prefix
="$acl_final_exec_prefix"
17399 exec_prefix
="$acl_save_exec_prefix"
17400 prefix
="$acl_save_prefix"
17402 if test "X$x" = "X$element"; then
17407 if test -z "$haveit"; then
17408 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17417 if ac_fn_cxx_try_compile
"$LINENO"; then :
17422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17425 if test "x$cy_good" = x1
; then :
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17427 $as_echo "yes" >&6; }
17429 for element
in -Wno-dangling-else; do
17431 for x
in $CXXFLAGS; do
17433 acl_save_prefix
="$prefix"
17434 prefix
="$acl_final_prefix"
17435 acl_save_exec_prefix
="$exec_prefix"
17436 exec_prefix
="$acl_final_exec_prefix"
17438 exec_prefix
="$acl_save_exec_prefix"
17439 prefix
="$acl_save_prefix"
17441 if test "X$x" = "X$element"; then
17446 if test -z "$haveit"; then
17447 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17454 $as_echo "no" >&6; }
17458 ac_cpp
='$CXXCPP $CPPFLAGS'
17459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17466 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17467 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17468 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17469 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
17472 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
17474 cy_save
=$OBJCXXFLAGS
17476 for element
in -Wno-dangling-else; do
17478 for x
in $OBJCXXFLAGS; do
17480 acl_save_prefix
="$prefix"
17481 prefix
="$acl_final_prefix"
17482 acl_save_exec_prefix
="$exec_prefix"
17483 exec_prefix
="$acl_final_exec_prefix"
17485 exec_prefix
="$acl_save_exec_prefix"
17486 prefix
="$acl_save_prefix"
17488 if test "X$x" = "X$element"; then
17493 if test -z "$haveit"; then
17494 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17503 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17510 OBJCXXFLAGS
=$cy_save
17511 if test "x$cy_good" = x1
; then :
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17513 $as_echo "yes" >&6; }
17515 for element
in -Wno-dangling-else; do
17517 for x
in $OBJCXXFLAGS; do
17519 acl_save_prefix
="$prefix"
17520 prefix
="$acl_final_prefix"
17521 acl_save_exec_prefix
="$exec_prefix"
17522 exec_prefix
="$acl_final_exec_prefix"
17524 exec_prefix
="$acl_save_exec_prefix"
17525 prefix
="$acl_save_prefix"
17527 if test "X$x" = "X$element"; then
17532 if test -z "$haveit"; then
17533 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17540 $as_echo "no" >&6; }
17544 ac_cpp
='$CXXCPP $CPPFLAGS'
17545 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17554 ac_cpp
='$CPP $CPPFLAGS'
17555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
17560 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
17564 for element
in -Wno-overloaded-virtual; do
17566 for x
in $CFLAGS; do
17568 acl_save_prefix
="$prefix"
17569 prefix
="$acl_final_prefix"
17570 acl_save_exec_prefix
="$exec_prefix"
17571 exec_prefix
="$acl_final_exec_prefix"
17573 exec_prefix
="$acl_save_exec_prefix"
17574 prefix
="$acl_save_prefix"
17576 if test "X$x" = "X$element"; then
17581 if test -z "$haveit"; then
17582 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17591 if ac_fn_c_try_compile
"$LINENO"; then :
17596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17599 if test "x$cy_good" = x1
; then :
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17601 $as_echo "yes" >&6; }
17603 for element
in -Wno-overloaded-virtual; do
17605 for x
in $CFLAGS; do
17607 acl_save_prefix
="$prefix"
17608 prefix
="$acl_final_prefix"
17609 acl_save_exec_prefix
="$exec_prefix"
17610 exec_prefix
="$acl_final_exec_prefix"
17612 exec_prefix
="$acl_save_exec_prefix"
17613 prefix
="$acl_save_prefix"
17615 if test "X$x" = "X$element"; then
17620 if test -z "$haveit"; then
17621 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17628 $as_echo "no" >&6; }
17632 ac_cpp
='$CXXCPP $CPPFLAGS'
17633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17640 ac_cpp
='$CXXCPP $CPPFLAGS'
17641 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17642 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17643 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
17646 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
17650 for element
in -Wno-overloaded-virtual; do
17652 for x
in $CXXFLAGS; do
17654 acl_save_prefix
="$prefix"
17655 prefix
="$acl_final_prefix"
17656 acl_save_exec_prefix
="$exec_prefix"
17657 exec_prefix
="$acl_final_exec_prefix"
17659 exec_prefix
="$acl_save_exec_prefix"
17660 prefix
="$acl_save_prefix"
17662 if test "X$x" = "X$element"; then
17667 if test -z "$haveit"; then
17668 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17677 if ac_fn_cxx_try_compile
"$LINENO"; then :
17682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17685 if test "x$cy_good" = x1
; then :
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17687 $as_echo "yes" >&6; }
17689 for element
in -Wno-overloaded-virtual; do
17691 for x
in $CXXFLAGS; do
17693 acl_save_prefix
="$prefix"
17694 prefix
="$acl_final_prefix"
17695 acl_save_exec_prefix
="$exec_prefix"
17696 exec_prefix
="$acl_final_exec_prefix"
17698 exec_prefix
="$acl_save_exec_prefix"
17699 prefix
="$acl_save_prefix"
17701 if test "X$x" = "X$element"; then
17706 if test -z "$haveit"; then
17707 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17714 $as_echo "no" >&6; }
17718 ac_cpp
='$CXXCPP $CPPFLAGS'
17719 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17726 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17727 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17728 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17729 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
17732 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
17734 cy_save
=$OBJCXXFLAGS
17736 for element
in -Wno-overloaded-virtual; do
17738 for x
in $OBJCXXFLAGS; do
17740 acl_save_prefix
="$prefix"
17741 prefix
="$acl_final_prefix"
17742 acl_save_exec_prefix
="$exec_prefix"
17743 exec_prefix
="$acl_final_exec_prefix"
17745 exec_prefix
="$acl_save_exec_prefix"
17746 prefix
="$acl_save_prefix"
17748 if test "X$x" = "X$element"; then
17753 if test -z "$haveit"; then
17754 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17763 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17770 OBJCXXFLAGS
=$cy_save
17771 if test "x$cy_good" = x1
; then :
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17773 $as_echo "yes" >&6; }
17775 for element
in -Wno-overloaded-virtual; do
17777 for x
in $OBJCXXFLAGS; do
17779 acl_save_prefix
="$prefix"
17780 prefix
="$acl_final_prefix"
17781 acl_save_exec_prefix
="$exec_prefix"
17782 exec_prefix
="$acl_final_exec_prefix"
17784 exec_prefix
="$acl_save_exec_prefix"
17785 prefix
="$acl_save_prefix"
17787 if test "X$x" = "X$element"; then
17792 if test -z "$haveit"; then
17793 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17800 $as_echo "no" >&6; }
17804 ac_cpp
='$CXXCPP $CPPFLAGS'
17805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17814 ac_cpp
='$CPP $CPPFLAGS'
17815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
17820 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
17824 for element
in -Wno-parentheses; do
17826 for x
in $CFLAGS; do
17828 acl_save_prefix
="$prefix"
17829 prefix
="$acl_final_prefix"
17830 acl_save_exec_prefix
="$exec_prefix"
17831 exec_prefix
="$acl_final_exec_prefix"
17833 exec_prefix
="$acl_save_exec_prefix"
17834 prefix
="$acl_save_prefix"
17836 if test "X$x" = "X$element"; then
17841 if test -z "$haveit"; then
17842 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17851 if ac_fn_c_try_compile
"$LINENO"; then :
17856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17859 if test "x$cy_good" = x1
; then :
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17861 $as_echo "yes" >&6; }
17863 for element
in -Wno-parentheses; do
17865 for x
in $CFLAGS; do
17867 acl_save_prefix
="$prefix"
17868 prefix
="$acl_final_prefix"
17869 acl_save_exec_prefix
="$exec_prefix"
17870 exec_prefix
="$acl_final_exec_prefix"
17872 exec_prefix
="$acl_save_exec_prefix"
17873 prefix
="$acl_save_prefix"
17875 if test "X$x" = "X$element"; then
17880 if test -z "$haveit"; then
17881 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17888 $as_echo "no" >&6; }
17892 ac_cpp
='$CXXCPP $CPPFLAGS'
17893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17900 ac_cpp
='$CXXCPP $CPPFLAGS'
17901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
17906 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
17910 for element
in -Wno-parentheses; do
17912 for x
in $CXXFLAGS; do
17914 acl_save_prefix
="$prefix"
17915 prefix
="$acl_final_prefix"
17916 acl_save_exec_prefix
="$exec_prefix"
17917 exec_prefix
="$acl_final_exec_prefix"
17919 exec_prefix
="$acl_save_exec_prefix"
17920 prefix
="$acl_save_prefix"
17922 if test "X$x" = "X$element"; then
17927 if test -z "$haveit"; then
17928 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17937 if ac_fn_cxx_try_compile
"$LINENO"; then :
17942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17945 if test "x$cy_good" = x1
; then :
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17947 $as_echo "yes" >&6; }
17949 for element
in -Wno-parentheses; do
17951 for x
in $CXXFLAGS; do
17953 acl_save_prefix
="$prefix"
17954 prefix
="$acl_final_prefix"
17955 acl_save_exec_prefix
="$exec_prefix"
17956 exec_prefix
="$acl_final_exec_prefix"
17958 exec_prefix
="$acl_save_exec_prefix"
17959 prefix
="$acl_save_prefix"
17961 if test "X$x" = "X$element"; then
17966 if test -z "$haveit"; then
17967 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17974 $as_echo "no" >&6; }
17978 ac_cpp
='$CXXCPP $CPPFLAGS'
17979 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17986 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17987 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17988 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17989 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
17992 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
17994 cy_save
=$OBJCXXFLAGS
17996 for element
in -Wno-parentheses; do
17998 for x
in $OBJCXXFLAGS; do
18000 acl_save_prefix
="$prefix"
18001 prefix
="$acl_final_prefix"
18002 acl_save_exec_prefix
="$exec_prefix"
18003 exec_prefix
="$acl_final_exec_prefix"
18005 exec_prefix
="$acl_save_exec_prefix"
18006 prefix
="$acl_save_prefix"
18008 if test "X$x" = "X$element"; then
18013 if test -z "$haveit"; then
18014 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18023 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18030 OBJCXXFLAGS
=$cy_save
18031 if test "x$cy_good" = x1
; then :
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18033 $as_echo "yes" >&6; }
18035 for element
in -Wno-parentheses; do
18037 for x
in $OBJCXXFLAGS; do
18039 acl_save_prefix
="$prefix"
18040 prefix
="$acl_final_prefix"
18041 acl_save_exec_prefix
="$exec_prefix"
18042 exec_prefix
="$acl_final_exec_prefix"
18044 exec_prefix
="$acl_save_exec_prefix"
18045 prefix
="$acl_save_prefix"
18047 if test "X$x" = "X$element"; then
18052 if test -z "$haveit"; then
18053 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18060 $as_echo "no" >&6; }
18064 ac_cpp
='$CXXCPP $CPPFLAGS'
18065 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18066 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18067 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18074 ac_cpp
='$CPP $CPPFLAGS'
18075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18080 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18084 for element
in -Wno-unneeded-internal-declaration; do
18086 for x
in $CFLAGS; do
18088 acl_save_prefix
="$prefix"
18089 prefix
="$acl_final_prefix"
18090 acl_save_exec_prefix
="$exec_prefix"
18091 exec_prefix
="$acl_final_exec_prefix"
18093 exec_prefix
="$acl_save_exec_prefix"
18094 prefix
="$acl_save_prefix"
18096 if test "X$x" = "X$element"; then
18101 if test -z "$haveit"; then
18102 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18108 /* end confdefs.h. */
18111 if ac_fn_c_try_compile
"$LINENO"; then :
18116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18119 if test "x$cy_good" = x1
; then :
18120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18121 $as_echo "yes" >&6; }
18123 for element
in -Wno-unneeded-internal-declaration; do
18125 for x
in $CFLAGS; do
18127 acl_save_prefix
="$prefix"
18128 prefix
="$acl_final_prefix"
18129 acl_save_exec_prefix
="$exec_prefix"
18130 exec_prefix
="$acl_final_exec_prefix"
18132 exec_prefix
="$acl_save_exec_prefix"
18133 prefix
="$acl_save_prefix"
18135 if test "X$x" = "X$element"; then
18140 if test -z "$haveit"; then
18141 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18148 $as_echo "no" >&6; }
18152 ac_cpp
='$CXXCPP $CPPFLAGS'
18153 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18154 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18155 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18160 ac_cpp
='$CXXCPP $CPPFLAGS'
18161 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18162 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18163 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18166 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18170 for element
in -Wno-unneeded-internal-declaration; do
18172 for x
in $CXXFLAGS; do
18174 acl_save_prefix
="$prefix"
18175 prefix
="$acl_final_prefix"
18176 acl_save_exec_prefix
="$exec_prefix"
18177 exec_prefix
="$acl_final_exec_prefix"
18179 exec_prefix
="$acl_save_exec_prefix"
18180 prefix
="$acl_save_prefix"
18182 if test "X$x" = "X$element"; then
18187 if test -z "$haveit"; then
18188 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18194 /* end confdefs.h. */
18197 if ac_fn_cxx_try_compile
"$LINENO"; then :
18202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18205 if test "x$cy_good" = x1
; then :
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18207 $as_echo "yes" >&6; }
18209 for element
in -Wno-unneeded-internal-declaration; do
18211 for x
in $CXXFLAGS; do
18213 acl_save_prefix
="$prefix"
18214 prefix
="$acl_final_prefix"
18215 acl_save_exec_prefix
="$exec_prefix"
18216 exec_prefix
="$acl_final_exec_prefix"
18218 exec_prefix
="$acl_save_exec_prefix"
18219 prefix
="$acl_save_prefix"
18221 if test "X$x" = "X$element"; then
18226 if test -z "$haveit"; then
18227 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18234 $as_echo "no" >&6; }
18238 ac_cpp
='$CXXCPP $CPPFLAGS'
18239 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18246 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18247 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18248 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18249 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18252 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18254 cy_save
=$OBJCXXFLAGS
18256 for element
in -Wno-unneeded-internal-declaration; do
18258 for x
in $OBJCXXFLAGS; do
18260 acl_save_prefix
="$prefix"
18261 prefix
="$acl_final_prefix"
18262 acl_save_exec_prefix
="$exec_prefix"
18263 exec_prefix
="$acl_final_exec_prefix"
18265 exec_prefix
="$acl_save_exec_prefix"
18266 prefix
="$acl_save_prefix"
18268 if test "X$x" = "X$element"; then
18273 if test -z "$haveit"; then
18274 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18280 /* end confdefs.h. */
18283 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18290 OBJCXXFLAGS
=$cy_save
18291 if test "x$cy_good" = x1
; then :
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18293 $as_echo "yes" >&6; }
18295 for element
in -Wno-unneeded-internal-declaration; do
18297 for x
in $OBJCXXFLAGS; do
18299 acl_save_prefix
="$prefix"
18300 prefix
="$acl_final_prefix"
18301 acl_save_exec_prefix
="$exec_prefix"
18302 exec_prefix
="$acl_final_exec_prefix"
18304 exec_prefix
="$acl_save_exec_prefix"
18305 prefix
="$acl_save_prefix"
18307 if test "X$x" = "X$element"; then
18312 if test -z "$haveit"; then
18313 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18320 $as_echo "no" >&6; }
18324 ac_cpp
='$CXXCPP $CPPFLAGS'
18325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18334 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
18336 $as_echo_n "checking for -arch $cy_arch... " >&6; }
18340 for element
in "-arch $cy_arch"; do
18342 for x
in $CXXFLAGS; do
18344 acl_save_prefix
="$prefix"
18345 prefix
="$acl_final_prefix"
18346 acl_save_exec_prefix
="$exec_prefix"
18347 exec_prefix
="$acl_final_exec_prefix"
18349 exec_prefix
="$acl_save_exec_prefix"
18350 prefix
="$acl_save_prefix"
18352 if test "X$x" = "X$element"; then
18357 if test -z "$haveit"; then
18358 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18364 /* end confdefs.h. */
18374 if ac_fn_cxx_try_link
"$LINENO"; then :
18379 rm -f core conftest.err conftest.
$ac_objext \
18380 conftest
$ac_exeext conftest.
$ac_ext
18383 if test "x$cy_good" = x1
; then :
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18385 $as_echo "yes" >&6; }
18387 for element
in "-arch $cy_arch"; do
18389 for x
in $CY_ARCH; do
18391 acl_save_prefix
="$prefix"
18392 prefix
="$acl_final_prefix"
18393 acl_save_exec_prefix
="$exec_prefix"
18394 exec_prefix
="$acl_final_exec_prefix"
18396 exec_prefix
="$acl_save_exec_prefix"
18397 prefix
="$acl_save_prefix"
18399 if test "X$x" = "X$element"; then
18404 if test -z "$haveit"; then
18405 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18412 $as_echo "no" >&6; }
18422 # Check whether --enable-javascript was given.
18423 if test "${enable_javascript+set}" = set; then :
18424 enableval
=$enable_javascript;
18425 case $enableval in #(
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18435 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18436 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18437 $as_echo_n "(cached) " >&6
18440 ac_check_framework_save_LIBS
=$LIBS
18441 LIBS
="-framework JavaScriptCore $LIBS"
18442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18443 /* end confdefs.h. */
18445 #include <JavaScriptCore/JSBase.h>
18451 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18457 if ac_fn_cxx_try_link
"$LINENO"; then :
18459 ac_cv_framework_JavaScriptCore
=yes
18462 ac_cv_framework_JavaScriptCore
=no
18464 rm -f core conftest.err conftest.
$ac_objext \
18465 conftest
$ac_exeext conftest.
$ac_ext
18466 LIBS
=$ac_check_framework_save_LIBS
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18470 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18471 if test $ac_cv_framework_JavaScriptCore = yes; then :
18474 for element
in "-framework JavaScriptCore"; do
18478 acl_save_prefix
="$prefix"
18479 prefix
="$acl_final_prefix"
18480 acl_save_exec_prefix
="$exec_prefix"
18481 exec_prefix
="$acl_final_exec_prefix"
18483 exec_prefix
="$acl_save_exec_prefix"
18484 prefix
="$acl_save_prefix"
18486 if test "X$x" = "X$element"; then
18491 if test -z "$haveit"; then
18492 LIBS
="${LIBS}${LIBS:+ }$element"
18503 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18507 $as_echo_n "checking for WEBKIT... " >&6; }
18509 if test -n "$WEBKIT_CFLAGS"; then
18510 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18511 elif test -n "$PKG_CONFIG"; then
18512 if test -n "$PKG_CONFIG" && \
18513 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18514 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18517 test $ac_status = 0; }; then
18518 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18519 test "x$?" != "x0" && pkg_failed
=yes
18526 if test -n "$WEBKIT_LIBS"; then
18527 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18528 elif test -n "$PKG_CONFIG"; then
18529 if test -n "$PKG_CONFIG" && \
18530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18531 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18534 test $ac_status = 0; }; then
18535 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18536 test "x$?" != "x0" && pkg_failed
=yes
18546 if test $pkg_failed = yes; then
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18548 $as_echo "no" >&6; }
18550 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18551 _pkg_short_errors_supported
=yes
18553 _pkg_short_errors_supported
=no
18555 if test $_pkg_short_errors_supported = yes; then
18556 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18558 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18560 # Put the nasty error message in config.log where it belongs
18561 echo "$WEBKIT_PKG_ERRORS" >&5
18564 elif test $pkg_failed = untried
; then
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18566 $as_echo "no" >&6; }
18569 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18570 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18572 $as_echo "yes" >&6; }
18577 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18579 for x
in $CPPFLAGS; do
18581 acl_save_prefix
="$prefix"
18582 prefix
="$acl_final_prefix"
18583 acl_save_exec_prefix
="$exec_prefix"
18584 exec_prefix
="$acl_final_exec_prefix"
18586 exec_prefix
="$acl_save_exec_prefix"
18587 prefix
="$acl_save_prefix"
18589 if test "X$x" = "X$element"; then
18594 if test -z "$haveit"; then
18595 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18600 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18604 acl_save_prefix
="$prefix"
18605 prefix
="$acl_final_prefix"
18606 acl_save_exec_prefix
="$exec_prefix"
18607 exec_prefix
="$acl_final_exec_prefix"
18609 exec_prefix
="$acl_save_exec_prefix"
18610 prefix
="$acl_save_prefix"
18612 if test "X$x" = "X$element"; then
18617 if test -z "$haveit"; then
18618 LIBS
="${LIBS}${LIBS:+ }$element"
18623 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18627 LTJAVASCRIPTCORE
=$LIBS
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18644 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18645 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18646 $as_echo_n "(cached) " >&6
18649 ac_check_framework_save_LIBS
=$LIBS
18650 LIBS
="-framework JavaScriptCore $LIBS"
18651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18654 #include <JavaScriptCore/JSBase.h>
18660 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18666 if ac_fn_cxx_try_link
"$LINENO"; then :
18668 ac_cv_framework_JavaScriptCore
=yes
18671 ac_cv_framework_JavaScriptCore
=no
18673 rm -f core conftest.err conftest.
$ac_objext \
18674 conftest
$ac_exeext conftest.
$ac_ext
18675 LIBS
=$ac_check_framework_save_LIBS
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18679 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18680 if test $ac_cv_framework_JavaScriptCore = yes; then :
18683 for element
in "-framework JavaScriptCore"; do
18687 acl_save_prefix
="$prefix"
18688 prefix
="$acl_final_prefix"
18689 acl_save_exec_prefix
="$exec_prefix"
18690 exec_prefix
="$acl_final_exec_prefix"
18692 exec_prefix
="$acl_save_exec_prefix"
18693 prefix
="$acl_save_prefix"
18695 if test "X$x" = "X$element"; then
18700 if test -z "$haveit"; then
18701 LIBS
="${LIBS}${LIBS:+ }$element"
18712 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18716 $as_echo_n "checking for WEBKIT... " >&6; }
18718 if test -n "$WEBKIT_CFLAGS"; then
18719 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18720 elif test -n "$PKG_CONFIG"; then
18721 if test -n "$PKG_CONFIG" && \
18722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18723 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18726 test $ac_status = 0; }; then
18727 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18728 test "x$?" != "x0" && pkg_failed
=yes
18735 if test -n "$WEBKIT_LIBS"; then
18736 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18737 elif test -n "$PKG_CONFIG"; then
18738 if test -n "$PKG_CONFIG" && \
18739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18740 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18743 test $ac_status = 0; }; then
18744 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18745 test "x$?" != "x0" && pkg_failed
=yes
18755 if test $pkg_failed = yes; then
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18757 $as_echo "no" >&6; }
18759 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18760 _pkg_short_errors_supported
=yes
18762 _pkg_short_errors_supported
=no
18764 if test $_pkg_short_errors_supported = yes; then
18765 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18767 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18769 # Put the nasty error message in config.log where it belongs
18770 echo "$WEBKIT_PKG_ERRORS" >&5
18773 elif test $pkg_failed = untried
; then
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18775 $as_echo "no" >&6; }
18778 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18779 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18781 $as_echo "yes" >&6; }
18786 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18788 for x
in $CPPFLAGS; do
18790 acl_save_prefix
="$prefix"
18791 prefix
="$acl_final_prefix"
18792 acl_save_exec_prefix
="$exec_prefix"
18793 exec_prefix
="$acl_final_exec_prefix"
18795 exec_prefix
="$acl_save_exec_prefix"
18796 prefix
="$acl_save_prefix"
18798 if test "X$x" = "X$element"; then
18803 if test -z "$haveit"; then
18804 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18809 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18813 acl_save_prefix
="$prefix"
18814 prefix
="$acl_final_prefix"
18815 acl_save_exec_prefix
="$exec_prefix"
18816 exec_prefix
="$acl_final_exec_prefix"
18818 exec_prefix
="$acl_save_exec_prefix"
18819 prefix
="$acl_save_prefix"
18821 if test "X$x" = "X$element"; then
18826 if test -z "$haveit"; then
18827 LIBS
="${LIBS}${LIBS:+ }$element"
18832 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18836 LTJAVASCRIPTCORE
=$LIBS
18842 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18853 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18854 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18855 $as_echo_n "(cached) " >&6
18858 ac_check_framework_save_LIBS
=$LIBS
18859 LIBS
="-framework JavaScriptCore $LIBS"
18860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18863 #include <JavaScriptCore/JSBase.h>
18869 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18875 if ac_fn_cxx_try_link
"$LINENO"; then :
18877 ac_cv_framework_JavaScriptCore
=yes
18880 ac_cv_framework_JavaScriptCore
=no
18882 rm -f core conftest.err conftest.
$ac_objext \
18883 conftest
$ac_exeext conftest.
$ac_ext
18884 LIBS
=$ac_check_framework_save_LIBS
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18888 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18889 if test $ac_cv_framework_JavaScriptCore = yes; then :
18892 for element
in "-framework JavaScriptCore"; do
18896 acl_save_prefix
="$prefix"
18897 prefix
="$acl_final_prefix"
18898 acl_save_exec_prefix
="$exec_prefix"
18899 exec_prefix
="$acl_final_exec_prefix"
18901 exec_prefix
="$acl_save_exec_prefix"
18902 prefix
="$acl_save_prefix"
18904 if test "X$x" = "X$element"; then
18909 if test -z "$haveit"; then
18910 LIBS
="${LIBS}${LIBS:+ }$element"
18921 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18925 $as_echo_n "checking for WEBKIT... " >&6; }
18927 if test -n "$WEBKIT_CFLAGS"; then
18928 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18929 elif test -n "$PKG_CONFIG"; then
18930 if test -n "$PKG_CONFIG" && \
18931 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18932 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18935 test $ac_status = 0; }; then
18936 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18937 test "x$?" != "x0" && pkg_failed
=yes
18944 if test -n "$WEBKIT_LIBS"; then
18945 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18946 elif test -n "$PKG_CONFIG"; then
18947 if test -n "$PKG_CONFIG" && \
18948 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18949 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18952 test $ac_status = 0; }; then
18953 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18954 test "x$?" != "x0" && pkg_failed
=yes
18964 if test $pkg_failed = yes; then
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18966 $as_echo "no" >&6; }
18968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18969 _pkg_short_errors_supported
=yes
18971 _pkg_short_errors_supported
=no
18973 if test $_pkg_short_errors_supported = yes; then
18974 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18976 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
18978 # Put the nasty error message in config.log where it belongs
18979 echo "$WEBKIT_PKG_ERRORS" >&5
18982 elif test $pkg_failed = untried
; then
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18984 $as_echo "no" >&6; }
18987 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18988 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18990 $as_echo "yes" >&6; }
18995 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18997 for x
in $CPPFLAGS; do
18999 acl_save_prefix
="$prefix"
19000 prefix
="$acl_final_prefix"
19001 acl_save_exec_prefix
="$exec_prefix"
19002 exec_prefix
="$acl_final_exec_prefix"
19004 exec_prefix
="$acl_save_exec_prefix"
19005 prefix
="$acl_save_prefix"
19007 if test "X$x" = "X$element"; then
19012 if test -z "$haveit"; then
19013 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19018 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19022 acl_save_prefix
="$prefix"
19023 prefix
="$acl_final_prefix"
19024 acl_save_exec_prefix
="$exec_prefix"
19025 exec_prefix
="$acl_final_exec_prefix"
19027 exec_prefix
="$acl_save_exec_prefix"
19028 prefix
="$acl_save_prefix"
19030 if test "X$x" = "X$element"; then
19035 if test -z "$haveit"; then
19036 LIBS
="${LIBS}${LIBS:+ }$element"
19041 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19045 LTJAVASCRIPTCORE
=$LIBS
19053 # Check whether --enable-console was given.
19054 if test "${enable_console+set}" = set; then :
19055 enableval
=$enable_console;
19058 if test "x$enable_console" != "xno"; then
19060 CY_CONSOLE_FALSE
='#'
19062 CY_CONSOLE_TRUE
='#'
19067 if test -z "$CY_CONSOLE_TRUE"; then :
19069 if test "x$LTLIBAPR" != x
; then :
19078 if test "$target_os" = "os2-emx"; then
19079 # Scripts don't pass test -x on OS/2
19085 acceptable_majors
="1"
19087 apr_temp_acceptable_apr_config
=""
19088 for apr_temp_major
in $acceptable_majors
19090 case $apr_temp_major in
19092 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19095 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19101 $as_echo_n "checking for APR... " >&6; }
19103 # Check whether --with-apr was given.
19104 if test "${with_apr+set}" = set; then :
19106 if test "$withval" = "no" || test "$withval" = "yes"; then
19107 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19110 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19112 for lookdir
in "$withval/bin" "$withval"
19114 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19115 apr_config
="$lookdir/$apr_temp_apr_config_file"
19123 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19124 apr_config
="$withval"
19128 if test "$apr_found" != "yes"; then
19129 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
19134 if test -n "1" && test "1" = "1"; then
19135 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19137 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19138 apr_config
="$apr_temp_apr_config_file"
19143 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19144 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19145 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19154 if test "$apr_found" = "no" && test -d ""; then
19155 apr_temp_abs_srcdir
="`cd && pwd`"
19156 apr_found
="reconfig"
19157 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19158 case $apr_bundled_major in
19160 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19163 apr_temp_apr_config_file
="apr-config"
19166 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19169 if test -n ""; then
19170 apr_config
="/$apr_temp_apr_config_file"
19172 apr_config
="/$apr_temp_apr_config_file"
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19180 $as_echo "$apr_found" >&6; }
19182 case $apr_found in #(
19186 for element
in `$apr_config --includes`; do
19188 for x
in $CPPFLAGS; do
19190 acl_save_prefix
="$prefix"
19191 prefix
="$acl_final_prefix"
19192 acl_save_exec_prefix
="$exec_prefix"
19193 exec_prefix
="$acl_final_exec_prefix"
19195 exec_prefix
="$acl_save_exec_prefix"
19196 prefix
="$acl_save_prefix"
19198 if test "X$x" = "X$element"; then
19203 if test -z "$haveit"; then
19204 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19209 for element
in `$apr_config --link-libtool`; do
19211 for x
in $LTLIBAPR; do
19213 acl_save_prefix
="$prefix"
19214 prefix
="$acl_final_prefix"
19215 acl_save_exec_prefix
="$exec_prefix"
19216 exec_prefix
="$acl_final_exec_prefix"
19218 exec_prefix
="$acl_save_exec_prefix"
19219 prefix
="$acl_save_prefix"
19221 if test "X$x" = "X$element"; then
19226 if test -z "$haveit"; then
19227 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
19235 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5
19244 if test "x$CY_EXECUTE" = x1
; then
19246 CY_EXECUTE_FALSE
='#'
19248 CY_EXECUTE_TRUE
='#'
19254 case $CY_EXECUTE in #(
19257 for ac_header
in ffi.h ffi
/ffi.h
19259 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19260 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19261 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19262 cat >>confdefs.h
<<_ACEOF
19263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19274 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19278 C compiler flags
for LIBFFI
, overriding pkg
-config
19279 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19283 $as_echo_n "checking for LIBFFI... " >&6; }
19285 if test -n "$LIBFFI_CFLAGS"; then
19286 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19287 elif test -n "$PKG_CONFIG"; then
19288 if test -n "$PKG_CONFIG" && \
19289 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19290 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19293 test $ac_status = 0; }; then
19294 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19295 test "x$?" != "x0" && pkg_failed
=yes
19302 if test -n "$LIBFFI_LIBS"; then
19303 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19304 elif test -n "$PKG_CONFIG"; then
19305 if test -n "$PKG_CONFIG" && \
19306 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19307 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19310 test $ac_status = 0; }; then
19311 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19312 test "x$?" != "x0" && pkg_failed
=yes
19322 if test $pkg_failed = yes; then
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19324 $as_echo "no" >&6; }
19326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19327 _pkg_short_errors_supported
=yes
19329 _pkg_short_errors_supported
=no
19331 if test $_pkg_short_errors_supported = yes; then
19332 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
19334 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
19336 # Put the nasty error message in config.log where it belongs
19337 echo "$LIBFFI_PKG_ERRORS" >&5
19339 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19340 elif test $pkg_failed = untried
; then
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19342 $as_echo "no" >&6; }
19343 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19345 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19346 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19348 $as_echo "yes" >&6; }
19351 for element
in `$PKG_CONFIG --cflags libffi`; do
19353 for x
in $CPPFLAGS; do
19355 acl_save_prefix
="$prefix"
19356 prefix
="$acl_final_prefix"
19357 acl_save_exec_prefix
="$exec_prefix"
19358 exec_prefix
="$acl_final_exec_prefix"
19360 exec_prefix
="$acl_save_exec_prefix"
19361 prefix
="$acl_save_prefix"
19363 if test "X$x" = "X$element"; then
19368 if test -z "$haveit"; then
19369 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19374 for element
in `$PKG_CONFIG --libs libffi`; do
19378 acl_save_prefix
="$prefix"
19379 prefix
="$acl_final_prefix"
19380 acl_save_exec_prefix
="$exec_prefix"
19381 exec_prefix
="$acl_final_exec_prefix"
19383 exec_prefix
="$acl_save_exec_prefix"
19384 prefix
="$acl_save_prefix"
19386 if test "X$x" = "X$element"; then
19391 if test -z "$haveit"; then
19392 LIBS
="${LIBS}${LIBS:+ }$element"
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19402 $as_echo_n "checking for library containing ffi_call... " >&6; }
19403 if ${ac_cv_search_ffi_call+:} false
; then :
19404 $as_echo_n "(cached) " >&6
19406 ac_func_search_save_LIBS
=$LIBS
19407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19410 /* Override any GCC internal prototype to avoid an error.
19411 Use char because int might match the return type of a GCC
19412 builtin and then its argument prototype would still apply. */
19420 return ffi_call ();
19425 for ac_lib
in '' ffi
; do
19426 if test -z "$ac_lib"; then
19427 ac_res
="none required"
19430 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19432 if ac_fn_cxx_try_link
"$LINENO"; then :
19433 ac_cv_search_ffi_call
=$ac_res
19435 rm -f core conftest.err conftest.
$ac_objext \
19437 if ${ac_cv_search_ffi_call+:} false
; then :
19441 if ${ac_cv_search_ffi_call+:} false
; then :
19444 ac_cv_search_ffi_call
=no
19446 rm conftest.
$ac_ext
19447 LIBS
=$ac_func_search_save_LIBS
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19450 $as_echo "$ac_cv_search_ffi_call" >&6; }
19451 ac_res
=$ac_cv_search_ffi_call
19452 if test "$ac_res" != no
; then :
19453 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19457 case $ac_cv_search_ffi_call in #(
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19463 $as_echo_n "checking for LIBFFI... " >&6; }
19465 if test -n "$LIBFFI_CFLAGS"; then
19466 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19467 elif test -n "$PKG_CONFIG"; then
19468 if test -n "$PKG_CONFIG" && \
19469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19470 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19473 test $ac_status = 0; }; then
19474 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19475 test "x$?" != "x0" && pkg_failed
=yes
19482 if test -n "$LIBFFI_LIBS"; then
19483 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19484 elif test -n "$PKG_CONFIG"; then
19485 if test -n "$PKG_CONFIG" && \
19486 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19487 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19490 test $ac_status = 0; }; then
19491 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19492 test "x$?" != "x0" && pkg_failed
=yes
19502 if test $pkg_failed = yes; then
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19504 $as_echo "no" >&6; }
19506 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19507 _pkg_short_errors_supported
=yes
19509 _pkg_short_errors_supported
=no
19511 if test $_pkg_short_errors_supported = yes; then
19512 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
19514 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
19516 # Put the nasty error message in config.log where it belongs
19517 echo "$LIBFFI_PKG_ERRORS" >&5
19519 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19520 elif test $pkg_failed = untried
; then
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19522 $as_echo "no" >&6; }
19523 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19525 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19526 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19528 $as_echo "yes" >&6; }
19531 for element
in `$PKG_CONFIG --cflags libffi`; do
19533 for x
in $CPPFLAGS; do
19535 acl_save_prefix
="$prefix"
19536 prefix
="$acl_final_prefix"
19537 acl_save_exec_prefix
="$exec_prefix"
19538 exec_prefix
="$acl_final_exec_prefix"
19540 exec_prefix
="$acl_save_exec_prefix"
19541 prefix
="$acl_save_prefix"
19543 if test "X$x" = "X$element"; then
19548 if test -z "$haveit"; then
19549 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19554 for element
in `$PKG_CONFIG --libs libffi`; do
19558 acl_save_prefix
="$prefix"
19559 prefix
="$acl_final_prefix"
19560 acl_save_exec_prefix
="$exec_prefix"
19561 exec_prefix
="$acl_final_exec_prefix"
19563 exec_prefix
="$acl_save_exec_prefix"
19564 prefix
="$acl_save_prefix"
19566 if test "X$x" = "X$element"; then
19571 if test -z "$haveit"; then
19572 LIBS
="${LIBS}${LIBS:+ }$element"
19589 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19590 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19591 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19592 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19596 $as_echo_n "checking if we really have Objective C++... " >&6; }
19597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19601 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19605 $as_echo "yes" >&6; }
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19609 $as_echo "no" >&6; }
19611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19613 if test "x$CY_OBJECTIVEC" = x1
; then :
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19620 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19621 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19622 $as_echo_n "(cached) " >&6
19625 ac_check_framework_save_LIBS
=$LIBS
19626 LIBS
="-framework CoreFoundation $LIBS"
19627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19628 /* end confdefs.h. */
19630 #include <CoreFoundation/CFBase.h>
19635 CFAllocatorGetDefault();
19640 if ac_fn_objcxx_try_link
"$LINENO"; then :
19642 ac_cv_framework_CoreFoundation
=yes
19645 ac_cv_framework_CoreFoundation
=no
19647 rm -f core conftest.err conftest.
$ac_objext \
19648 conftest
$ac_exeext conftest.
$ac_ext
19649 LIBS
=$ac_check_framework_save_LIBS
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19653 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19654 if test $ac_cv_framework_CoreFoundation = yes; then :
19657 for element
in "-framework CoreFoundation"; do
19661 acl_save_prefix
="$prefix"
19662 prefix
="$acl_final_prefix"
19663 acl_save_exec_prefix
="$exec_prefix"
19664 exec_prefix
="$acl_final_exec_prefix"
19666 exec_prefix
="$acl_save_exec_prefix"
19667 prefix
="$acl_save_prefix"
19669 if test "X$x" = "X$element"; then
19674 if test -z "$haveit"; then
19675 LIBS
="${LIBS}${LIBS:+ }$element"
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19685 $as_echo_n "checking for framework Foundation... " >&6; }
19686 if ${ac_cv_framework_Foundation+:} false
; then :
19687 $as_echo_n "(cached) " >&6
19690 ac_check_framework_save_LIBS
=$LIBS
19691 LIBS
="-framework Foundation $LIBS"
19692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19693 /* end confdefs.h. */
19695 #include <Foundation/NSObject.h>
19700 [[NSObject alloc] init];
19705 if ac_fn_objcxx_try_link
"$LINENO"; then :
19707 ac_cv_framework_Foundation
=yes
19710 ac_cv_framework_Foundation
=no
19712 rm -f core conftest.err conftest.
$ac_objext \
19713 conftest
$ac_exeext conftest.
$ac_ext
19714 LIBS
=$ac_check_framework_save_LIBS
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19718 $as_echo "$ac_cv_framework_Foundation" >&6; }
19719 if test $ac_cv_framework_Foundation = yes; then :
19722 for element
in "-framework Foundation"; do
19726 acl_save_prefix
="$prefix"
19727 prefix
="$acl_final_prefix"
19728 acl_save_exec_prefix
="$exec_prefix"
19729 exec_prefix
="$acl_final_exec_prefix"
19731 exec_prefix
="$acl_save_exec_prefix"
19732 prefix
="$acl_save_prefix"
19734 if test "X$x" = "X$element"; then
19739 if test -z "$haveit"; then
19740 LIBS
="${LIBS}${LIBS:+ }$element"
19744 cat >>confdefs.h
<<_ACEOF
19745 #define HAVE_FRAMEWORK_FOUNDATION 1
19755 for ac_prog
in gnustep
-config
19757 # Extract the first word of "$ac_prog", so it can be a program name with args.
19758 set dummy
$ac_prog; ac_word
=$2
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19760 $as_echo_n "checking for $ac_word... " >&6; }
19761 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19762 $as_echo_n "(cached) " >&6
19764 if test -n "$GNUSTEP_CONFIG"; then
19765 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19768 for as_dir
in $PATH
19771 test -z "$as_dir" && as_dir
=.
19772 for ac_exec_ext
in '' $ac_executable_extensions; do
19773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19774 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19784 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19785 if test -n "$GNUSTEP_CONFIG"; then
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19787 $as_echo "$GNUSTEP_CONFIG" >&6; }
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19790 $as_echo "no" >&6; }
19794 test -n "$GNUSTEP_CONFIG" && break
19798 if test "x$GNUSTEP_CONFIG" != x
; then :
19802 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19804 for x
in $OBJCXXFLAGS; do
19806 acl_save_prefix
="$prefix"
19807 prefix
="$acl_final_prefix"
19808 acl_save_exec_prefix
="$exec_prefix"
19809 exec_prefix
="$acl_final_exec_prefix"
19811 exec_prefix
="$acl_save_exec_prefix"
19812 prefix
="$acl_save_prefix"
19814 if test "X$x" = "X$element"; then
19819 if test -z "$haveit"; then
19820 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19825 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19829 acl_save_prefix
="$prefix"
19830 prefix
="$acl_final_prefix"
19831 acl_save_exec_prefix
="$exec_prefix"
19832 exec_prefix
="$acl_final_exec_prefix"
19834 exec_prefix
="$acl_save_exec_prefix"
19835 prefix
="$acl_save_prefix"
19837 if test "X$x" = "X$element"; then
19842 if test -z "$haveit"; then
19843 LIBS
="${LIBS}${LIBS:+ }$element"
19862 ac_cpp
='$CXXCPP $CPPFLAGS'
19863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19872 if test "x$CY_OBJECTIVEC" = x1
; then
19873 CY_OBJECTIVEC_TRUE
=
19874 CY_OBJECTIVEC_FALSE
='#'
19876 CY_OBJECTIVEC_TRUE
='#'
19877 CY_OBJECTIVEC_FALSE
=
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19886 $as_echo_n "checking for a readline compatible library... " >&6; }
19887 if ${ax_cv_lib_readline+:} false
; then :
19888 $as_echo_n "(cached) " >&6
19892 for readline_lib
in readline edit editline
; do
19893 for termcap_lib
in "" termcap curses ncurses
; do
19894 if test -z "$termcap_lib"; then
19895 TRY_LIB
="-l$readline_lib"
19897 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19899 LIBS
="$ORIG_LIBS $TRY_LIB"
19900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19901 /* end confdefs.h. */
19903 /* Override any GCC internal prototype to avoid an error.
19904 Use char because int might match the return type of a GCC
19905 builtin and then its argument prototype would still apply. */
19913 return readline ();
19918 if ac_fn_cxx_try_link
"$LINENO"; then :
19919 ax_cv_lib_readline
="$TRY_LIB"
19921 rm -f core conftest.err conftest.
$ac_objext \
19922 conftest
$ac_exeext conftest.
$ac_ext
19923 if test -n "$ax_cv_lib_readline"; then
19927 if test -n "$ax_cv_lib_readline"; then
19931 if test -z "$ax_cv_lib_readline"; then
19932 ax_cv_lib_readline
="no"
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19938 $as_echo "$ax_cv_lib_readline" >&6; }
19940 if test "$ax_cv_lib_readline" != "no"; then
19941 LIBS
="$LIBS $ax_cv_lib_readline"
19943 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19945 for ac_header
in readline.h readline
/readline.h
19947 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19948 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19949 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19950 cat >>confdefs.h
<<_ACEOF
19951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19959 $as_echo_n "checking whether readline supports history... " >&6; }
19960 if ${ax_cv_lib_readline_history+:} false
; then :
19961 $as_echo_n "(cached) " >&6
19964 ax_cv_lib_readline_history
="no"
19965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19966 /* end confdefs.h. */
19968 /* Override any GCC internal prototype to avoid an error.
19969 Use char because int might match the return type of a GCC
19970 builtin and then its argument prototype would still apply. */
19974 char add_history ();
19978 return add_history ();
19983 if ac_fn_cxx_try_link
"$LINENO"; then :
19984 ax_cv_lib_readline_history
="yes"
19986 rm -f core conftest.err conftest.
$ac_objext \
19987 conftest
$ac_exeext conftest.
$ac_ext
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19991 $as_echo "$ax_cv_lib_readline_history" >&6; }
19992 if test "$ax_cv_lib_readline_history" = "yes"; then
19994 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19996 for ac_header
in history.h readline
/history.h
19998 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19999 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20000 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20001 cat >>confdefs.h
<<_ACEOF
20002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20012 LTLIBREADLINE
=$LIBS
20016 case $ax_cv_lib_readline in #(
20018 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20027 $as_echo_n "checking for library containing cur_term... " >&6; }
20028 if ${ac_cv_search_cur_term+:} false
; then :
20029 $as_echo_n "(cached) " >&6
20031 ac_func_search_save_LIBS
=$LIBS
20032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20033 /* end confdefs.h. */
20035 /* Override any GCC internal prototype to avoid an error.
20036 Use char because int might match the return type of a GCC
20037 builtin and then its argument prototype would still apply. */
20045 return cur_term ();
20050 for ac_lib
in '' termcap ncurses
; do
20051 if test -z "$ac_lib"; then
20052 ac_res
="none required"
20055 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20057 if ac_fn_cxx_try_link
"$LINENO"; then :
20058 ac_cv_search_cur_term
=$ac_res
20060 rm -f core conftest.err conftest.
$ac_objext \
20062 if ${ac_cv_search_cur_term+:} false
; then :
20066 if ${ac_cv_search_cur_term+:} false
; then :
20069 ac_cv_search_cur_term
=no
20071 rm conftest.
$ac_ext
20072 LIBS
=$ac_func_search_save_LIBS
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20075 $as_echo "$ac_cv_search_cur_term" >&6; }
20076 ac_res
=$ac_cv_search_cur_term
20077 if test "$ac_res" != no
; then :
20078 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20091 if test "x$CY_EXECUTE" = x1
; then :
20093 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20094 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20096 if test -n "$ac_tool_prefix"; then
20097 for ac_prog
in lipo
20099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20100 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20102 $as_echo_n "checking for $ac_word... " >&6; }
20103 if ${ac_cv_prog__LIPO+:} false
; then :
20104 $as_echo_n "(cached) " >&6
20106 if test -n "$_LIPO"; then
20107 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20110 for as_dir
in $PATH
20113 test -z "$as_dir" && as_dir
=.
20114 for ac_exec_ext
in '' $ac_executable_extensions; do
20115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20116 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20126 _LIPO
=$ac_cv_prog__LIPO
20127 if test -n "$_LIPO"; then
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20129 $as_echo "$_LIPO" >&6; }
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20132 $as_echo "no" >&6; }
20136 test -n "$_LIPO" && break
20139 if test -z "$_LIPO"; then
20141 for ac_prog
in lipo
20143 # Extract the first word of "$ac_prog", so it can be a program name with args.
20144 set dummy
$ac_prog; ac_word
=$2
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20146 $as_echo_n "checking for $ac_word... " >&6; }
20147 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20148 $as_echo_n "(cached) " >&6
20150 if test -n "$ac_ct__LIPO"; then
20151 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20154 for as_dir
in $PATH
20157 test -z "$as_dir" && as_dir
=.
20158 for ac_exec_ext
in '' $ac_executable_extensions; do
20159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20160 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20170 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20171 if test -n "$ac_ct__LIPO"; then
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20173 $as_echo "$ac_ct__LIPO" >&6; }
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20176 $as_echo "no" >&6; }
20180 test -n "$ac_ct__LIPO" && break
20183 if test "x$ac_ct__LIPO" = x
; then
20184 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20186 case $cross_compiling:$ac_tool_warned in
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20190 ac_tool_warned
=yes ;;
20196 if test -n "$ac_tool_prefix"; then
20199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20200 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20202 $as_echo_n "checking for $ac_word... " >&6; }
20203 if ${ac_cv_prog__NM+:} false
; then :
20204 $as_echo_n "(cached) " >&6
20206 if test -n "$_NM"; then
20207 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20210 for as_dir
in $PATH
20213 test -z "$as_dir" && as_dir
=.
20214 for ac_exec_ext
in '' $ac_executable_extensions; do
20215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20216 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20226 _NM
=$ac_cv_prog__NM
20227 if test -n "$_NM"; then
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20229 $as_echo "$_NM" >&6; }
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20232 $as_echo "no" >&6; }
20236 test -n "$_NM" && break
20239 if test -z "$_NM"; then
20243 # Extract the first word of "$ac_prog", so it can be a program name with args.
20244 set dummy
$ac_prog; ac_word
=$2
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20246 $as_echo_n "checking for $ac_word... " >&6; }
20247 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20248 $as_echo_n "(cached) " >&6
20250 if test -n "$ac_ct__NM"; then
20251 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20254 for as_dir
in $PATH
20257 test -z "$as_dir" && as_dir
=.
20258 for ac_exec_ext
in '' $ac_executable_extensions; do
20259 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20260 ac_cv_prog_ac_ct__NM
="$ac_prog"
20261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20270 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20271 if test -n "$ac_ct__NM"; then
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20273 $as_echo "$ac_ct__NM" >&6; }
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20276 $as_echo "no" >&6; }
20280 test -n "$ac_ct__NM" && break
20283 if test "x$ac_ct__NM" = x
; then
20284 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20286 case $cross_compiling:$ac_tool_warned in
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20290 ac_tool_warned
=yes ;;
20296 if test -n "$ac_tool_prefix"; then
20297 for ac_prog
in otool
20299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20300 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20302 $as_echo_n "checking for $ac_word... " >&6; }
20303 if ${ac_cv_prog__OTOOL+:} false
; then :
20304 $as_echo_n "(cached) " >&6
20306 if test -n "$_OTOOL"; then
20307 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20310 for as_dir
in $PATH
20313 test -z "$as_dir" && as_dir
=.
20314 for ac_exec_ext
in '' $ac_executable_extensions; do
20315 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20316 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20326 _OTOOL
=$ac_cv_prog__OTOOL
20327 if test -n "$_OTOOL"; then
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20329 $as_echo "$_OTOOL" >&6; }
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20332 $as_echo "no" >&6; }
20336 test -n "$_OTOOL" && break
20339 if test -z "$_OTOOL"; then
20340 ac_ct__OTOOL
=$_OTOOL
20341 for ac_prog
in otool
20343 # Extract the first word of "$ac_prog", so it can be a program name with args.
20344 set dummy
$ac_prog; ac_word
=$2
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20346 $as_echo_n "checking for $ac_word... " >&6; }
20347 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20348 $as_echo_n "(cached) " >&6
20350 if test -n "$ac_ct__OTOOL"; then
20351 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20354 for as_dir
in $PATH
20357 test -z "$as_dir" && as_dir
=.
20358 for ac_exec_ext
in '' $ac_executable_extensions; do
20359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20360 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20370 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20371 if test -n "$ac_ct__OTOOL"; then
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20373 $as_echo "$ac_ct__OTOOL" >&6; }
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20376 $as_echo "no" >&6; }
20380 test -n "$ac_ct__OTOOL" && break
20383 if test "x$ac_ct__OTOOL" = x
; then
20384 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20386 case $cross_compiling:$ac_tool_warned in
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20390 ac_tool_warned
=yes ;;
20392 _OTOOL
=$ac_ct__OTOOL
20396 CY_ATTACH_GROUP
=procmod
20404 if test "x$CY_MACH" = x1
; then
20413 ac_config_files
="$ac_config_files Makefile"
20415 cat >confcache
<<\_ACEOF
20416 # This file is a shell script that caches the results of configure
20417 # tests run on this system so they can be shared between configure
20418 # scripts and configure runs, see configure's option --config-cache.
20419 # It is not useful on other systems. If it contains results you don't
20420 # want to keep, you may remove or edit it.
20422 # config.status only pays attention to the cache file if you give it
20423 # the --recheck option to rerun configure.
20425 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20426 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20427 # following values.
20431 # The following way of writing the cache mishandles newlines in values,
20432 # but we know of no workaround that is simple, portable, and efficient.
20433 # So, we kill variables containing newlines.
20434 # Ultrix sh set writes to stderr and can't be redirected directly,
20435 # and sets the high bit in the cache file unless we assign to the vars.
20437 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20438 eval ac_val
=\$
$ac_var
20442 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20443 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20446 _
| IFS
| as_nl
) ;; #(
20447 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20448 *) { eval $ac_var=; unset $ac_var;} ;;
20454 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20455 *${as_nl}ac_space
=\
*)
20456 # `set' does not quote correctly, so add quotes: double-quote
20457 # substitution turns \\\\ into \\, and sed turns \\ into \.
20460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20463 # `set' quotes correctly as required by POSIX, so do not add quotes.
20464 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20473 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20475 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20477 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20478 if test -w "$cache_file"; then
20479 if test "x$cache_file" != "x/dev/null"; then
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20481 $as_echo "$as_me: updating cache $cache_file" >&6;}
20482 if test ! -f "$cache_file" || test -h "$cache_file"; then
20483 cat confcache
>"$cache_file"
20485 case $cache_file in #(
20487 mv -f confcache
"$cache_file"$$
&&
20488 mv -f "$cache_file"$$
"$cache_file" ;; #(
20490 mv -f confcache
"$cache_file" ;;
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20496 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20501 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20502 # Let make expand exec_prefix.
20503 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20505 DEFS
=-DHAVE_CONFIG_H
20510 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20511 # 1. Remove the extension, and $U if already installed.
20512 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20513 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20514 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20515 # will be set to the directory where LIBOBJS objects are built.
20516 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20517 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20519 LIBOBJS
=$ac_libobjs
20521 LTLIBOBJS
=$ac_ltlibobjs
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20525 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20526 if test -n "$am_sleep_pid"; then
20527 # Hide warnings about reused PIDs.
20528 wait $am_sleep_pid 2>/dev
/null
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20531 $as_echo "done" >&6; }
20532 if test -n "$EXEEXT"; then
20534 am__EXEEXT_FALSE
='#'
20536 am__EXEEXT_TRUE
='#'
20540 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20541 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20544 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20545 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20548 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20549 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20552 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20553 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20556 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
20557 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
20558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20560 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
20561 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
20562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20564 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
20565 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
20566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20568 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
20569 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
20570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20572 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
20573 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
20574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20577 : "${CONFIG_STATUS=./config.status}"
20579 ac_clean_files_save
=$ac_clean_files
20580 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20582 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20584 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20586 # Generated by $as_me.
20587 # Run this file to recreate the current configuration.
20588 # Compiler output produced by configure, useful for debugging
20589 # configure, is in config.log if it exists.
20592 ac_cs_recheck=false
20595 SHELL=\${CONFIG_SHELL-$SHELL}
20598 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20599 ## -------------------- ##
20600 ## M4sh Initialization. ##
20601 ## -------------------- ##
20603 # Be more Bourne compatible
20604 DUALCASE
=1; export DUALCASE
# for MKS sh
20605 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20608 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20609 # is contrary to our usage. Disable this feature.
20610 alias -g '${1+"$@"}'='"$@"'
20611 setopt NO_GLOB_SUBST
20613 case `(set -o) 2>/dev/null` in #(
20625 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20626 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20627 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20628 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20629 # Prefer a ksh shell builtin over an external printf program on Solaris,
20630 # but without wasting forks for bash or zsh.
20631 if test -z "$BASH_VERSION$ZSH_VERSION" \
20632 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20633 as_echo='print
-r --'
20634 as_echo_n='print
-rn --'
20635 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20636 as_echo='printf %s
\n'
20637 as_echo_n='printf %s
'
20639 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20640 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20641 as_echo_n='/usr
/ucb
/echo -n'
20643 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20644 as_echo_n_body='eval
20648 expr "X$arg" : "X\\(.*\\)$as_nl";
20649 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20651 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20653 export as_echo_n_body
20654 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20656 export as_echo_body
20657 as_echo='sh
-c $as_echo_body as_echo
'
20660 # The user is always right.
20661 if test "${PATH_SEPARATOR+set}" != set; then
20663 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20664 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20671 # We need space, tab and new line, in precisely that order. Quoting is
20672 # there to prevent editors from complaining about space-tab.
20673 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20674 # splitting by setting IFS to empty value.)
20677 # Find who we are. Look in the path if we contain no directory separator.
20680 *[\\/]* ) as_myself=$0 ;;
20681 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20682 for as_dir in $PATH
20685 test -z "$as_dir" && as_dir=.
20686 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20692 # We did not find ourselves, most probably we were run as `sh COMMAND'
20693 # in which case we are not to be found in the path.
20694 if test "x$as_myself" = x
; then
20697 if test ! -f "$as_myself"; then
20698 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20702 # Unset variables that we do not need and which cause bugs (e.g. in
20703 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20704 # suppresses any "Segmentation fault" message there. '((' could
20705 # trigger a bug in pdksh 5.2.14.
20706 for as_var
in BASH_ENV ENV MAIL MAILPATH
20707 do eval test x\
${$as_var+set} = xset \
20708 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20721 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20724 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20725 # ----------------------------------------
20726 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20727 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20728 # script with STATUS, using 1 if that was 0.
20731 as_status
=$1; test $as_status -eq 0 && as_status
=1
20733 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20734 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20736 $as_echo "$as_me: error: $2" >&2
20737 as_fn_exit
$as_status
20741 # as_fn_set_status STATUS
20742 # -----------------------
20743 # Set $? to STATUS, without forking.
20744 as_fn_set_status
()
20747 } # as_fn_set_status
20749 # as_fn_exit STATUS
20750 # -----------------
20751 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20755 as_fn_set_status
$1
20761 # Portably unset VAR.
20764 { eval $1=; unset $1;}
20766 as_unset
=as_fn_unset
20767 # as_fn_append VAR VALUE
20768 # ----------------------
20769 # Append the text in VALUE to the end of the definition contained in VAR. Take
20770 # advantage of any shell optimizations that allow amortized linear growth over
20771 # repeated appends, instead of the typical quadratic growth present in naive
20773 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20774 eval 'as_fn_append ()
20785 # as_fn_arith ARG...
20786 # ------------------
20787 # Perform arithmetic evaluation on the ARGs, and store the result in the
20788 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20789 # must be portable across $(()) and expr.
20790 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20791 eval 'as_fn_arith ()
20798 as_val
=`expr "$@" || test $? -eq 1`
20803 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20804 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20810 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20811 as_basename
=basename
20816 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20822 as_me
=`$as_basename -- "$0" ||
20823 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20824 X"$0" : 'X\(//\)$' \| \
20825 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20827 sed '/^.*\/\([^/][^/]*\)\/*$/{
20841 # Avoid depending upon Character Ranges.
20842 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20843 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20844 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20845 as_cr_digits
='0123456789'
20846 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20848 ECHO_C
= ECHO_N
= ECHO_T
=
20849 case `echo -n x` in #(((((
20851 case `echo 'xy\c'` in
20852 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20854 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20861 rm -f conf$$ conf$$.exe conf$$.
file
20862 if test -d conf$$.dir
; then
20863 rm -f conf$$.dir
/conf$$.
file
20866 mkdir conf$$.dir
2>/dev
/null
20868 if (echo >conf$$.
file) 2>/dev
/null
; then
20869 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20871 # ... but there are two gotchas:
20872 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20873 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20874 # In both cases, we have to default to `cp -pR'.
20875 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20877 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20885 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20886 rmdir conf$$.dir
2>/dev
/null
20891 # Create "$as_dir" as a directory, including parents if necessary.
20896 -*) as_dir
=.
/$as_dir;;
20898 test -d "$as_dir" || eval $as_mkdir_p || {
20902 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20903 *) as_qdir
=$as_dir;;
20905 as_dirs
="'$as_qdir' $as_dirs"
20906 as_dir
=`$as_dirname -- "$as_dir" ||
20907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20908 X"$as_dir" : 'X\(//\)[^/]' \| \
20909 X"$as_dir" : 'X\(//\)$' \| \
20910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20911 $as_echo X"$as_dir" |
20912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20916 /^X\(\/\/\)[^/].*/{
20929 test -d "$as_dir" && break
20931 test -z "$as_dirs" || eval "mkdir $as_dirs"
20932 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20936 if mkdir -p .
2>/dev
/null
; then
20937 as_mkdir_p
='mkdir -p "$as_dir"'
20939 test -d .
/-p && rmdir .
/-p
20944 # as_fn_executable_p FILE
20945 # -----------------------
20946 # Test if FILE is an executable regular file.
20947 as_fn_executable_p
()
20949 test -f "$1" && test -x "$1"
20950 } # as_fn_executable_p
20951 as_test_x
='test -x'
20952 as_executable_p
=as_fn_executable_p
20954 # Sed expression to map a string onto a valid CPP name.
20955 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20957 # Sed expression to map a string onto a valid variable name.
20958 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20962 ## ----------------------------------- ##
20963 ## Main body of $CONFIG_STATUS script. ##
20964 ## ----------------------------------- ##
20966 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20968 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20969 # Save the log message, to keep $0 and so on meaningful, and to
20970 # report actual input values of CONFIG_FILES etc. instead of their
20971 # values after options handling.
20973 This file was extended by Cycript $as_me 0.9, which was
20974 generated by GNU Autoconf 2.69. Invocation command line was
20976 CONFIG_FILES = $CONFIG_FILES
20977 CONFIG_HEADERS = $CONFIG_HEADERS
20978 CONFIG_LINKS = $CONFIG_LINKS
20979 CONFIG_COMMANDS = $CONFIG_COMMANDS
20982 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20987 case $ac_config_files in *"
20988 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20991 case $ac_config_headers in *"
20992 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20997 # Files that config.status was made for.
20998 config_files="$ac_config_files"
20999 config_headers="$ac_config_headers"
21000 config_commands="$ac_config_commands"
21004 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21006 \`$as_me' instantiates files and other configuration actions
21007 from templates according to the current configuration. Unless the files
21008 and actions are specified as TAGs, all are instantiated by default.
21010 Usage: $0 [OPTION]... [TAG]...
21012 -h, --help print this help, then exit
21013 -V, --version print version number and configuration settings, then exit
21014 --config print configuration, then exit
21015 -q, --quiet, --silent
21016 do not print progress messages
21017 -d, --debug don't remove temporary files
21018 --recheck update $as_me by reconfiguring in the same conditions
21019 --file=FILE[:TEMPLATE]
21020 instantiate the configuration file FILE
21021 --header=FILE[:TEMPLATE]
21022 instantiate the configuration header FILE
21024 Configuration files:
21027 Configuration headers:
21030 Configuration commands:
21033 Report bugs to <saurik@saurik.com>.
21034 Cycript home page: <http://www.cycript.org/>."
21037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21038 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21040 Cycript config.status 0.9
21041 configured by $0, generated by GNU Autoconf 2.69,
21042 with options \\"\$ac_cs_config\\"
21044 Copyright (C) 2012 Free Software Foundation, Inc.
21045 This config.status script is free software; the Free Software Foundation
21046 gives unlimited permission to copy, distribute and modify it."
21053 test -n "\$AWK" || AWK=awk
21056 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21057 # The default lists apply if the user does not specify any file.
21063 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21064 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21068 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21080 # Handling of the options.
21081 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21083 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21084 $as_echo "$ac_cs_version"; exit ;;
21085 --config | --confi | --conf | --con | --co | --c )
21086 $as_echo "$ac_cs_config"; exit ;;
21087 --debug | --debu | --deb | --de | --d | -d )
21089 --file | --fil | --fi | --f )
21092 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21093 '') as_fn_error $?
"missing file argument" ;;
21095 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21096 ac_need_defaults
=false
;;
21097 --header | --heade | --head | --hea )
21100 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21102 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21103 ac_need_defaults
=false
;;
21105 # Conflict between --help and --header
21106 as_fn_error $?
"ambiguous option: \`$1'
21107 Try \`$0 --help' for more information.";;
21108 --help | --hel | -h )
21109 $as_echo "$ac_cs_usage"; exit ;;
21110 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21111 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21114 # This is an error.
21115 -*) as_fn_error $?
"unrecognized option: \`$1'
21116 Try \`$0 --help' for more information." ;;
21118 *) as_fn_append ac_config_targets
" $1"
21119 ac_need_defaults
=false
;;
21125 ac_configure_extra_args
=
21127 if $ac_cs_silent; then
21129 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21134 if \$ac_cs_recheck; then
21135 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21137 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21138 CONFIG_SHELL='$SHELL'
21139 export CONFIG_SHELL
21144 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21148 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21149 ## Running $as_me. ##
21155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21159 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21162 # The HP-UX ksh and POSIX shell print the target directory to stdout
21163 # if CDPATH is set.
21164 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21166 sed_quote_subst='$sed_quote_subst'
21167 double_quote_subst='$double_quote_subst'
21168 delay_variable_subst='$delay_variable_subst'
21169 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21170 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21171 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21172 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21173 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21174 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21175 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21176 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21177 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21178 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21179 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21180 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21181 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21182 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21183 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21184 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21185 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21186 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21187 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21188 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21189 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21190 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21191 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21192 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21193 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21194 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21195 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21196 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21197 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21198 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21199 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21200 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21201 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21202 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21203 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21204 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21205 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21206 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21207 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21208 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21209 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21210 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21211 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21212 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21213 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21214 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21215 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21216 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21217 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21218 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21219 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21220 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21221 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21222 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21223 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21224 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21225 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"`'
21226 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21227 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21228 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21229 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21230 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21231 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21232 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21233 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21234 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21235 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21236 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21237 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21238 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21239 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21240 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21241 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21242 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21243 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21244 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21245 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21246 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21247 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21248 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21249 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21250 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21251 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21252 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21253 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21254 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21255 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21256 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21257 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21258 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21259 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21260 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21261 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21262 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21263 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21264 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21265 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21266 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21267 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21268 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21269 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21270 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21271 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21272 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21273 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21274 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21275 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21276 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21277 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21278 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21279 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21280 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21281 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21282 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21283 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21284 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21285 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21286 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21287 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21288 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21289 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21290 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21291 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21292 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21293 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21294 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21295 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21296 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21297 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21298 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21299 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21300 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21301 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21302 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21303 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21304 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21305 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21306 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21307 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21308 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21309 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21310 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21311 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21312 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21313 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21314 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21315 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21316 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21317 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21318 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21319 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21320 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21321 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21322 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21323 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21324 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21325 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21326 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21327 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21328 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21329 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21330 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21331 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21332 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21333 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21334 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21335 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21336 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21337 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21338 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21339 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21340 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21341 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21342 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21343 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21344 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21345 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21346 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21347 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21348 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21349 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21350 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21351 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21352 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21355 LTCFLAGS='$LTCFLAGS'
21356 compiler='$compiler_DEFAULT'
21358 # A function that is used when there is no print builtin or printf.
21359 func_fallback_echo ()
21361 eval 'cat <<_LTECHO_EOF
21366 # Quote evaled strings.
21381 deplibs_check_method \
21386 sharedlib_from_linklib_cmd \
21389 archiver_list_spec \
21395 lt_cv_sys_global_symbol_pipe \
21396 lt_cv_sys_global_symbol_to_cdecl \
21397 lt_cv_sys_global_symbol_to_c_name_address \
21398 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21399 nm_file_list_spec \
21400 lt_prog_compiler_no_builtin_flag \
21401 lt_prog_compiler_pic \
21402 lt_prog_compiler_wl \
21403 lt_prog_compiler_static \
21404 lt_cv_prog_compiler_c_o \
21413 export_dynamic_flag_spec \
21414 whole_archive_flag_spec \
21415 compiler_needs_object \
21417 allow_undefined_flag \
21418 no_undefined_flag \
21419 hardcode_libdir_flag_spec \
21420 hardcode_libdir_separator \
21424 variables_saved_for_relink \
21426 library_names_spec \
21428 install_override_mode \
21432 compiler_lib_search_dirs \
21437 compiler_lib_search_path \
21441 lt_prog_compiler_no_builtin_flag_CXX \
21442 lt_prog_compiler_pic_CXX \
21443 lt_prog_compiler_wl_CXX \
21444 lt_prog_compiler_static_CXX \
21445 lt_cv_prog_compiler_c_o_CXX \
21446 export_dynamic_flag_spec_CXX \
21447 whole_archive_flag_spec_CXX \
21448 compiler_needs_object_CXX \
21450 allow_undefined_flag_CXX \
21451 no_undefined_flag_CXX \
21452 hardcode_libdir_flag_spec_CXX \
21453 hardcode_libdir_separator_CXX \
21454 exclude_expsyms_CXX \
21455 include_expsyms_CXX \
21456 file_list_spec_CXX \
21457 compiler_lib_search_dirs_CXX \
21458 predep_objects_CXX \
21459 postdep_objects_CXX \
21462 compiler_lib_search_path_CXX; do
21463 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21464 *[\\\\\\\`\\"\\\$]*)
21465 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21468 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21473 # Double-quote double-evaled strings.
21474 for var in reload_cmds \
21475 old_postinstall_cmds \
21476 old_postuninstall_cmds \
21478 extract_expsyms_cmds \
21479 old_archive_from_new_cmds \
21480 old_archive_from_expsyms_cmds \
21482 archive_expsym_cmds \
21484 module_expsym_cmds \
21485 export_symbols_cmds \
21489 postuninstall_cmds \
21491 sys_lib_search_path_spec \
21492 sys_lib_dlsearch_path_spec \
21494 old_archive_cmds_CXX \
21495 old_archive_from_new_cmds_CXX \
21496 old_archive_from_expsyms_cmds_CXX \
21498 archive_expsym_cmds_CXX \
21500 module_expsym_cmds_CXX \
21501 export_symbols_cmds_CXX \
21503 postlink_cmds_CXX; do
21504 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21505 *[\\\\\\\`\\"\\\$]*)
21506 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21509 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21514 ac_aux_dir='$ac_aux_dir'
21515 xsi_shell='$xsi_shell'
21516 lt_shell_append='$lt_shell_append'
21518 # See if we are running on zsh, and set the options which allow our
21519 # commands through without removal of \ escapes INIT.
21520 if test -n "\${ZSH_VERSION+set}" ; then
21521 setopt NO_GLOB_SUBST
21527 TIMESTAMP='$TIMESTAMP'
21538 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21540 # Handling of arguments.
21541 for ac_config_target
in $ac_config_targets
21543 case $ac_config_target in
21544 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21545 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21546 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21547 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21549 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21554 # If the user did not use the arguments to specify the items to instantiate,
21555 # then the envvar interface is used. Set only those that are not.
21556 # We use the long form for the default assignment because of an extremely
21557 # bizarre bug on SunOS 4.1.3.
21558 if $ac_need_defaults; then
21559 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21560 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21561 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21564 # Have a temporary directory for convenience. Make it in the build tree
21565 # simply because there is no reason against having it here, and in addition,
21566 # creating and moving files from /tmp can sometimes cause problems.
21567 # Hook for its removal unless debugging.
21568 # Note that there is a small window in which the directory will not be cleaned:
21569 # after its creation but before its name has been assigned to `$tmp'.
21573 trap 'exit_status=$?
21574 : "${ac_tmp:=$tmp}"
21575 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21577 trap 'as_fn_exit 1' 1 2 13 15
21579 # Create a (secure) tmp directory for tmp files.
21582 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21586 tmp
=.
/conf$$
-$RANDOM
21587 (umask 077 && mkdir "$tmp")
21588 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21591 # Set up the scripts for CONFIG_FILES section.
21592 # No need to generate them if there are no CONFIG_FILES.
21593 # This happens for instance with `./config.status config.h'.
21594 if test -n "$CONFIG_FILES"; then
21597 ac_cr
=`echo X | tr X '\015'`
21598 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21599 # But we know of no other shell where ac_cr would be empty at this
21600 # point, so we can use a bashism as a fallback.
21601 if test "x$ac_cr" = x
; then
21602 eval ac_cr
=\$
\'\\r
\'
21604 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21605 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21608 ac_cs_awk_cr
=$ac_cr
21611 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21616 echo "cat >conf$$subs.awk <<_ACEOF" &&
21617 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21619 } >conf$$subs.sh ||
21620 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21621 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21623 for ac_last_try in false false false false false :; do
21624 . ./conf$$subs.sh ||
21625 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21627 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21628 if test $ac_delim_n = $ac_delim_num; then
21630 elif $ac_last_try; then
21631 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21633 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21636 rm -f conf$$subs.sh
21638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21639 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21643 s/^/S["/; s
/!.
*/"]=/
21653 s/\(.\{148\}\)..*/\1/
21655 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21660 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21667 s/\(.\{148\}\)..*/\1/
21669 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21673 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21678 ' <conf$$subs.awk | sed '
21683 ' >>$CONFIG_STATUS || ac_write_fail=1
21684 rm -f conf$$subs.awk
21685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21687 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21688 for (key in S) S_is_set[key] = 1
21694 nfields = split(line, field, "@
")
21696 len = length(field[1])
21697 for (i = 2; i < nfields; i++) {
21699 keylen = length(key)
21700 if (S_is_set[key]) {
21702 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21703 len += length(value) + length(field[++i])
21714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21715 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21716 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21719 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21720 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21723 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21724 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21725 # trailing colons and then remove the whole line if VPATH becomes empty
21726 # (actually we leave an empty line to preserve line numbers).
21727 if test "x
$srcdir" = x.; then
21728 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21747 fi # test -n "$CONFIG_FILES"
21749 # Set up the scripts for CONFIG_HEADERS section.
21750 # No need to generate them if there are no CONFIG_HEADERS.
21751 # This happens for instance with `./config.status Makefile'.
21752 if test -n "$CONFIG_HEADERS"; then
21753 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21757 # Transform confdefs.h into an awk script `defines.awk', embedded as
21758 # here-document in config.status, that substitutes the proper values into
21759 # config.h.in to produce config.h.
21761 # Create a delimiter string that does not exist in confdefs.h, to ease
21762 # handling of long lines.
21764 for ac_last_try in false false :; do
21765 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21766 if test -z "$ac_tt"; then
21768 elif $ac_last_try; then
21769 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21771 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21775 # For the awk script, D is an array of macro values keyed by name,
21776 # likewise P contains macro parameters if any. Preserve backslash
21777 # newline sequences.
21779 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21781 s/.\{148\}/&'"$ac_delim"'/g
21784 s/^[ ]*#[ ]*define[ ][ ]*/ /
21791 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21793 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21797 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21798 D["\
1"]=" \
3\\\\\\n
"\\/p
21800 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21805 s/.\{148\}/&'"$ac_delim"'/g
21810 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21813 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21815 ' <confdefs.h | sed '
21816 s/'"$ac_delim"'/"\\\
21817 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21820 for (key in D) D_is_set[key] = 1
21823 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21825 split(line, arg, " ")
21826 if (arg[1] == "#") {
21830 defundef
= substr
(arg
[1], 2)
21833 split(mac1
, mac2
, "(") #)
21835 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21836 if (D_is_set
[macro
]) {
21837 # Preserve the white space surrounding the "#".
21838 print prefix
"define", macro P
[macro
] D
[macro
]
21841 # Replace #undef with comments. This is necessary, for example,
21842 # in the case of _POSIX_SOURCE, which is predefined and required
21843 # on some systems where configure will not decide to define it.
21844 if (defundef
== "undef") {
21845 print
"/*", prefix defundef
, macro
, "*/"
21853 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21854 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21855 fi # test -n "$CONFIG_HEADERS"
21858 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21863 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21865 case $ac_mode$ac_tag in
21867 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21868 :[FH
]-) ac_tag
=-:-;;
21869 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21886 -) ac_f
="$ac_tmp/stdin";;
21887 *) # Look for the file first in the build tree, then in the source tree
21888 # (if the path is not absolute). The absolute path cannot be DOS-style,
21889 # because $ac_f cannot contain `:'.
21893 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21895 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21897 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21898 as_fn_append ac_file_inputs
" '$ac_f'"
21901 # Let's still pretend it is `configure' which instantiates (i.e., don't
21902 # use $as_me), people would be surprised to read:
21903 # /* config.h. Generated by config.status. */
21904 configure_input
='Generated from '`
21905 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21907 if test x
"$ac_file" != x
-; then
21908 configure_input
="$ac_file. $configure_input"
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21910 $as_echo "$as_me: creating $ac_file" >&6;}
21912 # Neutralize special characters interpreted by sed in replacement strings.
21913 case $configure_input in #(
21914 *\
&* | *\
|* | *\\* )
21915 ac_sed_conf_input
=`$as_echo "$configure_input" |
21916 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21917 *) ac_sed_conf_input
=$configure_input;;
21921 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21922 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21927 ac_dir
=`$as_dirname -- "$ac_file" ||
21928 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21929 X"$ac_file" : 'X\(//\)[^/]' \| \
21930 X"$ac_file" : 'X\(//\)$' \| \
21931 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21932 $as_echo X"$ac_file" |
21933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21937 /^X\(\/\/\)[^/].*/{
21950 as_dir
="$ac_dir"; as_fn_mkdir_p
21954 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21956 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21957 # A ".." for each directory in $ac_dir_suffix.
21958 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21959 case $ac_top_builddir_sub in
21960 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21961 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21964 ac_abs_top_builddir
=$ac_pwd
21965 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21966 # for backward compatibility:
21967 ac_top_builddir
=$ac_top_build_prefix
21970 .
) # We are building in place.
21972 ac_top_srcdir
=$ac_top_builddir_sub
21973 ac_abs_top_srcdir
=$ac_pwd ;;
21974 [\\/]* | ?
:[\\/]* ) # Absolute name.
21975 ac_srcdir
=$srcdir$ac_dir_suffix;
21976 ac_top_srcdir
=$srcdir
21977 ac_abs_top_srcdir
=$srcdir ;;
21978 *) # Relative name.
21979 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21980 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21981 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21983 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21993 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21994 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21996 ac_MKDIR_P
=$MKDIR_P
21998 [\\/$
]* | ?
:[\\/]* ) ;;
21999 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22003 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22004 # If the template does not know about datarootdir, expand it.
22005 # FIXME: This hack should be removed a few years after 2.60.
22006 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22017 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22018 *datarootdir
*) ac_datarootdir_seen
=yes;;
22019 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22021 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22024 ac_datarootdir_hack='
22025 s&@datadir@&$datadir&g
22026 s&@docdir@&$docdir&g
22027 s&@infodir@&$infodir&g
22028 s&@localedir@&$localedir&g
22029 s&@mandir@&$mandir&g
22030 s&\\\${datarootdir}&$datarootdir&g' ;;
22034 # Neutralize VPATH when `$srcdir' = `.'.
22035 # Shell code in configure.ac might set extrasub.
22036 # FIXME: do we really want to maintain this feature?
22037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22038 ac_sed_extra="$ac_vpsub
22041 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22043 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22044 s
|@configure_input@
|$ac_sed_conf_input|;t t
22045 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22046 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22047 s
&@srcdir@
&$ac_srcdir&;t t
22048 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22049 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22050 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22051 s
&@builddir@
&$ac_builddir&;t t
22052 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22053 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22054 s
&@INSTALL@
&$ac_INSTALL&;t t
22055 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22056 $ac_datarootdir_hack
22058 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22059 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22061 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22062 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22063 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22064 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22066 which seems to be undefined. Please make sure it is defined" >&5
22067 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22068 which seems to be undefined. Please make sure it is defined" >&2;}
22070 rm -f "$ac_tmp/stdin"
22072 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22073 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22081 if test x"$ac_file" != x-; then
22083 $as_echo "/* $configure_input */" \
22084 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22085 } >"$ac_tmp/config.h" \
22086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22087 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22089 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22092 mv "$ac_tmp/config.h" "$ac_file" \
22093 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22096 $as_echo "/* $configure_input */" \
22097 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22098 || as_fn_error $? "could not create -" "$LINENO" 5
22100 # Compute "$ac_file"'s index
in $config_headers.
22103 for _am_header
in $config_headers :; do
22104 case $_am_header in
22105 $_am_arg | $_am_arg:* )
22108 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22111 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22112 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22113 X"$_am_arg" : 'X\(//\)[^/]' \| \
22114 X"$_am_arg" : 'X\(//\)$' \| \
22115 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22116 $as_echo X"$_am_arg" |
22117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22121 /^X\(\/\/\)[^/].*/{
22133 s/.*/./; q'`/stamp
-h$_am_stamp_count
22136 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22137 $as_echo "$as_me: executing $ac_file commands" >&6;}
22142 case $ac_file$ac_mode in
22143 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22144 # Older Autoconf quotes --file arguments for eval, but not when files
22145 # are listed without --file. Let's play safe and only enable the eval
22146 # if we detect the quoting.
22147 case $CONFIG_FILES in
22148 *\'*) eval set x
"$CONFIG_FILES" ;;
22149 *) set x
$CONFIG_FILES ;;
22154 # Strip MF so we end up with the name of the file.
22155 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22156 # Check whether this is an Automake generated Makefile or not.
22157 # We used to match only the files named 'Makefile.in', but
22158 # some people rename them; so instead we look at the file content.
22159 # Grep'ing the first line is not enough: some people post-process
22160 # each Makefile.in and add a new line on top of each file to say so.
22161 # Grep'ing the whole file is not good either: AIX grep has a line
22162 # limit of 2048, but all sed's we know have understand at least 4000.
22163 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22164 dirpart
=`$as_dirname -- "$mf" ||
22165 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22166 X"$mf" : 'X\(//\)[^/]' \| \
22167 X"$mf" : 'X\(//\)$' \| \
22168 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22174 /^X\(\/\/\)[^/].*/{
22190 # Extract the definition of DEPDIR, am__include, and am__quote
22191 # from the Makefile without running 'make'.
22192 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22193 test -z "$DEPDIR" && continue
22194 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22195 test -z "$am__include" && continue
22196 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22197 # Find all dependency output files, they are included files with
22198 # $(DEPDIR) in their names. We invoke sed twice because it is the
22199 # simplest approach to changing $(DEPDIR) to its actual value in the
22201 for file in `sed -n "
22202 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22203 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22204 # Make sure the directory exists.
22205 test -f "$dirpart/$file" && continue
22206 fdir
=`$as_dirname -- "$file" ||
22207 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22208 X"$file" : 'X\(//\)[^/]' \| \
22209 X"$file" : 'X\(//\)$' \| \
22210 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22211 $as_echo X"$file" |
22212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22216 /^X\(\/\/\)[^/].*/{
22229 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22230 # echo "creating $dirpart/$file"
22231 echo '# dummy' > "$dirpart/$file"
22238 # See if we are running on zsh, and set the options which allow our
22239 # commands through without removal of \ escapes.
22240 if test -n "${ZSH_VERSION+set}" ; then
22241 setopt NO_GLOB_SUBST
22244 cfgfile
="${ofile}T"
22245 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22248 cat <<_LT_EOF >> "$cfgfile"
22251 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22252 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22253 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22254 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22256 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22257 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22259 # Written by Gordon Matzigkeit, 1996
22261 # This file is part of GNU Libtool.
22263 # GNU Libtool is free software; you can redistribute it and/or
22264 # modify it under the terms of the GNU General Public License as
22265 # published by the Free Software Foundation; either version 2 of
22266 # the License, or (at your option) any later version.
22268 # As a special exception to the GNU General Public License,
22269 # if you distribute this file as part of a program or library that
22270 # is built using GNU Libtool, you may include this file under the
22271 # same distribution terms that you use for the rest of that program.
22273 # GNU Libtool is distributed in the hope that it will be useful,
22274 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22275 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22276 # GNU General Public License for more details.
22278 # You should have received a copy of the GNU General Public License
22279 # along with GNU Libtool; see the file COPYING. If not, a copy
22280 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22281 # obtained by writing to the Free Software Foundation, Inc.,
22282 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22285 # The names of the tagged configurations supported by this script.
22286 available_tags="CXX "
22288 # ### BEGIN LIBTOOL CONFIG
22290 # Which release of libtool.m4 was used?
22291 macro_version=$macro_version
22292 macro_revision=$macro_revision
22294 # Whether or not to build static libraries.
22295 build_old_libs=$enable_static
22297 # Whether or not to build shared libraries.
22298 build_libtool_libs=$enable_shared
22300 # What type of objects to build.
22303 # Whether or not to optimize for fast installation.
22304 fast_install=$enable_fast_install
22306 # Shell to use when invoking shell scripts.
22309 # An echo program that protects backslashes.
22312 # The PATH separator for the build system.
22313 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22316 host_alias=$host_alias
22320 # The build system.
22321 build_alias=$build_alias
22325 # A sed program that does not truncate output.
22328 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22329 Xsed="\$SED -e 1s/^X//"
22331 # A grep program that handles long lines.
22337 # A literal string matcher.
22340 # A BSD- or MS-compatible name lister.
22343 # Whether we need soft or hard links.
22346 # What is the maximum length of a command?
22347 max_cmd_len=$max_cmd_len
22349 # Object file suffix (normally "o").
22352 # Executable file suffix (normally "").
22355 # whether the shell understands "unset".
22358 # turn spaces into newlines.
22361 # turn newlines into spaces.
22364 # convert \$build file names to \$host format.
22365 to_host_file_cmd=$lt_cv_to_host_file_cmd
22367 # convert \$build files to toolchain format.
22368 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22370 # An object symbol dumper.
22371 OBJDUMP=$lt_OBJDUMP
22373 # Method to check whether dependent libraries are shared objects.
22374 deplibs_check_method=$lt_deplibs_check_method
22376 # Command to use when deplibs_check_method = "file_magic".
22377 file_magic_cmd=$lt_file_magic_cmd
22379 # How to find potential files when deplibs_check_method = "file_magic".
22380 file_magic_glob=$lt_file_magic_glob
22382 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22383 want_nocaseglob=$lt_want_nocaseglob
22385 # DLL creation program.
22386 DLLTOOL=$lt_DLLTOOL
22388 # Command to associate shared and link libraries.
22389 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22394 # Flags to create an archive.
22395 AR_FLAGS=$lt_AR_FLAGS
22397 # How to feed a file listing to the archiver.
22398 archiver_list_spec=$lt_archiver_list_spec
22400 # A symbol stripping program.
22403 # Commands used to install an old-style archive.
22405 old_postinstall_cmds=$lt_old_postinstall_cmds
22406 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22408 # Whether to use a lock for old archive extraction.
22409 lock_old_archive_extraction=$lock_old_archive_extraction
22414 # LTCC compiler flags.
22415 LTCFLAGS=$lt_CFLAGS
22417 # Take the output of nm and produce a listing of raw symbols and C names.
22418 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22420 # Transform the output of nm in a proper C declaration.
22421 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22423 # Transform the output of nm in a C name address pair.
22424 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22426 # Transform the output of nm in a C name address pair when lib prefix is needed.
22427 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22429 # Specify filename containing input files for \$NM.
22430 nm_file_list_spec=$lt_nm_file_list_spec
22432 # The root where to search for dependent libraries,and in which our libraries should be installed.
22433 lt_sysroot=$lt_sysroot
22435 # The name of the directory that contains temporary libtool files.
22438 # Used to examine libraries when file_magic_cmd begins with "file".
22439 MAGIC_CMD=$MAGIC_CMD
22441 # Must we lock files when doing compilation?
22442 need_locks=$lt_need_locks
22445 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22447 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22448 DSYMUTIL=$lt_DSYMUTIL
22450 # Tool to change global to local symbols on Mac OS X.
22453 # Tool to manipulate fat objects and archives on Mac OS X.
22456 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22459 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22460 OTOOL64=$lt_OTOOL64
22462 # Old archive suffix (normally "a").
22465 # Shared library suffix (normally ".so").
22466 shrext_cmds=$lt_shrext_cmds
22468 # The commands to extract the exported symbol list from a shared archive.
22469 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22471 # Variables whose values should be saved in libtool wrapper scripts and
22472 # restored at link time.
22473 variables_saved_for_relink=$lt_variables_saved_for_relink
22475 # Do we need the "lib" prefix for modules?
22476 need_lib_prefix=$need_lib_prefix
22478 # Do we need a version for libraries?
22479 need_version=$need_version
22481 # Library versioning type.
22482 version_type=$version_type
22484 # Shared library runtime path variable.
22485 runpath_var=$runpath_var
22487 # Shared library path variable.
22488 shlibpath_var=$shlibpath_var
22490 # Is shlibpath searched before the hard-coded library search path?
22491 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22493 # Format of library name prefix.
22494 libname_spec=$lt_libname_spec
22496 # List of archive names. First name is the real one, the rest are links.
22497 # The last name is the one that the linker finds with -lNAME
22498 library_names_spec=$lt_library_names_spec
22500 # The coded name of the library, if different from the real name.
22501 soname_spec=$lt_soname_spec
22503 # Permission mode override for installation of shared libraries.
22504 install_override_mode=$lt_install_override_mode
22506 # Command to use after installation of a shared archive.
22507 postinstall_cmds=$lt_postinstall_cmds
22509 # Command to use after uninstallation of a shared archive.
22510 postuninstall_cmds=$lt_postuninstall_cmds
22512 # Commands used to finish a libtool library installation in a directory.
22513 finish_cmds=$lt_finish_cmds
22515 # As "finish_cmds", except a single script fragment to be evaled but
22517 finish_eval=$lt_finish_eval
22519 # Whether we should hardcode library paths into libraries.
22520 hardcode_into_libs=$hardcode_into_libs
22522 # Compile-time system search path for libraries.
22523 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22525 # Run-time system search path for libraries.
22526 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22528 # Whether dlopen is supported.
22529 dlopen_support=$enable_dlopen
22531 # Whether dlopen of programs is supported.
22532 dlopen_self=$enable_dlopen_self
22534 # Whether dlopen of statically linked programs is supported.
22535 dlopen_self_static=$enable_dlopen_self_static
22537 # Commands to strip libraries.
22538 old_striplib=$lt_old_striplib
22539 striplib=$lt_striplib
22542 # The linker used to build libraries.
22545 # How to create reloadable object files.
22546 reload_flag=$lt_reload_flag
22547 reload_cmds=$lt_reload_cmds
22549 # Commands used to build an old-style archive.
22550 old_archive_cmds=$lt_old_archive_cmds
22552 # A language specific compiler.
22555 # Is the compiler the GNU compiler?
22558 # Compiler flag to turn off builtin functions.
22559 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22561 # Additional compiler flags for building library objects.
22562 pic_flag=$lt_lt_prog_compiler_pic
22564 # How to pass a linker flag through the compiler.
22565 wl=$lt_lt_prog_compiler_wl
22567 # Compiler flag to prevent dynamic linking.
22568 link_static_flag=$lt_lt_prog_compiler_static
22570 # Does compiler simultaneously support -c and -o options?
22571 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22573 # Whether or not to add -lc for building shared libraries.
22574 build_libtool_need_lc=$archive_cmds_need_lc
22576 # Whether or not to disallow shared libs when runtime libs are static.
22577 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22579 # Compiler flag to allow reflexive dlopens.
22580 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22582 # Compiler flag to generate shared objects directly from archives.
22583 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22585 # Whether the compiler copes with passing no objects directly.
22586 compiler_needs_object=$lt_compiler_needs_object
22588 # Create an old-style archive from a shared archive.
22589 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22591 # Create a temporary old-style archive to link instead of a shared archive.
22592 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22594 # Commands used to build a shared archive.
22595 archive_cmds=$lt_archive_cmds
22596 archive_expsym_cmds=$lt_archive_expsym_cmds
22598 # Commands used to build a loadable module if different from building
22599 # a shared archive.
22600 module_cmds=$lt_module_cmds
22601 module_expsym_cmds=$lt_module_expsym_cmds
22603 # Whether we are building with GNU ld or not.
22604 with_gnu_ld=$lt_with_gnu_ld
22606 # Flag that allows shared libraries with undefined symbols to be built.
22607 allow_undefined_flag=$lt_allow_undefined_flag
22609 # Flag that enforces no undefined symbols.
22610 no_undefined_flag=$lt_no_undefined_flag
22612 # Flag to hardcode \$libdir into a binary during linking.
22613 # This must work even if \$libdir does not exist
22614 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22616 # Whether we need a single "-rpath" flag with a separated argument.
22617 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22619 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22620 # DIR into the resulting binary.
22621 hardcode_direct=$hardcode_direct
22623 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22624 # DIR into the resulting binary and the resulting library dependency is
22625 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22626 # library is relocated.
22627 hardcode_direct_absolute=$hardcode_direct_absolute
22629 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22630 # into the resulting binary.
22631 hardcode_minus_L=$hardcode_minus_L
22633 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22634 # into the resulting binary.
22635 hardcode_shlibpath_var=$hardcode_shlibpath_var
22637 # Set to "yes" if building a shared library automatically hardcodes DIR
22638 # into the library and all subsequent libraries and executables linked
22640 hardcode_automatic=$hardcode_automatic
22642 # Set to yes if linker adds runtime paths of dependent libraries
22643 # to runtime path list.
22644 inherit_rpath=$inherit_rpath
22646 # Whether libtool must link a program against all its dependency libraries.
22647 link_all_deplibs=$link_all_deplibs
22649 # Set to "yes" if exported symbols are required.
22650 always_export_symbols=$always_export_symbols
22652 # The commands to list exported symbols.
22653 export_symbols_cmds=$lt_export_symbols_cmds
22655 # Symbols that should not be listed in the preloaded symbols.
22656 exclude_expsyms=$lt_exclude_expsyms
22658 # Symbols that must always be exported.
22659 include_expsyms=$lt_include_expsyms
22661 # Commands necessary for linking programs (against libraries) with templates.
22662 prelink_cmds=$lt_prelink_cmds
22664 # Commands necessary for finishing linking programs.
22665 postlink_cmds=$lt_postlink_cmds
22667 # Specify filename containing input files.
22668 file_list_spec=$lt_file_list_spec
22670 # How to hardcode a shared library path into an executable.
22671 hardcode_action=$hardcode_action
22673 # The directories searched by this compiler when creating a shared library.
22674 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22676 # Dependencies to place before and after the objects being linked to
22677 # create a shared library.
22678 predep_objects=$lt_predep_objects
22679 postdep_objects=$lt_postdep_objects
22680 predeps=$lt_predeps
22681 postdeps=$lt_postdeps
22683 # The library search path used internally by the compiler when linking
22684 # a shared library.
22685 compiler_lib_search_path=$lt_compiler_lib_search_path
22687 # ### END LIBTOOL CONFIG
22693 cat <<\_LT_EOF
>> "$cfgfile"
22694 # AIX sometimes has problems with the GCC collect2 program. For some
22695 # reason, if we set the COLLECT_NAMES environment variable, the problems
22696 # vanish in a puff of smoke.
22697 if test "X${COLLECT_NAMES+set}" != Xset
; then
22699 export COLLECT_NAMES
22706 ltmain
="$ac_aux_dir/ltmain.sh"
22709 # We use sed instead of cat because bash on DJGPP gets confused if
22710 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22711 # text mode, it properly converts lines to CR/LF. This bash problem
22712 # is reportedly fixed, but why not run on old versions too?
22713 sed '$q' "$ltmain" >> "$cfgfile" \
22714 || (rm -f "$cfgfile"; exit 1)
22716 if test x
"$xsi_shell" = xyes
; then
22717 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22721 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22722 \ * ) func_dirname_result="${3}" ;;\
22724 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22725 && mv -f "$cfgfile.tmp" "$cfgfile" \
22726 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22727 test 0 -eq $?
|| _lt_function_replace_fail
=:
22730 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22733 \ func_basename_result="${1##*/}"\
22734 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22735 && mv -f "$cfgfile.tmp" "$cfgfile" \
22736 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22737 test 0 -eq $?
|| _lt_function_replace_fail
=:
22740 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22741 func_dirname_and_basename ()\
22744 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22745 \ * ) func_dirname_result="${3}" ;;\
22747 \ func_basename_result="${1##*/}"\
22748 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22749 && mv -f "$cfgfile.tmp" "$cfgfile" \
22750 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22751 test 0 -eq $?
|| _lt_function_replace_fail
=:
22754 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22757 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22758 \ # positional parameters, so assign one to ordinary parameter first.\
22759 \ func_stripname_result=${3}\
22760 \ func_stripname_result=${func_stripname_result#"${1}"}\
22761 \ func_stripname_result=${func_stripname_result%"${2}"}\
22762 } # Extended-shell func_stripname 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_long_opt ()$/,/^} # func_split_long_opt /c\
22769 func_split_long_opt ()\
22771 \ func_split_long_opt_name=${1%%=*}\
22772 \ func_split_long_opt_arg=${1#*=}\
22773 } # Extended-shell func_split_long_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_split_short_opt ()$/,/^} # func_split_short_opt /c\
22780 func_split_short_opt ()\
22782 \ func_split_short_opt_arg=${1#??}\
22783 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22784 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22785 && mv -f "$cfgfile.tmp" "$cfgfile" \
22786 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22787 test 0 -eq $?
|| _lt_function_replace_fail
=:
22790 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22794 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22795 \ *) func_lo2o_result=${1} ;;\
22797 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22798 && mv -f "$cfgfile.tmp" "$cfgfile" \
22799 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22800 test 0 -eq $?
|| _lt_function_replace_fail
=:
22803 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22806 func_xform_result=${1%.*}.lo\
22807 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22808 && mv -f "$cfgfile.tmp" "$cfgfile" \
22809 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22810 test 0 -eq $?
|| _lt_function_replace_fail
=:
22813 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22816 func_arith_result=$(( $* ))\
22817 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22818 && mv -f "$cfgfile.tmp" "$cfgfile" \
22819 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22820 test 0 -eq $?
|| _lt_function_replace_fail
=:
22823 sed -e '/^func_len ()$/,/^} # func_len /c\
22826 func_len_result=${#1}\
22827 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22828 && mv -f "$cfgfile.tmp" "$cfgfile" \
22829 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22830 test 0 -eq $?
|| _lt_function_replace_fail
=:
22834 if test x
"$lt_shell_append" = xyes
; then
22835 sed -e '/^func_append ()$/,/^} # func_append /c\
22838 eval "${1}+=\\${2}"\
22839 } # Extended-shell func_append 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 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22846 func_append_quoted ()\
22848 \ func_quote_for_eval "${2}"\
22849 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22850 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22851 && mv -f "$cfgfile.tmp" "$cfgfile" \
22852 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22853 test 0 -eq $?
|| _lt_function_replace_fail
=:
22856 # Save a `func_append' function call where possible by direct use of '+='
22857 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22858 && mv -f "$cfgfile.tmp" "$cfgfile" \
22859 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22860 test 0 -eq $?
|| _lt_function_replace_fail
=:
22862 # Save a `func_append' function call even when '+=' is not available
22863 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22864 && mv -f "$cfgfile.tmp" "$cfgfile" \
22865 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22866 test 0 -eq $?
|| _lt_function_replace_fail
=:
22869 if test x
"$_lt_function_replace_fail" = x
":"; then
22870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22871 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22875 mv -f "$cfgfile" "$ofile" ||
22876 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22880 cat <<_LT_EOF >> "$ofile"
22882 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22884 # The linker used to build libraries.
22887 # How to create reloadable object files.
22888 reload_flag=$lt_reload_flag_CXX
22889 reload_cmds=$lt_reload_cmds_CXX
22891 # Commands used to build an old-style archive.
22892 old_archive_cmds=$lt_old_archive_cmds_CXX
22894 # A language specific compiler.
22895 CC=$lt_compiler_CXX
22897 # Is the compiler the GNU compiler?
22900 # Compiler flag to turn off builtin functions.
22901 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22903 # Additional compiler flags for building library objects.
22904 pic_flag=$lt_lt_prog_compiler_pic_CXX
22906 # How to pass a linker flag through the compiler.
22907 wl=$lt_lt_prog_compiler_wl_CXX
22909 # Compiler flag to prevent dynamic linking.
22910 link_static_flag=$lt_lt_prog_compiler_static_CXX
22912 # Does compiler simultaneously support -c and -o options?
22913 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22915 # Whether or not to add -lc for building shared libraries.
22916 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22918 # Whether or not to disallow shared libs when runtime libs are static.
22919 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22921 # Compiler flag to allow reflexive dlopens.
22922 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22924 # Compiler flag to generate shared objects directly from archives.
22925 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22927 # Whether the compiler copes with passing no objects directly.
22928 compiler_needs_object=$lt_compiler_needs_object_CXX
22930 # Create an old-style archive from a shared archive.
22931 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22933 # Create a temporary old-style archive to link instead of a shared archive.
22934 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22936 # Commands used to build a shared archive.
22937 archive_cmds=$lt_archive_cmds_CXX
22938 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22940 # Commands used to build a loadable module if different from building
22941 # a shared archive.
22942 module_cmds=$lt_module_cmds_CXX
22943 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22945 # Whether we are building with GNU ld or not.
22946 with_gnu_ld=$lt_with_gnu_ld_CXX
22948 # Flag that allows shared libraries with undefined symbols to be built.
22949 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22951 # Flag that enforces no undefined symbols.
22952 no_undefined_flag=$lt_no_undefined_flag_CXX
22954 # Flag to hardcode \$libdir into a binary during linking.
22955 # This must work even if \$libdir does not exist
22956 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22958 # Whether we need a single "-rpath" flag with a separated argument.
22959 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22961 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22962 # DIR into the resulting binary.
22963 hardcode_direct=$hardcode_direct_CXX
22965 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22966 # DIR into the resulting binary and the resulting library dependency is
22967 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22968 # library is relocated.
22969 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22971 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22972 # into the resulting binary.
22973 hardcode_minus_L=$hardcode_minus_L_CXX
22975 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22976 # into the resulting binary.
22977 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22979 # Set to "yes" if building a shared library automatically hardcodes DIR
22980 # into the library and all subsequent libraries and executables linked
22982 hardcode_automatic=$hardcode_automatic_CXX
22984 # Set to yes if linker adds runtime paths of dependent libraries
22985 # to runtime path list.
22986 inherit_rpath=$inherit_rpath_CXX
22988 # Whether libtool must link a program against all its dependency libraries.
22989 link_all_deplibs=$link_all_deplibs_CXX
22991 # Set to "yes" if exported symbols are required.
22992 always_export_symbols=$always_export_symbols_CXX
22994 # The commands to list exported symbols.
22995 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22997 # Symbols that should not be listed in the preloaded symbols.
22998 exclude_expsyms=$lt_exclude_expsyms_CXX
23000 # Symbols that must always be exported.
23001 include_expsyms=$lt_include_expsyms_CXX
23003 # Commands necessary for linking programs (against libraries) with templates.
23004 prelink_cmds=$lt_prelink_cmds_CXX
23006 # Commands necessary for finishing linking programs.
23007 postlink_cmds=$lt_postlink_cmds_CXX
23009 # Specify filename containing input files.
23010 file_list_spec=$lt_file_list_spec_CXX
23012 # How to hardcode a shared library path into an executable.
23013 hardcode_action=$hardcode_action_CXX
23015 # The directories searched by this compiler when creating a shared library.
23016 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23018 # Dependencies to place before and after the objects being linked to
23019 # create a shared library.
23020 predep_objects=$lt_predep_objects_CXX
23021 postdep_objects=$lt_postdep_objects_CXX
23022 predeps=$lt_predeps_CXX
23023 postdeps=$lt_postdeps_CXX
23025 # The library search path used internally by the compiler when linking
23026 # a shared library.
23027 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23029 # ### END LIBTOOL TAG CONFIG: CXX
23040 ac_clean_files
=$ac_clean_files_save
23042 test $ac_write_fail = 0 ||
23043 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23046 # configure is writing to config.log, and then calls config.status.
23047 # config.status does its own redirection, appending to config.log.
23048 # Unfortunately, on DOS this fails, as config.log is still kept open
23049 # by configure, so config.status won't be able to write to it; its
23050 # output is simply discarded. So we exec the FD to /dev/null,
23051 # effectively closing config.log, so it can be properly (re)opened and
23052 # appended to by config.status. When coming back to configure, we
23053 # need to make the FD available again.
23054 if test "$no_create" != yes; then
23056 ac_config_status_args
=
23057 test "$silent" = yes &&
23058 ac_config_status_args
="$ac_config_status_args --quiet"
23060 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23062 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23063 # would make configure fail if this is the last instruction.
23064 $ac_cs_success || as_fn_exit
1
23066 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23068 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}