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
715 am__fastdepOBJCXX_FALSE
716 am__fastdepOBJCXX_TRUE
745 MAINTAINER_MODE_FALSE
759 INSTALL_STRIP_PROGRAM
801 program_transform_name
814 enable_option_checking
816 enable_maintainer_mode
817 enable_dependency_tracking
829 ac_precious_vars
='build_alias
858 # Initialize some variables set by options.
860 ac_init_version
=false
861 ac_unrecognized_opts
=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
872 program_transform_name
=s
,x
,x
,
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir
='${exec_prefix}/bin'
887 sbindir
='${exec_prefix}/sbin'
888 libexecdir
='${exec_prefix}/libexec'
889 datarootdir
='${prefix}/share'
890 datadir
='${datarootdir}'
891 sysconfdir
='${prefix}/etc'
892 sharedstatedir
='${prefix}/com'
893 localstatedir
='${prefix}/var'
894 includedir
='${prefix}/include'
895 oldincludedir
='/usr/include'
896 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir
='${datarootdir}/info'
902 libdir
='${exec_prefix}/lib'
903 localedir
='${datarootdir}/locale'
904 mandir
='${datarootdir}/man'
910 # If the previous option needs an argument, assign it.
911 if test -n "$ac_prev"; then
912 eval $ac_prev=\
$ac_option
918 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
923 # Accept the important Cygnus configure options, so we can diagnose typos.
925 case $ac_dashdash$ac_option in
929 -bindir | --bindir | --bindi | --bind | --bin | --bi)
931 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
934 -build | --build | --buil | --bui | --bu)
935 ac_prev
=build_alias
;;
936 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
937 build_alias
=$ac_optarg ;;
939 -cache-file | --cache-file | --cache-fil | --cache-fi \
940 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
941 ac_prev
=cache_file
;;
942 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
943 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
944 cache_file
=$ac_optarg ;;
947 cache_file
=config.cache
;;
949 -datadir | --datadir | --datadi | --datad)
951 -datadir=* | --datadir=* | --datadi=* | --datad=*)
952 datadir
=$ac_optarg ;;
954 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
955 | --dataroo | --dataro | --datar)
956 ac_prev
=datarootdir
;;
957 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
958 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
959 datarootdir
=$ac_optarg ;;
961 -disable-* | --disable-*)
962 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
965 as_fn_error $?
"invalid feature name: $ac_useropt"
966 ac_useropt_orig
=$ac_useropt
967 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
973 ac_unrecognized_sep
=', ';;
975 eval enable_
$ac_useropt=no
;;
977 -docdir | --docdir | --docdi | --doc | --do)
979 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
982 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
984 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
987 -enable-* | --enable-*)
988 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
991 as_fn_error $?
"invalid feature name: $ac_useropt"
992 ac_useropt_orig
=$ac_useropt
993 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
998 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
999 ac_unrecognized_sep
=', ';;
1001 eval enable_
$ac_useropt=\
$ac_optarg ;;
1003 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1004 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1005 | --exec | --exe | --ex)
1006 ac_prev
=exec_prefix
;;
1007 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1008 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1009 | --exec=* | --exe=* | --ex=*)
1010 exec_prefix
=$ac_optarg ;;
1012 -gas | --gas | --ga | --g)
1013 # Obsolete; use --with-gas.
1016 -help | --help | --hel | --he | -h)
1017 ac_init_help
=long
;;
1018 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1019 ac_init_help
=recursive
;;
1020 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1021 ac_init_help
=short
;;
1023 -host | --host | --hos | --ho)
1024 ac_prev
=host_alias
;;
1025 -host=* | --host=* | --hos=* | --ho=*)
1026 host_alias
=$ac_optarg ;;
1028 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1030 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1032 htmldir
=$ac_optarg ;;
1034 -includedir | --includedir | --includedi | --included | --include \
1035 | --includ | --inclu | --incl | --inc)
1036 ac_prev
=includedir
;;
1037 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1038 | --includ=* | --inclu=* | --incl=* | --inc=*)
1039 includedir
=$ac_optarg ;;
1041 -infodir | --infodir | --infodi | --infod | --info | --inf)
1043 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1044 infodir
=$ac_optarg ;;
1046 -libdir | --libdir | --libdi | --libd)
1048 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1049 libdir
=$ac_optarg ;;
1051 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1052 | --libexe | --libex | --libe)
1053 ac_prev
=libexecdir
;;
1054 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1055 | --libexe=* | --libex=* | --libe=*)
1056 libexecdir
=$ac_optarg ;;
1058 -localedir | --localedir | --localedi | --localed | --locale)
1059 ac_prev
=localedir
;;
1060 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1061 localedir
=$ac_optarg ;;
1063 -localstatedir | --localstatedir | --localstatedi | --localstated \
1064 | --localstate | --localstat | --localsta | --localst | --locals)
1065 ac_prev
=localstatedir
;;
1066 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1067 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1068 localstatedir
=$ac_optarg ;;
1070 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1072 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1073 mandir
=$ac_optarg ;;
1075 -nfp | --nfp | --nf)
1076 # Obsolete; use --without-fp.
1079 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1080 | --no-cr | --no-c | -n)
1083 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1084 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1087 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1088 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1089 | --oldin | --oldi | --old | --ol | --o)
1090 ac_prev
=oldincludedir
;;
1091 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1092 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1093 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1094 oldincludedir
=$ac_optarg ;;
1096 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1098 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1099 prefix
=$ac_optarg ;;
1101 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1102 | --program-pre | --program-pr | --program-p)
1103 ac_prev
=program_prefix
;;
1104 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1105 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1106 program_prefix
=$ac_optarg ;;
1108 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1109 | --program-suf | --program-su | --program-s)
1110 ac_prev
=program_suffix
;;
1111 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1112 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1113 program_suffix
=$ac_optarg ;;
1115 -program-transform-name | --program-transform-name \
1116 | --program-transform-nam | --program-transform-na \
1117 | --program-transform-n | --program-transform- \
1118 | --program-transform | --program-transfor \
1119 | --program-transfo | --program-transf \
1120 | --program-trans | --program-tran \
1121 | --progr-tra | --program-tr | --program-t)
1122 ac_prev
=program_transform_name
;;
1123 -program-transform-name=* | --program-transform-name=* \
1124 | --program-transform-nam=* | --program-transform-na=* \
1125 | --program-transform-n=* | --program-transform-=* \
1126 | --program-transform=* | --program-transfor=* \
1127 | --program-transfo=* | --program-transf=* \
1128 | --program-trans=* | --program-tran=* \
1129 | --progr-tra=* | --program-tr=* | --program-t=*)
1130 program_transform_name
=$ac_optarg ;;
1132 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1134 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1135 pdfdir
=$ac_optarg ;;
1137 -psdir | --psdir | --psdi | --psd | --ps)
1139 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1143 | -silent | --silent | --silen | --sile | --sil)
1146 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1148 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1150 sbindir
=$ac_optarg ;;
1152 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1153 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1154 | --sharedst | --shareds | --shared | --share | --shar \
1156 ac_prev
=sharedstatedir
;;
1157 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1158 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1159 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1161 sharedstatedir
=$ac_optarg ;;
1163 -site | --site | --sit)
1165 -site=* | --site=* | --sit=*)
1168 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1170 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1171 srcdir
=$ac_optarg ;;
1173 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1174 | --syscon | --sysco | --sysc | --sys | --sy)
1175 ac_prev
=sysconfdir
;;
1176 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1177 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1178 sysconfdir
=$ac_optarg ;;
1180 -target | --target | --targe | --targ | --tar | --ta | --t)
1181 ac_prev
=target_alias
;;
1182 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1183 target_alias
=$ac_optarg ;;
1185 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1188 -version | --version | --versio | --versi | --vers | -V)
1189 ac_init_version
=: ;;
1192 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error $?
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=\
$ac_optarg ;;
1207 -without-* | --without-*)
1208 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1209 # Reject names that are not valid shell variable names.
1210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1211 as_fn_error $?
"invalid package name: $ac_useropt"
1212 ac_useropt_orig
=$ac_useropt
1213 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1214 case $ac_user_opts in
1218 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1219 ac_unrecognized_sep
=', ';;
1221 eval with_
$ac_useropt=no
;;
1224 # Obsolete; use --with-x.
1227 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1228 | --x-incl | --x-inc | --x-in | --x-i)
1229 ac_prev
=x_includes
;;
1230 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1231 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1232 x_includes
=$ac_optarg ;;
1234 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1235 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1236 ac_prev
=x_libraries
;;
1237 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1238 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1239 x_libraries
=$ac_optarg ;;
1241 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1242 Try \`$0 --help' for more information"
1246 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1247 # Reject names that are not valid shell variable names.
1248 case $ac_envvar in #(
1249 '' | [0-9]* | *[!_$as_cr_alnum]* )
1250 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1252 eval $ac_envvar=\
$ac_optarg
1253 export $ac_envvar ;;
1256 # FIXME: should be removed in autoconf 3.0.
1257 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1258 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1259 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1260 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1266 if test -n "$ac_prev"; then
1267 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1268 as_fn_error $?
"missing argument to $ac_option"
1271 if test -n "$ac_unrecognized_opts"; then
1272 case $enable_option_checking in
1274 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1275 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1279 # Check all directory arguments for consistency.
1280 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val
=\$
$ac_var
1286 # Remove trailing slashes.
1289 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1290 eval $ac_var=\
$ac_val;;
1292 # Be sure to have absolute directory names.
1294 [\\/$
]* | ?
:[\\/]* ) continue;;
1295 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1297 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1300 # There might be people who depend on the old broken behavior: `$host'
1301 # used to hold the argument of --host etc.
1302 # FIXME: To remove some day.
1305 target
=$target_alias
1307 # FIXME: To remove some day.
1308 if test "x$host_alias" != x
; then
1309 if test "x$build_alias" = x
; then
1310 cross_compiling
=maybe
1311 elif test "x$build_alias" != "x$host_alias"; then
1317 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1319 test "$silent" = yes && exec 6>/dev
/null
1322 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1323 ac_ls_di
=`ls -di .` &&
1324 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1325 as_fn_error $?
"working directory cannot be determined"
1326 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327 as_fn_error $?
"pwd does not report name of working directory"
1330 # Find the source files, if location was not specified.
1331 if test -z "$srcdir"; then
1332 ac_srcdir_defaulted
=yes
1333 # Try the directory containing this script, then the parent directory.
1334 ac_confdir
=`$as_dirname -- "$as_myself" ||
1335 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1336 X"$as_myself" : 'X\(//\)[^/]' \| \
1337 X"$as_myself" : 'X\(//\)$' \| \
1338 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1339 $as_echo X"$as_myself" |
1340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1362 ac_srcdir_defaulted
=no
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1366 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1368 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking ...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1459 --build=BUILD configure
for building on BUILD
[guessed
]
1460 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1464 if test -n "$ac_init_help"; then
1465 case $ac_init_help in
1466 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1471 --disable-option-checking ignore unrecognized
--enable/--with options
1472 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1473 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1474 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1475 --disable-silent-rules verbose build output
(undo
: "make V=0")
1476 --enable-maintainer-mode
1477 enable make rules and dependencies not useful
(and
1478 sometimes confusing
) to the casual installer
1479 --enable-dependency-tracking
1480 do not reject slow dependency extractors
1481 --disable-dependency-tracking
1482 speeds up one
-time build
1483 --enable-static[=PKGS
] build static libraries
[default
=no
]
1484 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1485 --enable-fast-install[=PKGS
]
1486 optimize
for fast installation
[default
=yes]
1487 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1488 --enable-javascript[=ENGINE
]
1489 use a JavaScript runtime
(currently the only
1490 available option
for ENGINE is JavaScriptCore
)
1492 --disable-console disable console
1495 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1496 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1497 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1499 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1500 --with-sysroot=DIR Search
for dependent libraries within DIR
1501 (or the compiler
's sysroot if not specified).
1502 --with-apr=PATH prefix for installed APR or the full path to
1505 Some influential environment variables:
1506 CC C compiler command
1507 CFLAGS C compiler flags
1508 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1509 nonstandard directory <lib dir>
1510 LIBS libraries to pass to the linker, e.g. -l<library>
1511 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1512 you have headers in a nonstandard directory <include dir>
1513 CXX C++ compiler command
1514 CXXFLAGS C++ compiler flags
1515 OBJCXX Objective C++ compiler command
1516 OBJCXXFLAGS Objective C++ compiler flags
1518 CXXCPP C++ preprocessor
1519 PKG_CONFIG path to pkg-config utility
1521 directories to add to pkg-config's search path
1523 path overriding pkg
-config's built-in search path
1524 BISON GNU Project parser generator (yacc replacement)
1525 FLEX the fast lexical analyser generator
1526 GPERF perfect hash function generator
1527 GNUTAR a very sticky lump of files
1529 C compiler flags for WEBKIT, overriding pkg-config
1530 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1532 prints information about the current gnustep installation
1534 Use these variables to override the choices made by `configure' or to
help
1535 it to
find libraries and programs with nonstandard names
/locations.
1537 Report bugs to
<saurik@saurik.com
>.
1538 Cycript home page
: <http
://www.cycript.org
/>.
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1546 test -d "$ac_dir" ||
1547 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1552 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1554 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1555 # A ".." for each directory in $ac_dir_suffix.
1556 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1557 case $ac_top_builddir_sub in
1558 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1559 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1562 ac_abs_top_builddir
=$ac_pwd
1563 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1564 # for backward compatibility:
1565 ac_top_builddir
=$ac_top_build_prefix
1568 .
) # We are building in place.
1570 ac_top_srcdir
=$ac_top_builddir_sub
1571 ac_abs_top_srcdir
=$ac_pwd ;;
1572 [\\/]* | ?
:[\\/]* ) # Absolute name.
1573 ac_srcdir
=$srcdir$ac_dir_suffix;
1574 ac_top_srcdir
=$srcdir
1575 ac_abs_top_srcdir
=$srcdir ;;
1577 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1578 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1579 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1581 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1583 cd "$ac_dir" || { ac_status
=$?
; continue; }
1584 # Check for guested configure.
1585 if test -f "$ac_srcdir/configure.gnu"; then
1587 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1588 elif test -f "$ac_srcdir/configure"; then
1590 $SHELL "$ac_srcdir/configure" --help=recursive
1592 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594 cd "$ac_pwd" || { ac_status
=$?
; break; }
1598 test -n "$ac_init_help" && exit $ac_status
1599 if $ac_init_version; then
1601 Cycript configure
0.9
1602 generated by GNU Autoconf
2.69
1604 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1605 This configure
script is free software
; the Free Software Foundation
1606 gives unlimited permission to copy
, distribute and modify it.
1608 Copyright
(C
) 2009-2012 Jay Freeman
(saurik
)
1613 ## ------------------------ ##
1614 ## Autoconf initialization. ##
1615 ## ------------------------ ##
1617 # ac_fn_c_try_compile LINENO
1618 # --------------------------
1619 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1620 ac_fn_c_try_compile
()
1622 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1623 rm -f conftest.
$ac_objext
1624 if { { ac_try
="$ac_compile"
1626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_compile") 2>conftest.err
1633 if test -s conftest.err; then
1634 grep -v '^ *+' conftest.err >conftest.er1
1635 cat conftest.er1 >&5
1636 mv -f conftest.er1 conftest.err
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } && {
1640 test -z "$ac_c_werror_flag" ||
1641 test ! -s conftest.err
1642 } && test -s conftest.$ac_objext; then :
1645 $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.$ac_ext >&5
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 as_fn_set_status $ac_retval
1653 } # ac_fn_c_try_compile
1655 # ac_fn_cxx_try_compile LINENO
1656 # ----------------------------
1657 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1658 ac_fn_cxx_try_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 rm -f conftest.$ac_objext
1662 if { { ac_try="$ac_compile"
1664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_compile") 2>conftest.err
1671 if test -s conftest.err
; then
1672 grep -v '^ *+' conftest.err
>conftest.er1
1673 cat conftest.er1
>&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && {
1678 test -z "$ac_cxx_werror_flag" ||
1679 test ! -s conftest.err
1680 } && test -s conftest.
$ac_objext; then :
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.
$ac_ext >&5
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status
$ac_retval
1691 } # ac_fn_cxx_try_compile
1693 # ac_fn_objcxx_try_compile LINENO
1694 # -------------------------------
1695 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_objcxx_try_compile
()
1698 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1699 rm -f conftest.
$ac_objext
1700 if { { ac_try
="$ac_compile"
1702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_compile") 2>conftest.err
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_objcxx_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest.$ac_objext; then :
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1729 } # ac_fn_objcxx_try_compile
1731 # ac_fn_c_try_link LINENO
1732 # -----------------------
1733 # Try to link conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 rm -f conftest.$ac_objext conftest$ac_exeext
1738 if { { ac_try="$ac_link"
1740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1741 *) ac_try_echo
=$ac_try;;
1743 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_link") 2>conftest.err
1747 if test -s conftest.err
; then
1748 grep -v '^ *+' conftest.err
>conftest.er1
1749 cat conftest.er1
>&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest
$ac_exeext && {
1757 test "$cross_compiling" = yes ||
1758 test -x conftest
$ac_exeext
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.
$ac_ext >&5
1767 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1768 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1769 # interfere with the next link command; also delete a directory that is
1770 # left behind by Apple's compiler. We do this before executing the actions.
1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 as_fn_set_status
$ac_retval
1775 } # ac_fn_c_try_link
1777 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists and can be compiled using the include files in
1780 # INCLUDES, setting the cache variable VAR accordingly.
1781 ac_fn_c_check_header_compile
()
1783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \
${$3+:} false
; then :
1787 $as_echo_n "(cached) " >&6
1789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile
"$LINENO"; then :
1799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 } # ac_fn_c_check_header_compile
1808 # ac_fn_c_try_cpp LINENO
1809 # ----------------------
1810 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1813 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1814 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1823 if test -s conftest.err; then
1824 grep -v '^ *+' conftest.err >conftest.er1
1825 cat conftest.er1 >&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } > conftest.i && {
1830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1831 test ! -s conftest.err
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1845 # ac_fn_c_try_run LINENO
1846 # ----------------------
1847 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1848 # that executables *can* be run.
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 if { { ac_try="$ac_link"
1854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1855 *) ac_try_echo
=$ac_try;;
1857 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>&5
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1863 { { case "(($ac_try" in
1864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_try") 2>&5
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; }; }; then :
1875 $as_echo "$as_me: program exited with status $ac_status" >&5
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1879 ac_retval=$ac_status
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status $ac_retval
1887 # ac_fn_c_check_func LINENO FUNC VAR
1888 # ----------------------------------
1889 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1890 ac_fn_c_check_func ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1900 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1902 #define $2 innocuous_$2
1904 /* System header to define __stub macros and hopefully few prototypes,
1905 which can conflict with char $2 (); below.
1906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1907 <limits.h> exists even on freestanding compilers. */
1910 # include <limits.h>
1912 # include <assert.h>
1917 /* Override any GCC internal prototype to avoid an error.
1918 Use char because int might match the return type of a GCC
1919 builtin and then its argument prototype would still apply. */
1924 /* The GNU C library defines this for functions which it implements
1925 to always fail with ENOSYS. Some functions are actually named
1926 something starting with __ and the normal name is an alias. */
1927 #if defined __stub_$2 || defined __stub___$2
1939 if ac_fn_c_try_link "$LINENO"; then :
1944 rm -f core conftest.err conftest.$ac_objext \
1945 conftest$ac_exeext conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_func
1954 # ac_fn_cxx_try_cpp LINENO
1955 # ------------------------
1956 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1957 ac_fn_cxx_try_cpp ()
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { { ac_try="$ac_cpp conftest.$ac_ext"
1962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1963 *) ac_try_echo
=$ac_try;;
1965 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1969 if test -s conftest.err
; then
1970 grep -v '^ *+' conftest.err
>conftest.er1
1971 cat conftest.er1
>&5
1972 mv -f conftest.er1 conftest.err
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } > conftest.i
&& {
1976 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1977 test ! -s conftest.err
1981 $as_echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.
$ac_ext >&5
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987 as_fn_set_status
$ac_retval
1989 } # ac_fn_cxx_try_cpp
1991 # ac_fn_cxx_try_link LINENO
1992 # -------------------------
1993 # Try to link conftest.$ac_ext, and return whether this succeeded.
1994 ac_fn_cxx_try_link
()
1996 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1997 rm -f conftest.
$ac_objext conftest
$ac_exeext
1998 if { { ac_try
="$ac_link"
2000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_link") 2>conftest.err
2007 if test -s conftest.err; then
2008 grep -v '^ *+' conftest.err >conftest.er1
2009 cat conftest.er1 >&5
2010 mv -f conftest.er1 conftest.err
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } && {
2014 test -z "$ac_cxx_werror_flag" ||
2015 test ! -s conftest.err
2016 } && test -s conftest$ac_exeext && {
2017 test "$cross_compiling" = yes ||
2018 test -x conftest$ac_exeext
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2027 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2028 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2029 # interfere with the next link command; also delete a directory that is
2030 # left behind by Apple's compiler. We do this before executing the actions.
2031 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2032 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2033 as_fn_set_status $ac_retval
2035 } # ac_fn_cxx_try_link
2037 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2038 # ---------------------------------------------------------
2039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2040 # the include files in INCLUDES and setting the cache variable VAR
2042 ac_fn_cxx_check_header_mongrel ()
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 if eval \${$3+:} false; then :
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047 $as_echo_n "checking for $2... " >&6; }
2048 if eval \${$3+:} false; then :
2049 $as_echo_n "(cached) " >&6
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2055 # Is the header compilable?
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2057 $as_echo_n "checking $2 usability... " >&6; }
2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h. */
2063 if ac_fn_cxx_try_compile "$LINENO"; then :
2064 ac_header_compiler=yes
2066 ac_header_compiler=no
2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2070 $as_echo "$ac_header_compiler" >&6; }
2072 # Is the header present?
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2074 $as_echo_n "checking $2 presence... " >&6; }
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h. */
2079 if ac_fn_cxx_try_cpp "$LINENO"; then :
2080 ac_header_preproc=yes
2082 ac_header_preproc=no
2084 rm -f conftest.err conftest.i conftest.$ac_ext
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2086 $as_echo "$ac_header_preproc" >&6; }
2088 # So? What about this header?
2089 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2100 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2104 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2107 ( $as_echo "## -------------------------------- ##
2108 ## Report this to saurik@saurik.com ##
2109 ## -------------------------------- ##"
2110 ) | sed "s/^/$as_me: WARNING: /" >&2
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if eval \${$3+:} false; then :
2116 $as_echo_n "(cached) " >&6
2118 eval "$3=\$ac_header_compiler"
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2124 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2126 } # ac_fn_cxx_check_header_mongrel
2128 # ac_fn_objcxx_try_link LINENO
2129 # ----------------------------
2130 # Try to link conftest.$ac_ext, and return whether this succeeded.
2131 ac_fn_objcxx_try_link ()
2133 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2134 rm -f conftest.$ac_objext conftest$ac_exeext
2135 if { { ac_try="$ac_link"
2137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2138 *) ac_try_echo
=$ac_try;;
2140 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2141 $as_echo "$ac_try_echo"; } >&5
2142 (eval "$ac_link") 2>conftest.err
2144 if test -s conftest.err
; then
2145 grep -v '^ *+' conftest.err
>conftest.er1
2146 cat conftest.er1
>&5
2147 mv -f conftest.er1 conftest.err
2149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2150 test $ac_status = 0; } && {
2151 test -z "$ac_objcxx_werror_flag" ||
2152 test ! -s conftest.err
2153 } && test -s conftest
$ac_exeext && {
2154 test "$cross_compiling" = yes ||
2155 test -x conftest
$ac_exeext
2159 $as_echo "$as_me: failed program was:" >&5
2160 sed 's/^/| /' conftest.
$ac_ext >&5
2164 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2165 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2166 # interfere with the next link command; also delete a directory that is
2167 # left behind by Apple's compiler. We do this before executing the actions.
2168 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2170 as_fn_set_status
$ac_retval
2172 } # ac_fn_objcxx_try_link
2173 cat >config.log
<<_ACEOF
2174 This file contains any messages produced by compilers while
2175 running configure, to aid debugging if configure makes a mistake.
2177 It was created by Cycript $as_me 0.9, which was
2178 generated by GNU Autoconf 2.69. Invocation command line was
2190 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2191 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2192 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2193 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2194 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2196 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2197 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2199 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2200 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2201 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2202 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2203 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2204 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2205 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2213 test -z "$as_dir" && as_dir
=.
2214 $as_echo "PATH: $as_dir"
2230 # Keep a trace of the command line.
2231 # Strip out --no-create and --no-recursion so they do not pile up.
2232 # Strip out --silent because we don't want to record it for future runs.
2233 # Also quote any args containing shell meta-characters.
2234 # Make two passes to allow for proper duplicate-argument suppression.
2238 ac_must_keep_next
=false
2244 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2246 | -silent | --silent | --silen | --sile | --sil)
2249 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2252 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2254 as_fn_append ac_configure_args1
" '$ac_arg'"
2255 if test $ac_must_keep_next = true
; then
2256 ac_must_keep_next
=false
# Got value, back to normal.
2259 *=* | --config-cache | -C | -disable-* | --disable-* \
2260 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2261 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2262 | -with-* | --with-* | -without-* | --without-* | --x)
2263 case "$ac_configure_args0 " in
2264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2267 -* ) ac_must_keep_next
=true
;;
2270 as_fn_append ac_configure_args
" '$ac_arg'"
2275 { ac_configure_args0
=; unset ac_configure_args0
;}
2276 { ac_configure_args1
=; unset ac_configure_args1
;}
2278 # When interrupted or exit'd, cleanup temporary files, and complete
2279 # config.log. We remove comments because anyway the quotes in there
2280 # would cause problems or look ugly.
2281 # WARNING: Use '\'' to represent an apostrophe within the trap.
2282 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2283 trap 'exit_status=$?
2284 # Save into config.log some information that might help in debugging.
2288 $as_echo "## ---------------- ##
2289 ## Cache variables. ##
2290 ## ---------------- ##"
2292 # The following way of writing the cache mishandles newlines in values,
2294 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2295 eval ac_val=\$$ac_var
2299 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2300 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2303 _ | IFS | as_nl) ;; #(
2304 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2305 *) { eval $ac_var=; unset $ac_var;} ;;
2310 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2311 *${as_nl}ac_space=\ *)
2313 "s/'\''/'\''\\\\'\'''\''/g;
2314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2324 $as_echo "## ----------------- ##
2325 ## Output variables. ##
2326 ## ----------------- ##"
2328 for ac_var in $ac_subst_vars
2330 eval ac_val=\$$ac_var
2332 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2334 $as_echo "$ac_var='\''$ac_val'\''"
2338 if test -n "$ac_subst_files"; then
2339 $as_echo "## ------------------- ##
2340 ## File substitutions. ##
2341 ## ------------------- ##"
2343 for ac_var
in $ac_subst_files
2345 eval ac_val
=\$
$ac_var
2347 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2349 $as_echo "$ac_var='\''$ac_val'\''"
2354 if test -s confdefs.h; then
2355 $as_echo "## ----------- ##
2362 test "$ac_signal" != 0 &&
2363 $as_echo "$as_me: caught signal $ac_signal"
2364 $as_echo "$as_me: exit $exit_status"
2366 rm -f core *.core core.conftest.* &&
2367 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2370 for ac_signal
in 1 2 13 15; do
2371 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2375 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2376 rm -f -r conftest
* confdefs.h
2378 $as_echo "/* confdefs.h */" > confdefs.h
2380 # Predefined preprocessor variables.
2382 cat >>confdefs.h
<<_ACEOF
2383 #define PACKAGE_NAME "$PACKAGE_NAME"
2386 cat >>confdefs.h
<<_ACEOF
2387 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_STRING "$PACKAGE_STRING"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2402 cat >>confdefs.h
<<_ACEOF
2403 #define PACKAGE_URL "$PACKAGE_URL"
2407 # Let the site file select an alternate cache file if it wants to.
2408 # Prefer an explicitly selected file to automatically selected ones.
2411 if test -n "$CONFIG_SITE"; then
2412 # We do not want a PATH search for config.site.
2413 case $CONFIG_SITE in #((
2414 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2415 */*) ac_site_file1
=$CONFIG_SITE;;
2416 *) ac_site_file1
=.
/$CONFIG_SITE;;
2418 elif test "x$prefix" != xNONE
; then
2419 ac_site_file1
=$prefix/share
/config.site
2420 ac_site_file2
=$prefix/etc
/config.site
2422 ac_site_file1
=$ac_default_prefix/share
/config.site
2423 ac_site_file2
=$ac_default_prefix/etc
/config.site
2425 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2427 test "x$ac_site_file" = xNONE
&& continue
2428 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2430 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2431 sed 's/^/| /' "$ac_site_file" >&5
2433 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 as_fn_error $?
"failed to load site script $ac_site_file
2436 See \`config.log' for more details" "$LINENO" 5; }
2440 if test -r "$cache_file"; then
2441 # Some versions of bash will fail to source /dev/null (special files
2442 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2443 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2445 $as_echo "$as_me: loading cache $cache_file" >&6;}
2447 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2448 *) .
"./$cache_file";;
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2453 $as_echo "$as_me: creating cache $cache_file" >&6;}
2457 # Check that the precious variables saved in the cache have kept the same
2459 ac_cache_corrupted
=false
2460 for ac_var
in $ac_precious_vars; do
2461 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2462 eval ac_new_set
=\
$ac_env_${ac_var}_set
2463 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2464 eval ac_new_val
=\
$ac_env_${ac_var}_value
2465 case $ac_old_set,$ac_new_set in
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2468 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2469 ac_cache_corrupted
=: ;;
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2472 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2473 ac_cache_corrupted
=: ;;
2476 if test "x$ac_old_val" != "x$ac_new_val"; then
2477 # differences in whitespace do not lead to failure.
2478 ac_old_val_w
=`echo x $ac_old_val`
2479 ac_new_val_w
=`echo x $ac_new_val`
2480 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2482 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2483 ac_cache_corrupted
=:
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2486 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2487 eval $ac_var=\
$ac_old_val
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2490 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2492 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2495 # Pass precious variables to config.status.
2496 if test "$ac_new_set" = set; then
2498 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2499 *) ac_arg
=$ac_var=$ac_new_val ;;
2501 case " $ac_configure_args " in
2502 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2503 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2507 if $ac_cache_corrupted; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2511 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2512 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2514 ## -------------------- ##
2515 ## Main body of script. ##
2516 ## -------------------- ##
2519 ac_cpp
='$CPP $CPPFLAGS'
2520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2529 for ac_dir
in .
"$srcdir"/.
; do
2530 if test -f "$ac_dir/install-sh"; then
2532 ac_install_sh
="$ac_aux_dir/install-sh -c"
2534 elif test -f "$ac_dir/install.sh"; then
2536 ac_install_sh
="$ac_aux_dir/install.sh -c"
2538 elif test -f "$ac_dir/shtool"; then
2540 ac_install_sh
="$ac_aux_dir/shtool install -c"
2544 if test -z "$ac_aux_dir"; then
2545 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2548 # These three variables are undocumented and unsupported,
2549 # and are intended to be withdrawn in a future Autoconf release.
2550 # They can cause serious problems if a builder's source tree is in a directory
2551 # whose full name contains unusual characters.
2552 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2553 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2554 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2558 ac_config_headers
="$ac_config_headers config.h"
2561 am__api_version
='1.14'
2563 # Find a good install program. We prefer a C program (faster),
2564 # so one script is as good as another. But avoid the broken or
2565 # incompatible versions:
2566 # SysV /etc/install, /usr/sbin/install
2567 # SunOS /usr/etc/install
2568 # IRIX /sbin/install
2570 # AmigaOS /C/install, which installs bootblocks on floppy discs
2571 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2572 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2573 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2574 # OS/2's system install, which has a completely different semantic
2575 # ./install, which can be erroneously created by make from ./install.sh.
2576 # Reject install programs that cannot install multiple files.
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2578 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2579 if test -z "$INSTALL"; then
2580 if ${ac_cv_path_install+:} false
; then :
2581 $as_echo_n "(cached) " >&6
2583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir
=.
2588 # Account for people who put trailing slashes in PATH elements.
2589 case $as_dir/ in #((
2590 .
/ | .
// | /[cC
]/* | \
2591 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2592 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2595 # OSF1 and SCO ODT 3.0 have their own names for install.
2596 # Don't use installbsd from OSF since it installs stuff as root
2598 for ac_prog
in ginstall scoinst
install; do
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2601 if test $ac_prog = install &&
2602 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2603 # AIX install. It has an incompatible calling convention.
2605 elif test $ac_prog = install &&
2606 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2607 # program-specific install script used by HP pwplus--don't use.
2610 rm -rf conftest.one conftest.two conftest.dir
2611 echo one
> conftest.one
2612 echo two
> conftest.two
2614 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2615 test -s conftest.one
&& test -s conftest.two
&&
2616 test -s conftest.dir
/conftest.one
&&
2617 test -s conftest.dir
/conftest.two
2619 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2632 rm -rf conftest.one conftest.two conftest.dir
2635 if test "${ac_cv_path_install+set}" = set; then
2636 INSTALL
=$ac_cv_path_install
2638 # As a last resort, use the slow shell script. Don't cache a
2639 # value for INSTALL within a source directory, because that will
2640 # break other packages using the cache if that directory is
2641 # removed, or if the value is a relative name.
2642 INSTALL
=$ac_install_sh
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2646 $as_echo "$INSTALL" >&6; }
2648 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2649 # It thinks the first close brace ends the variable substitution.
2650 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2652 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2654 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2657 $as_echo_n "checking whether build environment is sane... " >&6; }
2658 # Reject unsafe characters in $srcdir or the absolute working directory
2659 # name. Accept space and tab only in the latter.
2663 *[\\\"\#\$\&\'\`$am_lf]*)
2664 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2667 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2668 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2671 # Do 'set' in a subshell so we don't clobber the current shell's
2672 # arguments. Must try -L first in case configure is actually a
2673 # symlink; some systems play weird games with the mod time of symlinks
2674 # (eg FreeBSD returns the mod time of the symlink's containing
2678 for am_try
in 1 2; do
2679 echo "timestamp, slept: $am_has_slept" > conftest.
file
2680 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2681 if test "$*" = "X"; then
2683 set X
`ls -t "$srcdir/configure" conftest.file`
2685 if test "$*" != "X $srcdir/configure conftest.file" \
2686 && test "$*" != "X conftest.file $srcdir/configure"; then
2688 # If neither matched, then we have a broken ls. This can happen
2689 # if, for instance, CONFIG_SHELL is bash and it inherits a
2690 # broken ls alias from the environment. This has actually
2691 # happened. Such a system could not be considered "sane".
2692 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2693 alias in your environment" "$LINENO" 5
2695 if test "$2" = conftest.
file || test $am_try -eq 2; then
2702 test "$2" = conftest.
file
2708 as_fn_error $?
"newly created file is older than distributed files!
2709 Check your system clock" "$LINENO" 5
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2712 $as_echo "yes" >&6; }
2713 # If we didn't sleep, we still need to ensure time stamps of config.status and
2714 # generated files are strictly newer.
2716 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2723 test "$program_prefix" != NONE
&&
2724 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2725 # Use a double $ so make ignores it.
2726 test "$program_suffix" != NONE
&&
2727 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2728 # Double any \ or $.
2729 # By default was `s,x,x', remove it if useless.
2730 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2731 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2733 # expand $ac_aux_dir to an absolute path
2734 am_aux_dir
=`cd $ac_aux_dir && pwd`
2736 if test x
"${MISSING+set}" != xset
; then
2739 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2741 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2744 # Use eval to expand $SHELL
2745 if eval "$MISSING --is-lightweight"; then
2746 am_missing_run
="$MISSING "
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2750 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2753 if test x
"${install_sh}" != xset
; then
2756 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2758 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2762 # Installed binaries are usually stripped using 'strip' when the user
2763 # run "make install-strip". However 'strip' might not be the right
2764 # tool to use in cross-compilation environments, therefore Automake
2765 # will honor the 'STRIP' environment variable to overrule this program.
2766 if test "$cross_compiling" != no
; then
2767 if test -n "$ac_tool_prefix"; then
2768 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2769 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_STRIP+:} false
; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$STRIP"; then
2776 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir
=.
2783 for ac_exec_ext
in '' $ac_executable_extensions; do
2784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2785 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 STRIP
=$ac_cv_prog_STRIP
2796 if test -n "$STRIP"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2798 $as_echo "$STRIP" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2806 if test -z "$ac_cv_prog_STRIP"; then
2808 # Extract the first word of "strip", so it can be a program name with args.
2809 set dummy strip
; ac_word
=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$ac_ct_STRIP"; then
2816 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir
=.
2823 for ac_exec_ext
in '' $ac_executable_extensions; do
2824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2825 ac_cv_prog_ac_ct_STRIP
="strip"
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2836 if test -n "$ac_ct_STRIP"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2838 $as_echo "$ac_ct_STRIP" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2844 if test "x$ac_ct_STRIP" = x
; then
2847 case $cross_compiling:$ac_tool_warned in
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2851 ac_tool_warned
=yes ;;
2856 STRIP
="$ac_cv_prog_STRIP"
2860 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2863 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2864 if test -z "$MKDIR_P"; then
2865 if ${ac_cv_path_mkdir+:} false
; then :
2866 $as_echo_n "(cached) " >&6
2868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2872 test -z "$as_dir" && as_dir
=.
2873 for ac_prog
in mkdir gmkdir
; do
2874 for ac_exec_ext
in '' $ac_executable_extensions; do
2875 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2876 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2877 'mkdir (GNU coreutils) '* | \
2878 'mkdir (coreutils) '* | \
2879 'mkdir (fileutils) '4.1*)
2880 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2890 test -d .
/--version && rmdir .
/--version
2891 if test "${ac_cv_path_mkdir+set}" = set; then
2892 MKDIR_P
="$ac_cv_path_mkdir -p"
2894 # As a last resort, use the slow shell script. Don't cache a
2895 # value for MKDIR_P within a source directory, because that will
2896 # break other packages using the cache if that directory is
2897 # removed, or if the value is a relative name.
2898 MKDIR_P
="$ac_install_sh -d"
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2902 $as_echo "$MKDIR_P" >&6; }
2904 for ac_prog
in gawk mawk nawk
awk
2906 # Extract the first word of "$ac_prog", so it can be a program name with args.
2907 set dummy
$ac_prog; ac_word
=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if ${ac_cv_prog_AWK+:} false
; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$AWK"; then
2914 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir
=.
2921 for ac_exec_ext
in '' $ac_executable_extensions; do
2922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2923 ac_cv_prog_AWK
="$ac_prog"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 if test -n "$AWK"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2936 $as_echo "$AWK" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2943 test -n "$AWK" && break
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2947 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2949 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2950 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2951 $as_echo_n "(cached) " >&6
2953 cat >conftest.
make <<\_ACEOF
2956 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2958 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2959 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2961 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2963 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2967 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2969 $as_echo "yes" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2974 SET_MAKE
="MAKE=${MAKE-make}"
2977 rm -rf .tst
2>/dev
/null
2978 mkdir .tst
2>/dev
/null
2979 if test -d .tst
; then
2984 rmdir .tst
2>/dev
/null
2986 # Check whether --enable-silent-rules was given.
2987 if test "${enable_silent_rules+set}" = set; then :
2988 enableval
=$enable_silent_rules;
2991 case $enable_silent_rules in # (((
2992 yes) AM_DEFAULT_VERBOSITY
=0;;
2993 no
) AM_DEFAULT_VERBOSITY
=1;;
2994 *) AM_DEFAULT_VERBOSITY
=1;;
2996 am_make
=${MAKE-make}
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2998 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2999 if ${am_cv_make_support_nested_variables+:} false
; then :
3000 $as_echo_n "(cached) " >&6
3002 if $as_echo 'TRUE=$(BAR$(V))
3008 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3009 am_cv_make_support_nested_variables
=yes
3011 am_cv_make_support_nested_variables
=no
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3015 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3016 if test $am_cv_make_support_nested_variables = yes; then
3018 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3020 AM_V
=$AM_DEFAULT_VERBOSITY
3021 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3025 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3026 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3027 # is not polluted with repeated "-I."
3028 am__isrc
=' -I$(srcdir)'
3029 # test to see if srcdir already configured
3030 if test -f $srcdir/config.status
; then
3031 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3035 # test whether we have cygpath
3036 if test -z "$CYGPATH_W"; then
3037 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3038 CYGPATH_W
='cygpath -w'
3045 # Define the identity of the package.
3050 cat >>confdefs.h
<<_ACEOF
3051 #define PACKAGE "$PACKAGE"
3055 cat >>confdefs.h
<<_ACEOF
3056 #define VERSION "$VERSION"
3059 # Some tools Automake needs.
3061 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3064 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3067 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3070 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3073 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3075 # For better backward compatibility. To be removed once Automake 1.9.x
3076 # dies out for good. For more background, see:
3077 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3078 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3079 mkdir_p
='$(MKDIR_P)'
3081 # We need awk for the "check" target. The system "awk" is bad on
3083 # Always define AMTAR for backward compatibility. Yes, it's still used
3084 # in the wild :-( We should find a proper way to deprecate it ...
3088 # We'll loop over all known methods to create a tar archive until one works.
3089 _am_tools
='gnutar pax cpio none'
3091 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3098 # POSIX will say in a future version that running "rm -f" with no argument
3099 # is OK; and we want to be able to make that assumption in our Makefile
3100 # recipes. So use an aggressive probe to check that the usage we want is
3101 # actually supported "in the wild" to an acceptable degree.
3102 # See automake bug#10828.
3103 # To make any issue more visible, cause the running configure to be aborted
3104 # by default if the 'rm' program in use doesn't match our expectations; the
3105 # user can still override this though.
3106 if rm -f && rm -fr && rm -rf; then : OK
; else
3110 Your 'rm' program seems unable to run without file operands specified
3111 on the command line, even when the '-f' option is present. This is contrary
3112 to the behaviour of most rm programs out there, and not conforming with
3113 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3115 Please tell bug-automake@gnu.org about your system, including the value
3116 of your $PATH and any error possibly output before this message. This
3117 can help us improve future automake versions.
3120 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3121 echo 'Configuration will proceed anyway, since you have set the' >&2
3122 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3126 Aborting the configuration process, to ensure you take notice of the issue.
3128 You can download and install GNU coreutils to get an 'rm' implementation
3129 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3131 If you want to complete the configuration process using your problematic
3132 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3133 to "yes", and re-run configure.
3136 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3141 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3142 # Check whether --enable-maintainer-mode was given.
3143 if test "${enable_maintainer_mode+set}" = set; then :
3144 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3146 USE_MAINTAINER_MODE
=no
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3150 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3151 if test $USE_MAINTAINER_MODE = yes; then
3152 MAINTAINER_MODE_TRUE
=
3153 MAINTAINER_MODE_FALSE
='#'
3155 MAINTAINER_MODE_TRUE
='#'
3156 MAINTAINER_MODE_FALSE
=
3159 MAINT
=$MAINTAINER_MODE_TRUE
3164 ac_cpp
='$CPP $CPPFLAGS'
3165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3168 if test -n "$ac_tool_prefix"; then
3169 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3170 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 $as_echo_n "checking for $ac_word... " >&6; }
3173 if ${ac_cv_prog_CC+:} false
; then :
3174 $as_echo_n "(cached) " >&6
3176 if test -n "$CC"; then
3177 ac_cv_prog_CC
="$CC" # Let the user override the test.
3179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3183 test -z "$as_dir" && as_dir
=.
3184 for ac_exec_ext
in '' $ac_executable_extensions; do
3185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3186 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$CC"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199 $as_echo "$CC" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3207 if test -z "$ac_cv_prog_CC"; then
3209 # Extract the first word of "gcc", so it can be a program name with args.
3210 set dummy gcc
; ac_word
=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -n "$ac_ct_CC"; then
3217 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_exec_ext
in '' $ac_executable_extensions; do
3225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3226 ac_cv_prog_ac_ct_CC
="gcc"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3237 if test -n "$ac_ct_CC"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3239 $as_echo "$ac_ct_CC" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3245 if test "x$ac_ct_CC" = x
; then
3248 case $cross_compiling:$ac_tool_warned in
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3252 ac_tool_warned
=yes ;;
3260 if test -z "$CC"; then
3261 if test -n "$ac_tool_prefix"; then
3262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3263 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_CC+:} false
; then :
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$CC"; then
3270 ac_cv_prog_CC
="$CC" # Let the user override the test.
3272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir
=.
3277 for ac_exec_ext
in '' $ac_executable_extensions; do
3278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 if test -n "$CC"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3292 $as_echo "$CC" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3301 if test -z "$CC"; then
3302 # Extract the first word of "cc", so it can be a program name with args.
3303 set dummy cc
; ac_word
=$2
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if ${ac_cv_prog_CC+:} false
; then :
3307 $as_echo_n "(cached) " >&6
3309 if test -n "$CC"; then
3310 ac_cv_prog_CC
="$CC" # Let the user override the test.
3313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir
=.
3318 for ac_exec_ext
in '' $ac_executable_extensions; do
3319 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3320 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3321 ac_prog_rejected
=yes
3325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 if test $ac_prog_rejected = yes; then
3333 # We found a bogon in the path, so make sure we never use it.
3334 set dummy
$ac_cv_prog_CC
3336 if test $# != 0; then
3337 # We chose a different compiler from the bogus one.
3338 # However, it has the same basename, so the bogon will be chosen
3339 # first if we set CC to just the basename; use the full file name.
3341 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3347 if test -n "$CC"; then
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349 $as_echo "$CC" >&6; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3357 if test -z "$CC"; then
3358 if test -n "$ac_tool_prefix"; then
3359 for ac_prog
in cl.exe
3361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3362 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 $as_echo_n "checking for $ac_word... " >&6; }
3365 if ${ac_cv_prog_CC+:} false
; then :
3366 $as_echo_n "(cached) " >&6
3368 if test -n "$CC"; then
3369 ac_cv_prog_CC
="$CC" # Let the user override the test.
3371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3375 test -z "$as_dir" && as_dir
=.
3376 for ac_exec_ext
in '' $ac_executable_extensions; do
3377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3378 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 if test -n "$CC"; then
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3391 $as_echo "$CC" >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394 $as_echo "no" >&6; }
3398 test -n "$CC" && break
3401 if test -z "$CC"; then
3403 for ac_prog
in cl.exe
3405 # Extract the first word of "$ac_prog", so it can be a program name with args.
3406 set dummy
$ac_prog; ac_word
=$2
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 $as_echo_n "checking for $ac_word... " >&6; }
3409 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3410 $as_echo_n "(cached) " >&6
3412 if test -n "$ac_ct_CC"; then
3413 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir
=.
3420 for ac_exec_ext
in '' $ac_executable_extensions; do
3421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3422 ac_cv_prog_ac_ct_CC
="$ac_prog"
3423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3433 if test -n "$ac_ct_CC"; then
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3435 $as_echo "$ac_ct_CC" >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438 $as_echo "no" >&6; }
3442 test -n "$ac_ct_CC" && break
3445 if test "x$ac_ct_CC" = x
; then
3448 case $cross_compiling:$ac_tool_warned in
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3452 ac_tool_warned
=yes ;;
3461 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error $?
"no acceptable C compiler found in \$PATH
3464 See \`config.log' for more details" "$LINENO" 5; }
3466 # Provide some information about the compiler.
3467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3470 for ac_option
in --version -v -V -qversion; do
3471 { { ac_try
="$ac_compiler $ac_option >&5"
3473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3474 *) ac_try_echo=$ac_try;;
3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477 $as_echo "$ac_try_echo"; } >&5
3478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3480 if test -s conftest.err; then
3482 ... rest of stderr output deleted ...
3483 10q' conftest.err >conftest.er1
3484 cat conftest.er1 >&5
3486 rm -f conftest.er1 conftest.err
3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488 test $ac_status = 0; }
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3502 ac_clean_files_save=$ac_clean_files
3503 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3504 # Try to create an executable without -o first, disregard a.out.
3505 # It will help us diagnose broken compilers, and finding out an intuition
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3508 $as_echo_n "checking whether the C compiler works... " >&6; }
3509 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3511 # The possible output files:
3512 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3515 for ac_file in $ac_files
3518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3519 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3524 if { { ac_try="$ac_link_default"
3526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3527 *) ac_try_echo
=$ac_try;;
3529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 $as_echo "$ac_try_echo"; } >&5
3531 (eval "$ac_link_default") 2>&5
3533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534 test $ac_status = 0; }; then :
3535 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3536 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3537 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3538 # so that the user can short-circuit this test for compilers unknown to
3540 for ac_file
in $ac_files ''
3542 test -f "$ac_file" || continue
3544 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3547 # We found the default executable, but exeext='' is most
3551 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3553 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3555 # We set ac_cv_exeext here because the later test for it is not
3556 # safe: cross compilers may not add the suffix if given an `-o'
3557 # argument, so we may need to know it at that point already.
3558 # Even if this section looks crufty: it has the advantage of
3565 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3570 if test -z "$ac_file"; then :
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3573 $as_echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.
$ac_ext >&5
3576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error
77 "C compiler cannot create executables
3579 See \`config.log' for more details" "$LINENO" 5; }
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3582 $as_echo "yes" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3585 $as_echo_n "checking for C compiler default output file name... " >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3587 $as_echo "$ac_file" >&6; }
3588 ac_exeext
=$ac_cv_exeext
3590 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3591 ac_clean_files
=$ac_clean_files_save
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3593 $as_echo_n "checking for suffix of executables... " >&6; }
3594 if { { ac_try
="$ac_link"
3596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3600 $as_echo "$ac_try_echo"; } >&5
3601 (eval "$ac_link") 2>&5
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }; then :
3605 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3606 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3607 # work properly (i.e., refer to `conftest.exe'), while it won't with
3609 for ac_file
in conftest.exe conftest conftest.
*; do
3610 test -f "$ac_file" || continue
3612 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3613 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3622 See \`config.log' for more details" "$LINENO" 5; }
3624 rm -f conftest conftest
$ac_cv_exeext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3626 $as_echo "$ac_cv_exeext" >&6; }
3628 rm -f conftest.
$ac_ext
3629 EXEEXT
=$ac_cv_exeext
3631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3637 FILE *f = fopen ("conftest.out", "w");
3638 return ferror (f) || fclose (f) != 0;
3644 ac_clean_files
="$ac_clean_files conftest.out"
3645 # Check that the compiler produces executables we can run. If not, either
3646 # the compiler is broken, or we cross compile.
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3648 $as_echo_n "checking whether we are cross compiling... " >&6; }
3649 if test "$cross_compiling" != yes; then
3650 { { ac_try
="$ac_link"
3652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657 (eval "$ac_link") 2>&5
3659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660 test $ac_status = 0; }
3661 if { ac_try='./conftest$ac_cv_exeext'
3662 { { case "(($ac_try" in
3663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3664 *) ac_try_echo
=$ac_try;;
3666 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3667 $as_echo "$ac_try_echo"; } >&5
3668 (eval "$ac_try") 2>&5
3670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3671 test $ac_status = 0; }; }; then
3674 if test "$cross_compiling" = maybe
; then
3677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679 as_fn_error $?
"cannot run C compiled programs.
3680 If you meant to cross compile, use \`--host'.
3681 See \`config.log' for more details" "$LINENO" 5; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3686 $as_echo "$cross_compiling" >&6; }
3688 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3689 ac_clean_files
=$ac_clean_files_save
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3691 $as_echo_n "checking for suffix of object files... " >&6; }
3692 if ${ac_cv_objext+:} false
; then :
3693 $as_echo_n "(cached) " >&6
3695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3706 rm -f conftest.o conftest.obj
3707 if { { ac_try
="$ac_compile"
3709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3713 $as_echo "$ac_try_echo"; } >&5
3714 (eval "$ac_compile") 2>&5
3716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3717 test $ac_status = 0; }; then :
3718 for ac_file in conftest.o conftest.obj conftest.*; do
3719 test -f "$ac_file" || continue;
3721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3722 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3727 $as_echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.$ac_ext >&5
3730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3732 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3733 See \
`config.log' for more details" "$LINENO" 5; }
3735 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3738 $as_echo "$ac_cv_objext" >&6; }
3739 OBJEXT=$ac_cv_objext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3742 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3743 if ${ac_cv_c_compiler_gnu+:} false; then :
3744 $as_echo_n "(cached) " >&6
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3760 if ac_fn_c_try_compile "$LINENO"; then :
3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3766 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3770 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3771 if test $ac_compiler_gnu = yes; then
3776 ac_test_CFLAGS=${CFLAGS+set}
3777 ac_save_CFLAGS=$CFLAGS
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3779 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3780 if ${ac_cv_prog_cc_g+:} false; then :
3781 $as_echo_n "(cached) " >&6
3783 ac_save_c_werror_flag=$ac_c_werror_flag
3784 ac_c_werror_flag=yes
3787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788 /* end confdefs.h. */
3798 if ac_fn_c_try_compile "$LINENO"; then :
3802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h. */
3813 if ac_fn_c_try_compile "$LINENO"; then :
3816 ac_c_werror_flag=$ac_save_c_werror_flag
3818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3819 /* end confdefs.h. */
3829 if ac_fn_c_try_compile "$LINENO"; then :
3832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837 ac_c_werror_flag=$ac_save_c_werror_flag
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3840 $as_echo "$ac_cv_prog_cc_g" >&6; }
3841 if test "$ac_test_CFLAGS" = set; then
3842 CFLAGS=$ac_save_CFLAGS
3843 elif test $ac_cv_prog_cc_g = yes; then
3844 if test "$GCC" = yes; then
3850 if test "$GCC" = yes; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3857 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3858 if ${ac_cv_prog_cc_c89+:} false; then :
3859 $as_echo_n "(cached) " >&6
3861 ac_cv_prog_cc_c89=no
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3868 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3869 struct buf { int x; };
3870 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3871 static char *e (p, i)
3877 static char *f (char * (*g) (char **, int), char **p, ...)
3882 s = g (p, va_arg (v,int));
3887 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3888 function prototypes and stuff, but not '\xHH' hex character constants.
3889 These don't provoke an error unfortunately, instead are silently treated
3890 as 'x'. The following induces an error, until -std is added to get
3891 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3892 array size at least. It's necessary to write '\x00'==0 to get something
3893 that's true only with -std. */
3894 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3896 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3897 inside strings and character constants. */
3899 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3901 int test (int i, double x);
3902 struct s1 {int (*f) (int a);};
3903 struct s2 {int (*f) (double a);};
3904 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3910 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3915 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3916 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3918 CC="$ac_save_CC $ac_arg"
3919 if ac_fn_c_try_compile "$LINENO"; then :
3920 ac_cv_prog_cc_c89=$ac_arg
3922 rm -f core conftest.err conftest.$ac_objext
3923 test "x$ac_cv_prog_cc_c89" != "xno" && break
3925 rm -f conftest.$ac_ext
3930 case "x$ac_cv_prog_cc_c89" in
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3933 $as_echo "none needed" >&6; } ;;
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3936 $as_echo "unsupported" >&6; } ;;
3938 CC="$CC $ac_cv_prog_cc_c89"
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3940 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3942 if test "x$ac_cv_prog_cc_c89" != xno; then :
3947 ac_cpp='$CPP $CPPFLAGS'
3948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3958 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3959 if ${am_cv_prog_cc_c_o+:} false; then :
3960 $as_echo_n "(cached) " >&6
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3973 # Make sure it works both with $CC and with simple cc.
3974 # Following AC_PROG_CC_C_O, we do the test twice because some
3975 # compilers refuse to overwrite an existing .o file with -o,
3976 # though they will create one.
3977 am_cv_prog_cc_c_o=yes
3979 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3980 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); } \
3984 && test -f conftest2.$ac_objext; then
3987 am_cv_prog_cc_c_o=no
3991 rm -f core conftest*
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3995 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3996 if test "$am_cv_prog_cc_c_o" != yes; then
3997 # Losing compiler, so override with the script.
3998 # FIXME: It is wrong to rewrite CC.
3999 # But if we don't then we get into trouble of one sort or another.
4000 # A longer-term fix would be to have automake use am__CC in this case,
4001 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4002 CC="$am_aux_dir/compile $CC"
4005 ac_cpp='$CPP $CPPFLAGS'
4006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4010 DEPDIR="${am__leading_dot}deps"
4012 ac_config_commands="$ac_config_commands depfiles"
4015 am_make=${MAKE-make}
4016 cat > confinc << 'END'
4018 @echo this is the am__doit target
4021 # If we don't find an include directive, just comment out the code.
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4023 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4027 # First try GNU make style include.
4028 echo "include confinc" > confmf
4029 # Ignore all kinds of additional output from 'make'.
4030 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4031 *the\ am__doit\ target*)
4037 # Now try BSD make style include.
4038 if test "$am__include" = "#"; then
4039 echo '.include "confinc"' > confmf
4040 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4041 *the\ am__doit\ target*)
4042 am__include=.include
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4051 $as_echo "$_am_result" >&6; }
4052 rm -f confinc confmf
4054 # Check whether --enable-dependency-tracking was given.
4055 if test "${enable_dependency_tracking+set}" = set; then :
4056 enableval=$enable_dependency_tracking;
4059 if test "x$enable_dependency_tracking" != xno; then
4060 am_depcomp="$ac_aux_dir/depcomp"
4064 if test "x$enable_dependency_tracking" != xno; then
4074 depcc="$CC" am_compiler_list=
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4077 $as_echo_n "checking dependency style of $depcc... " >&6; }
4078 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4079 $as_echo_n "(cached) " >&6
4081 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4082 # We make a subdir and do the tests there. Otherwise we can end up
4083 # making bogus files that we don't know about and never remove. For
4084 # instance it was reported that on HP-UX the gcc test will end up
4085 # making a dummy file named 'D' -- because '-MD' means "put the output
4089 # Copy depcomp to subdir because otherwise we won't find it if we're
4090 # using a relative directory.
4091 cp "$am_depcomp" conftest.dir
4093 # We will build objects and dependencies in a subdirectory because
4094 # it helps to detect inapplicable dependency modes. For instance
4095 # both Tru64's cc and ICC support -MD to output dependencies as a
4096 # side effect of compilation, but ICC will put the dependencies in
4097 # the current directory while Tru64 will put them in the object
4101 am_cv_CC_dependencies_compiler_type=none
4102 if test "$am_compiler_list" = ""; then
4103 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4106 case " $depcc " in #(
4107 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4110 for depmode in $am_compiler_list; do
4111 # Setup a source with many dependencies, because some compilers
4112 # like to wrap large dependency lists on column 80 (with \), and
4113 # we should not choose a depcomp mode which is confused by this.
4115 # We need to recreate these files for each test, as the compiler may
4116 # overwrite some of them when testing with obscure command lines.
4117 # This happens at least with the AIX C compiler.
4119 for i in 1 2 3 4 5 6; do
4120 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4121 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4122 # Solaris 10 /bin/sh.
4123 echo '/* dummy */' > sub/conftst$i.h
4125 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4127 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4128 # mode. It turns out that the SunPro C++ compiler does not properly
4129 # handle '-M -o', and we need to detect this. Also, some Intel
4130 # versions had trouble with output in subdirs.
4131 am__obj=sub/conftest.${OBJEXT-o}
4132 am__minus_obj="-o $am__obj"
4135 # This depmode causes a compiler race in universal mode.
4136 test "$am__universal" = false || continue
4139 # After this tag, mechanisms are not by side-effect, so they'll
4140 # only be used when explicitly requested.
4141 if test "x$enable_dependency_tracking" = xyes; then
4147 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4148 # This compiler won't grok '-c -o', but also, the minuso test has
4149 # not run yet. These depmodes are late enough in the game, and
4150 # so weak that their functioning should not be impacted.
4151 am__obj=conftest.${OBJEXT-o}
4156 if depmode=$depmode \
4157 source=sub/conftest.c object=$am__obj \
4158 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4159 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4160 >/dev/null 2>conftest.err &&
4161 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4162 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4163 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4164 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4165 # icc doesn't choke on unknown options, it will just issue warnings
4166 # or remarks (even with -Werror). So we grep stderr for any message
4167 # that says an option was ignored or not supported.
4168 # When given -MP, icc 7.0 and 7.1 complain thusly:
4169 # icc: Command line warning: ignoring option '-M'; no argument required
4170 # The diagnosis changed in icc 8.0:
4171 # icc: Command line remark: option '-MP' not supported
4172 if (grep 'ignoring option' conftest.err ||
4173 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4174 am_cv_CC_dependencies_compiler_type=$depmode
4183 am_cv_CC_dependencies_compiler_type=none
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4188 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4189 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4192 test "x$enable_dependency_tracking" != xno \
4193 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4195 am__fastdepCC_FALSE='#'
4197 am__fastdepCC_TRUE='#'
4198 am__fastdepCC_FALSE=
4203 ac_cpp='$CXXCPP $CPPFLAGS'
4204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4207 if test -z "$CXX"; then
4208 if test -n "$CCC"; then
4211 if test -n "$ac_tool_prefix"; then
4212 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if ${ac_cv_prog_CXX+:} false; then :
4219 $as_echo_n "(cached) " >&6
4221 if test -n "$CXX"; then
4222 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir=.
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4242 if test -n "$CXX"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4244 $as_echo "$CXX" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4251 test -n "$CXX" && break
4254 if test -z "$CXX"; then
4256 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4258 # Extract the first word of "$ac_prog", so it can be a program name with args.
4259 set dummy $ac_prog; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$ac_ct_CXX"; then
4266 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275 ac_cv_prog_ac_ct_CXX="$ac_prog"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4286 if test -n "$ac_ct_CXX"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4288 $as_echo "$ac_ct_CXX" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4295 test -n "$ac_ct_CXX" && break
4298 if test "x$ac_ct_CXX" = x; then
4301 case $cross_compiling:$ac_tool_warned in
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4305 ac_tool_warned=yes ;;
4313 # Provide some information about the compiler.
4314 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4317 for ac_option in --version -v -V -qversion; do
4318 { { ac_try="$ac_compiler $ac_option >&5"
4320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4321 *) ac_try_echo
=$ac_try;;
4323 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4324 $as_echo "$ac_try_echo"; } >&5
4325 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4327 if test -s conftest.err
; then
4329 ... rest of stderr output deleted ...
4330 10q' conftest.err
>conftest.er1
4331 cat conftest.er1
>&5
4333 rm -f conftest.er1 conftest.err
4334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4335 test $ac_status = 0; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4339 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4340 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4341 $as_echo_n "(cached) " >&6
4343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4357 if ac_fn_cxx_try_compile
"$LINENO"; then :
4362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4363 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4367 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4368 if test $ac_compiler_gnu = yes; then
4373 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4374 ac_save_CXXFLAGS
=$CXXFLAGS
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4376 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4377 if ${ac_cv_prog_cxx_g+:} false
; then :
4378 $as_echo_n "(cached) " >&6
4380 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4381 ac_cxx_werror_flag
=yes
4384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4385 /* end confdefs.h. */
4395 if ac_fn_cxx_try_compile
"$LINENO"; then :
4396 ac_cv_prog_cxx_g
=yes
4399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4410 if ac_fn_cxx_try_compile
"$LINENO"; then :
4413 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4426 if ac_fn_cxx_try_compile
"$LINENO"; then :
4427 ac_cv_prog_cxx_g
=yes
4429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4434 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4437 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4438 if test "$ac_test_CXXFLAGS" = set; then
4439 CXXFLAGS
=$ac_save_CXXFLAGS
4440 elif test $ac_cv_prog_cxx_g = yes; then
4441 if test "$GXX" = yes; then
4447 if test "$GXX" = yes; then
4454 ac_cpp
='$CPP $CPPFLAGS'
4455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4459 depcc
="$CXX" am_compiler_list
=
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4462 $as_echo_n "checking dependency style of $depcc... " >&6; }
4463 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4464 $as_echo_n "(cached) " >&6
4466 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4467 # We make a subdir and do the tests there. Otherwise we can end up
4468 # making bogus files that we don't know about and never remove. For
4469 # instance it was reported that on HP-UX the gcc test will end up
4470 # making a dummy file named 'D' -- because '-MD' means "put the output
4474 # Copy depcomp to subdir because otherwise we won't find it if we're
4475 # using a relative directory.
4476 cp "$am_depcomp" conftest.dir
4478 # We will build objects and dependencies in a subdirectory because
4479 # it helps to detect inapplicable dependency modes. For instance
4480 # both Tru64's cc and ICC support -MD to output dependencies as a
4481 # side effect of compilation, but ICC will put the dependencies in
4482 # the current directory while Tru64 will put them in the object
4486 am_cv_CXX_dependencies_compiler_type
=none
4487 if test "$am_compiler_list" = ""; then
4488 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4491 case " $depcc " in #(
4492 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4495 for depmode
in $am_compiler_list; do
4496 # Setup a source with many dependencies, because some compilers
4497 # like to wrap large dependency lists on column 80 (with \), and
4498 # we should not choose a depcomp mode which is confused by this.
4500 # We need to recreate these files for each test, as the compiler may
4501 # overwrite some of them when testing with obscure command lines.
4502 # This happens at least with the AIX C compiler.
4504 for i
in 1 2 3 4 5 6; do
4505 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4506 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4507 # Solaris 10 /bin/sh.
4508 echo '/* dummy */' > sub
/conftst
$i.h
4510 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4512 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4513 # mode. It turns out that the SunPro C++ compiler does not properly
4514 # handle '-M -o', and we need to detect this. Also, some Intel
4515 # versions had trouble with output in subdirs.
4516 am__obj
=sub
/conftest.
${OBJEXT-o}
4517 am__minus_obj
="-o $am__obj"
4520 # This depmode causes a compiler race in universal mode.
4521 test "$am__universal" = false
|| continue
4524 # After this tag, mechanisms are not by side-effect, so they'll
4525 # only be used when explicitly requested.
4526 if test "x$enable_dependency_tracking" = xyes
; then
4532 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4533 # This compiler won't grok '-c -o', but also, the minuso test has
4534 # not run yet. These depmodes are late enough in the game, and
4535 # so weak that their functioning should not be impacted.
4536 am__obj
=conftest.
${OBJEXT-o}
4541 if depmode
=$depmode \
4542 source=sub
/conftest.c object
=$am__obj \
4543 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4544 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4545 >/dev
/null
2>conftest.err
&&
4546 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4547 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4548 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4549 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4550 # icc doesn't choke on unknown options, it will just issue warnings
4551 # or remarks (even with -Werror). So we grep stderr for any message
4552 # that says an option was ignored or not supported.
4553 # When given -MP, icc 7.0 and 7.1 complain thusly:
4554 # icc: Command line warning: ignoring option '-M'; no argument required
4555 # The diagnosis changed in icc 8.0:
4556 # icc: Command line remark: option '-MP' not supported
4557 if (grep 'ignoring option' conftest.err
||
4558 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4559 am_cv_CXX_dependencies_compiler_type
=$depmode
4568 am_cv_CXX_dependencies_compiler_type
=none
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4573 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4574 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4577 test "x$enable_dependency_tracking" != xno \
4578 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4579 am__fastdepCXX_TRUE
=
4580 am__fastdepCXX_FALSE
='#'
4582 am__fastdepCXX_TRUE
='#'
4583 am__fastdepCXX_FALSE
=
4588 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4589 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4592 if test -n "$ac_tool_prefix"; then
4593 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4596 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4598 $as_echo_n "checking for $ac_word... " >&6; }
4599 if ${ac_cv_prog_OBJCXX+:} false
; then :
4600 $as_echo_n "(cached) " >&6
4602 if test -n "$OBJCXX"; then
4603 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4609 test -z "$as_dir" && as_dir
=.
4610 for ac_exec_ext
in '' $ac_executable_extensions; do
4611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4612 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 OBJCXX
=$ac_cv_prog_OBJCXX
4623 if test -n "$OBJCXX"; then
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4625 $as_echo "$OBJCXX" >&6; }
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4628 $as_echo "no" >&6; }
4632 test -n "$OBJCXX" && break
4635 if test -z "$OBJCXX"; then
4636 ac_ct_OBJCXX
=$OBJCXX
4637 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4639 # Extract the first word of "$ac_prog", so it can be a program name with args.
4640 set dummy
$ac_prog; ac_word
=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4644 $as_echo_n "(cached) " >&6
4646 if test -n "$ac_ct_OBJCXX"; then
4647 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir
=.
4654 for ac_exec_ext
in '' $ac_executable_extensions; do
4655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4656 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4667 if test -n "$ac_ct_OBJCXX"; then
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4669 $as_echo "$ac_ct_OBJCXX" >&6; }
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 $as_echo "no" >&6; }
4676 test -n "$ac_ct_OBJCXX" && break
4679 if test "x$ac_ct_OBJCXX" = x
; then
4682 case $cross_compiling:$ac_tool_warned in
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4686 ac_tool_warned
=yes ;;
4688 OBJCXX
=$ac_ct_OBJCXX
4692 # Provide some information about the compiler.
4693 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4696 for ac_option
in --version -v -V -qversion; do
4697 { { ac_try
="$ac_compiler $ac_option >&5"
4699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4700 *) ac_try_echo=$ac_try;;
4702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4703 $as_echo "$ac_try_echo"; } >&5
4704 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4706 if test -s conftest.err; then
4708 ... rest of stderr output deleted ...
4709 10q' conftest.err >conftest.er1
4710 cat conftest.er1 >&5
4712 rm -f conftest.er1 conftest.err
4713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4714 test $ac_status = 0; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4718 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4719 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4720 $as_echo_n "(cached) " >&6
4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723 /* end confdefs.h. */
4736 if ac_fn_objcxx_try_compile "$LINENO"; then :
4741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4742 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4746 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4747 if test $ac_compiler_gnu = yes; then
4752 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4753 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4755 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4756 if ${ac_cv_prog_objcxx_g+:} false; then :
4757 $as_echo_n "(cached) " >&6
4759 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4760 ac_objcxx_werror_flag=yes
4761 ac_cv_prog_objcxx_g=no
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4774 if ac_fn_objcxx_try_compile "$LINENO"; then :
4775 ac_cv_prog_objcxx_g=yes
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4789 if ac_fn_objcxx_try_compile "$LINENO"; then :
4792 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4805 if ac_fn_objcxx_try_compile "$LINENO"; then :
4806 ac_cv_prog_objcxx_g=yes
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4813 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4816 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4817 if test "$ac_test_OBJCXXFLAGS" = set; then
4818 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4819 elif test $ac_cv_prog_objcxx_g = yes; then
4820 if test "$GOBJCXX" = yes; then
4821 OBJCXXFLAGS="-g -O2"
4826 if test "$GOBJCXX" = yes; then
4833 ac_cpp='$CPP $CPPFLAGS'
4834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4838 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4841 $as_echo_n "checking dependency style of $depcc... " >&6; }
4842 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4846 # We make a subdir and do the tests there. Otherwise we can end up
4847 # making bogus files that we don't know about and never remove. For
4848 # instance it was reported that on HP-UX the gcc test will end up
4849 # making a dummy file named 'D' -- because '-MD' means "put the output
4853 # Copy depcomp to subdir because otherwise we won't find it if we're
4854 # using a relative directory.
4855 cp "$am_depcomp" conftest.dir
4857 # We will build objects and dependencies in a subdirectory because
4858 # it helps to detect inapplicable dependency modes. For instance
4859 # both Tru64's cc and ICC support -MD to output dependencies as a
4860 # side effect of compilation, but ICC will put the dependencies in
4861 # the current directory while Tru64 will put them in the object
4865 am_cv_OBJCXX_dependencies_compiler_type=none
4866 if test "$am_compiler_list" = ""; then
4867 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4872 for depmode in $am_compiler_list; do
4873 # Setup a source with many dependencies, because some compilers
4874 # like to wrap large dependency lists on column 80 (with \), and
4875 # we should not choose a depcomp mode which is confused by this.
4877 # We need to recreate these files for each test, as the compiler may
4878 # overwrite some of them when testing with obscure command lines.
4879 # This happens at least with the AIX C compiler.
4881 for i in 1 2 3 4 5 6; do
4882 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4883 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4884 # Solaris 10 /bin/sh.
4885 echo '/* dummy */' > sub/conftst$i.h
4887 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4889 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4890 # mode. It turns out that the SunPro C++ compiler does not properly
4891 # handle '-M -o', and we need to detect this. Also, some Intel
4892 # versions had trouble with output in subdirs.
4893 am__obj=sub/conftest.${OBJEXT-o}
4894 am__minus_obj="-o $am__obj"
4897 # This depmode causes a compiler race in universal mode.
4898 test "$am__universal" = false || continue
4901 # After this tag, mechanisms are not by side-effect, so they'll
4902 # only be used when explicitly requested.
4903 if test "x$enable_dependency_tracking" = xyes; then
4909 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4910 # This compiler won't grok '-c -o', but also, the minuso test has
4911 # not run yet. These depmodes are late enough in the game, and
4912 # so weak that their functioning should not be impacted.
4913 am__obj=conftest.${OBJEXT-o}
4918 if depmode=$depmode \
4919 source=sub/conftest.c object=$am__obj \
4920 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4921 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4922 >/dev/null 2>conftest.err &&
4923 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4924 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4925 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4926 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4927 # icc doesn't choke on unknown options, it will just issue warnings
4928 # or remarks (even with -Werror). So we grep stderr for any message
4929 # that says an option was ignored or not supported.
4930 # When given -MP, icc 7.0 and 7.1 complain thusly:
4931 # icc: Command line warning: ignoring option '-M'; no argument required
4932 # The diagnosis changed in icc 8.0:
4933 # icc: Command line remark: option '-MP' not supported
4934 if (grep 'ignoring option' conftest.err ||
4935 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4936 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4945 am_cv_OBJCXX_dependencies_compiler_type=none
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4950 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4951 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4954 test "x$enable_dependency_tracking" != xno \
4955 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4956 am__fastdepOBJCXX_TRUE=
4957 am__fastdepOBJCXX_FALSE='#'
4959 am__fastdepOBJCXX_TRUE='#'
4960 am__fastdepOBJCXX_FALSE=
4966 if test -n "$ac_tool_prefix"; then
4967 for ac_prog in ar lib "link -lib"
4969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if ${ac_cv_prog_AR+:} false; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$AR"; then
4977 ac_cv_prog_AR="$AR" # Let the user override the test.
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 if test -n "$AR"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4999 $as_echo "$AR" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5006 test -n "$AR" && break
5009 if test -z "$AR"; then
5011 for ac_prog in ar lib "link -lib"
5013 # Extract the first word of "$ac_prog", so it can be a program name with args.
5014 set dummy $ac_prog; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5018 $as_echo_n "(cached) " >&6
5020 if test -n "$ac_ct_AR"; then
5021 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5030 ac_cv_prog_ac_ct_AR="$ac_prog"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5041 if test -n "$ac_ct_AR"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5043 $as_echo "$ac_ct_AR" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5050 test -n "$ac_ct_AR" && break
5053 if test "x$ac_ct_AR" = x; then
5056 case $cross_compiling:$ac_tool_warned in
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5060 ac_tool_warned=yes ;;
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5069 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5070 if ${am_cv_ar_interface+:} false; then :
5071 $as_echo_n "(cached) " >&6
5074 ac_cpp='$CPP $CPPFLAGS'
5075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5079 am_cv_ar_interface=ar
5080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h. */
5082 int some_variable = 0;
5084 if ac_fn_c_try_compile "$LINENO"; then :
5085 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5086 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5087 (eval $am_ar_try) 2>&5
5089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5090 test $ac_status = 0; }
5091 if test "$ac_status" -eq 0; then
5092 am_cv_ar_interface=ar
5094 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5095 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5096 (eval $am_ar_try) 2>&5
5098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5099 test $ac_status = 0; }
5100 if test "$ac_status" -eq 0; then
5101 am_cv_ar_interface=lib
5103 am_cv_ar_interface=unknown
5106 rm -f conftest.lib libconftest.a
5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5111 ac_cpp='$CPP $CPPFLAGS'
5112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5118 $as_echo "$am_cv_ar_interface" >&6; }
5120 case $am_cv_ar_interface in
5124 # Microsoft lib, so override with the ar-lib wrapper script.
5125 # FIXME: It is wrong to rewrite AR.
5126 # But if we don't then we get into trouble of one sort or another.
5127 # A longer-term fix would be to have automake use am__AR in this case,
5128 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5130 AR="$am_aux_dir/ar-lib $AR"
5133 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5142 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5147 macro_version='2.4.2'
5148 macro_revision='1.3337'
5162 ltmain="$ac_aux_dir/ltmain.sh"
5164 # Make sure we can run config.sub.
5165 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5166 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5169 $as_echo_n "checking build system type... " >&6; }
5170 if ${ac_cv_build+:} false; then :
5171 $as_echo_n "(cached) " >&6
5173 ac_build_alias=$build_alias
5174 test "x$ac_build_alias" = x &&
5175 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5176 test "x$ac_build_alias" = x &&
5177 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5178 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5179 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5183 $as_echo "$ac_cv_build" >&6; }
5184 case $ac_cv_build in
5186 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5189 ac_save_IFS=$IFS; IFS='-'
5195 # Remember, the first character of IFS is used to create $*,
5196 # except with old shells:
5199 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5203 $as_echo_n "checking host system type... " >&6; }
5204 if ${ac_cv_host+:} false; then :
5205 $as_echo_n "(cached) " >&6
5207 if test "x$host_alias" = x; then
5208 ac_cv_host=$ac_cv_build
5210 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5211 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5216 $as_echo "$ac_cv_host" >&6; }
5219 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5222 ac_save_IFS=$IFS; IFS='-'
5228 # Remember, the first character of IFS is used to create $*,
5229 # except with old shells:
5232 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5235 # Backslashify metacharacters that are still active within
5236 # double-quoted strings.
5237 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5239 # Same as above, but do not quote variable references.
5240 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5242 # Sed substitution to delay expansion of an escaped shell variable in a
5243 # double_quote_subst'ed string.
5244 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5246 # Sed substitution to delay expansion of an escaped single quote.
5247 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5249 # Sed substitution to avoid accidental globbing in evaled expressions
5250 no_glob_subst='s/\*/\\\*/g'
5252 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5253 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5254 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5257 $as_echo_n "checking how to print
strings...
" >&6; }
5258 # Test print first, because it will be a builtin if present.
5259 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5260 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5262 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5265 # Use this function as a fallback that always works.
5266 func_fallback_echo ()
5268 eval 'cat <<_LTECHO_EOF
5272 ECHO='func_fallback_echo'
5275 # func_echo_all arg...
5276 # Invoke $ECHO with all args, space-separated.
5283 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5284 $as_echo "printf" >&6; } ;;
5285 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5286 $as_echo "print
-r" >&6; } ;;
5287 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5288 $as_echo "cat" >&6; } ;;
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5305 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5306 if ${ac_cv_path_SED+:} false; then :
5307 $as_echo_n "(cached
) " >&6
5309 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5310 for ac_i in 1 2 3 4 5 6 7; do
5311 ac_script="$ac_script$as_nl$ac_script"
5313 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5314 { ac_script=; unset ac_script;}
5315 if test -z "$SED"; then
5316 ac_path_SED_found=false
5317 # Loop through the user's path and test for each of PROGNAME-LIST
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir=.
5323 for ac_prog in sed gsed; do
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5326 as_fn_executable_p "$ac_path_SED" || continue
5327 # Check for GNU ac_path_SED and select it if it is found.
5328 # Check for GNU $ac_path_SED
5329 case `"$ac_path_SED" --version 2>&1` in
5331 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5334 $as_echo_n 0123456789 >"conftest.
in"
5337 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5338 mv "conftest.tmp
" "conftest.
in"
5339 cp "conftest.
in" "conftest.
nl"
5340 $as_echo '' >> "conftest.
nl"
5341 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5342 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5343 as_fn_arith $ac_count + 1 && ac_count=$as_val
5344 if test $ac_count -gt ${ac_path_SED_max-0}; then
5345 # Best one so far, save it but keep looking for a better one
5346 ac_cv_path_SED="$ac_path_SED"
5347 ac_path_SED_max=$ac_count
5349 # 10*(2^10) chars as input seems more than enough
5350 test $ac_count -gt 10 && break
5352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5355 $ac_path_SED_found && break 3
5360 if test -z "$ac_cv_path_SED"; then
5361 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5369 $as_echo "$ac_cv_path_SED" >&6; }
5370 SED="$ac_cv_path_SED"
5373 test -z "$SED" && SED=sed
5374 Xsed="$SED -e 1s
/^X
//"
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5387 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5388 if ${ac_cv_path_GREP+:} false; then :
5389 $as_echo_n "(cached
) " >&6
5391 if test -z "$GREP"; then
5392 ac_path_GREP_found=false
5393 # Loop through the user's path and test for each of PROGNAME-LIST
5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5398 test -z "$as_dir" && as_dir=.
5399 for ac_prog in grep ggrep; do
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5402 as_fn_executable_p "$ac_path_GREP" || continue
5403 # Check for GNU ac_path_GREP and select it if it is found.
5404 # Check for GNU $ac_path_GREP
5405 case `"$ac_path_GREP" --version 2>&1` in
5407 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5410 $as_echo_n 0123456789 >"conftest.
in"
5413 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5414 mv "conftest.tmp
" "conftest.
in"
5415 cp "conftest.
in" "conftest.
nl"
5416 $as_echo 'GREP' >> "conftest.
nl"
5417 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5418 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5419 as_fn_arith $ac_count + 1 && ac_count=$as_val
5420 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5421 # Best one so far, save it but keep looking for a better one
5422 ac_cv_path_GREP="$ac_path_GREP"
5423 ac_path_GREP_max=$ac_count
5425 # 10*(2^10) chars as input seems more than enough
5426 test $ac_count -gt 10 && break
5428 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5431 $ac_path_GREP_found && break 3
5436 if test -z "$ac_cv_path_GREP"; then
5437 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5440 ac_cv_path_GREP=$GREP
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5445 $as_echo "$ac_cv_path_GREP" >&6; }
5446 GREP="$ac_cv_path_GREP"
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5450 $as_echo_n "checking
for egrep...
" >&6; }
5451 if ${ac_cv_path_EGREP+:} false; then :
5452 $as_echo_n "(cached
) " >&6
5454 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5455 then ac_cv_path_EGREP="$GREP -E"
5457 if test -z "$EGREP"; then
5458 ac_path_EGREP_found=false
5459 # Loop through the user's path and test for each of PROGNAME-LIST
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5464 test -z "$as_dir" && as_dir=.
5465 for ac_prog in egrep; do
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5468 as_fn_executable_p "$ac_path_EGREP" || continue
5469 # Check for GNU ac_path_EGREP and select it if it is found.
5470 # Check for GNU $ac_path_EGREP
5471 case `"$ac_path_EGREP" --version 2>&1` in
5473 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5476 $as_echo_n 0123456789 >"conftest.
in"
5479 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5480 mv "conftest.tmp
" "conftest.
in"
5481 cp "conftest.
in" "conftest.
nl"
5482 $as_echo 'EGREP' >> "conftest.
nl"
5483 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5484 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5485 as_fn_arith $ac_count + 1 && ac_count=$as_val
5486 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5487 # Best one so far, save it but keep looking for a better one
5488 ac_cv_path_EGREP="$ac_path_EGREP"
5489 ac_path_EGREP_max=$ac_count
5491 # 10*(2^10) chars as input seems more than enough
5492 test $ac_count -gt 10 && break
5494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5497 $ac_path_EGREP_found && break 3
5502 if test -z "$ac_cv_path_EGREP"; then
5503 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5506 ac_cv_path_EGREP=$EGREP
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5512 $as_echo "$ac_cv_path_EGREP" >&6; }
5513 EGREP="$ac_cv_path_EGREP"
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5517 $as_echo_n "checking
for fgrep...
" >&6; }
5518 if ${ac_cv_path_FGREP+:} false; then :
5519 $as_echo_n "(cached
) " >&6
5521 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5522 then ac_cv_path_FGREP="$GREP -F"
5524 if test -z "$FGREP"; then
5525 ac_path_FGREP_found=false
5526 # Loop through the user's path and test for each of PROGNAME-LIST
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5531 test -z "$as_dir" && as_dir=.
5532 for ac_prog in fgrep; do
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5535 as_fn_executable_p "$ac_path_FGREP" || continue
5536 # Check for GNU ac_path_FGREP and select it if it is found.
5537 # Check for GNU $ac_path_FGREP
5538 case `"$ac_path_FGREP" --version 2>&1` in
5540 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5543 $as_echo_n 0123456789 >"conftest.
in"
5546 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5547 mv "conftest.tmp
" "conftest.
in"
5548 cp "conftest.
in" "conftest.
nl"
5549 $as_echo 'FGREP' >> "conftest.
nl"
5550 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5551 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5552 as_fn_arith $ac_count + 1 && ac_count=$as_val
5553 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5554 # Best one so far, save it but keep looking for a better one
5555 ac_cv_path_FGREP="$ac_path_FGREP"
5556 ac_path_FGREP_max=$ac_count
5558 # 10*(2^10) chars as input seems more than enough
5559 test $ac_count -gt 10 && break
5561 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5564 $ac_path_FGREP_found && break 3
5569 if test -z "$ac_cv_path_FGREP"; then
5570 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5573 ac_cv_path_FGREP=$FGREP
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5579 $as_echo "$ac_cv_path_FGREP" >&6; }
5580 FGREP="$ac_cv_path_FGREP"
5583 test -z "$GREP" && GREP=grep
5603 # Check whether --with-gnu-ld was given.
5604 if test "${with_gnu_ld+set}" = set; then :
5605 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5611 if test "$GCC" = yes; then
5612 # Check if gcc -print-prog-name=ld gives a path.
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5614 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5617 # gcc leaves a trailing carriage return which upsets mingw
5618 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5620 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5623 # Accept absolute paths.
5625 re_direlt='/[^/][^/]*/\.\./'
5626 # Canonicalize the pathname of ld
5627 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5628 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5629 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5631 test -z "$LD" && LD="$ac_prog"
5634 # If it fails, then pretend we aren't using GCC.
5638 # If it is relative, then search for the first ld in PATH.
5642 elif test "$with_gnu_ld" = yes; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5644 $as_echo_n "checking
for GNU ld...
" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5647 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5649 if ${lt_cv_path_LD+:} false; then :
5650 $as_echo_n "(cached
) " >&6
5652 if test -z "$LD"; then
5653 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5654 for ac_dir in $PATH; do
5656 test -z "$ac_dir" && ac_dir=.
5657 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5658 lt_cv_path_LD="$ac_dir/$ac_prog"
5659 # Check to see if the program is GNU ld. I'd rather use --version,
5660 # but apparently some variants of GNU ld only accept -v.
5661 # Break only if it was the GNU/non-GNU ld that we prefer.
5662 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5663 *GNU* | *'with BFD'*)
5664 test "$with_gnu_ld" != no && break
5667 test "$with_gnu_ld" != yes && break
5674 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5679 if test -n "$LD"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5681 $as_echo "$LD" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5684 $as_echo "no
" >&6; }
5686 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5688 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5689 if ${lt_cv_prog_gnu_ld+:} false; then :
5690 $as_echo_n "(cached
) " >&6
5692 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5693 case `$LD -v 2>&1 </dev/null` in
5694 *GNU* | *'with BFD'*)
5695 lt_cv_prog_gnu_ld=yes
5698 lt_cv_prog_gnu_ld=no
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5703 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5704 with_gnu_ld=$lt_cv_prog_gnu_ld
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5715 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5716 if ${lt_cv_path_NM+:} false; then :
5717 $as_echo_n "(cached
) " >&6
5719 if test -n "$NM"; then
5720 # Let the user override the test.
5723 lt_nm_to_check="${ac_tool_prefix}nm
"
5724 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5725 lt_nm_to_check="$lt_nm_to_check nm
"
5727 for lt_tmp_nm in $lt_nm_to_check; do
5728 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5729 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5731 test -z "$ac_dir" && ac_dir=.
5732 tmp_nm="$ac_dir/$lt_tmp_nm"
5733 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5734 # Check to see if the nm accepts a BSD-compat flag.
5735 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5736 # nm: unknown option "B
" ignored
5737 # Tru64's nm complains that /dev/null is an invalid object file
5738 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5739 */dev/null* | *'Invalid file or object type'*)
5740 lt_cv_path_NM="$tmp_nm -B"
5744 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5746 lt_cv_path_NM="$tmp_nm -p"
5750 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5751 continue # so that we can try to find one that supports BSD flags
5760 : ${lt_cv_path_NM=no}
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5764 $as_echo "$lt_cv_path_NM" >&6; }
5765 if test "$lt_cv_path_NM" != "no
"; then
5768 # Didn't find any BSD compatible name lister, look for dumpbin.
5769 if test -n "$DUMPBIN"; then :
5770 # Let the user override the test.
5772 if test -n "$ac_tool_prefix"; then
5773 for ac_prog in dumpbin "link
-dump"
5775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5776 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5778 $as_echo_n "checking
for $ac_word...
" >&6; }
5779 if ${ac_cv_prog_DUMPBIN+:} false; then :
5780 $as_echo_n "(cached
) " >&6
5782 if test -n "$DUMPBIN"; then
5783 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5802 DUMPBIN=$ac_cv_prog_DUMPBIN
5803 if test -n "$DUMPBIN"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5805 $as_echo "$DUMPBIN" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5808 $as_echo "no
" >&6; }
5812 test -n "$DUMPBIN" && break
5815 if test -z "$DUMPBIN"; then
5816 ac_ct_DUMPBIN=$DUMPBIN
5817 for ac_prog in dumpbin "link
-dump"
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy $ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5822 $as_echo_n "checking
for $ac_word...
" >&6; }
5823 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5824 $as_echo_n "(cached
) " >&6
5826 if test -n "$ac_ct_DUMPBIN"; then
5827 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5846 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5847 if test -n "$ac_ct_DUMPBIN"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5849 $as_echo "$ac_ct_DUMPBIN" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5852 $as_echo "no
" >&6; }
5856 test -n "$ac_ct_DUMPBIN" && break
5859 if test "x
$ac_ct_DUMPBIN" = x; then
5862 case $cross_compiling:$ac_tool_warned in
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5865 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5866 ac_tool_warned=yes ;;
5868 DUMPBIN=$ac_ct_DUMPBIN
5872 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5874 DUMPBIN="$DUMPBIN -symbols"
5882 if test "$DUMPBIN" != ":"; then
5886 test -z "$NM" && NM=nm
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5894 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5895 if ${lt_cv_nm_interface+:} false; then :
5896 $as_echo_n "(cached
) " >&6
5898 lt_cv_nm_interface="BSD nm
"
5899 echo "int some_variable
= 0;" > conftest.$ac_ext
5900 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5901 (eval "$ac_compile" 2>conftest.err)
5902 cat conftest.err >&5
5903 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5904 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5905 cat conftest.err >&5
5906 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5907 cat conftest.out >&5
5908 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5909 lt_cv_nm_interface="MS dumpbin
"
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5914 $as_echo "$lt_cv_nm_interface" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5917 $as_echo_n "checking whether
ln -s works...
" >&6; }
5919 if test "$LN_S" = "ln -s"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5921 $as_echo "yes" >&6; }
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5924 $as_echo "no
, using
$LN_S" >&6; }
5927 # find the maximum length of command line arguments
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5929 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5930 if ${lt_cv_sys_max_cmd_len+:} false; then :
5931 $as_echo_n "(cached
) " >&6
5938 # On DJGPP, this test can blow up pretty badly due to problems in libc
5939 # (any single argument exceeding 2000 bytes causes a buffer overrun
5940 # during glob expansion). Even if it were fixed, the result of this
5941 # check would be larger than it should be.
5942 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5946 # Under GNU Hurd, this test is not required because there is
5947 # no limit to the length of command line arguments.
5948 # Libtool will interpret -1 as no limit whatsoever
5949 lt_cv_sys_max_cmd_len=-1;
5952 cygwin* | mingw* | cegcc*)
5953 # On Win9x/ME, this test blows up -- it succeeds, but takes
5954 # about 5 minutes as the teststring grows exponentially.
5955 # Worse, since 9x/ME are not pre-emptively multitasking,
5956 # you end up with a "frozen
" computer, even though with patience
5957 # the test eventually succeeds (with a max line length of 256k).
5958 # Instead, let's just punt: use the minimum linelength reported by
5959 # all of the supported platforms: 8192 (on NT/2K/XP).
5960 lt_cv_sys_max_cmd_len=8192;
5964 # On MiNT this can take a long time and run out of memory.
5965 lt_cv_sys_max_cmd_len=8192;
5969 # On AmigaOS with pdksh, this test takes hours, literally.
5970 # So we just punt and use a minimum line length of 8192.
5971 lt_cv_sys_max_cmd_len=8192;
5974 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5975 # This has been around since 386BSD, at least. Likely further.
5976 if test -x /sbin/sysctl; then
5977 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5978 elif test -x /usr/sbin/sysctl; then
5979 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5981 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5983 # And add a safety zone
5984 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5985 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5989 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5990 lt_cv_sys_max_cmd_len=196608
5994 # The test takes a long time on OS/2.
5995 lt_cv_sys_max_cmd_len=8192
5999 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6000 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6001 # nice to cause kernel panics so lets avoid the loop below.
6002 # First set a reasonable default.
6003 lt_cv_sys_max_cmd_len=16384
6005 if test -x /sbin/sysconfig; then
6006 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6007 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6012 lt_cv_sys_max_cmd_len=102400
6014 sysv5* | sco5v6* | sysv4.2uw2*)
6015 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6016 if test -n "$kargmax"; then
6017 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6019 lt_cv_sys_max_cmd_len=32768
6023 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6024 if test -n "$lt_cv_sys_max_cmd_len"; then
6025 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6026 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6028 # Make teststring a little bigger before we do anything with it.
6029 # a 1K string should be a reasonable start.
6030 for i in 1 2 3 4 5 6 7 8 ; do
6031 teststring=$teststring$teststring
6033 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6034 # If test is not a shell built-in, we'll probably end up computing a
6035 # maximum length that is only half of the actual maximum length, but
6037 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
6038 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6039 test $i != 17 # 1/2 MB should be enough
6042 teststring=$teststring$teststring
6044 # Only check the string length outside the loop.
6045 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6047 # Add a significant safety factor because C++ compilers can tack on
6048 # massive amounts of additional arguments before passing them to the
6049 # linker. It appears as though 1/2 is a usable value.
6050 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6057 if test -n $lt_cv_sys_max_cmd_len ; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6059 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6062 $as_echo "none
" >&6; }
6064 max_cmd_len=$lt_cv_sys_max_cmd_len
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6076 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6077 # Try some XSI features
6080 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6082 && eval 'test $(( 1 + 1 )) -eq 2 \
6083 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6086 $as_echo "$xsi_shell" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6090 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6092 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6094 && lt_shell_append=yes
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6096 $as_echo "$lt_shell_append" >&6; }
6099 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6109 # test EBCDIC or ASCII
6110 case `echo X|tr X '\101'` in
6111 A) # ASCII based system
6112 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6113 lt_SP2NL='tr \040 \012'
6114 lt_NL2SP='tr \015\012 \040\040'
6116 *) # EBCDIC based system
6117 lt_SP2NL='tr \100 \n'
6118 lt_NL2SP='tr \r\n \100\100'
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6131 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6132 if ${lt_cv_to_host_file_cmd+:} false; then :
6133 $as_echo_n "(cached
) " >&6
6138 *-*-mingw* ) # actually msys
6139 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6142 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6144 * ) # otherwise, assume *nix
6145 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6151 *-*-mingw* ) # actually msys
6152 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6155 lt_cv_to_host_file_cmd=func_convert_file_noop
6157 * ) # otherwise, assume *nix
6158 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6162 * ) # unhandled hosts (and "normal
" native builds)
6163 lt_cv_to_host_file_cmd=func_convert_file_noop
6169 to_host_file_cmd=$lt_cv_to_host_file_cmd
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6171 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6178 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6179 if ${lt_cv_to_tool_file_cmd+:} false; then :
6180 $as_echo_n "(cached
) " >&6
6182 #assume ordinary cross tools, or native build.
6183 lt_cv_to_tool_file_cmd=func_convert_file_noop
6187 *-*-mingw* ) # actually msys
6188 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6196 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6198 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6205 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6206 if ${lt_cv_ld_reload_flag+:} false; then :
6207 $as_echo_n "(cached
) " >&6
6209 lt_cv_ld_reload_flag='-r'
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6212 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6213 reload_flag=$lt_cv_ld_reload_flag
6214 case $reload_flag in
6216 *) reload_flag=" $reload_flag" ;;
6218 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6220 cygwin* | mingw* | pw32* | cegcc*)
6221 if test "$GCC" != yes; then
6226 if test "$GCC" = yes; then
6227 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6229 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6242 if test -n "$ac_tool_prefix"; then
6243 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6244 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6246 $as_echo_n "checking
for $ac_word...
" >&6; }
6247 if ${ac_cv_prog_OBJDUMP+:} false; then :
6248 $as_echo_n "(cached
) " >&6
6250 if test -n "$OBJDUMP"; then
6251 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6270 OBJDUMP=$ac_cv_prog_OBJDUMP
6271 if test -n "$OBJDUMP"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6273 $as_echo "$OBJDUMP" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6276 $as_echo "no
" >&6; }
6281 if test -z "$ac_cv_prog_OBJDUMP"; then
6282 ac_ct_OBJDUMP=$OBJDUMP
6283 # Extract the first word of "objdump
", so it can be a program name with args.
6284 set dummy objdump; ac_word=$2
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6286 $as_echo_n "checking
for $ac_word...
" >&6; }
6287 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6288 $as_echo_n "(cached
) " >&6
6290 if test -n "$ac_ct_OBJDUMP"; then
6291 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir=.
6298 for ac_exec_ext in '' $ac_executable_extensions; do
6299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6300 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6310 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6311 if test -n "$ac_ct_OBJDUMP"; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6313 $as_echo "$ac_ct_OBJDUMP" >&6; }
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6316 $as_echo "no
" >&6; }
6319 if test "x
$ac_ct_OBJDUMP" = x; then
6322 case $cross_compiling:$ac_tool_warned in
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6325 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6326 ac_tool_warned=yes ;;
6328 OBJDUMP=$ac_ct_OBJDUMP
6331 OBJDUMP="$ac_cv_prog_OBJDUMP"
6334 test -z "$OBJDUMP" && OBJDUMP=objdump
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6345 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6346 if ${lt_cv_deplibs_check_method+:} false; then :
6347 $as_echo_n "(cached
) " >&6
6349 lt_cv_file_magic_cmd='$MAGIC_CMD'
6350 lt_cv_file_magic_test_file=
6351 lt_cv_deplibs_check_method='unknown'
6352 # Need to set the preceding variable on all platforms that support
6353 # interlibrary dependencies.
6354 # 'none' -- dependencies not supported.
6355 # `unknown' -- same as none, but documents that we really don't know.
6356 # 'pass_all' -- all dependencies passed with no checks.
6357 # 'test_compile' -- check by making test program.
6358 # 'file_magic [[regex]]' -- check by looking for files in library path
6359 # which responds to the $file_magic_cmd with a given extended regex.
6360 # If you have `file' or equivalent on your system and you're not sure
6361 # whether `pass_all' will *always* work, you probably want this one.
6365 lt_cv_deplibs_check_method=pass_all
6369 lt_cv_deplibs_check_method=pass_all
6373 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6374 lt_cv_file_magic_cmd='/usr/bin/file -L'
6375 lt_cv_file_magic_test_file=/shlib/libc.so
6379 # func_win32_libid is a shell function defined in ltmain.sh
6380 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6381 lt_cv_file_magic_cmd='func_win32_libid'
6385 # Base MSYS/MinGW do not provide the 'file' command needed by
6386 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6387 # unless we find 'file', for example because we are cross-compiling.
6388 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6389 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6390 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6391 lt_cv_file_magic_cmd='func_win32_libid'
6393 # Keep this pattern in sync with the one in func_win32_libid.
6394 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6395 lt_cv_file_magic_cmd='$OBJDUMP -f'
6400 # use the weaker test based on 'objdump'. See mingw*.
6401 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6402 lt_cv_file_magic_cmd='$OBJDUMP -f'
6405 darwin* | rhapsody*)
6406 lt_cv_deplibs_check_method=pass_all
6409 freebsd* | dragonfly*)
6410 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6413 # Not sure whether the presence of OpenBSD here was a mistake.
6414 # Let's accept both of them until this is cleared up.
6415 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6416 lt_cv_file_magic_cmd=/usr/bin/file
6417 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6421 lt_cv_deplibs_check_method=pass_all
6426 lt_cv_deplibs_check_method=pass_all
6430 lt_cv_deplibs_check_method=pass_all
6433 hpux10.20* | hpux11*)
6434 lt_cv_file_magic_cmd=/usr/bin/file
6437 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6438 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6441 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]'
6442 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6445 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6446 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6452 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6453 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6456 irix5* | irix6* | nonstopux*)
6458 *-32|*"-32 ") libmagic=32-bit;;
6459 *-n32|*"-n32 ") libmagic=N32;;
6460 *-64|*"-64 ") libmagic=64-bit;;
6461 *) libmagic=never-match;;
6463 lt_cv_deplibs_check_method=pass_all
6466 # This must be glibc/ELF.
6467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6468 lt_cv_deplibs_check_method=pass_all
6472 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6473 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6475 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6480 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6481 lt_cv_file_magic_cmd=/usr/bin/file
6482 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6486 lt_cv_deplibs_check_method=pass_all
6490 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6491 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6493 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6497 osf3* | osf4* | osf5*)
6498 lt_cv_deplibs_check_method=pass_all
6502 lt_cv_deplibs_check_method=pass_all
6506 lt_cv_deplibs_check_method=pass_all
6509 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6510 lt_cv_deplibs_check_method=pass_all
6514 case $host_vendor in
6516 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]'
6517 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6520 lt_cv_deplibs_check_method=pass_all
6523 lt_cv_file_magic_cmd='/bin/file'
6524 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6527 lt_cv_file_magic_cmd='/bin/file'
6528 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6529 lt_cv_file_magic_test_file=/lib/libc.so
6532 lt_cv_deplibs_check_method=pass_all
6535 lt_cv_deplibs_check_method=pass_all
6541 lt_cv_deplibs_check_method=pass_all
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6547 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6551 if test "$build" = "$host"; then
6554 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6557 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6563 file_magic_cmd=$lt_cv_file_magic_cmd
6564 deplibs_check_method=$lt_cv_deplibs_check_method
6565 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6588 if test -n "$ac_tool_prefix"; then
6589 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6590 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6592 $as_echo_n "checking
for $ac_word...
" >&6; }
6593 if ${ac_cv_prog_DLLTOOL+:} false; then :
6594 $as_echo_n "(cached
) " >&6
6596 if test -n "$DLLTOOL"; then
6597 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 test -z "$as_dir" && as_dir=.
6604 for ac_exec_ext in '' $ac_executable_extensions; do
6605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6606 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6616 DLLTOOL=$ac_cv_prog_DLLTOOL
6617 if test -n "$DLLTOOL"; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6619 $as_echo "$DLLTOOL" >&6; }
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6622 $as_echo "no
" >&6; }
6627 if test -z "$ac_cv_prog_DLLTOOL"; then
6628 ac_ct_DLLTOOL=$DLLTOOL
6629 # Extract the first word of "dlltool
", so it can be a program name with args.
6630 set dummy dlltool; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6632 $as_echo_n "checking
for $ac_word...
" >&6; }
6633 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6634 $as_echo_n "(cached
) " >&6
6636 if test -n "$ac_ct_DLLTOOL"; then
6637 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6656 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6657 if test -n "$ac_ct_DLLTOOL"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6659 $as_echo "$ac_ct_DLLTOOL" >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6662 $as_echo "no
" >&6; }
6665 if test "x
$ac_ct_DLLTOOL" = x; then
6668 case $cross_compiling:$ac_tool_warned in
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6671 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6672 ac_tool_warned=yes ;;
6674 DLLTOOL=$ac_ct_DLLTOOL
6677 DLLTOOL="$ac_cv_prog_DLLTOOL"
6680 test -z "$DLLTOOL" && DLLTOOL=dlltool
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6692 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6693 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6694 $as_echo_n "(cached
) " >&6
6696 lt_cv_sharedlib_from_linklib_cmd='unknown'
6699 cygwin* | mingw* | pw32* | cegcc*)
6700 # two different shell functions defined in ltmain.sh
6701 # decide which to use based on capabilities of $DLLTOOL
6702 case `$DLLTOOL --help 2>&1` in
6703 *--identify-strict*)
6704 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6707 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6712 # fallback: assume linklib IS sharedlib
6713 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6719 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6720 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6721 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6729 if test -n "$ac_tool_prefix"; then
6732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6735 $as_echo_n "checking
for $ac_word...
" >&6; }
6736 if ${ac_cv_prog_AR+:} false; then :
6737 $as_echo_n "(cached
) " >&6
6739 if test -n "$AR"; then
6740 ac_cv_prog_AR="$AR" # Let the user override the test.
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6760 if test -n "$AR"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6762 $as_echo "$AR" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6765 $as_echo "no
" >&6; }
6769 test -n "$AR" && break
6772 if test -z "$AR"; then
6776 # Extract the first word of "$ac_prog", so it can be a program name with args.
6777 set dummy $ac_prog; ac_word=$2
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6779 $as_echo_n "checking
for $ac_word...
" >&6; }
6780 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6781 $as_echo_n "(cached
) " >&6
6783 if test -n "$ac_ct_AR"; then
6784 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir=.
6791 for ac_exec_ext in '' $ac_executable_extensions; do
6792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6793 ac_cv_prog_ac_ct_AR="$ac_prog"
6794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6803 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6804 if test -n "$ac_ct_AR"; then
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6806 $as_echo "$ac_ct_AR" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6809 $as_echo "no
" >&6; }
6813 test -n "$ac_ct_AR" && break
6816 if test "x
$ac_ct_AR" = x; then
6819 case $cross_compiling:$ac_tool_warned in
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6822 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6823 ac_tool_warned=yes ;;
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6843 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6844 if ${lt_cv_ar_at_file+:} false; then :
6845 $as_echo_n "(cached
) " >&6
6848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6849 /* end confdefs.h. */
6859 if ac_fn_c_try_compile "$LINENO"; then :
6860 echo conftest.$ac_objext > conftest.lst
6861 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6862 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6863 (eval $lt_ar_try) 2>&5
6865 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6866 test $ac_status = 0; }
6867 if test "$ac_status" -eq 0; then
6868 # Ensure the archiver fails upon bogus file names.
6869 rm -f conftest.$ac_objext libconftest.a
6870 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6871 (eval $lt_ar_try) 2>&5
6873 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6874 test $ac_status = 0; }
6875 if test "$ac_status" -ne 0; then
6879 rm -f conftest.* libconftest.a
6882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6886 $as_echo "$lt_cv_ar_at_file" >&6; }
6888 if test "x
$lt_cv_ar_at_file" = xno; then
6891 archiver_list_spec=$lt_cv_ar_at_file
6900 if test -n "$ac_tool_prefix"; then
6901 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6902 set dummy ${ac_tool_prefix}strip; ac_word=$2
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6904 $as_echo_n "checking
for $ac_word...
" >&6; }
6905 if ${ac_cv_prog_STRIP+:} false; then :
6906 $as_echo_n "(cached
) " >&6
6908 if test -n "$STRIP"; then
6909 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 test -z "$as_dir" && as_dir=.
6916 for ac_exec_ext in '' $ac_executable_extensions; do
6917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6918 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6928 STRIP=$ac_cv_prog_STRIP
6929 if test -n "$STRIP"; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6931 $as_echo "$STRIP" >&6; }
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6934 $as_echo "no
" >&6; }
6939 if test -z "$ac_cv_prog_STRIP"; then
6941 # Extract the first word of "strip
", so it can be a program name with args.
6942 set dummy strip; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6944 $as_echo_n "checking
for $ac_word...
" >&6; }
6945 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6946 $as_echo_n "(cached
) " >&6
6948 if test -n "$ac_ct_STRIP"; then
6949 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_prog_ac_ct_STRIP="strip
"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6968 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6969 if test -n "$ac_ct_STRIP"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6971 $as_echo "$ac_ct_STRIP" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6974 $as_echo "no
" >&6; }
6977 if test "x
$ac_ct_STRIP" = x; then
6980 case $cross_compiling:$ac_tool_warned in
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6983 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6984 ac_tool_warned=yes ;;
6989 STRIP="$ac_cv_prog_STRIP"
6992 test -z "$STRIP" && STRIP=:
6999 if test -n "$ac_tool_prefix"; then
7000 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7001 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7003 $as_echo_n "checking
for $ac_word...
" >&6; }
7004 if ${ac_cv_prog_RANLIB+:} false; then :
7005 $as_echo_n "(cached
) " >&6
7007 if test -n "$RANLIB"; then
7008 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir=.
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7017 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7027 RANLIB=$ac_cv_prog_RANLIB
7028 if test -n "$RANLIB"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7030 $as_echo "$RANLIB" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7033 $as_echo "no
" >&6; }
7038 if test -z "$ac_cv_prog_RANLIB"; then
7039 ac_ct_RANLIB=$RANLIB
7040 # Extract the first word of "ranlib
", so it can be a program name with args.
7041 set dummy ranlib; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7043 $as_echo_n "checking
for $ac_word...
" >&6; }
7044 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7045 $as_echo_n "(cached
) " >&6
7047 if test -n "$ac_ct_RANLIB"; then
7048 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7067 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7068 if test -n "$ac_ct_RANLIB"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7070 $as_echo "$ac_ct_RANLIB" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7073 $as_echo "no
" >&6; }
7076 if test "x
$ac_ct_RANLIB" = x; then
7079 case $cross_compiling:$ac_tool_warned in
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7082 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7083 ac_tool_warned=yes ;;
7085 RANLIB=$ac_ct_RANLIB
7088 RANLIB="$ac_cv_prog_RANLIB"
7091 test -z "$RANLIB" && RANLIB=:
7098 # Determine commands to create old-style static archives.
7099 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7100 old_postinstall_cmds='chmod 644 $oldlib'
7101 old_postuninstall_cmds=
7103 if test -n "$RANLIB"; then
7106 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7109 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7112 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7117 lock_old_archive_extraction=yes ;;
7119 lock_old_archive_extraction=no ;;
7160 # If no C compiler was specified, use CC.
7163 # If no C compiler flags were specified, use CFLAGS.
7164 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7166 # Allow CC to be a program name with arguments.
7170 # Check for command to grab the raw symbol name followed by C symbol from nm.
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7172 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7173 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7174 $as_echo_n "(cached
) " >&6
7177 # These are sane defaults that work on at least a few old systems.
7178 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7180 # Character class describing NM global symbol codes.
7181 symcode='[BCDEGRST]'
7183 # Regexp to match symbols that can be accessed directly from C.
7184 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7186 # Define system-specific variables.
7191 cygwin* | mingw* | pw32* | cegcc*)
7192 symcode='[ABCDGISTW]'
7195 if test "$host_cpu" = ia64; then
7196 symcode='[ABCDEGRST]'
7200 symcode='[BCDEGRST]'
7203 symcode='[BCDEGQRST]'
7214 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7222 # If we're using GNU nm, then use its standard symbol codes.
7223 case `$NM -V 2>&1` in
7224 *GNU* | *'with BFD'*)
7225 symcode='[ABCDGIRSTW]' ;;
7228 # Transform an extracted symbol line into a proper C declaration.
7229 # Some systems (esp. on ia64) link data and code symbols differently,
7230 # so use this general approach.
7231 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7233 # Transform an extracted symbol line into symbol name and symbol address
7234 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7235 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'"
7237 # Handle CRLF in mingw tool chain
7241 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7245 # Try without a prefix underscore, then with it.
7246 for ac_symprfx in "" "_
"; do
7248 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7249 symxfrm="\\1 $ac_symprfx\\2 \\2"
7251 # Write the raw and C identifiers.
7252 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7253 # Fake it for dumpbin and say T for any non-static function
7254 # and D for any global variable.
7255 # Also find C++ and __fastcall symbols from MSVC++,
7256 # which start with @ or ?.
7257 lt_cv_sys_global_symbol_pipe="$AWK '"\
7258 " {last_section=section; section=\$ 3};"\
7259 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7260 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7261 " \$ 0!~/External *\|/{next};"\
7262 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7263 " {if(hide[section]) next};"\
7264 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7265 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7266 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7267 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7268 " ' prfx
=^
$ac_symprfx"
7270 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7272 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7274 # Check to see that the pipe works correctly.
7278 cat > conftest.$ac_ext <<_LT_EOF
7283 void nm_test_func(void);
7284 void nm_test_func(void){}
7288 int main(){nm_test_var='a';nm_test_func();return(0);}
7291 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7292 (eval $ac_compile) 2>&5
7294 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7295 test $ac_status = 0; }; then
7296 # Now try to grab the symbols.
7298 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7299 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7301 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7302 test $ac_status = 0; } && test -s "$nlist"; then
7303 # Try sorting and uniquifying the output.
7304 if sort "$nlist" | uniq > "$nlist"T; then
7305 mv -f "$nlist"T "$nlist"
7310 # Make sure that we snagged all the symbols we need.
7311 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7312 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7313 cat <<_LT_EOF > conftest.$ac_ext
7314 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7315 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7316 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7317 relocations are performed -- see ld's documentation on pseudo-relocs. */
7318 # define LT_DLSYM_CONST
7319 #elif defined(__osf__)
7320 /* This system does not cope well with relocations in const data. */
7321 # define LT_DLSYM_CONST
7323 # define LT_DLSYM_CONST const
7331 # Now generate the symbol file.
7332 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7334 cat <<_LT_EOF >> conftest.$ac_ext
7336 /* The mapping between symbol names and symbols. */
7337 LT_DLSYM_CONST struct {
7341 lt__PROGRAM__LTX_preloaded_symbols[] =
7343 { "@PROGRAM@
", (void *) 0 },
7345 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7346 cat <<\_LT_EOF >> conftest.$ac_ext
7350 /* This works around a problem in FreeBSD linker */
7351 #ifdef FREEBSD_WORKAROUND
7352 static const void *lt_preloaded_setup() {
7353 return lt__PROGRAM__LTX_preloaded_symbols;
7361 # Now try linking the two files.
7362 mv conftest.$ac_objext conftstm.$ac_objext
7363 lt_globsym_save_LIBS=$LIBS
7364 lt_globsym_save_CFLAGS=$CFLAGS
7365 LIBS="conftstm.
$ac_objext"
7366 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7367 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7368 (eval $ac_link) 2>&5
7370 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7371 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7374 LIBS=$lt_globsym_save_LIBS
7375 CFLAGS=$lt_globsym_save_CFLAGS
7377 echo "cannot
find nm_test_func
in $nlist" >&5
7380 echo "cannot
find nm_test_var
in $nlist" >&5
7383 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7386 echo "$progname: failed program was
:" >&5
7387 cat conftest.$ac_ext >&5
7389 rm -rf conftest* conftst*
7391 # Do not use the global_symbol_pipe unless it works.
7392 if test "$pipe_works" = yes; then
7395 lt_cv_sys_global_symbol_pipe=
7401 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7402 lt_cv_sys_global_symbol_to_cdecl=
7404 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7406 $as_echo "failed
" >&6; }
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7409 $as_echo "ok
" >&6; }
7412 # Response file support.
7413 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7414 nm_file_list_spec='@'
7415 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7416 nm_file_list_spec='@'
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7446 $as_echo_n "checking
for sysroot...
" >&6; }
7448 # Check whether --with-sysroot was given.
7449 if test "${with_sysroot+set}" = set; then :
7450 withval=$with_sysroot;
7457 case ${with_sysroot} in #(
7459 if test "$GCC" = yes; then
7460 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7464 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7470 $as_echo "${with_sysroot}" >&6; }
7471 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7476 $as_echo "${lt_sysroot:-no}" >&6; }
7482 # Check whether --enable-libtool-lock was given.
7483 if test "${enable_libtool_lock+set}" = set; then :
7484 enableval=$enable_libtool_lock;
7487 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7489 # Some flags need to be propagated to the compiler or linker for good
7493 # Find out which ABI we are using.
7494 echo 'int i;' > conftest.$ac_ext
7495 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7496 (eval $ac_compile) 2>&5
7498 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7499 test $ac_status = 0; }; then
7500 case `/usr/bin/file conftest.$ac_objext` in
7512 # Find out which ABI we are using.
7513 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7514 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7515 (eval $ac_compile) 2>&5
7517 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7518 test $ac_status = 0; }; then
7519 if test "$lt_cv_prog_gnu_ld" = yes; then
7520 case `/usr/bin/file conftest.$ac_objext` in
7522 LD="${LD-ld} -melf32bsmip"
7525 LD="${LD-ld} -melf32bmipn32"
7528 LD="${LD-ld} -melf64bmip"
7532 case `/usr/bin/file conftest.$ac_objext` in
7548 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7549 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7550 # Find out which ABI we are using.
7551 echo 'int i;' > conftest.$ac_ext
7552 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7553 (eval $ac_compile) 2>&5
7555 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7556 test $ac_status = 0; }; then
7557 case `/usr/bin/file conftest.o` in
7560 x86_64-*kfreebsd*-gnu)
7561 LD="${LD-ld} -m elf_i386_fbsd
"
7564 LD="${LD-ld} -m elf_i386
"
7566 ppc64-*linux*|powerpc64-*linux*)
7567 LD="${LD-ld} -m elf32ppclinux
"
7570 LD="${LD-ld} -m elf_s390
"
7573 LD="${LD-ld} -m elf32_sparc
"
7579 x86_64-*kfreebsd*-gnu)
7580 LD="${LD-ld} -m elf_x86_64_fbsd
"
7583 LD="${LD-ld} -m elf_x86_64
"
7585 ppc*-*linux*|powerpc*-*linux*)
7586 LD="${LD-ld} -m elf64ppc
"
7588 s390*-*linux*|s390*-*tpf*)
7589 LD="${LD-ld} -m elf64_s390
"
7592 LD="${LD-ld} -m elf64_sparc
"
7602 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7603 SAVE_CFLAGS="$CFLAGS"
7604 CFLAGS="$CFLAGS -belf"
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7606 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7607 if ${lt_cv_cc_needs_belf+:} false; then :
7608 $as_echo_n "(cached
) " >&6
7611 ac_cpp='$CPP $CPPFLAGS'
7612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h. */
7627 if ac_fn_c_try_link "$LINENO"; then :
7628 lt_cv_cc_needs_belf=yes
7630 lt_cv_cc_needs_belf=no
7632 rm -f core conftest.err conftest.$ac_objext \
7633 conftest$ac_exeext conftest.$ac_ext
7635 ac_cpp='$CPP $CPPFLAGS'
7636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7642 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7643 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7644 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7645 CFLAGS="$SAVE_CFLAGS"
7649 # Find out which ABI we are using.
7650 echo 'int i;' > conftest.$ac_ext
7651 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7652 (eval $ac_compile) 2>&5
7654 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7655 test $ac_status = 0; }; then
7656 case `/usr/bin/file conftest.o` in
7658 case $lt_cv_prog_gnu_ld in
7662 LD="${LD-ld} -m elf_x86_64
"
7665 LD="${LD-ld} -m elf64_sparc
"
7668 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7669 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7674 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7686 need_locks="$enable_libtool_lock"
7688 if test -n "$ac_tool_prefix"; then
7689 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7690 set dummy ${ac_tool_prefix}mt; ac_word=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7692 $as_echo_n "checking
for $ac_word...
" >&6; }
7693 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7694 $as_echo_n "(cached
) " >&6
7696 if test -n "$MANIFEST_TOOL"; then
7697 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703 test -z "$as_dir" && as_dir=.
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7706 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7716 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7717 if test -n "$MANIFEST_TOOL"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7719 $as_echo "$MANIFEST_TOOL" >&6; }
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7722 $as_echo "no
" >&6; }
7727 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7728 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7729 # Extract the first word of "mt
", so it can be a program name with args.
7730 set dummy mt; ac_word=$2
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7732 $as_echo_n "checking
for $ac_word...
" >&6; }
7733 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7734 $as_echo_n "(cached
) " >&6
7736 if test -n "$ac_ct_MANIFEST_TOOL"; then
7737 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7743 test -z "$as_dir" && as_dir=.
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7746 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7747 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7756 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7757 if test -n "$ac_ct_MANIFEST_TOOL"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7759 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7762 $as_echo "no
" >&6; }
7765 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7768 case $cross_compiling:$ac_tool_warned in
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7771 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7772 ac_tool_warned=yes ;;
7774 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7777 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7780 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7782 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7783 if ${lt_cv_path_mainfest_tool+:} false; then :
7784 $as_echo_n "(cached
) " >&6
7786 lt_cv_path_mainfest_tool=no
7787 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7788 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7789 cat conftest.err >&5
7790 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7791 lt_cv_path_mainfest_tool=yes
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7796 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7797 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7807 rhapsody* | darwin*)
7808 if test -n "$ac_tool_prefix"; then
7809 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7810 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7812 $as_echo_n "checking
for $ac_word...
" >&6; }
7813 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7814 $as_echo_n "(cached
) " >&6
7816 if test -n "$DSYMUTIL"; then
7817 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 test -z "$as_dir" && as_dir=.
7824 for ac_exec_ext in '' $ac_executable_extensions; do
7825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7826 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7836 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7837 if test -n "$DSYMUTIL"; then
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7839 $as_echo "$DSYMUTIL" >&6; }
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7842 $as_echo "no
" >&6; }
7847 if test -z "$ac_cv_prog_DSYMUTIL"; then
7848 ac_ct_DSYMUTIL=$DSYMUTIL
7849 # Extract the first word of "dsymutil
", so it can be a program name with args.
7850 set dummy dsymutil; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7852 $as_echo_n "checking
for $ac_word...
" >&6; }
7853 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7854 $as_echo_n "(cached
) " >&6
7856 if test -n "$ac_ct_DSYMUTIL"; then
7857 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 test -z "$as_dir" && as_dir=.
7864 for ac_exec_ext in '' $ac_executable_extensions; do
7865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7866 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7876 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7877 if test -n "$ac_ct_DSYMUTIL"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7879 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7882 $as_echo "no
" >&6; }
7885 if test "x
$ac_ct_DSYMUTIL" = x; then
7888 case $cross_compiling:$ac_tool_warned in
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7891 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7892 ac_tool_warned=yes ;;
7894 DSYMUTIL=$ac_ct_DSYMUTIL
7897 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7900 if test -n "$ac_tool_prefix"; then
7901 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7902 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7904 $as_echo_n "checking
for $ac_word...
" >&6; }
7905 if ${ac_cv_prog_NMEDIT+:} false; then :
7906 $as_echo_n "(cached
) " >&6
7908 if test -n "$NMEDIT"; then
7909 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7928 NMEDIT=$ac_cv_prog_NMEDIT
7929 if test -n "$NMEDIT"; then
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7931 $as_echo "$NMEDIT" >&6; }
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7934 $as_echo "no
" >&6; }
7939 if test -z "$ac_cv_prog_NMEDIT"; then
7940 ac_ct_NMEDIT=$NMEDIT
7941 # Extract the first word of "nmedit
", so it can be a program name with args.
7942 set dummy nmedit; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7944 $as_echo_n "checking
for $ac_word...
" >&6; }
7945 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7946 $as_echo_n "(cached
) " >&6
7948 if test -n "$ac_ct_NMEDIT"; then
7949 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7968 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7969 if test -n "$ac_ct_NMEDIT"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7971 $as_echo "$ac_ct_NMEDIT" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7974 $as_echo "no
" >&6; }
7977 if test "x
$ac_ct_NMEDIT" = x; then
7980 case $cross_compiling:$ac_tool_warned in
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7983 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7984 ac_tool_warned=yes ;;
7986 NMEDIT=$ac_ct_NMEDIT
7989 NMEDIT="$ac_cv_prog_NMEDIT"
7992 if test -n "$ac_tool_prefix"; then
7993 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7994 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7996 $as_echo_n "checking
for $ac_word...
" >&6; }
7997 if ${ac_cv_prog_LIPO+:} false; then :
7998 $as_echo_n "(cached
) " >&6
8000 if test -n "$LIPO"; then
8001 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 test -z "$as_dir" && as_dir=.
8008 for ac_exec_ext in '' $ac_executable_extensions; do
8009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8010 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8020 LIPO=$ac_cv_prog_LIPO
8021 if test -n "$LIPO"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8023 $as_echo "$LIPO" >&6; }
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8026 $as_echo "no
" >&6; }
8031 if test -z "$ac_cv_prog_LIPO"; then
8033 # Extract the first word of "lipo
", so it can be a program name with args.
8034 set dummy lipo; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8036 $as_echo_n "checking
for $ac_word...
" >&6; }
8037 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8038 $as_echo_n "(cached
) " >&6
8040 if test -n "$ac_ct_LIPO"; then
8041 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_ac_ct_LIPO="lipo
"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8060 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8061 if test -n "$ac_ct_LIPO"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8063 $as_echo "$ac_ct_LIPO" >&6; }
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8066 $as_echo "no
" >&6; }
8069 if test "x
$ac_ct_LIPO" = x; then
8072 case $cross_compiling:$ac_tool_warned in
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8075 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8076 ac_tool_warned=yes ;;
8081 LIPO="$ac_cv_prog_LIPO"
8084 if test -n "$ac_tool_prefix"; then
8085 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8086 set dummy ${ac_tool_prefix}otool; ac_word=$2
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8088 $as_echo_n "checking
for $ac_word...
" >&6; }
8089 if ${ac_cv_prog_OTOOL+:} false; then :
8090 $as_echo_n "(cached
) " >&6
8092 if test -n "$OTOOL"; then
8093 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8112 OTOOL=$ac_cv_prog_OTOOL
8113 if test -n "$OTOOL"; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8115 $as_echo "$OTOOL" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8118 $as_echo "no
" >&6; }
8123 if test -z "$ac_cv_prog_OTOOL"; then
8125 # Extract the first word of "otool
", so it can be a program name with args.
8126 set dummy otool; ac_word=$2
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8128 $as_echo_n "checking
for $ac_word...
" >&6; }
8129 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8130 $as_echo_n "(cached
) " >&6
8132 if test -n "$ac_ct_OTOOL"; then
8133 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8142 ac_cv_prog_ac_ct_OTOOL="otool
"
8143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8152 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8153 if test -n "$ac_ct_OTOOL"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8155 $as_echo "$ac_ct_OTOOL" >&6; }
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8158 $as_echo "no
" >&6; }
8161 if test "x
$ac_ct_OTOOL" = x; then
8164 case $cross_compiling:$ac_tool_warned in
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8167 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8168 ac_tool_warned=yes ;;
8173 OTOOL="$ac_cv_prog_OTOOL"
8176 if test -n "$ac_tool_prefix"; then
8177 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8178 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8180 $as_echo_n "checking
for $ac_word...
" >&6; }
8181 if ${ac_cv_prog_OTOOL64+:} false; then :
8182 $as_echo_n "(cached
) " >&6
8184 if test -n "$OTOOL64"; then
8185 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8191 test -z "$as_dir" && as_dir=.
8192 for ac_exec_ext in '' $ac_executable_extensions; do
8193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8194 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8204 OTOOL64=$ac_cv_prog_OTOOL64
8205 if test -n "$OTOOL64"; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8207 $as_echo "$OTOOL64" >&6; }
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8210 $as_echo "no
" >&6; }
8215 if test -z "$ac_cv_prog_OTOOL64"; then
8216 ac_ct_OTOOL64=$OTOOL64
8217 # Extract the first word of "otool64
", so it can be a program name with args.
8218 set dummy otool64; ac_word=$2
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8220 $as_echo_n "checking
for $ac_word...
" >&6; }
8221 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8222 $as_echo_n "(cached
) " >&6
8224 if test -n "$ac_ct_OTOOL64"; then
8225 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8231 test -z "$as_dir" && as_dir=.
8232 for ac_exec_ext in '' $ac_executable_extensions; do
8233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8234 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8244 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8245 if test -n "$ac_ct_OTOOL64"; then
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8247 $as_echo "$ac_ct_OTOOL64" >&6; }
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8250 $as_echo "no
" >&6; }
8253 if test "x
$ac_ct_OTOOL64" = x; then
8256 case $cross_compiling:$ac_tool_warned in
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8259 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8260 ac_tool_warned=yes ;;
8262 OTOOL64=$ac_ct_OTOOL64
8265 OTOOL64="$ac_cv_prog_OTOOL64"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8295 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8296 if ${lt_cv_apple_cc_single_mod+:} false; then :
8297 $as_echo_n "(cached
) " >&6
8299 lt_cv_apple_cc_single_mod=no
8300 if test -z "${LT_MULTI_MODULE}"; then
8301 # By default we will add the -single_module flag. You can override
8302 # by either setting the environment variable LT_MULTI_MODULE
8303 # non-empty at configure time, or by adding -multi_module to the
8305 rm -rf libconftest.dylib*
8306 echo "int foo
(void
){return 1;}" > conftest.c
8307 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8308 -dynamiclib -Wl,-single_module conftest.c
" >&5
8309 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8310 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8312 # If there is a non-empty error log, and "single_module
"
8313 # appears in it, assume the flag caused a linker warning
8314 if test -s conftest.err && $GREP single_module conftest.err; then
8315 cat conftest.err >&5
8316 # Otherwise, if the output was created with a 0 exit code from
8317 # the compiler, it worked.
8318 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8319 lt_cv_apple_cc_single_mod=yes
8321 cat conftest.err >&5
8323 rm -rf libconftest.dylib*
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8328 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8331 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8332 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8333 $as_echo_n "(cached
) " >&6
8335 lt_cv_ld_exported_symbols_list=no
8336 save_LDFLAGS=$LDFLAGS
8337 echo "_main
" > conftest.sym
8338 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8350 if ac_fn_c_try_link "$LINENO"; then :
8351 lt_cv_ld_exported_symbols_list=yes
8353 lt_cv_ld_exported_symbols_list=no
8355 rm -f core conftest.err conftest.$ac_objext \
8356 conftest$ac_exeext conftest.$ac_ext
8357 LDFLAGS="$save_LDFLAGS"
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8361 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8364 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8365 if ${lt_cv_ld_force_load+:} false; then :
8366 $as_echo_n "(cached
) " >&6
8368 lt_cv_ld_force_load=no
8369 cat > conftest.c << _LT_EOF
8370 int forced_loaded() { return 2;}
8372 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8373 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8374 echo "$AR cru libconftest.a conftest.o
" >&5
8375 $AR cru libconftest.a conftest.o 2>&5
8376 echo "$RANLIB libconftest.a
" >&5
8377 $RANLIB libconftest.a 2>&5
8378 cat > conftest.c << _LT_EOF
8379 int main() { return 0;}
8381 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8382 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8384 if test -s conftest.err && $GREP force_load conftest.err; then
8385 cat conftest.err >&5
8386 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8387 lt_cv_ld_force_load=yes
8389 cat conftest.err >&5
8391 rm -f conftest.err libconftest.a conftest conftest.c
8392 rm -rf conftest.dSYM
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8396 $as_echo "$lt_cv_ld_force_load" >&6; }
8398 rhapsody* | darwin1.[012])
8399 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8401 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8402 darwin*) # darwin 5.x on
8403 # if running on 10.5 or later, the deployment target defaults
8404 # to the OS version, if on x86, and 10.4, the deployment
8405 # target defaults to 10.4. Don't you love it?
8406 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8407 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8408 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8410 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8412 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8416 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8417 _lt_dar_single_mod='$single_module'
8419 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8420 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8422 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8424 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8425 _lt_dsymutil='~$DSYMUTIL $lib || :'
8433 ac_cpp='$CPP $CPPFLAGS'
8434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8438 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8439 # On Suns, sometimes $CPP names a directory.
8440 if test -n "$CPP" && test -d "$CPP"; then
8443 if test -z "$CPP"; then
8444 if ${ac_cv_prog_CPP+:} false; then :
8445 $as_echo_n "(cached
) " >&6
8447 # Double quotes because CPP needs to be expanded
8448 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8451 for ac_c_preproc_warn_flag in '' yes
8453 # Use a header file that comes with gcc, so configuring glibc
8454 # with a fresh cross-compiler works.
8455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8456 # <limits.h> exists even on freestanding compilers.
8457 # On the NeXT, cc -E runs the code through the compiler's parser,
8458 # not just through cpp. "Syntax error
" is here to catch this case.
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8462 # include <limits.h>
8464 # include <assert.h>
8468 if ac_fn_c_try_cpp "$LINENO"; then :
8471 # Broken: fails on valid input.
8474 rm -f conftest.err conftest.i conftest.$ac_ext
8476 # OK, works on sane cases. Now check whether nonexistent headers
8477 # can be detected and how.
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 #include <ac_nonexistent.h>
8482 if ac_fn_c_try_cpp "$LINENO"; then :
8483 # Broken: success on invalid input.
8486 # Passes both tests.
8490 rm -f conftest.err conftest.i conftest.$ac_ext
8493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8494 rm -f conftest.i conftest.err conftest.$ac_ext
8495 if $ac_preproc_ok; then :
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8508 $as_echo "$CPP" >&6; }
8510 for ac_c_preproc_warn_flag in '' yes
8512 # Use a header file that comes with gcc, so configuring glibc
8513 # with a fresh cross-compiler works.
8514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8515 # <limits.h> exists even on freestanding compilers.
8516 # On the NeXT, cc -E runs the code through the compiler's parser,
8517 # not just through cpp. "Syntax error
" is here to catch this case.
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8521 # include <limits.h>
8523 # include <assert.h>
8527 if ac_fn_c_try_cpp "$LINENO"; then :
8530 # Broken: fails on valid input.
8533 rm -f conftest.err conftest.i conftest.$ac_ext
8535 # OK, works on sane cases. Now check whether nonexistent headers
8536 # can be detected and how.
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 #include <ac_nonexistent.h>
8541 if ac_fn_c_try_cpp "$LINENO"; then :
8542 # Broken: success on invalid input.
8545 # Passes both tests.
8549 rm -f conftest.err conftest.i conftest.$ac_ext
8552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8553 rm -f conftest.i conftest.err conftest.$ac_ext
8554 if $ac_preproc_ok; then :
8557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8559 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8560 See \`config.log' for more details
" "$LINENO" 5; }
8564 ac_cpp='$CPP $CPPFLAGS'
8565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8571 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8572 if ${ac_cv_header_stdc+:} false; then :
8573 $as_echo_n "(cached
) " >&6
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8590 if ac_fn_c_try_compile "$LINENO"; then :
8591 ac_cv_header_stdc=yes
8593 ac_cv_header_stdc=no
8595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8597 if test $ac_cv_header_stdc = yes; then
8598 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8604 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8605 $EGREP "memchr
" >/dev/null 2>&1; then :
8608 ac_cv_header_stdc=no
8614 if test $ac_cv_header_stdc = yes; then
8615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8621 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8622 $EGREP "free
" >/dev/null 2>&1; then :
8625 ac_cv_header_stdc=no
8631 if test $ac_cv_header_stdc = yes; then
8632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8633 if test "$cross_compiling" = yes; then :
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8640 #if ((' ' & 0x0FF) == 0x020)
8641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8644 # define ISLOWER(c) \
8645 (('a' <= (c) && (c) <= 'i') \
8646 || ('j' <= (c) && (c) <= 'r') \
8647 || ('s' <= (c) && (c) <= 'z'))
8648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8656 for (i = 0; i < 256; i++)
8657 if (XOR (islower (i), ISLOWER (i))
8658 || toupper (i) != TOUPPER (i))
8663 if ac_fn_c_try_run "$LINENO"; then :
8666 ac_cv_header_stdc=no
8668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8669 conftest.$ac_objext conftest.beam conftest.$ac_ext
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8675 $as_echo "$ac_cv_header_stdc" >&6; }
8676 if test $ac_cv_header_stdc = yes; then
8678 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8682 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8683 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8684 inttypes.h stdint.h unistd.h
8686 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8687 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8689 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8690 cat >>confdefs.h
<<_ACEOF
8691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8699 for ac_header
in dlfcn.h
8701 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8703 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8704 cat >>confdefs.h
<<_ACEOF
8705 #define HAVE_DLFCN_H 1
8715 func_stripname_cnf
()
8718 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8719 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8721 } # func_stripname_cnf
8728 # Check whether --enable-static was given.
8729 if test "${enable_static+set}" = set; then :
8730 enableval
=$enable_static; p
=${PACKAGE-default}
8732 yes) enable_static
=yes ;;
8733 no
) enable_static
=no
;;
8736 # Look at the argument we got. We use all the common list separators.
8737 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8738 for pkg
in $enableval; do
8740 if test "X$pkg" = "X$p"; then
8766 # Check whether --enable-shared was given.
8767 if test "${enable_shared+set}" = set; then :
8768 enableval
=$enable_shared; p
=${PACKAGE-default}
8770 yes) enable_shared
=yes ;;
8771 no
) enable_shared
=no
;;
8774 # Look at the argument we got. We use all the common list separators.
8775 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8776 for pkg
in $enableval; do
8778 if test "X$pkg" = "X$p"; then
8799 # Check whether --with-pic was given.
8800 if test "${with_pic+set}" = set; then :
8801 withval
=$with_pic; lt_p
=${PACKAGE-default}
8803 yes|no
) pic_mode
=$withval ;;
8806 # Look at the argument we got. We use all the common list separators.
8807 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8808 for lt_pkg
in $withval; do
8810 if test "X$lt_pkg" = "X$lt_p"; then
8822 test -z "$pic_mode" && pic_mode
=default
8830 # Check whether --enable-fast-install was given.
8831 if test "${enable_fast_install+set}" = set; then :
8832 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8834 yes) enable_fast_install
=yes ;;
8835 no
) enable_fast_install
=no
;;
8837 enable_fast_install
=no
8838 # Look at the argument we got. We use all the common list separators.
8839 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8840 for pkg
in $enableval; do
8842 if test "X$pkg" = "X$p"; then
8843 enable_fast_install
=yes
8850 enable_fast_install
=yes
8863 # This can be used to rebuild libtool when needed
8864 LIBTOOL_DEPS
="$ltmain"
8866 # Always use our own libtool.
8867 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8898 test -z "$LN_S" && LN_S
="ln -s"
8913 if test -n "${ZSH_VERSION+set}" ; then
8914 setopt NO_GLOB_SUBST
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8918 $as_echo_n "checking for objdir... " >&6; }
8919 if ${lt_cv_objdir+:} false
; then :
8920 $as_echo_n "(cached) " >&6
8922 rm -f .libs
2>/dev
/null
8923 mkdir .libs
2>/dev
/null
8924 if test -d .libs
; then
8927 # MS-DOS does not allow filenames that begin with a dot.
8930 rmdir .libs
2>/dev
/null
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8933 $as_echo "$lt_cv_objdir" >&6; }
8934 objdir
=$lt_cv_objdir
8940 cat >>confdefs.h
<<_ACEOF
8941 #define LT_OBJDIR "$lt_cv_objdir/"
8949 # AIX sometimes has problems with the GCC collect2 program. For some
8950 # reason, if we set the COLLECT_NAMES environment variable, the problems
8951 # vanish in a puff of smoke.
8952 if test "X${COLLECT_NAMES+set}" != Xset
; then
8954 export COLLECT_NAMES
8961 can_build_shared
=yes
8963 # All known linkers require a `.a' archive for static linking (except MSVC,
8964 # which needs '.lib').
8967 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8970 old_CFLAGS
="$CFLAGS"
8972 # Set sane defaults for various variables
8973 test -z "$CC" && CC
=cc
8974 test -z "$LTCC" && LTCC
=$CC
8975 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8976 test -z "$LD" && LD
=ld
8977 test -z "$ac_objext" && ac_objext
=o
8979 for cc_temp
in $compiler""; do
8981 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8982 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8987 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8990 # Only perform the check for file, if the check method requires it
8991 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8992 case $deplibs_check_method in
8994 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8996 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8997 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8998 $as_echo_n "(cached) " >&6
9002 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9005 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9006 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9007 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9008 for ac_dir
in $ac_dummy; do
9010 test -z "$ac_dir" && ac_dir
=.
9011 if test -f $ac_dir/${ac_tool_prefix}file; then
9012 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9013 if test -n "$file_magic_test_file"; then
9014 case $deplibs_check_method in
9016 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9017 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9018 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9019 $EGREP "$file_magic_regex" > /dev
/null
; then
9024 *** Warning: the command libtool uses to detect shared libraries,
9025 *** $file_magic_cmd, produces output that libtool cannot recognize.
9026 *** The result is that libtool may fail to recognize shared libraries
9027 *** as such. This will affect the creation of libtool libraries that
9028 *** depend on shared libraries, but programs linked with such libtool
9029 *** libraries will work regardless of this problem. Nevertheless, you
9030 *** may want to report the problem to your system manager and/or to
9031 *** bug-libtool@gnu.org
9041 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9046 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9047 if test -n "$MAGIC_CMD"; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9049 $as_echo "$MAGIC_CMD" >&6; }
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9052 $as_echo "no" >&6; }
9059 if test -z "$lt_cv_path_MAGIC_CMD"; then
9060 if test -n "$ac_tool_prefix"; then
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9062 $as_echo_n "checking for file... " >&6; }
9063 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9064 $as_echo_n "(cached) " >&6
9068 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9071 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9072 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9073 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9074 for ac_dir
in $ac_dummy; do
9076 test -z "$ac_dir" && ac_dir
=.
9077 if test -f $ac_dir/file; then
9078 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9079 if test -n "$file_magic_test_file"; then
9080 case $deplibs_check_method in
9082 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9083 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9084 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9085 $EGREP "$file_magic_regex" > /dev
/null
; then
9090 *** Warning: the command libtool uses to detect shared libraries,
9091 *** $file_magic_cmd, produces output that libtool cannot recognize.
9092 *** The result is that libtool may fail to recognize shared libraries
9093 *** as such. This will affect the creation of libtool libraries that
9094 *** depend on shared libraries, but programs linked with such libtool
9095 *** libraries will work regardless of this problem. Nevertheless, you
9096 *** may want to report the problem to your system manager and/or to
9097 *** bug-libtool@gnu.org
9107 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9112 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9113 if test -n "$MAGIC_CMD"; then
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9115 $as_echo "$MAGIC_CMD" >&6; }
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9118 $as_echo "no" >&6; }
9131 # Use C for the default configuration in the libtool script
9135 ac_cpp
='$CPP $CPPFLAGS'
9136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9141 # Source file extension for C test sources.
9144 # Object file extension for compiled C test sources.
9148 # Code to be used in simple compile tests
9149 lt_simple_compile_test_code
="int some_variable = 0;"
9151 # Code to be used in simple link tests
9152 lt_simple_link_test_code
='int main(){return(0);}'
9160 # If no C compiler was specified, use CC.
9163 # If no C compiler flags were specified, use CFLAGS.
9164 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9166 # Allow CC to be a program name with arguments.
9169 # Save the default compiler, since it gets overwritten when the other
9170 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9171 compiler_DEFAULT
=$CC
9173 # save warnings/boilerplate of simple test code
9174 ac_outfile
=conftest.
$ac_objext
9175 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9176 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9177 _lt_compiler_boilerplate
=`cat conftest.err`
9180 ac_outfile
=conftest.
$ac_objext
9181 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9182 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9183 _lt_linker_boilerplate
=`cat conftest.err`
9188 ## There is no encapsulation within the following macros, do not change
9189 ## the running order or otherwise move them around unless you know exactly
9190 ## what you are doing...
9191 if test -n "$compiler"; then
9193 lt_prog_compiler_no_builtin_flag
=
9195 if test "$GCC" = yes; then
9196 case $cc_basename in
9198 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9200 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9204 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9205 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9206 $as_echo_n "(cached) " >&6
9208 lt_cv_prog_compiler_rtti_exceptions
=no
9209 ac_outfile
=conftest.
$ac_objext
9210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9211 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9212 # Insert the option either (1) after the last *FLAGS variable, or
9213 # (2) before a word containing "conftest.", or (3) at the end.
9214 # Note that $ac_compile itself does not contain backslashes and begins
9215 # with a dollar sign (not a hyphen), so the echo should work correctly.
9216 # The option is referenced via a variable to avoid confusing sed.
9217 lt_compile
=`echo "$ac_compile" | $SED \
9218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9220 -e 's:$: $lt_compiler_flag:'`
9221 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9222 (eval "$lt_compile" 2>conftest.err
)
9224 cat conftest.err
>&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 if (exit $ac_status) && test -s "$ac_outfile"; then
9227 # The compiler can only warn and ignore the option if not recognized
9228 # So say no if there are warnings other than the usual output.
9229 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9230 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9231 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9232 lt_cv_prog_compiler_rtti_exceptions
=yes
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9239 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9241 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9242 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9254 lt_prog_compiler_wl
=
9255 lt_prog_compiler_pic
=
9256 lt_prog_compiler_static
=
9259 if test "$GCC" = yes; then
9260 lt_prog_compiler_wl
='-Wl,'
9261 lt_prog_compiler_static
='-static'
9265 # All AIX code is PIC.
9266 if test "$host_cpu" = ia64
; then
9267 # AIX 5 now supports IA64 processor
9268 lt_prog_compiler_static
='-Bstatic'
9275 # see comment about AmigaOS4 .so support
9276 lt_prog_compiler_pic
='-fPIC'
9279 # FIXME: we need at least 68020 code to build shared libraries, but
9280 # adding the `-m68020' flag to GCC prevents building anything better,
9282 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9287 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9288 # PIC is the default for these OSes.
9291 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9292 # This hack is so that the source file can tell whether it is being
9293 # built for inclusion in a dll (and should export symbols for example).
9294 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9295 # (--disable-auto-import) libraries
9296 lt_prog_compiler_pic
='-DDLL_EXPORT'
9299 darwin
* | rhapsody
*)
9300 # PIC is the default on this platform
9301 # Common symbols not allowed in MH_DYLIB files
9302 lt_prog_compiler_pic
='-fno-common'
9306 # PIC is the default for Haiku.
9307 # The "-static" flag exists, but is broken.
9308 lt_prog_compiler_static
=
9312 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9313 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9314 # sets the default TLS model and affects inlining.
9320 lt_prog_compiler_pic
='-fPIC'
9326 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9327 # Instead, we relocate shared libraries at runtime.
9331 # Just because we use GCC doesn't mean we suddenly get shared libraries
9332 # on systems that don't support them.
9333 lt_prog_compiler_can_build_shared
=no
9338 # QNX uses GNU C++, but need to define -shared option too, otherwise
9340 lt_prog_compiler_pic
='-fPIC -shared'
9344 if test -d /usr
/nec
; then
9345 lt_prog_compiler_pic
=-Kconform_pic
9350 lt_prog_compiler_pic
='-fPIC'
9354 case $cc_basename in
9355 nvcc
*) # Cuda Compiler Driver 2.2
9356 lt_prog_compiler_wl
='-Xlinker '
9357 if test -n "$lt_prog_compiler_pic"; then
9358 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9363 # PORTME Check for flag to pass linker flags through the system compiler.
9366 lt_prog_compiler_wl
='-Wl,'
9367 if test "$host_cpu" = ia64
; then
9368 # AIX 5 now supports IA64 processor
9369 lt_prog_compiler_static
='-Bstatic'
9371 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9375 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9376 # This hack is so that the source file can tell whether it is being
9377 # built for inclusion in a dll (and should export symbols for example).
9378 lt_prog_compiler_pic
='-DDLL_EXPORT'
9381 hpux9
* | hpux10
* | hpux11
*)
9382 lt_prog_compiler_wl
='-Wl,'
9383 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9390 lt_prog_compiler_pic
='+Z'
9393 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9394 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9397 irix5
* | irix6
* | nonstopux
*)
9398 lt_prog_compiler_wl
='-Wl,'
9399 # PIC (with -KPIC) is the default.
9400 lt_prog_compiler_static
='-non_shared'
9403 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9404 case $cc_basename in
9405 # old Intel for x86_64 which still supported -KPIC.
9407 lt_prog_compiler_wl
='-Wl,'
9408 lt_prog_compiler_pic
='-KPIC'
9409 lt_prog_compiler_static
='-static'
9411 # icc used to be incompatible with GCC.
9412 # ICC 10 doesn't accept -KPIC any more.
9414 lt_prog_compiler_wl
='-Wl,'
9415 lt_prog_compiler_pic
='-fPIC'
9416 lt_prog_compiler_static
='-static'
9418 # Lahey Fortran 8.1.
9420 lt_prog_compiler_wl
='-Wl,'
9421 lt_prog_compiler_pic
='--shared'
9422 lt_prog_compiler_static
='--static'
9425 # NAG Fortran compiler
9426 lt_prog_compiler_wl
='-Wl,-Wl,,'
9427 lt_prog_compiler_pic
='-PIC'
9428 lt_prog_compiler_static
='-Bstatic'
9430 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9431 # Portland Group compilers (*not* the Pentium gcc compiler,
9432 # which looks to be a dead project)
9433 lt_prog_compiler_wl
='-Wl,'
9434 lt_prog_compiler_pic
='-fpic'
9435 lt_prog_compiler_static
='-Bstatic'
9438 lt_prog_compiler_wl
='-Wl,'
9439 # All Alpha code is PIC.
9440 lt_prog_compiler_static
='-non_shared'
9442 xl
* | bgxl
* | bgf
* | mpixl
*)
9443 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9444 lt_prog_compiler_wl
='-Wl,'
9445 lt_prog_compiler_pic
='-qpic'
9446 lt_prog_compiler_static
='-qstaticlink'
9449 case `$CC -V 2>&1 | sed 5q` in
9450 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9451 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9452 lt_prog_compiler_pic
='-KPIC'
9453 lt_prog_compiler_static
='-Bstatic'
9454 lt_prog_compiler_wl
=''
9456 *Sun\ F
* | *Sun
*Fortran
*)
9457 lt_prog_compiler_pic
='-KPIC'
9458 lt_prog_compiler_static
='-Bstatic'
9459 lt_prog_compiler_wl
='-Qoption ld '
9463 lt_prog_compiler_pic
='-KPIC'
9464 lt_prog_compiler_static
='-Bstatic'
9465 lt_prog_compiler_wl
='-Wl,'
9467 *Intel
*\
[CF
]*Compiler
*)
9468 lt_prog_compiler_wl
='-Wl,'
9469 lt_prog_compiler_pic
='-fPIC'
9470 lt_prog_compiler_static
='-static'
9473 lt_prog_compiler_wl
='-Wl,'
9474 lt_prog_compiler_pic
='-fpic'
9475 lt_prog_compiler_static
='-Bstatic'
9483 lt_prog_compiler_pic
='-KPIC'
9484 lt_prog_compiler_static
='-Bstatic'
9488 # QNX uses GNU C++, but need to define -shared option too, otherwise
9490 lt_prog_compiler_pic
='-fPIC -shared'
9493 osf3
* | osf4
* | osf5
*)
9494 lt_prog_compiler_wl
='-Wl,'
9495 # All OSF/1 code is PIC.
9496 lt_prog_compiler_static
='-non_shared'
9500 lt_prog_compiler_static
='-non_shared'
9504 lt_prog_compiler_pic
='-KPIC'
9505 lt_prog_compiler_static
='-Bstatic'
9506 case $cc_basename in
9507 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9508 lt_prog_compiler_wl
='-Qoption ld ';;
9510 lt_prog_compiler_wl
='-Wl,';;
9515 lt_prog_compiler_wl
='-Qoption ld '
9516 lt_prog_compiler_pic
='-PIC'
9517 lt_prog_compiler_static
='-Bstatic'
9520 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9521 lt_prog_compiler_wl
='-Wl,'
9522 lt_prog_compiler_pic
='-KPIC'
9523 lt_prog_compiler_static
='-Bstatic'
9527 if test -d /usr
/nec
;then
9528 lt_prog_compiler_pic
='-Kconform_pic'
9529 lt_prog_compiler_static
='-Bstatic'
9533 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9534 lt_prog_compiler_wl
='-Wl,'
9535 lt_prog_compiler_pic
='-KPIC'
9536 lt_prog_compiler_static
='-Bstatic'
9540 lt_prog_compiler_wl
='-Wl,'
9541 lt_prog_compiler_can_build_shared
=no
9545 lt_prog_compiler_pic
='-pic'
9546 lt_prog_compiler_static
='-Bstatic'
9550 lt_prog_compiler_can_build_shared
=no
9556 # For platforms which do not support PIC, -DPIC is meaningless:
9558 lt_prog_compiler_pic
=
9561 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9566 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9567 if ${lt_cv_prog_compiler_pic+:} false
; then :
9568 $as_echo_n "(cached) " >&6
9570 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9573 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9574 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9577 # Check to make sure the PIC flag actually works.
9579 if test -n "$lt_prog_compiler_pic"; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9581 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9582 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9583 $as_echo_n "(cached) " >&6
9585 lt_cv_prog_compiler_pic_works
=no
9586 ac_outfile
=conftest.
$ac_objext
9587 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9588 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9589 # Insert the option either (1) after the last *FLAGS variable, or
9590 # (2) before a word containing "conftest.", or (3) at the end.
9591 # Note that $ac_compile itself does not contain backslashes and begins
9592 # with a dollar sign (not a hyphen), so the echo should work correctly.
9593 # The option is referenced via a variable to avoid confusing sed.
9594 lt_compile
=`echo "$ac_compile" | $SED \
9595 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9597 -e 's:$: $lt_compiler_flag:'`
9598 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9599 (eval "$lt_compile" 2>conftest.err
)
9601 cat conftest.err
>&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 if (exit $ac_status) && test -s "$ac_outfile"; then
9604 # The compiler can only warn and ignore the option if not recognized
9605 # So say no if there are warnings other than the usual output.
9606 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9607 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9608 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9609 lt_cv_prog_compiler_pic_works
=yes
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9616 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9618 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9619 case $lt_prog_compiler_pic in
9621 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9624 lt_prog_compiler_pic
=
9625 lt_prog_compiler_can_build_shared
=no
9641 # Check to make sure the static flag actually works.
9643 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9645 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9646 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9647 $as_echo_n "(cached) " >&6
9649 lt_cv_prog_compiler_static_works
=no
9650 save_LDFLAGS
="$LDFLAGS"
9651 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9652 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9653 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9654 # The linker can only warn and ignore the option if not recognized
9655 # So say no if there are warnings
9656 if test -s conftest.err
; then
9657 # Append any errors to the config.log.
9658 cat conftest.err
1>&5
9659 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9660 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9661 if diff conftest.exp conftest.er2
>/dev
/null
; then
9662 lt_cv_prog_compiler_static_works
=yes
9665 lt_cv_prog_compiler_static_works
=yes
9669 LDFLAGS
="$save_LDFLAGS"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9673 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9675 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9678 lt_prog_compiler_static
=
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9688 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9689 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9690 $as_echo_n "(cached) " >&6
9692 lt_cv_prog_compiler_c_o
=no
9693 $RM -r conftest
2>/dev
/null
9697 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9699 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9700 # Insert the option either (1) after the last *FLAGS variable, or
9701 # (2) before a word containing "conftest.", or (3) at the end.
9702 # Note that $ac_compile itself does not contain backslashes and begins
9703 # with a dollar sign (not a hyphen), so the echo should work correctly.
9704 lt_compile
=`echo "$ac_compile" | $SED \
9705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9707 -e 's:$: $lt_compiler_flag:'`
9708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9709 (eval "$lt_compile" 2>out
/conftest.err
)
9711 cat out
/conftest.err
>&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9715 # The compiler can only warn and ignore the option if not recognized
9716 # So say no if there are warnings
9717 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9718 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9719 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9720 lt_cv_prog_compiler_c_o
=yes
9725 # SGI C++ compiler will create directory out/ii_files/ for
9726 # template instantiation
9727 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9728 $RM out
/* && rmdir out
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9735 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9743 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9744 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9745 $as_echo_n "(cached) " >&6
9747 lt_cv_prog_compiler_c_o
=no
9748 $RM -r conftest
2>/dev
/null
9752 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9754 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9755 # Insert the option either (1) after the last *FLAGS variable, or
9756 # (2) before a word containing "conftest.", or (3) at the end.
9757 # Note that $ac_compile itself does not contain backslashes and begins
9758 # with a dollar sign (not a hyphen), so the echo should work correctly.
9759 lt_compile
=`echo "$ac_compile" | $SED \
9760 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9761 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9762 -e 's:$: $lt_compiler_flag:'`
9763 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9764 (eval "$lt_compile" 2>out
/conftest.err
)
9766 cat out
/conftest.err
>&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9770 # The compiler can only warn and ignore the option if not recognized
9771 # So say no if there are warnings
9772 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9773 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9774 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9775 lt_cv_prog_compiler_c_o
=yes
9780 # SGI C++ compiler will create directory out/ii_files/ for
9781 # template instantiation
9782 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9783 $RM out
/* && rmdir out
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9790 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9795 hard_links
="nottested"
9796 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9797 # do not overwrite the value of need_locks provided by the user
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9799 $as_echo_n "checking if we can lock with hard links... " >&6; }
9802 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9804 ln conftest.a conftest.b
2>&5 || hard_links
=no
9805 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9807 $as_echo "$hard_links" >&6; }
9808 if test "$hard_links" = no
; then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9810 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9823 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9826 allow_undefined_flag
=
9827 always_export_symbols
=no
9829 archive_expsym_cmds
=
9830 compiler_needs_object
=no
9831 enable_shared_with_static_runtimes
=no
9832 export_dynamic_flag_spec
=
9833 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9834 hardcode_automatic
=no
9836 hardcode_direct_absolute
=no
9837 hardcode_libdir_flag_spec
=
9838 hardcode_libdir_separator
=
9840 hardcode_shlibpath_var
=unsupported
9842 link_all_deplibs
=unknown
9845 old_archive_from_new_cmds
=
9846 old_archive_from_expsyms_cmds
=
9847 thread_safe_flag_spec
=
9848 whole_archive_flag_spec
=
9849 # include_expsyms should be a list of space-separated symbols to be *always*
9850 # included in the symbol list
9852 # exclude_expsyms can be an extended regexp of symbols to exclude
9853 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9854 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9855 # as well as any symbol that contains `d'.
9856 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9857 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9858 # platforms (ab)use it in PIC code, but their linkers get confused if
9859 # the symbol is explicitly referenced. Since portable code cannot
9860 # rely on this symbol name, it's probably fine to never include it in
9861 # preloaded symbol tables.
9862 # Exclude shared library initialization/finalization symbols.
9863 extract_expsyms_cmds
=
9866 cygwin
* | mingw
* | pw32
* | cegcc
*)
9867 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9868 # When not using gcc, we currently assume that we are using
9869 # Microsoft Visual C++.
9870 if test "$GCC" != yes; then
9875 # we just hope/assume this is gcc and not c89 (= MSVC++)
9885 # On some targets, GNU ld is compatible enough with the native linker
9886 # that we're better off using the native interface for both.
9887 lt_use_gnu_ld_interface
=no
9888 if test "$with_gnu_ld" = yes; then
9891 # The AIX port of GNU ld has always aspired to compatibility
9892 # with the native linker. However, as the warning in the GNU ld
9893 # block says, versions before 2.19.5* couldn't really create working
9894 # shared libraries, regardless of the interface used.
9895 case `$LD -v 2>&1` in
9896 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9897 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9898 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9900 lt_use_gnu_ld_interface
=yes
9905 lt_use_gnu_ld_interface
=yes
9910 if test "$lt_use_gnu_ld_interface" = yes; then
9911 # If archive_cmds runs LD, not CC, wlarc should be empty
9914 # Set some defaults for GNU ld with shared library support. These
9915 # are reset later if shared libraries are not supported. Putting them
9916 # here allows them to be overridden if necessary.
9917 runpath_var
=LD_RUN_PATH
9918 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9919 export_dynamic_flag_spec
='${wl}--export-dynamic'
9920 # ancient GNU ld didn't support --whole-archive et. al.
9921 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9922 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9924 whole_archive_flag_spec
=
9926 supports_anon_versioning
=no
9927 case `$LD -v 2>&1` in
9928 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9929 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9930 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9931 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9932 *\
2.11.
*) ;; # other 2.11 versions
9933 *) supports_anon_versioning
=yes ;;
9936 # See if GNU ld supports shared libraries.
9939 # On AIX/PPC, the GNU linker is very broken
9940 if test "$host_cpu" != ia64
; then
9944 *** Warning: the GNU linker, at least up to release 2.19, is reported
9945 *** to be unable to reliably create shared libraries on AIX.
9946 *** Therefore, libtool is disabling shared libraries support. If you
9947 *** really care for shared libraries, you may want to install binutils
9948 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9949 *** You will then need to restart the configuration process.
9958 # see comment about AmigaOS4 .so support
9959 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9960 archive_expsym_cmds
=''
9963 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)'
9964 hardcode_libdir_flag_spec
='-L$libdir'
9965 hardcode_minus_L
=yes
9971 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9972 allow_undefined_flag
=unsupported
9973 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9974 # support --undefined. This deserves some investigation. FIXME
9975 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9981 cygwin
* | mingw
* | pw32
* | cegcc
*)
9982 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9983 # as there is no search path for DLLs.
9984 hardcode_libdir_flag_spec
='-L$libdir'
9985 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9986 allow_undefined_flag
=unsupported
9987 always_export_symbols
=no
9988 enable_shared_with_static_runtimes
=yes
9989 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'
9990 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9992 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9993 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9994 # If the export-symbols file already is a .def file (1st line
9995 # is EXPORTS), use it as is; otherwise, prepend...
9996 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9997 cp $export_symbols $output_objdir/$soname.def;
9999 echo EXPORTS > $output_objdir/$soname.def;
10000 cat $export_symbols >> $output_objdir/$soname.def;
10002 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10009 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 link_all_deplibs
=yes
10015 hardcode_shlibpath_var
=no
10016 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10017 export_dynamic_flag_spec
='${wl}-E'
10018 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10019 # Instead, shared libraries are loaded at an image base (0x10000000 by
10020 # default) and relocated if they conflict, which is a slow very memory
10021 # consuming and fragmenting process. To avoid this, we pick a random,
10022 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10023 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10024 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10025 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'
10028 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10030 if test "$host_os" = linux
-dietlibc; then
10031 case $cc_basename in
10032 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10035 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10036 && test "$tmp_diet" = no
10038 tmp_addflag
=' $pic_flag'
10039 tmp_sharedflag
='-shared'
10040 case $cc_basename,$host_cpu in
10041 pgcc
*) # Portland Group C compiler
10042 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'
10043 tmp_addflag
=' $pic_flag'
10045 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10046 # Portland Group f77 and f90 compilers
10047 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'
10048 tmp_addflag
=' $pic_flag -Mnomain' ;;
10049 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10050 tmp_addflag
=' -i_dynamic' ;;
10051 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10052 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10053 ifc
* | ifort
*) # Intel Fortran compiler
10054 tmp_addflag
=' -nofor_main' ;;
10055 lf95
*) # Lahey Fortran 8.1
10056 whole_archive_flag_spec
=
10057 tmp_sharedflag
='--shared' ;;
10058 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10059 tmp_sharedflag
='-qmkshrobj'
10061 nvcc
*) # Cuda Compiler Driver 2.2
10062 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'
10063 compiler_needs_object
=yes
10066 case `$CC -V 2>&1 | sed 5q` in
10067 *Sun\ C
*) # Sun C 5.9
10068 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'
10069 compiler_needs_object
=yes
10070 tmp_sharedflag
='-G' ;;
10071 *Sun\ F
*) # Sun Fortran 8.3
10072 tmp_sharedflag
='-G' ;;
10074 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10076 if test "x$supports_anon_versioning" = xyes
; then
10077 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10078 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10079 echo "local: *; };" >> $output_objdir/$libname.ver~
10080 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10083 case $cc_basename in
10084 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10085 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10086 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10087 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10088 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10089 if test "x$supports_anon_versioning" = xyes
; then
10090 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10091 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10092 echo "local: *; };" >> $output_objdir/$libname.ver~
10093 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10103 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10104 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10107 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10108 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10113 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10117 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10118 *** create shared libraries on Solaris systems. Therefore, libtool
10119 *** is disabling shared libraries support. We urge you to upgrade GNU
10120 *** binutils to release 2.9.1 or newer. Another option is to modify
10121 *** your PATH or compiler configuration so that the native linker is
10122 *** used, and then restart.
10125 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10126 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10127 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10133 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10134 case `$LD -v 2>&1` in
10135 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10139 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10140 *** reliably create shared libraries on SCO systems. Therefore, libtool
10141 *** is disabling shared libraries support. We urge you to upgrade GNU
10142 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10143 *** your PATH or compiler configuration so that the native linker is
10144 *** used, and then restart.
10149 # For security reasons, it is highly recommended that you always
10150 # use absolute paths for naming shared libraries, and exclude the
10151 # DT_RUNPATH tag from executables and libraries. But doing so
10152 # requires that you compile everything twice, which is a pain.
10153 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10154 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10155 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10156 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10165 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10167 hardcode_direct
=yes
10168 hardcode_shlibpath_var
=no
10172 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10173 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10174 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10181 if test "$ld_shlibs" = no
; then
10183 hardcode_libdir_flag_spec
=
10184 export_dynamic_flag_spec
=
10185 whole_archive_flag_spec
=
10188 # PORTME fill in a description of your system's linker (not GNU ld)
10191 allow_undefined_flag
=unsupported
10192 always_export_symbols
=yes
10193 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'
10194 # Note: this linker hardcodes the directories in LIBPATH if there
10195 # are no directories specified by -L.
10196 hardcode_minus_L
=yes
10197 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10198 # Neither direct hardcoding nor static linking is supported with a
10200 hardcode_direct
=unsupported
10205 if test "$host_cpu" = ia64
; then
10206 # On IA64, the linker does run time linking by default, so we don't
10207 # have to do anything special.
10208 aix_use_runtimelinking
=no
10209 exp_sym_flag
='-Bexport'
10212 # If we're using GNU nm, then we don't want the "-C" option.
10213 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10214 # Also, AIX nm treats weak defined symbols like other global
10215 # defined symbols, whereas GNU nm marks them as "W".
10216 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10217 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'
10219 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'
10221 aix_use_runtimelinking
=no
10223 # Test if we are trying to use run time linking or normal
10224 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10225 # need to do runtime linking.
10226 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10227 for ld_flag
in $LDFLAGS; do
10228 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10229 aix_use_runtimelinking
=yes
10236 exp_sym_flag
='-bexport'
10237 no_entry_flag
='-bnoentry'
10240 # When large executables or shared objects are built, AIX ld can
10241 # have problems creating the table of contents. If linking a library
10242 # or program results in "error TOC overflow" add -mminimal-toc to
10243 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10244 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10247 hardcode_direct
=yes
10248 hardcode_direct_absolute
=yes
10249 hardcode_libdir_separator
=':'
10250 link_all_deplibs
=yes
10251 file_list_spec
='${wl}-f,'
10253 if test "$GCC" = yes; then
10254 case $host_os in aix4.
[012]|aix4.
[012].
*)
10255 # We only want to do this on AIX 4.2 and lower, the check
10256 # below for broken collect2 doesn't work under 4.3+
10257 collect2name
=`${CC} -print-prog-name=collect2`
10258 if test -f "$collect2name" &&
10259 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10261 # We have reworked collect2
10264 # We have old collect2
10265 hardcode_direct
=unsupported
10266 # It fails to find uninstalled libraries when the uninstalled
10267 # path is not listed in the libpath. Setting hardcode_minus_L
10268 # to unsupported forces relinking
10269 hardcode_minus_L
=yes
10270 hardcode_libdir_flag_spec
='-L$libdir'
10271 hardcode_libdir_separator
=
10275 shared_flag
='-shared'
10276 if test "$aix_use_runtimelinking" = yes; then
10277 shared_flag
="$shared_flag "'${wl}-G'
10281 if test "$host_cpu" = ia64
; then
10282 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10283 # chokes on -Wl,-G. The following line is correct:
10286 if test "$aix_use_runtimelinking" = yes; then
10287 shared_flag
='${wl}-G'
10289 shared_flag
='${wl}-bM:SRE'
10294 export_dynamic_flag_spec
='${wl}-bexpall'
10295 # It seems that -bexpall does not export symbols beginning with
10296 # underscore (_), so it is better to generate a list of symbols to export.
10297 always_export_symbols
=yes
10298 if test "$aix_use_runtimelinking" = yes; then
10299 # Warning - without using the other runtime loading flags (-brtl),
10300 # -berok will link without error, but may produce a broken library.
10301 allow_undefined_flag
='-berok'
10302 # Determine the default libpath from the value encoded in an
10303 # empty executable.
10304 if test "${lt_cv_aix_libpath+set}" = set; then
10305 aix_libpath
=$lt_cv_aix_libpath
10307 if ${lt_cv_aix_libpath_+:} false
; then :
10308 $as_echo_n "(cached) " >&6
10310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10321 if ac_fn_c_try_link
"$LINENO"; then :
10323 lt_aix_libpath_sed
='
10324 /Import File Strings/,/^$/ {
10326 s/^0 *\([^ ]*\) *$/\1/
10330 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10331 # Check for a 64-bit object if we didn't find anything.
10332 if test -z "$lt_cv_aix_libpath_"; then
10333 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10336 rm -f core conftest.err conftest.
$ac_objext \
10337 conftest
$ac_exeext conftest.
$ac_ext
10338 if test -z "$lt_cv_aix_libpath_"; then
10339 lt_cv_aix_libpath_
="/usr/lib:/lib"
10344 aix_libpath
=$lt_cv_aix_libpath_
10347 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10348 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"
10350 if test "$host_cpu" = ia64
; then
10351 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10352 allow_undefined_flag
="-z nodefs"
10353 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"
10355 # Determine the default libpath from the value encoded in an
10356 # empty executable.
10357 if test "${lt_cv_aix_libpath+set}" = set; then
10358 aix_libpath
=$lt_cv_aix_libpath
10360 if ${lt_cv_aix_libpath_+:} false
; then :
10361 $as_echo_n "(cached) " >&6
10363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10374 if ac_fn_c_try_link
"$LINENO"; then :
10376 lt_aix_libpath_sed
='
10377 /Import File Strings/,/^$/ {
10379 s/^0 *\([^ ]*\) *$/\1/
10383 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10384 # Check for a 64-bit object if we didn't find anything.
10385 if test -z "$lt_cv_aix_libpath_"; then
10386 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10389 rm -f core conftest.err conftest.
$ac_objext \
10390 conftest
$ac_exeext conftest.
$ac_ext
10391 if test -z "$lt_cv_aix_libpath_"; then
10392 lt_cv_aix_libpath_
="/usr/lib:/lib"
10397 aix_libpath
=$lt_cv_aix_libpath_
10400 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10401 # Warning - without using the other run time loading flags,
10402 # -berok will link without error, but may produce a broken library.
10403 no_undefined_flag
=' ${wl}-bernotok'
10404 allow_undefined_flag
=' ${wl}-berok'
10405 if test "$with_gnu_ld" = yes; then
10406 # We only use this code for GNU lds that support --whole-archive.
10407 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10409 # Exported symbols can be pulled into shared objects from archives
10410 whole_archive_flag_spec
='$convenience'
10412 archive_cmds_need_lc
=yes
10413 # This is similar to how AIX traditionally builds its shared libraries.
10414 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'
10422 # see comment about AmigaOS4 .so support
10423 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10424 archive_expsym_cmds
=''
10427 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)'
10428 hardcode_libdir_flag_spec
='-L$libdir'
10429 hardcode_minus_L
=yes
10435 export_dynamic_flag_spec
=-rdynamic
10438 cygwin
* | mingw
* | pw32
* | cegcc
*)
10439 # When not using gcc, we currently assume that we are using
10440 # Microsoft Visual C++.
10441 # hardcode_libdir_flag_spec is actually meaningless, as there is
10442 # no search path for DLLs.
10443 case $cc_basename in
10446 hardcode_libdir_flag_spec
=' '
10447 allow_undefined_flag
=unsupported
10448 always_export_symbols
=yes
10450 # Tell ltmain to make .lib files, not .a files.
10452 # Tell ltmain to make .dll files, not .so files.
10454 # FIXME: Setting linknames here is a bad hack.
10455 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10456 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10457 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10459 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10461 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10463 # The linker will not automatically build a static lib if we build a DLL.
10464 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10465 enable_shared_with_static_runtimes
=yes
10466 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10467 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10469 old_postinstall_cmds
='chmod 644 $oldlib'
10470 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10471 lt_tool_outputfile="@TOOL_OUTPUT@"~
10472 case $lt_outputfile in
10475 lt_outputfile="$lt_outputfile.exe"
10476 lt_tool_outputfile="$lt_tool_outputfile.exe"
10479 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10480 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10481 $RM "$lt_outputfile.manifest";
10485 # Assume MSVC wrapper
10486 hardcode_libdir_flag_spec
=' '
10487 allow_undefined_flag
=unsupported
10488 # Tell ltmain to make .lib files, not .a files.
10490 # Tell ltmain to make .dll files, not .so files.
10492 # FIXME: Setting linknames here is a bad hack.
10493 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10494 # The linker will automatically build a .lib file if we build a DLL.
10495 old_archive_from_new_cmds
='true'
10496 # FIXME: Should let the user specify the lib program.
10497 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10498 enable_shared_with_static_runtimes
=yes
10503 darwin
* | rhapsody
*)
10506 archive_cmds_need_lc
=no
10508 hardcode_automatic
=yes
10509 hardcode_shlibpath_var
=unsupported
10510 if test "$lt_cv_ld_force_load" = "yes"; then
10511 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\"`'
10514 whole_archive_flag_spec
=''
10516 link_all_deplibs
=yes
10517 allow_undefined_flag
="$_lt_dar_allow_undefined"
10518 case $cc_basename in
10519 ifort
*) _lt_dar_can_shared
=yes ;;
10520 *) _lt_dar_can_shared
=$GCC ;;
10522 if test "$_lt_dar_can_shared" = "yes"; then
10523 output_verbose_link_cmd
=func_echo_all
10524 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10525 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10526 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}"
10527 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}"
10536 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10537 hardcode_libdir_flag_spec
='-L$libdir'
10538 hardcode_shlibpath_var
=no
10541 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10542 # support. Future versions do this automatically, but an explicit c++rt0.o
10543 # does not break anything, and helps significantly (at the cost of a little
10546 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10547 hardcode_libdir_flag_spec
='-R$libdir'
10548 hardcode_direct
=yes
10549 hardcode_shlibpath_var
=no
10552 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10554 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10555 hardcode_direct
=yes
10556 hardcode_minus_L
=yes
10557 hardcode_shlibpath_var
=no
10560 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10561 freebsd
* | dragonfly
*)
10562 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10563 hardcode_libdir_flag_spec
='-R$libdir'
10564 hardcode_direct
=yes
10565 hardcode_shlibpath_var
=no
10569 if test "$GCC" = yes; then
10570 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'
10572 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'
10574 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10575 hardcode_libdir_separator
=:
10576 hardcode_direct
=yes
10578 # hardcode_minus_L: Not really in the search PATH,
10579 # but as the default location of the library.
10580 hardcode_minus_L
=yes
10581 export_dynamic_flag_spec
='${wl}-E'
10585 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10586 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10588 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10590 if test "$with_gnu_ld" = no
; then
10591 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10592 hardcode_libdir_separator
=:
10593 hardcode_direct
=yes
10594 hardcode_direct_absolute
=yes
10595 export_dynamic_flag_spec
='${wl}-E'
10596 # hardcode_minus_L: Not really in the search PATH,
10597 # but as the default location of the library.
10598 hardcode_minus_L
=yes
10603 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10606 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10609 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10612 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10618 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10625 # Older versions of the 11.00 compiler do not understand -b yet
10626 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10628 $as_echo_n "checking if $CC understands -b... " >&6; }
10629 if ${lt_cv_prog_compiler__b+:} false
; then :
10630 $as_echo_n "(cached) " >&6
10632 lt_cv_prog_compiler__b
=no
10633 save_LDFLAGS
="$LDFLAGS"
10634 LDFLAGS
="$LDFLAGS -b"
10635 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10636 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10637 # The linker can only warn and ignore the option if not recognized
10638 # So say no if there are warnings
10639 if test -s conftest.err
; then
10640 # Append any errors to the config.log.
10641 cat conftest.err
1>&5
10642 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10643 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10644 if diff conftest.exp conftest.er2
>/dev
/null
; then
10645 lt_cv_prog_compiler__b
=yes
10648 lt_cv_prog_compiler__b
=yes
10652 LDFLAGS
="$save_LDFLAGS"
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10656 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10658 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10659 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10661 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10667 if test "$with_gnu_ld" = no
; then
10668 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10669 hardcode_libdir_separator
=:
10674 hardcode_shlibpath_var
=no
10677 hardcode_direct
=yes
10678 hardcode_direct_absolute
=yes
10679 export_dynamic_flag_spec
='${wl}-E'
10681 # hardcode_minus_L: Not really in the search PATH,
10682 # but as the default location of the library.
10683 hardcode_minus_L
=yes
10689 irix5
* | irix6
* | nonstopux
*)
10690 if test "$GCC" = yes; then
10691 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'
10692 # Try to use the -exported_symbol ld option, if it does not
10693 # work, assume that -exports_file does not work either and
10694 # implicitly export all symbols.
10695 # This should be the same for all languages, so no per-tag cache variable.
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10697 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10698 if ${lt_cv_irix_exported_symbol+:} false
; then :
10699 $as_echo_n "(cached) " >&6
10701 save_LDFLAGS
="$LDFLAGS"
10702 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705 int foo (void) { return 0; }
10707 if ac_fn_c_try_link
"$LINENO"; then :
10708 lt_cv_irix_exported_symbol
=yes
10710 lt_cv_irix_exported_symbol
=no
10712 rm -f core conftest.err conftest.
$ac_objext \
10713 conftest
$ac_exeext conftest.
$ac_ext
10714 LDFLAGS
="$save_LDFLAGS"
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10717 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10718 if test "$lt_cv_irix_exported_symbol" = yes; then
10719 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'
10722 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'
10723 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'
10725 archive_cmds_need_lc
='no'
10726 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10727 hardcode_libdir_separator
=:
10729 link_all_deplibs
=yes
10733 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10734 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10736 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10738 hardcode_libdir_flag_spec
='-R$libdir'
10739 hardcode_direct
=yes
10740 hardcode_shlibpath_var
=no
10744 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10745 hardcode_direct
=yes
10746 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10747 hardcode_libdir_separator
=:
10748 hardcode_shlibpath_var
=no
10755 if test -f /usr
/libexec
/ld.so
; then
10756 hardcode_direct
=yes
10757 hardcode_shlibpath_var
=no
10758 hardcode_direct_absolute
=yes
10759 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10760 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10761 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10762 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10763 export_dynamic_flag_spec
='${wl}-E'
10766 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10767 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10768 hardcode_libdir_flag_spec
='-R$libdir'
10771 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10772 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10782 hardcode_libdir_flag_spec
='-L$libdir'
10783 hardcode_minus_L
=yes
10784 allow_undefined_flag
=unsupported
10785 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'
10786 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10790 if test "$GCC" = yes; then
10791 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10792 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'
10794 allow_undefined_flag
=' -expect_unresolved \*'
10795 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'
10797 archive_cmds_need_lc
='no'
10798 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10799 hardcode_libdir_separator
=:
10802 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10803 if test "$GCC" = yes; then
10804 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10805 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'
10806 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10808 allow_undefined_flag
=' -expect_unresolved \*'
10809 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'
10810 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~
10811 $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'
10813 # Both c and cxx compiler support -rpath directly
10814 hardcode_libdir_flag_spec
='-rpath $libdir'
10816 archive_cmds_need_lc
='no'
10817 hardcode_libdir_separator
=:
10821 no_undefined_flag
=' -z defs'
10822 if test "$GCC" = yes; then
10824 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10825 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10826 $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'
10828 case `$CC -V 2>&1` in
10831 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10832 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10833 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10837 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10838 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10839 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10843 hardcode_libdir_flag_spec
='-R$libdir'
10844 hardcode_shlibpath_var
=no
10846 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10848 # The compiler driver will combine and reorder linker options,
10849 # but understands `-z linker_flag'. GCC discards it without `$wl',
10850 # but is careful enough not to reorder.
10851 # Supported since Solaris 2.6 (maybe 2.5.1?)
10852 if test "$GCC" = yes; then
10853 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10855 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10859 link_all_deplibs
=yes
10863 if test "x$host_vendor" = xsequent
; then
10864 # Use $CC to link under sequent, because it throws in some extra .o
10865 # files that make .init and .fini sections work.
10866 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10868 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10870 hardcode_libdir_flag_spec
='-L$libdir'
10871 hardcode_direct
=yes
10872 hardcode_minus_L
=yes
10873 hardcode_shlibpath_var
=no
10877 case $host_vendor in
10879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10880 hardcode_direct
=yes # is this really true???
10883 ## LD is ld it makes a PLAMLIB
10884 ## CC just makes a GrossModule.
10885 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10886 reload_cmds
='$CC -r -o $output$reload_objs'
10890 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10891 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10894 runpath_var
='LD_RUN_PATH'
10895 hardcode_shlibpath_var
=no
10899 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10900 hardcode_shlibpath_var
=no
10901 export_dynamic_flag_spec
='-Bexport'
10905 if test -d /usr
/nec
; then
10906 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10907 hardcode_shlibpath_var
=no
10908 runpath_var
=LD_RUN_PATH
10909 hardcode_runpath_var
=yes
10914 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10915 no_undefined_flag
='${wl}-z,text'
10916 archive_cmds_need_lc
=no
10917 hardcode_shlibpath_var
=no
10918 runpath_var
='LD_RUN_PATH'
10920 if test "$GCC" = yes; then
10921 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10922 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10925 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10929 sysv5
* | sco3.2v5
* | sco5v6
*)
10930 # Note: We can NOT use -z defs as we might desire, because we do not
10931 # link with -lc, and that would cause any symbols used from libc to
10932 # always be unresolved, which means just about no library would
10933 # ever link correctly. If we're not using GNU ld we use -z text
10934 # though, which does catch some bad symbols but isn't as heavy-handed
10936 no_undefined_flag
='${wl}-z,text'
10937 allow_undefined_flag
='${wl}-z,nodefs'
10938 archive_cmds_need_lc
=no
10939 hardcode_shlibpath_var
=no
10940 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10941 hardcode_libdir_separator
=':'
10942 link_all_deplibs
=yes
10943 export_dynamic_flag_spec
='${wl}-Bexport'
10944 runpath_var
='LD_RUN_PATH'
10946 if test "$GCC" = yes; then
10947 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10950 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10951 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10956 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10957 hardcode_libdir_flag_spec
='-L$libdir'
10958 hardcode_shlibpath_var
=no
10966 if test x
$host_vendor = xsni
; then
10968 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10969 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10976 $as_echo "$ld_shlibs" >&6; }
10977 test "$ld_shlibs" = no
&& can_build_shared
=no
10979 with_gnu_ld
=$with_gnu_ld
10996 # Do we need to explicitly link libc?
10998 case "x$archive_cmds_need_lc" in
11000 # Assume -lc should be added
11001 archive_cmds_need_lc
=yes
11003 if test "$enable_shared" = yes && test "$GCC" = yes; then
11004 case $archive_cmds in
11006 # FIXME: we may have to deal with multi-command sequences.
11009 # Test whether the compiler implicitly links with -lc since on some
11010 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11011 # to ld, don't add -lc before -lgcc.
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11013 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11014 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11015 $as_echo_n "(cached) " >&6
11018 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11021 (eval $ac_compile) 2>&5
11023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11024 test $ac_status = 0; } 2>conftest.err
; then
11027 libobjs
=conftest.
$ac_objext
11029 wl
=$lt_prog_compiler_wl
11030 pic_flag
=$lt_prog_compiler_pic
11036 lt_save_allow_undefined_flag
=$allow_undefined_flag
11037 allow_undefined_flag
=
11038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11039 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11042 test $ac_status = 0; }
11044 lt_cv_archive_cmds_need_lc
=no
11046 lt_cv_archive_cmds_need_lc
=yes
11048 allow_undefined_flag
=$lt_save_allow_undefined_flag
11050 cat conftest.err
1>&5
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11056 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11057 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11216 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11218 if test "$GCC" = yes; then
11220 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11221 *) lt_awk_arg
="/^libraries:/" ;;
11224 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11225 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11227 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11228 case $lt_search_path_spec in
11230 # if the path contains ";" then we assume it to be the separator
11231 # otherwise default to the standard path separator (i.e. ":") - it is
11232 # assumed that no part of a normal pathname contains ";" but that should
11233 # okay in the real world where ";" in dirpaths is itself problematic.
11234 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11237 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11240 # Ok, now we have the path, separated by spaces, we can step through it
11241 # and add multilib dir if necessary.
11242 lt_tmp_lt_search_path_spec
=
11243 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11244 for lt_sys_path
in $lt_search_path_spec; do
11245 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11246 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11248 test -d "$lt_sys_path" && \
11249 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11252 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11253 BEGIN {RS=" "; FS="/|\n";} {
11256 for (lt_i = NF; lt_i > 0; lt_i--) {
11257 if ($lt_i != "" && $lt_i != ".") {
11258 if ($lt_i == "..") {
11261 if (lt_count == 0) {
11262 lt_foo="/" $lt_i lt_foo;
11269 if (lt_foo != "") { lt_freq[lt_foo]++; }
11270 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11272 # AWK program above erroneously prepends '/' to C:/dos/paths
11275 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11276 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11278 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11280 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11282 library_names_spec
=
11283 libname_spec
='lib$name'
11287 postuninstall_cmds
=
11291 shlibpath_overrides_runpath
=unknown
11293 dynamic_linker
="$host_os ld.so"
11294 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11295 need_lib_prefix
=unknown
11296 hardcode_into_libs
=no
11298 # when you set need_version to no, make sure it does not cause -set_version
11299 # flags to be left without arguments
11300 need_version
=unknown
11304 version_type
=linux
# correct to gnu/linux during the next big refactor
11305 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11306 shlibpath_var
=LIBPATH
11308 # AIX 3 has no versioning support, so we append a major version to the name.
11309 soname_spec
='${libname}${release}${shared_ext}$major'
11313 version_type
=linux
# correct to gnu/linux during the next big refactor
11316 hardcode_into_libs
=yes
11317 if test "$host_cpu" = ia64
; then
11318 # AIX 5 supports IA64
11319 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11320 shlibpath_var
=LD_LIBRARY_PATH
11322 # With GCC up to 2.95.x, collect2 would create an import file
11323 # for dependence libraries. The import file would start with
11324 # the line `#! .'. This would cause the generated library to
11325 # depend on `.', always an invalid library. This was fixed in
11326 # development snapshots of GCC prior to 3.0.
11328 aix4
| aix4.
[01] | aix4.
[01].
*)
11329 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11331 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11334 can_build_shared
=no
11338 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11339 # soname into executable. Probably we can add versioning support to
11340 # collect2, so additional links can be useful in future.
11341 if test "$aix_use_runtimelinking" = yes; then
11342 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11343 # instead of lib<name>.a to let people know that these are not
11344 # typical AIX shared libraries.
11345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 # We preserve .a as extension for shared libraries through AIX4.2
11348 # and later when we are not doing run time linking.
11349 library_names_spec
='${libname}${release}.a $libname.a'
11350 soname_spec
='${libname}${release}${shared_ext}$major'
11352 shlibpath_var
=LIBPATH
11359 # Since July 2007 AmigaOS4 officially supports .so libraries.
11360 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11364 library_names_spec
='$libname.ixlibrary $libname.a'
11365 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11366 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'
11372 library_names_spec
='${libname}${shared_ext}'
11373 dynamic_linker
="$host_os ld.so"
11374 shlibpath_var
=LIBRARY_PATH
11378 version_type
=linux
# correct to gnu/linux during the next big refactor
11380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11381 soname_spec
='${libname}${release}${shared_ext}$major'
11382 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11383 shlibpath_var
=LD_LIBRARY_PATH
11384 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11385 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11386 # the default ld.so.conf also contains /usr/contrib/lib and
11387 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11388 # libtool to hard-code these into programs
11391 cygwin
* | mingw
* | pw32
* | cegcc
*)
11392 version_type
=windows
11397 case $GCC,$cc_basename in
11400 library_names_spec
='$libname.dll.a'
11401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11402 postinstall_cmds
='base_file=`basename \${file}`~
11403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11404 dldir=$destdir/`dirname \$dlpath`~
11405 test -d \$dldir || mkdir -p \$dldir~
11406 $install_prog $dir/$dlname \$dldir/$dlname~
11407 chmod a+x \$dldir/$dlname~
11408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11411 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11412 dlpath=$dir/\$dldll~
11414 shlibpath_overrides_runpath
=yes
11418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11419 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11421 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11424 # MinGW DLLs use traditional 'lib' prefix
11425 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11428 # pw32 DLLs use 'pw' prefix rather than 'lib'
11429 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11432 dynamic_linker
='Win32 ld.exe'
11437 libname_spec
='$name'
11438 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11439 library_names_spec
='${libname}.dll.lib'
11443 sys_lib_search_path_spec
=
11446 for lt_path
in $LIB
11449 # Let DOS variable expansion print the short 8.3 style file name.
11450 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11451 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11454 # Convert to MSYS style.
11455 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11458 # Convert to unix form, then to dos form, then back to unix form
11459 # but this time dos style (no spaces!) so that the unix form looks
11460 # like /cygdrive/c/PROGRA~1:/cygdr...
11461 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11462 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11463 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11466 sys_lib_search_path_spec
="$LIB"
11467 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11468 # It is most probably a Windows format PATH.
11469 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11471 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11473 # FIXME: find the short name or the path components, as spaces are
11474 # common. (e.g. "Program Files" -> "PROGRA~1")
11478 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11479 postinstall_cmds
='base_file=`basename \${file}`~
11480 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11481 dldir=$destdir/`dirname \$dlpath`~
11482 test -d \$dldir || mkdir -p \$dldir~
11483 $install_prog $dir/$dlname \$dldir/$dlname'
11484 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11485 dlpath=$dir/\$dldll~
11487 shlibpath_overrides_runpath
=yes
11488 dynamic_linker
='Win32 link.exe'
11492 # Assume MSVC wrapper
11493 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11494 dynamic_linker
='Win32 ld.exe'
11497 # FIXME: first we should search . and the directory the executable is in
11501 darwin
* | rhapsody
*)
11502 dynamic_linker
="$host_os dyld"
11503 version_type
=darwin
11506 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11507 soname_spec
='${libname}${release}${major}$shared_ext'
11508 shlibpath_overrides_runpath
=yes
11509 shlibpath_var
=DYLD_LIBRARY_PATH
11510 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11512 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11513 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11517 version_type
=linux
# correct to gnu/linux during the next big refactor
11520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11521 soname_spec
='${libname}${release}${shared_ext}$major'
11522 shlibpath_var
=LD_LIBRARY_PATH
11525 freebsd
* | dragonfly
*)
11526 # DragonFly does not have aout. When/if they implement a new
11527 # versioning mechanism, adjust this.
11528 if test -x /usr
/bin
/objformat
; then
11529 objformat
=`/usr/bin/objformat`
11532 freebsd
[23].
*) objformat
=aout
;;
11533 *) objformat
=elf
;;
11536 version_type
=freebsd
-$objformat
11537 case $version_type in
11539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11544 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11548 shlibpath_var
=LD_LIBRARY_PATH
11551 shlibpath_overrides_runpath
=yes
11553 freebsd3.
[01]* | freebsdelf3.
[01]*)
11554 shlibpath_overrides_runpath
=yes
11555 hardcode_into_libs
=yes
11557 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11558 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11559 shlibpath_overrides_runpath
=no
11560 hardcode_into_libs
=yes
11562 *) # from 4.6 on, and DragonFly
11563 shlibpath_overrides_runpath
=yes
11564 hardcode_into_libs
=yes
11570 version_type
=linux
# correct to gnu/linux during the next big refactor
11573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11574 soname_spec
='${libname}${release}${shared_ext}$major'
11575 shlibpath_var
=LD_LIBRARY_PATH
11576 shlibpath_overrides_runpath
=no
11577 hardcode_into_libs
=yes
11581 version_type
=linux
# correct to gnu/linux during the next big refactor
11584 dynamic_linker
="$host_os runtime_loader"
11585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11586 soname_spec
='${libname}${release}${shared_ext}$major'
11587 shlibpath_var
=LIBRARY_PATH
11588 shlibpath_overrides_runpath
=yes
11589 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11590 hardcode_into_libs
=yes
11593 hpux9
* | hpux10
* | hpux11
*)
11594 # Give a soname corresponding to the major version so that dld.sl refuses to
11595 # link against other versions.
11602 hardcode_into_libs
=yes
11603 dynamic_linker
="$host_os dld.so"
11604 shlibpath_var
=LD_LIBRARY_PATH
11605 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11607 soname_spec
='${libname}${release}${shared_ext}$major'
11608 if test "X$HPUX_IA64_MODE" = X32
; then
11609 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11611 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11613 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11617 hardcode_into_libs
=yes
11618 dynamic_linker
="$host_os dld.sl"
11619 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11620 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11622 soname_spec
='${libname}${release}${shared_ext}$major'
11623 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11624 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11628 dynamic_linker
="$host_os dld.sl"
11629 shlibpath_var
=SHLIB_PATH
11630 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11632 soname_spec
='${libname}${release}${shared_ext}$major'
11635 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11636 postinstall_cmds
='chmod 555 $lib'
11637 # or fails outright, so override atomically:
11638 install_override_mode
=555
11642 version_type
=linux
# correct to gnu/linux during the next big refactor
11645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11646 soname_spec
='${libname}${release}${shared_ext}$major'
11647 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11648 shlibpath_var
=LD_LIBRARY_PATH
11649 shlibpath_overrides_runpath
=no
11650 hardcode_into_libs
=yes
11653 irix5
* | irix6
* | nonstopux
*)
11655 nonstopux
*) version_type
=nonstopux
;;
11657 if test "$lt_cv_prog_gnu_ld" = yes; then
11658 version_type
=linux
# correct to gnu/linux during the next big refactor
11665 soname_spec
='${libname}${release}${shared_ext}$major'
11666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11668 irix5
* | nonstopux
*)
11669 libsuff
= shlibsuff
=
11672 case $LD in # libtool.m4 will add one of these switches to LD
11673 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11674 libsuff
= shlibsuff
= libmagic
=32-bit;;
11675 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11676 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11677 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11678 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11679 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11683 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11684 shlibpath_overrides_runpath
=no
11685 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11686 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11687 hardcode_into_libs
=yes
11690 # No shared lib support for Linux oldld, aout, or coff.
11691 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11695 # This must be glibc/ELF.
11696 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11697 version_type
=linux
# correct to gnu/linux during the next big refactor
11700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11701 soname_spec
='${libname}${release}${shared_ext}$major'
11702 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11703 shlibpath_var
=LD_LIBRARY_PATH
11704 shlibpath_overrides_runpath
=no
11706 # Some binutils ld are patched to set DT_RUNPATH
11707 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11708 $as_echo_n "(cached) " >&6
11710 lt_cv_shlibpath_overrides_runpath
=no
11711 save_LDFLAGS
=$LDFLAGS
11712 save_libdir
=$libdir
11713 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11714 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11726 if ac_fn_c_try_link
"$LINENO"; then :
11727 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11728 lt_cv_shlibpath_overrides_runpath
=yes
11731 rm -f core conftest.err conftest.
$ac_objext \
11732 conftest
$ac_exeext conftest.
$ac_ext
11733 LDFLAGS
=$save_LDFLAGS
11734 libdir
=$save_libdir
11738 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11740 # This implies no fast_install, which is unacceptable.
11741 # Some rework will be needed to allow for fast_install
11742 # before this can be enabled.
11743 hardcode_into_libs
=yes
11745 # Append ld.so.conf contents to the search path
11746 if test -f /etc
/ld.so.conf
; then
11747 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' ' '`
11748 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11751 # We used to test for /lib/ld.so.1 and disable shared libraries on
11752 # powerpc, because MkLinux only supported shared libraries with the
11753 # GNU dynamic linker. Since this was broken with cross compilers,
11754 # most powerpc-linux boxes support dynamic linking these days and
11755 # people can always --disable-shared, the test was removed, and we
11756 # assume the GNU/Linux dynamic linker is in use.
11757 dynamic_linker
='GNU/Linux ld.so'
11764 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11766 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11767 dynamic_linker
='NetBSD (a.out) ld.so'
11769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11770 soname_spec
='${libname}${release}${shared_ext}$major'
11771 dynamic_linker
='NetBSD ld.elf_so'
11773 shlibpath_var
=LD_LIBRARY_PATH
11774 shlibpath_overrides_runpath
=yes
11775 hardcode_into_libs
=yes
11779 version_type
=linux
# correct to gnu/linux during the next big refactor
11780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11781 shlibpath_var
=LD_LIBRARY_PATH
11782 shlibpath_overrides_runpath
=yes
11789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11790 soname_spec
='${libname}${release}${shared_ext}$major'
11791 shlibpath_var
=LD_LIBRARY_PATH
11792 shlibpath_overrides_runpath
=no
11793 hardcode_into_libs
=yes
11794 dynamic_linker
='ldqnx.so'
11799 sys_lib_dlsearch_path_spec
="/usr/lib"
11801 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11803 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11804 *) need_version
=no
;;
11806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11807 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11808 shlibpath_var
=LD_LIBRARY_PATH
11809 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11811 openbsd2.
[89] | openbsd2.
[89].
*)
11812 shlibpath_overrides_runpath
=no
11815 shlibpath_overrides_runpath
=yes
11819 shlibpath_overrides_runpath
=yes
11824 libname_spec
='$name'
11827 library_names_spec
='$libname${shared_ext} $libname.a'
11828 dynamic_linker
='OS/2 ld.exe'
11829 shlibpath_var
=LIBPATH
11832 osf3
* | osf4
* | osf5
*)
11836 soname_spec
='${libname}${release}${shared_ext}$major'
11837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11838 shlibpath_var
=LD_LIBRARY_PATH
11839 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11840 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11848 version_type
=linux
# correct to gnu/linux during the next big refactor
11851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11852 soname_spec
='${libname}${release}${shared_ext}$major'
11853 shlibpath_var
=LD_LIBRARY_PATH
11854 shlibpath_overrides_runpath
=yes
11855 hardcode_into_libs
=yes
11856 # ldd complains unless libraries are executable
11857 postinstall_cmds
='chmod +x $lib'
11862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11863 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11864 shlibpath_var
=LD_LIBRARY_PATH
11865 shlibpath_overrides_runpath
=yes
11866 if test "$with_gnu_ld" = yes; then
11873 version_type
=linux
# correct to gnu/linux during the next big refactor
11874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11875 soname_spec
='${libname}${release}${shared_ext}$major'
11876 shlibpath_var
=LD_LIBRARY_PATH
11877 case $host_vendor in
11879 shlibpath_overrides_runpath
=no
11881 runpath_var
=LD_RUN_PATH
11889 shlibpath_overrides_runpath
=no
11890 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11896 if test -d /usr
/nec
;then
11897 version_type
=linux
# correct to gnu/linux during the next big refactor
11898 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11899 soname_spec
='$libname${shared_ext}.$major'
11900 shlibpath_var
=LD_LIBRARY_PATH
11904 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11905 version_type
=freebsd
-elf
11908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11909 soname_spec
='${libname}${release}${shared_ext}$major'
11910 shlibpath_var
=LD_LIBRARY_PATH
11911 shlibpath_overrides_runpath
=yes
11912 hardcode_into_libs
=yes
11913 if test "$with_gnu_ld" = yes; then
11914 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11916 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11919 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11923 sys_lib_dlsearch_path_spec
='/usr/lib'
11927 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11928 version_type
=linux
# correct to gnu/linux during the next big refactor
11931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11932 shlibpath_var
=LD_LIBRARY_PATH
11933 shlibpath_overrides_runpath
=no
11934 hardcode_into_libs
=yes
11938 version_type
=linux
# correct to gnu/linux during the next big refactor
11939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11940 soname_spec
='${libname}${release}${shared_ext}$major'
11941 shlibpath_var
=LD_LIBRARY_PATH
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11949 $as_echo "$dynamic_linker" >&6; }
11950 test "$dynamic_linker" = no
&& can_build_shared
=no
11952 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11953 if test "$GCC" = yes; then
11954 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11957 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11958 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11960 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11961 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12056 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12058 if test -n "$hardcode_libdir_flag_spec" ||
12059 test -n "$runpath_var" ||
12060 test "X$hardcode_automatic" = "Xyes" ; then
12062 # We can hardcode non-existent directories.
12063 if test "$hardcode_direct" != no
&&
12064 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12065 # have to relink, otherwise we might link with an installed library
12066 # when we should be linking with a yet-to-be-installed one
12067 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12068 test "$hardcode_minus_L" != no
; then
12069 # Linking always hardcodes the temporary library directory.
12070 hardcode_action
=relink
12072 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12073 hardcode_action
=immediate
12076 # We cannot hardcode anything, or else we can only hardcode existing
12078 hardcode_action
=unsupported
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12081 $as_echo "$hardcode_action" >&6; }
12083 if test "$hardcode_action" = relink
||
12084 test "$inherit_rpath" = yes; then
12085 # Fast installation is not supported
12086 enable_fast_install
=no
12087 elif test "$shlibpath_overrides_runpath" = yes ||
12088 test "$enable_shared" = no
; then
12089 # Fast installation is not necessary
12090 enable_fast_install
=needless
12098 if test "x$enable_dlopen" != xyes
; then
12099 enable_dlopen
=unknown
12100 enable_dlopen_self
=unknown
12101 enable_dlopen_self_static
=unknown
12108 lt_cv_dlopen
="load_add_on"
12110 lt_cv_dlopen_self
=yes
12113 mingw
* | pw32
* | cegcc
*)
12114 lt_cv_dlopen
="LoadLibrary"
12119 lt_cv_dlopen
="dlopen"
12124 # if libdl is installed we need to link against it
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12126 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12127 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12128 $as_echo_n "(cached) " >&6
12130 ac_check_lib_save_LIBS
=$LIBS
12132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12150 if ac_fn_c_try_link
"$LINENO"; then :
12151 ac_cv_lib_dl_dlopen
=yes
12153 ac_cv_lib_dl_dlopen
=no
12155 rm -f core conftest.err conftest.
$ac_objext \
12156 conftest
$ac_exeext conftest.
$ac_ext
12157 LIBS
=$ac_check_lib_save_LIBS
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12160 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12161 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12162 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12165 lt_cv_dlopen
="dyld"
12167 lt_cv_dlopen_self
=yes
12174 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12175 if test "x$ac_cv_func_shl_load" = xyes
; then :
12176 lt_cv_dlopen
="shl_load"
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12179 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12180 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12181 $as_echo_n "(cached) " >&6
12183 ac_check_lib_save_LIBS
=$LIBS
12185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12188 /* Override any GCC internal prototype to avoid an error.
12189 Use char because int might match the return type of a GCC
12190 builtin and then its argument prototype would still apply. */
12198 return shl_load ();
12203 if ac_fn_c_try_link
"$LINENO"; then :
12204 ac_cv_lib_dld_shl_load
=yes
12206 ac_cv_lib_dld_shl_load
=no
12208 rm -f core conftest.err conftest.
$ac_objext \
12209 conftest
$ac_exeext conftest.
$ac_ext
12210 LIBS
=$ac_check_lib_save_LIBS
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12213 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12214 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12215 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12217 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12218 if test "x$ac_cv_func_dlopen" = xyes
; then :
12219 lt_cv_dlopen
="dlopen"
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12222 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12223 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12224 $as_echo_n "(cached) " >&6
12226 ac_check_lib_save_LIBS
=$LIBS
12228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12246 if ac_fn_c_try_link
"$LINENO"; then :
12247 ac_cv_lib_dl_dlopen
=yes
12249 ac_cv_lib_dl_dlopen
=no
12251 rm -f core conftest.err conftest.
$ac_objext \
12252 conftest
$ac_exeext conftest.
$ac_ext
12253 LIBS
=$ac_check_lib_save_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12256 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12257 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12258 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12261 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12262 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12263 $as_echo_n "(cached) " >&6
12265 ac_check_lib_save_LIBS
=$LIBS
12266 LIBS
="-lsvld $LIBS"
12267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12270 /* Override any GCC internal prototype to avoid an error.
12271 Use char because int might match the return type of a GCC
12272 builtin and then its argument prototype would still apply. */
12285 if ac_fn_c_try_link
"$LINENO"; then :
12286 ac_cv_lib_svld_dlopen
=yes
12288 ac_cv_lib_svld_dlopen
=no
12290 rm -f core conftest.err conftest.
$ac_objext \
12291 conftest
$ac_exeext conftest.
$ac_ext
12292 LIBS
=$ac_check_lib_save_LIBS
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12295 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12296 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12297 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12300 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12301 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12302 $as_echo_n "(cached) " >&6
12304 ac_check_lib_save_LIBS
=$LIBS
12306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12307 /* end confdefs.h. */
12309 /* Override any GCC internal prototype to avoid an error.
12310 Use char because int might match the return type of a GCC
12311 builtin and then its argument prototype would still apply. */
12319 return dld_link ();
12324 if ac_fn_c_try_link
"$LINENO"; then :
12325 ac_cv_lib_dld_dld_link
=yes
12327 ac_cv_lib_dld_dld_link
=no
12329 rm -f core conftest.err conftest.
$ac_objext \
12330 conftest
$ac_exeext conftest.
$ac_ext
12331 LIBS
=$ac_check_lib_save_LIBS
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12334 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12335 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12336 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12357 if test "x$lt_cv_dlopen" != xno
; then
12363 case $lt_cv_dlopen in
12365 save_CPPFLAGS
="$CPPFLAGS"
12366 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12368 save_LDFLAGS
="$LDFLAGS"
12369 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12372 LIBS
="$lt_cv_dlopen_libs $LIBS"
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12375 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12376 if ${lt_cv_dlopen_self+:} false
; then :
12377 $as_echo_n "(cached) " >&6
12379 if test "$cross_compiling" = yes; then :
12380 lt_cv_dlopen_self
=cross
12382 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12383 lt_status
=$lt_dlunknown
12384 cat > conftest.
$ac_ext <<_LT_EOF
12385 #line $LINENO "configure"
12386 #include "confdefs.h"
12395 # define LT_DLGLOBAL RTLD_GLOBAL
12398 # define LT_DLGLOBAL DL_GLOBAL
12400 # define LT_DLGLOBAL 0
12404 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12405 find out it does not work in some platform. */
12406 #ifndef LT_DLLAZY_OR_NOW
12408 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12411 # define LT_DLLAZY_OR_NOW DL_LAZY
12414 # define LT_DLLAZY_OR_NOW RTLD_NOW
12417 # define LT_DLLAZY_OR_NOW DL_NOW
12419 # define LT_DLLAZY_OR_NOW 0
12426 /* When -fvisbility=hidden is used, assume the code has been annotated
12427 correspondingly for the symbols needed. */
12428 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12429 int fnord () __attribute__((visibility("default")));
12432 int fnord () { return 42; }
12435 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12436 int status = $lt_dlunknown;
12440 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12443 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12444 else puts (dlerror ());
12446 /* dlclose (self); */
12454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12455 (eval $ac_link) 2>&5
12457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12458 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12459 (.
/conftest
; exit; ) >&5 2>/dev
/null
12461 case x
$lt_status in
12462 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12463 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12464 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12467 # compilation failed
12468 lt_cv_dlopen_self
=no
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12476 $as_echo "$lt_cv_dlopen_self" >&6; }
12478 if test "x$lt_cv_dlopen_self" = xyes
; then
12479 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12481 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12482 if ${lt_cv_dlopen_self_static+:} false
; then :
12483 $as_echo_n "(cached) " >&6
12485 if test "$cross_compiling" = yes; then :
12486 lt_cv_dlopen_self_static
=cross
12488 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12489 lt_status
=$lt_dlunknown
12490 cat > conftest.
$ac_ext <<_LT_EOF
12491 #line $LINENO "configure"
12492 #include "confdefs.h"
12501 # define LT_DLGLOBAL RTLD_GLOBAL
12504 # define LT_DLGLOBAL DL_GLOBAL
12506 # define LT_DLGLOBAL 0
12510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12511 find out it does not work in some platform. */
12512 #ifndef LT_DLLAZY_OR_NOW
12514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12517 # define LT_DLLAZY_OR_NOW DL_LAZY
12520 # define LT_DLLAZY_OR_NOW RTLD_NOW
12523 # define LT_DLLAZY_OR_NOW DL_NOW
12525 # define LT_DLLAZY_OR_NOW 0
12532 /* When -fvisbility=hidden is used, assume the code has been annotated
12533 correspondingly for the symbols needed. */
12534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12535 int fnord () __attribute__((visibility("default")));
12538 int fnord () { return 42; }
12541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12542 int status = $lt_dlunknown;
12546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12550 else puts (dlerror ());
12552 /* dlclose (self); */
12560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12561 (eval $ac_link) 2>&5
12563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12564 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12565 (.
/conftest
; exit; ) >&5 2>/dev
/null
12567 case x
$lt_status in
12568 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12569 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12570 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12573 # compilation failed
12574 lt_cv_dlopen_self_static
=no
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12582 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12585 CPPFLAGS
="$save_CPPFLAGS"
12586 LDFLAGS
="$save_LDFLAGS"
12591 case $lt_cv_dlopen_self in
12592 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12593 *) enable_dlopen_self
=unknown
;;
12596 case $lt_cv_dlopen_self_static in
12597 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12598 *) enable_dlopen_self_static
=unknown
;;
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12621 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12622 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12623 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12624 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12626 $as_echo "yes" >&6; }
12628 # FIXME - insert some real tests, host_os isn't really good enough
12631 if test -n "$STRIP" ; then
12632 striplib
="$STRIP -x"
12633 old_striplib
="$STRIP -S"
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12635 $as_echo "yes" >&6; }
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12638 $as_echo "no" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12643 $as_echo "no" >&6; }
12659 # Report which library types will actually be built
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12661 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12663 $as_echo "$can_build_shared" >&6; }
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12666 $as_echo_n "checking whether to build shared libraries... " >&6; }
12667 test "$can_build_shared" = "no" && enable_shared
=no
12669 # On AIX, shared libraries and static libraries use the same namespace, and
12670 # are all built from PIC.
12673 test "$enable_shared" = yes && enable_static
=no
12674 if test -n "$RANLIB"; then
12675 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12676 postinstall_cmds
='$RANLIB $lib'
12681 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12682 test "$enable_shared" = yes && enable_static
=no
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12687 $as_echo "$enable_shared" >&6; }
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12690 $as_echo_n "checking whether to build static libraries... " >&6; }
12691 # Make sure either enable_shared or enable_static is yes.
12692 test "$enable_shared" = yes || enable_static
=yes
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12694 $as_echo "$enable_static" >&6; }
12701 ac_cpp
='$CPP $CPPFLAGS'
12702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12708 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12709 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12710 (test "X$CXX" != "Xg++"))) ; then
12712 ac_cpp
='$CXXCPP $CPPFLAGS'
12713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12717 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12718 if test -z "$CXXCPP"; then
12719 if ${ac_cv_prog_CXXCPP+:} false
; then :
12720 $as_echo_n "(cached) " >&6
12722 # Double quotes because CXXCPP needs to be expanded
12723 for CXXCPP
in "$CXX -E" "/lib/cpp"
12725 ac_preproc_ok
=false
12726 for ac_cxx_preproc_warn_flag
in '' yes
12728 # Use a header file that comes with gcc, so configuring glibc
12729 # with a fresh cross-compiler works.
12730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12731 # <limits.h> exists even on freestanding compilers.
12732 # On the NeXT, cc -E runs the code through the compiler's parser,
12733 # not just through cpp. "Syntax error" is here to catch this case.
12734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 # include <limits.h>
12739 # include <assert.h>
12743 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12746 # Broken: fails on valid input.
12749 rm -f conftest.err conftest.i conftest.
$ac_ext
12751 # OK, works on sane cases. Now check whether nonexistent headers
12752 # can be detected and how.
12753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12755 #include <ac_nonexistent.h>
12757 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12758 # Broken: success on invalid input.
12761 # Passes both tests.
12765 rm -f conftest.err conftest.i conftest.
$ac_ext
12768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12769 rm -f conftest.i conftest.err conftest.
$ac_ext
12770 if $ac_preproc_ok; then :
12775 ac_cv_prog_CXXCPP
=$CXXCPP
12778 CXXCPP
=$ac_cv_prog_CXXCPP
12780 ac_cv_prog_CXXCPP
=$CXXCPP
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12783 $as_echo "$CXXCPP" >&6; }
12784 ac_preproc_ok
=false
12785 for ac_cxx_preproc_warn_flag
in '' yes
12787 # Use a header file that comes with gcc, so configuring glibc
12788 # with a fresh cross-compiler works.
12789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12790 # <limits.h> exists even on freestanding compilers.
12791 # On the NeXT, cc -E runs the code through the compiler's parser,
12792 # not just through cpp. "Syntax error" is here to catch this case.
12793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 # include <limits.h>
12798 # include <assert.h>
12802 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12805 # Broken: fails on valid input.
12808 rm -f conftest.err conftest.i conftest.
$ac_ext
12810 # OK, works on sane cases. Now check whether nonexistent headers
12811 # can be detected and how.
12812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12814 #include <ac_nonexistent.h>
12816 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12817 # Broken: success on invalid input.
12820 # Passes both tests.
12824 rm -f conftest.err conftest.i conftest.
$ac_ext
12827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12828 rm -f conftest.i conftest.err conftest.
$ac_ext
12829 if $ac_preproc_ok; then :
12832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12834 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12835 See \`config.log' for more details" "$LINENO" 5; }
12839 ac_cpp
='$CPP $CPPFLAGS'
12840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12845 _lt_caught_CXX_error
=yes
12849 ac_cpp
='$CXXCPP $CPPFLAGS'
12850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12854 archive_cmds_need_lc_CXX
=no
12855 allow_undefined_flag_CXX
=
12856 always_export_symbols_CXX
=no
12857 archive_expsym_cmds_CXX
=
12858 compiler_needs_object_CXX
=no
12859 export_dynamic_flag_spec_CXX
=
12860 hardcode_direct_CXX
=no
12861 hardcode_direct_absolute_CXX
=no
12862 hardcode_libdir_flag_spec_CXX
=
12863 hardcode_libdir_separator_CXX
=
12864 hardcode_minus_L_CXX
=no
12865 hardcode_shlibpath_var_CXX
=unsupported
12866 hardcode_automatic_CXX
=no
12867 inherit_rpath_CXX
=no
12869 module_expsym_cmds_CXX
=
12870 link_all_deplibs_CXX
=unknown
12871 old_archive_cmds_CXX
=$old_archive_cmds
12872 reload_flag_CXX
=$reload_flag
12873 reload_cmds_CXX
=$reload_cmds
12874 no_undefined_flag_CXX
=
12875 whole_archive_flag_spec_CXX
=
12876 enable_shared_with_static_runtimes_CXX
=no
12878 # Source file extension for C++ test sources.
12881 # Object file extension for compiled C++ test sources.
12885 # No sense in running all these tests if we already determined that
12886 # the CXX compiler isn't working. Some variables (like enable_shared)
12887 # are currently assumed to apply to all compilers on this platform,
12888 # and will be corrupted by setting them based on a non-working compiler.
12889 if test "$_lt_caught_CXX_error" != yes; then
12890 # Code to be used in simple compile tests
12891 lt_simple_compile_test_code
="int some_variable = 0;"
12893 # Code to be used in simple link tests
12894 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12896 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12903 # If no C compiler was specified, use CC.
12906 # If no C compiler flags were specified, use CFLAGS.
12907 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12909 # Allow CC to be a program name with arguments.
12913 # save warnings/boilerplate of simple test code
12914 ac_outfile
=conftest.
$ac_objext
12915 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12916 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12917 _lt_compiler_boilerplate
=`cat conftest.err`
12920 ac_outfile
=conftest.
$ac_objext
12921 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12922 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12923 _lt_linker_boilerplate
=`cat conftest.err`
12927 # Allow CC to be a program name with arguments.
12929 lt_save_CFLAGS
=$CFLAGS
12933 lt_save_with_gnu_ld
=$with_gnu_ld
12934 lt_save_path_LD
=$lt_cv_path_LD
12935 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12936 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12938 $as_unset lt_cv_prog_gnu_ld
12940 if test -n "${lt_cv_path_LDCXX+set}"; then
12941 lt_cv_path_LD
=$lt_cv_path_LDCXX
12943 $as_unset lt_cv_path_LD
12945 test -z "${LDCXX+set}" || LD
=$LDCXX
12950 for cc_temp
in $compiler""; do
12952 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12953 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12958 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12961 if test -n "$compiler"; then
12962 # We don't want -fno-exception when compiling C++ code, so set the
12963 # no_builtin_flag separately
12964 if test "$GXX" = yes; then
12965 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12967 lt_prog_compiler_no_builtin_flag_CXX
=
12970 if test "$GXX" = yes; then
12971 # Set up default GNU C++ configuration
12975 # Check whether --with-gnu-ld was given.
12976 if test "${with_gnu_ld+set}" = set; then :
12977 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12983 if test "$GCC" = yes; then
12984 # Check if gcc -print-prog-name=ld gives a path.
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12986 $as_echo_n "checking for ld used by $CC... " >&6; }
12989 # gcc leaves a trailing carriage return which upsets mingw
12990 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12992 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12995 # Accept absolute paths.
12997 re_direlt
='/[^/][^/]*/\.\./'
12998 # Canonicalize the pathname of ld
12999 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13000 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13001 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13003 test -z "$LD" && LD
="$ac_prog"
13006 # If it fails, then pretend we aren't using GCC.
13010 # If it is relative, then search for the first ld in PATH.
13011 with_gnu_ld
=unknown
13014 elif test "$with_gnu_ld" = yes; then
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13016 $as_echo_n "checking for GNU ld... " >&6; }
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13019 $as_echo_n "checking for non-GNU ld... " >&6; }
13021 if ${lt_cv_path_LD+:} false
; then :
13022 $as_echo_n "(cached) " >&6
13024 if test -z "$LD"; then
13025 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13026 for ac_dir
in $PATH; do
13028 test -z "$ac_dir" && ac_dir
=.
13029 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13030 lt_cv_path_LD
="$ac_dir/$ac_prog"
13031 # Check to see if the program is GNU ld. I'd rather use --version,
13032 # but apparently some variants of GNU ld only accept -v.
13033 # Break only if it was the GNU/non-GNU ld that we prefer.
13034 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13035 *GNU
* | *'with BFD'*)
13036 test "$with_gnu_ld" != no
&& break
13039 test "$with_gnu_ld" != yes && break
13046 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13050 LD
="$lt_cv_path_LD"
13051 if test -n "$LD"; then
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13053 $as_echo "$LD" >&6; }
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13056 $as_echo "no" >&6; }
13058 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13060 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13061 if ${lt_cv_prog_gnu_ld+:} false
; then :
13062 $as_echo_n "(cached) " >&6
13064 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13065 case `$LD -v 2>&1 </dev/null` in
13066 *GNU
* | *'with BFD'*)
13067 lt_cv_prog_gnu_ld
=yes
13070 lt_cv_prog_gnu_ld
=no
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13075 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13076 with_gnu_ld
=$lt_cv_prog_gnu_ld
13084 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13085 # archiving commands below assume that GNU ld is being used.
13086 if test "$with_gnu_ld" = yes; then
13087 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13088 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'
13090 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13091 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13093 # If archive_cmds runs LD, not CC, wlarc should be empty
13094 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13095 # investigate it a little bit more. (MM)
13098 # ancient GNU ld didn't support --whole-archive et. al.
13099 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13100 $GREP 'no-whole-archive' > /dev
/null
; then
13101 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13103 whole_archive_flag_spec_CXX
=
13109 # A generic and very simple default shared library creation
13110 # command for GNU C++ for the case where it uses the native
13111 # linker, instead of GNU ld. If possible, this setting should
13112 # overridden to take advantage of the native linker features on
13113 # the platform it is being used on.
13114 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13117 # Commands to make compiler produce verbose output that lists
13118 # what "hidden" libraries, object files and flags are used when
13119 # linking a shared library.
13120 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13128 # PORTME: fill in a description of your system's C++ link characteristics
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13130 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13134 # FIXME: insert proper C++ library support
13138 if test "$host_cpu" = ia64
; then
13139 # On IA64, the linker does run time linking by default, so we don't
13140 # have to do anything special.
13141 aix_use_runtimelinking
=no
13142 exp_sym_flag
='-Bexport'
13145 aix_use_runtimelinking
=no
13147 # Test if we are trying to use run time linking or normal
13148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13149 # need to do runtime linking.
13150 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13151 for ld_flag
in $LDFLAGS; do
13154 aix_use_runtimelinking
=yes
13162 exp_sym_flag
='-bexport'
13163 no_entry_flag
='-bnoentry'
13166 # When large executables or shared objects are built, AIX ld can
13167 # have problems creating the table of contents. If linking a library
13168 # or program results in "error TOC overflow" add -mminimal-toc to
13169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13172 archive_cmds_CXX
=''
13173 hardcode_direct_CXX
=yes
13174 hardcode_direct_absolute_CXX
=yes
13175 hardcode_libdir_separator_CXX
=':'
13176 link_all_deplibs_CXX
=yes
13177 file_list_spec_CXX
='${wl}-f,'
13179 if test "$GXX" = yes; then
13180 case $host_os in aix4.
[012]|aix4.
[012].
*)
13181 # We only want to do this on AIX 4.2 and lower, the check
13182 # below for broken collect2 doesn't work under 4.3+
13183 collect2name
=`${CC} -print-prog-name=collect2`
13184 if test -f "$collect2name" &&
13185 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13187 # We have reworked collect2
13190 # We have old collect2
13191 hardcode_direct_CXX
=unsupported
13192 # It fails to find uninstalled libraries when the uninstalled
13193 # path is not listed in the libpath. Setting hardcode_minus_L
13194 # to unsupported forces relinking
13195 hardcode_minus_L_CXX
=yes
13196 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13197 hardcode_libdir_separator_CXX
=
13200 shared_flag
='-shared'
13201 if test "$aix_use_runtimelinking" = yes; then
13202 shared_flag
="$shared_flag "'${wl}-G'
13206 if test "$host_cpu" = ia64
; then
13207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13208 # chokes on -Wl,-G. The following line is correct:
13211 if test "$aix_use_runtimelinking" = yes; then
13212 shared_flag
='${wl}-G'
13214 shared_flag
='${wl}-bM:SRE'
13219 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13220 # It seems that -bexpall does not export symbols beginning with
13221 # underscore (_), so it is better to generate a list of symbols to
13223 always_export_symbols_CXX
=yes
13224 if test "$aix_use_runtimelinking" = yes; then
13225 # Warning - without using the other runtime loading flags (-brtl),
13226 # -berok will link without error, but may produce a broken library.
13227 allow_undefined_flag_CXX
='-berok'
13228 # Determine the default libpath from the value encoded in an empty
13230 if test "${lt_cv_aix_libpath+set}" = set; then
13231 aix_libpath
=$lt_cv_aix_libpath
13233 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13234 $as_echo_n "(cached) " >&6
13236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13247 if ac_fn_cxx_try_link
"$LINENO"; then :
13249 lt_aix_libpath_sed
='
13250 /Import File Strings/,/^$/ {
13252 s/^0 *\([^ ]*\) *$/\1/
13256 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13257 # Check for a 64-bit object if we didn't find anything.
13258 if test -z "$lt_cv_aix_libpath__CXX"; then
13259 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13262 rm -f core conftest.err conftest.
$ac_objext \
13263 conftest
$ac_exeext conftest.
$ac_ext
13264 if test -z "$lt_cv_aix_libpath__CXX"; then
13265 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13270 aix_libpath
=$lt_cv_aix_libpath__CXX
13273 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13275 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"
13277 if test "$host_cpu" = ia64
; then
13278 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13279 allow_undefined_flag_CXX
="-z nodefs"
13280 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"
13282 # Determine the default libpath from the value encoded in an
13283 # empty executable.
13284 if test "${lt_cv_aix_libpath+set}" = set; then
13285 aix_libpath
=$lt_cv_aix_libpath
13287 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13288 $as_echo_n "(cached) " >&6
13290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13301 if ac_fn_cxx_try_link
"$LINENO"; then :
13303 lt_aix_libpath_sed
='
13304 /Import File Strings/,/^$/ {
13306 s/^0 *\([^ ]*\) *$/\1/
13310 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13311 # Check for a 64-bit object if we didn't find anything.
13312 if test -z "$lt_cv_aix_libpath__CXX"; then
13313 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13316 rm -f core conftest.err conftest.
$ac_objext \
13317 conftest
$ac_exeext conftest.
$ac_ext
13318 if test -z "$lt_cv_aix_libpath__CXX"; then
13319 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13324 aix_libpath
=$lt_cv_aix_libpath__CXX
13327 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13328 # Warning - without using the other run time loading flags,
13329 # -berok will link without error, but may produce a broken library.
13330 no_undefined_flag_CXX
=' ${wl}-bernotok'
13331 allow_undefined_flag_CXX
=' ${wl}-berok'
13332 if test "$with_gnu_ld" = yes; then
13333 # We only use this code for GNU lds that support --whole-archive.
13334 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13336 # Exported symbols can be pulled into shared objects from archives
13337 whole_archive_flag_spec_CXX
='$convenience'
13339 archive_cmds_need_lc_CXX
=yes
13340 # This is similar to how AIX traditionally builds its shared
13342 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'
13348 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13349 allow_undefined_flag_CXX
=unsupported
13350 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13351 # support --undefined. This deserves some investigation. FIXME
13352 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13359 case $cc_basename in
13361 # FIXME: insert proper C++ library support
13367 cygwin
* | mingw
* | pw32
* | cegcc
*)
13368 case $GXX,$cc_basename in
13371 # hardcode_libdir_flag_spec is actually meaningless, as there is
13372 # no search path for DLLs.
13373 hardcode_libdir_flag_spec_CXX
=' '
13374 allow_undefined_flag_CXX
=unsupported
13375 always_export_symbols_CXX
=yes
13376 file_list_spec_CXX
='@'
13377 # Tell ltmain to make .lib files, not .a files.
13379 # Tell ltmain to make .dll files, not .so files.
13381 # FIXME: Setting linknames here is a bad hack.
13382 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13383 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13384 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13386 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13388 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13390 # The linker will not automatically build a static lib if we build a DLL.
13391 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13392 enable_shared_with_static_runtimes_CXX
=yes
13394 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13395 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13396 lt_tool_outputfile="@TOOL_OUTPUT@"~
13397 case $lt_outputfile in
13400 lt_outputfile="$lt_outputfile.exe"
13401 lt_tool_outputfile="$lt_tool_outputfile.exe"
13404 func_to_tool_file "$lt_outputfile"~
13405 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13406 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13407 $RM "$lt_outputfile.manifest";
13412 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13413 # as there is no search path for DLLs.
13414 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13415 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13416 allow_undefined_flag_CXX
=unsupported
13417 always_export_symbols_CXX
=no
13418 enable_shared_with_static_runtimes_CXX
=yes
13420 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13421 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'
13422 # If the export-symbols file already is a .def file (1st line
13423 # is EXPORTS), use it as is; otherwise, prepend...
13424 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13425 cp $export_symbols $output_objdir/$soname.def;
13427 echo EXPORTS > $output_objdir/$soname.def;
13428 cat $export_symbols >> $output_objdir/$soname.def;
13430 $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'
13437 darwin
* | rhapsody
*)
13440 archive_cmds_need_lc_CXX
=no
13441 hardcode_direct_CXX
=no
13442 hardcode_automatic_CXX
=yes
13443 hardcode_shlibpath_var_CXX
=unsupported
13444 if test "$lt_cv_ld_force_load" = "yes"; then
13445 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\"`'
13448 whole_archive_flag_spec_CXX
=''
13450 link_all_deplibs_CXX
=yes
13451 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13452 case $cc_basename in
13453 ifort
*) _lt_dar_can_shared
=yes ;;
13454 *) _lt_dar_can_shared
=$GCC ;;
13456 if test "$_lt_dar_can_shared" = "yes"; then
13457 output_verbose_link_cmd
=func_echo_all
13458 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}"
13459 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13460 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}"
13461 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}"
13462 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13463 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}"
13464 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}"
13474 case $cc_basename in
13476 # FIXME: insert proper C++ library support
13480 # Green Hills C++ Compiler
13481 # FIXME: insert proper C++ library support
13485 # FIXME: insert proper C++ library support
13492 # C++ shared libraries reported to be fairly broken before
13498 archive_cmds_need_lc_CXX
=no
13501 freebsd
* | dragonfly
*)
13502 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13511 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13512 link_all_deplibs_CXX
=yes
13516 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13517 hardcode_libdir_separator_CXX
=:
13518 export_dynamic_flag_spec_CXX
='${wl}-E'
13519 hardcode_direct_CXX
=yes
13520 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13521 # but as the default
13522 # location of the library.
13524 case $cc_basename in
13526 # FIXME: insert proper C++ library support
13530 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'
13531 # Commands to make compiler produce verbose output that lists
13532 # what "hidden" libraries, object files and flags are used when
13533 # linking a shared library.
13535 # There doesn't appear to be a way to prevent this compiler from
13536 # explicitly linking system object files so we need to strip them
13537 # from the output so that they don't get included in the library
13539 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"'
13542 if test "$GXX" = yes; then
13543 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'
13545 # FIXME: insert proper C++ library support
13553 if test $with_gnu_ld = no
; then
13554 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13555 hardcode_libdir_separator_CXX
=:
13561 export_dynamic_flag_spec_CXX
='${wl}-E'
13567 hardcode_direct_CXX
=no
13568 hardcode_shlibpath_var_CXX
=no
13571 hardcode_direct_CXX
=yes
13572 hardcode_direct_absolute_CXX
=yes
13573 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13574 # but as the default
13575 # location of the library.
13579 case $cc_basename in
13581 # FIXME: insert proper C++ library support
13587 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13590 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13593 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13596 # Commands to make compiler produce verbose output that lists
13597 # what "hidden" libraries, object files and flags are used when
13598 # linking a shared library.
13600 # There doesn't appear to be a way to prevent this compiler from
13601 # explicitly linking system object files so we need to strip them
13602 # from the output so that they don't get included in the library
13604 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"'
13607 if test "$GXX" = yes; then
13608 if test $with_gnu_ld = no
; then
13611 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13614 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13617 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'
13622 # FIXME: insert proper C++ library support
13630 hardcode_direct_CXX
=no
13631 hardcode_shlibpath_var_CXX
=no
13632 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13633 export_dynamic_flag_spec_CXX
='${wl}-E'
13634 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13635 # Instead, shared libraries are loaded at an image base (0x10000000 by
13636 # default) and relocated if they conflict, which is a slow very memory
13637 # consuming and fragmenting process. To avoid this, we pick a random,
13638 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13639 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13640 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'
13641 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'
13644 case $cc_basename in
13647 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'
13649 # Archives containing C++ object files must be created using
13650 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13651 # necessary to make sure instantiated templates are included
13653 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13656 if test "$GXX" = yes; then
13657 if test "$with_gnu_ld" = no
; then
13658 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'
13660 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'
13663 link_all_deplibs_CXX
=yes
13666 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13667 hardcode_libdir_separator_CXX
=:
13668 inherit_rpath_CXX
=yes
13671 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13672 case $cc_basename in
13674 # Kuck and Associates, Inc. (KAI) C++ Compiler
13676 # KCC will only create a shared library if the output file
13677 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13678 # to its proper name (with version) after linking.
13679 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'
13680 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'
13681 # Commands to make compiler produce verbose output that lists
13682 # what "hidden" libraries, object files and flags are used when
13683 # linking a shared library.
13685 # There doesn't appear to be a way to prevent this compiler from
13686 # explicitly linking system object files so we need to strip them
13687 # from the output so that they don't get included in the library
13689 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"'
13691 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13692 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13694 # Archives containing C++ object files must be created using
13695 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13696 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13701 # version 8.0 and above of icpc choke on multiply defined symbols
13702 # if we add $predep_objects and $postdep_objects, however 7.1 and
13703 # earlier do not add the objects themselves.
13704 case `$CC -V 2>&1` in
13706 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13707 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'
13709 *) # Version 8.0 or newer
13712 ia64
*) tmp_idyn
=' -i_dynamic';;
13714 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13715 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'
13718 archive_cmds_need_lc_CXX
=no
13719 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13720 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13721 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13724 # Portland Group C++ compiler
13726 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13727 prelink_cmds_CXX
='tpldir=Template.dir~
13729 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13730 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13731 old_archive_cmds_CXX
='tpldir=Template.dir~
13733 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13734 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13736 archive_cmds_CXX
='tpldir=Template.dir~
13738 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13739 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13740 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13742 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13743 $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'
13745 *) # Version 6 and above use weak symbols
13746 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13747 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'
13751 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13752 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13753 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'
13757 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13758 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'
13760 runpath_var
=LD_RUN_PATH
13761 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13762 hardcode_libdir_separator_CXX
=:
13764 # Commands to make compiler produce verbose output that lists
13765 # what "hidden" libraries, object files and flags are used when
13766 # linking a shared library.
13768 # There doesn't appear to be a way to prevent this compiler from
13769 # explicitly linking system object files so we need to strip them
13770 # from the output so that they don't get included in the library
13772 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'
13774 xl
* | mpixl
* | bgxl
*)
13775 # IBM XL 8.0 on PPC, with GNU ld
13776 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13777 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13778 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13779 if test "x$supports_anon_versioning" = xyes
; then
13780 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13781 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13782 echo "local: *; };" >> $output_objdir/$libname.ver~
13783 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13787 case `$CC -V 2>&1 | sed 5q` in
13790 no_undefined_flag_CXX
=' -zdefs'
13791 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13792 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'
13793 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13794 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'
13795 compiler_needs_object_CXX
=yes
13797 # Not sure whether something based on
13798 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13800 output_verbose_link_cmd
='func_echo_all'
13802 # Archives containing C++ object files must be created using
13803 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13804 # necessary to make sure instantiated templates are included
13806 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13814 # FIXME: insert proper C++ library support
13819 # FIXME: insert proper C++ library support
13824 case $cc_basename in
13826 # FIXME: insert proper C++ library support
13830 # FIXME: insert proper C++ library support
13837 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13838 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13840 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13841 hardcode_direct_CXX
=yes
13842 hardcode_shlibpath_var_CXX
=no
13844 # Workaround some broken pre-1.5 toolchains
13845 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13853 # C++ shared libraries are fairly broken
13858 if test -f /usr
/libexec
/ld.so
; then
13859 hardcode_direct_CXX
=yes
13860 hardcode_shlibpath_var_CXX
=no
13861 hardcode_direct_absolute_CXX
=yes
13862 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13863 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13864 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13865 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13866 export_dynamic_flag_spec_CXX
='${wl}-E'
13867 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13869 output_verbose_link_cmd
=func_echo_all
13875 osf3
* | osf4
* | osf5
*)
13876 case $cc_basename in
13878 # Kuck and Associates, Inc. (KAI) C++ Compiler
13880 # KCC will only create a shared library if the output file
13881 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13882 # to its proper name (with version) after linking.
13883 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'
13885 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13886 hardcode_libdir_separator_CXX
=:
13888 # Archives containing C++ object files must be created using
13889 # the KAI C++ compiler.
13891 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13892 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13896 # Rational C++ 2.4.1
13897 # FIXME: insert proper C++ library support
13903 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13904 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'
13905 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13908 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13909 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'
13910 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13911 echo "-hidden">> $lib.exp~
13912 $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~
13914 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13918 hardcode_libdir_separator_CXX
=:
13920 # Commands to make compiler produce verbose output that lists
13921 # what "hidden" libraries, object files and flags are used when
13922 # linking a shared library.
13924 # There doesn't appear to be a way to prevent this compiler from
13925 # explicitly linking system object files so we need to strip them
13926 # from the output so that they don't get included in the library
13928 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"'
13931 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13932 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13935 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'
13938 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'
13942 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13943 hardcode_libdir_separator_CXX
=:
13945 # Commands to make compiler produce verbose output that lists
13946 # what "hidden" libraries, object files and flags are used when
13947 # linking a shared library.
13948 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13951 # FIXME: insert proper C++ library support
13959 # FIXME: insert proper C++ library support
13964 case $cc_basename in
13967 # FIXME: insert proper C++ library support
13972 # FIXME: insert proper C++ library support
13976 # FIXME: insert proper C++ library support
13983 case $cc_basename in
13985 # Sun C++ 4.2, 5.x and Centerline C++
13986 archive_cmds_need_lc_CXX
=yes
13987 no_undefined_flag_CXX
=' -zdefs'
13988 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13989 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13990 $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'
13992 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13993 hardcode_shlibpath_var_CXX
=no
13995 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13997 # The compiler driver will combine and reorder linker options,
13998 # but understands `-z linker_flag'.
13999 # Supported since Solaris 2.6 (maybe 2.5.1?)
14000 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14003 link_all_deplibs_CXX
=yes
14005 output_verbose_link_cmd
='func_echo_all'
14007 # Archives containing C++ object files must be created using
14008 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14009 # necessary to make sure instantiated templates are included
14011 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14014 # Green Hills C++ Compiler
14015 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14017 # The C++ compiler must be used to create the archive.
14018 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14021 # GNU C++ compiler with Solaris linker
14022 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14023 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14024 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14025 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14026 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14027 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14029 # Commands to make compiler produce verbose output that lists
14030 # what "hidden" libraries, object files and flags are used when
14031 # linking a shared library.
14032 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14034 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14036 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14037 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14038 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14040 # Commands to make compiler produce verbose output that lists
14041 # what "hidden" libraries, object files and flags are used when
14042 # linking a shared library.
14043 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14046 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14048 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14050 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14058 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14059 no_undefined_flag_CXX
='${wl}-z,text'
14060 archive_cmds_need_lc_CXX
=no
14061 hardcode_shlibpath_var_CXX
=no
14062 runpath_var
='LD_RUN_PATH'
14064 case $cc_basename in
14066 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14067 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14070 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14071 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14076 sysv5
* | sco3.2v5
* | sco5v6
*)
14077 # Note: We can NOT use -z defs as we might desire, because we do not
14078 # link with -lc, and that would cause any symbols used from libc to
14079 # always be unresolved, which means just about no library would
14080 # ever link correctly. If we're not using GNU ld we use -z text
14081 # though, which does catch some bad symbols but isn't as heavy-handed
14083 no_undefined_flag_CXX
='${wl}-z,text'
14084 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14085 archive_cmds_need_lc_CXX
=no
14086 hardcode_shlibpath_var_CXX
=no
14087 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14088 hardcode_libdir_separator_CXX
=':'
14089 link_all_deplibs_CXX
=yes
14090 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14091 runpath_var
='LD_RUN_PATH'
14093 case $cc_basename in
14095 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14096 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14097 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14098 '"$old_archive_cmds_CXX"
14099 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14100 '"$reload_cmds_CXX"
14103 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14104 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14110 case $cc_basename in
14112 # NonStop-UX NCC 3.20
14113 # FIXME: insert proper C++ library support
14117 # FIXME: insert proper C++ library support
14124 # FIXME: insert proper C++ library support
14129 # FIXME: insert proper C++ library support
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14135 $as_echo "$ld_shlibs_CXX" >&6; }
14136 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14142 ## There is no encapsulation within the following macros, do not change
14143 ## the running order or otherwise move them around unless you know exactly
14144 ## what you are doing...
14145 # Dependencies to place before and after the object being linked:
14146 predep_objects_CXX
=
14147 postdep_objects_CXX
=
14150 compiler_lib_search_path_CXX
=
14152 cat > conftest.
$ac_ext <<_LT_EOF
14156 Foo (void) { a = 0; }
14163 _lt_libdeps_save_CFLAGS
=$CFLAGS
14164 case "$CC $CFLAGS " in #(
14165 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14166 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14167 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14171 (eval $ac_compile) 2>&5
14173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14174 test $ac_status = 0; }; then
14175 # Parse the compiler output and extract the necessary
14176 # objects, libraries and library flags.
14178 # Sentinel used to keep track of whether or not we are before
14179 # the conftest object file.
14180 pre_test_object_deps_done
=no
14182 for p
in `eval "$output_verbose_link_cmd"`; do
14183 case ${prev}${p} in
14186 # Some compilers place space between "-{L,R}" and the path.
14187 # Remove the space.
14188 if test $p = "-L" ||
14189 test $p = "-R"; then
14194 # Expand the sysroot to ease extracting the directories later.
14195 if test -z "$prev"; then
14197 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14198 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14199 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14203 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14205 if test "$pre_test_object_deps_done" = no
; then
14208 # Internal compiler library paths should come after those
14209 # provided the user. The postdeps already come after the
14210 # user supplied libs so there is no need to process them.
14211 if test -z "$compiler_lib_search_path_CXX"; then
14212 compiler_lib_search_path_CXX
="${prev}${p}"
14214 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14217 # The "-l" case would never come before the object being
14218 # linked, so don't bother handling this case.
14221 if test -z "$postdeps_CXX"; then
14222 postdeps_CXX
="${prev}${p}"
14224 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14230 *.lto.
$objext) ;; # Ignore GCC LTO objects
14232 # This assumes that the test object file only shows up
14233 # once in the compiler output.
14234 if test "$p" = "conftest.$objext"; then
14235 pre_test_object_deps_done
=yes
14239 if test "$pre_test_object_deps_done" = no
; then
14240 if test -z "$predep_objects_CXX"; then
14241 predep_objects_CXX
="$p"
14243 predep_objects_CXX
="$predep_objects_CXX $p"
14246 if test -z "$postdep_objects_CXX"; then
14247 postdep_objects_CXX
="$p"
14249 postdep_objects_CXX
="$postdep_objects_CXX $p"
14254 *) ;; # Ignore the rest.
14262 echo "libtool.m4: error: problem compiling CXX test program"
14265 $RM -f confest.
$objext
14266 CFLAGS
=$_lt_libdeps_save_CFLAGS
14268 # PORTME: override above test on systems where it is broken
14271 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14272 # hack all around it, let's just trust "g++" to DTRT.
14273 predep_objects_CXX
=
14274 postdep_objects_CXX
=
14279 case `$CC -V 2>&1 | sed 5q` in
14283 # The more standards-conforming stlport4 library is
14284 # incompatible with the Cstd library. Avoid specifying
14285 # it if it's in CXXFLAGS. Ignore libCrun as
14286 # -library=stlport4 depends on it.
14287 case " $CXX $CXXFLAGS " in
14288 *" -library=stlport4 "*)
14289 solaris_use_stlport4
=yes
14293 if test "$solaris_use_stlport4" != yes; then
14294 postdeps_CXX
='-library=Cstd -library=Crun'
14301 case $cc_basename in
14303 # The more standards-conforming stlport4 library is
14304 # incompatible with the Cstd library. Avoid specifying
14305 # it if it's in CXXFLAGS. Ignore libCrun as
14306 # -library=stlport4 depends on it.
14307 case " $CXX $CXXFLAGS " in
14308 *" -library=stlport4 "*)
14309 solaris_use_stlport4
=yes
14313 # Adding this requires a known-good setup of shared libraries for
14314 # Sun compiler versions before 5.6, else PIC objects from an old
14315 # archive will be linked into the output, leading to subtle bugs.
14316 if test "$solaris_use_stlport4" != yes; then
14317 postdeps_CXX
='-library=Cstd -library=Crun'
14325 case " $postdeps_CXX " in
14326 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14328 compiler_lib_search_dirs_CXX
=
14329 if test -n "${compiler_lib_search_path_CXX}"; then
14330 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14363 lt_prog_compiler_wl_CXX
=
14364 lt_prog_compiler_pic_CXX
=
14365 lt_prog_compiler_static_CXX
=
14368 # C++ specific cases for pic, static, wl, etc.
14369 if test "$GXX" = yes; then
14370 lt_prog_compiler_wl_CXX
='-Wl,'
14371 lt_prog_compiler_static_CXX
='-static'
14375 # All AIX code is PIC.
14376 if test "$host_cpu" = ia64
; then
14377 # AIX 5 now supports IA64 processor
14378 lt_prog_compiler_static_CXX
='-Bstatic'
14385 # see comment about AmigaOS4 .so support
14386 lt_prog_compiler_pic_CXX
='-fPIC'
14389 # FIXME: we need at least 68020 code to build shared libraries, but
14390 # adding the `-m68020' flag to GCC prevents building anything better,
14392 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14397 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14398 # PIC is the default for these OSes.
14400 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14401 # This hack is so that the source file can tell whether it is being
14402 # built for inclusion in a dll (and should export symbols for example).
14403 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14404 # (--disable-auto-import) libraries
14405 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14407 darwin
* | rhapsody
*)
14408 # PIC is the default on this platform
14409 # Common symbols not allowed in MH_DYLIB files
14410 lt_prog_compiler_pic_CXX
='-fno-common'
14413 # DJGPP does not support shared libraries at all
14414 lt_prog_compiler_pic_CXX
=
14417 # PIC is the default for Haiku.
14418 # The "-static" flag exists, but is broken.
14419 lt_prog_compiler_static_CXX
=
14422 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14423 # Instead, we relocate shared libraries at runtime.
14426 if test -d /usr
/nec
; then
14427 lt_prog_compiler_pic_CXX
=-Kconform_pic
14431 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14432 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14433 # sets the default TLS model and affects inlining.
14438 lt_prog_compiler_pic_CXX
='-fPIC'
14443 # QNX uses GNU C++, but need to define -shared option too, otherwise
14444 # it will coredump.
14445 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14448 lt_prog_compiler_pic_CXX
='-fPIC'
14454 # All AIX code is PIC.
14455 if test "$host_cpu" = ia64
; then
14456 # AIX 5 now supports IA64 processor
14457 lt_prog_compiler_static_CXX
='-Bstatic'
14459 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14463 case $cc_basename in
14465 # Green Hills C++ Compiler
14466 # _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"
14470 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14471 # This hack is so that the source file can tell whether it is being
14472 # built for inclusion in a dll (and should export symbols for example).
14473 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14476 case $cc_basename in
14478 lt_prog_compiler_pic_CXX
='-KPIC'
14481 # Green Hills C++ Compiler
14482 lt_prog_compiler_pic_CXX
='-pic'
14488 freebsd
* | dragonfly
*)
14489 # FreeBSD uses GNU C++
14491 hpux9
* | hpux10
* | hpux11
*)
14492 case $cc_basename in
14494 lt_prog_compiler_wl_CXX
='-Wl,'
14495 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14496 if test "$host_cpu" != ia64
; then
14497 lt_prog_compiler_pic_CXX
='+Z'
14501 lt_prog_compiler_wl_CXX
='-Wl,'
14502 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14508 lt_prog_compiler_pic_CXX
='+Z'
14517 # This is c89, which is MS Visual C++ (no shared libs)
14518 # Anyone wants to do a port?
14520 irix5
* | irix6
* | nonstopux
*)
14521 case $cc_basename in
14523 lt_prog_compiler_wl_CXX
='-Wl,'
14524 lt_prog_compiler_static_CXX
='-non_shared'
14525 # CC pic flag -KPIC is the default.
14531 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14532 case $cc_basename in
14535 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14536 lt_prog_compiler_pic_CXX
='-fPIC'
14539 # old Intel C++ for x86_64 which still supported -KPIC.
14540 lt_prog_compiler_wl_CXX
='-Wl,'
14541 lt_prog_compiler_pic_CXX
='-KPIC'
14542 lt_prog_compiler_static_CXX
='-static'
14545 # Intel C++, used to be incompatible with GCC.
14546 # ICC 10 doesn't accept -KPIC any more.
14547 lt_prog_compiler_wl_CXX
='-Wl,'
14548 lt_prog_compiler_pic_CXX
='-fPIC'
14549 lt_prog_compiler_static_CXX
='-static'
14552 # Portland Group C++ compiler
14553 lt_prog_compiler_wl_CXX
='-Wl,'
14554 lt_prog_compiler_pic_CXX
='-fpic'
14555 lt_prog_compiler_static_CXX
='-Bstatic'
14559 # Make sure the PIC flag is empty. It appears that all Alpha
14560 # Linux and Compaq Tru64 Unix objects are PIC.
14561 lt_prog_compiler_pic_CXX
=
14562 lt_prog_compiler_static_CXX
='-non_shared'
14564 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14565 # IBM XL 8.0, 9.0 on PPC and BlueGene
14566 lt_prog_compiler_wl_CXX
='-Wl,'
14567 lt_prog_compiler_pic_CXX
='-qpic'
14568 lt_prog_compiler_static_CXX
='-qstaticlink'
14571 case `$CC -V 2>&1 | sed 5q` in
14574 lt_prog_compiler_pic_CXX
='-KPIC'
14575 lt_prog_compiler_static_CXX
='-Bstatic'
14576 lt_prog_compiler_wl_CXX
='-Qoption ld '
14587 case $cc_basename in
14589 lt_prog_compiler_pic_CXX
='-W c,exportall'
14598 # QNX uses GNU C++, but need to define -shared option too, otherwise
14599 # it will coredump.
14600 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14602 osf3
* | osf4
* | osf5
*)
14603 case $cc_basename in
14605 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14608 # Rational C++ 2.4.1
14609 lt_prog_compiler_pic_CXX
='-pic'
14612 # Digital/Compaq C++
14613 lt_prog_compiler_wl_CXX
='-Wl,'
14614 # Make sure the PIC flag is empty. It appears that all Alpha
14615 # Linux and Compaq Tru64 Unix objects are PIC.
14616 lt_prog_compiler_pic_CXX
=
14617 lt_prog_compiler_static_CXX
='-non_shared'
14626 case $cc_basename in
14628 # Sun C++ 4.2, 5.x and Centerline C++
14629 lt_prog_compiler_pic_CXX
='-KPIC'
14630 lt_prog_compiler_static_CXX
='-Bstatic'
14631 lt_prog_compiler_wl_CXX
='-Qoption ld '
14634 # Green Hills C++ Compiler
14635 lt_prog_compiler_pic_CXX
='-PIC'
14642 case $cc_basename in
14645 lt_prog_compiler_pic_CXX
='-pic'
14646 lt_prog_compiler_static_CXX
='-Bstatic'
14650 lt_prog_compiler_pic_CXX
='-pic'
14656 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14657 case $cc_basename in
14659 lt_prog_compiler_wl_CXX
='-Wl,'
14660 lt_prog_compiler_pic_CXX
='-KPIC'
14661 lt_prog_compiler_static_CXX
='-Bstatic'
14666 case $cc_basename in
14668 # NonStop-UX NCC 3.20
14669 lt_prog_compiler_pic_CXX
='-KPIC'
14678 lt_prog_compiler_can_build_shared_CXX
=no
14684 # For platforms which do not support PIC, -DPIC is meaningless:
14686 lt_prog_compiler_pic_CXX
=
14689 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14694 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14695 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14696 $as_echo_n "(cached) " >&6
14698 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14701 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14702 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14705 # Check to make sure the PIC flag actually works.
14707 if test -n "$lt_prog_compiler_pic_CXX"; then
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14709 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14710 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14711 $as_echo_n "(cached) " >&6
14713 lt_cv_prog_compiler_pic_works_CXX
=no
14714 ac_outfile
=conftest.
$ac_objext
14715 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14716 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14717 # Insert the option either (1) after the last *FLAGS variable, or
14718 # (2) before a word containing "conftest.", or (3) at the end.
14719 # Note that $ac_compile itself does not contain backslashes and begins
14720 # with a dollar sign (not a hyphen), so the echo should work correctly.
14721 # The option is referenced via a variable to avoid confusing sed.
14722 lt_compile
=`echo "$ac_compile" | $SED \
14723 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14724 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14725 -e 's:$: $lt_compiler_flag:'`
14726 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14727 (eval "$lt_compile" 2>conftest.err
)
14729 cat conftest.err
>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 if (exit $ac_status) && test -s "$ac_outfile"; then
14732 # The compiler can only warn and ignore the option if not recognized
14733 # So say no if there are warnings other than the usual output.
14734 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14735 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14736 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14737 lt_cv_prog_compiler_pic_works_CXX
=yes
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14744 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14746 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14747 case $lt_prog_compiler_pic_CXX in
14749 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14752 lt_prog_compiler_pic_CXX
=
14753 lt_prog_compiler_can_build_shared_CXX
=no
14763 # Check to make sure the static flag actually works.
14765 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14767 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14768 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14769 $as_echo_n "(cached) " >&6
14771 lt_cv_prog_compiler_static_works_CXX
=no
14772 save_LDFLAGS
="$LDFLAGS"
14773 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14774 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14775 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14776 # The linker can only warn and ignore the option if not recognized
14777 # So say no if there are warnings
14778 if test -s conftest.err
; then
14779 # Append any errors to the config.log.
14780 cat conftest.err
1>&5
14781 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14782 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14783 if diff conftest.exp conftest.er2
>/dev
/null
; then
14784 lt_cv_prog_compiler_static_works_CXX
=yes
14787 lt_cv_prog_compiler_static_works_CXX
=yes
14791 LDFLAGS
="$save_LDFLAGS"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14795 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14797 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14800 lt_prog_compiler_static_CXX
=
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14807 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14808 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14809 $as_echo_n "(cached) " >&6
14811 lt_cv_prog_compiler_c_o_CXX
=no
14812 $RM -r conftest
2>/dev
/null
14816 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14818 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14819 # Insert the option either (1) after the last *FLAGS variable, or
14820 # (2) before a word containing "conftest.", or (3) at the end.
14821 # Note that $ac_compile itself does not contain backslashes and begins
14822 # with a dollar sign (not a hyphen), so the echo should work correctly.
14823 lt_compile
=`echo "$ac_compile" | $SED \
14824 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14825 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14826 -e 's:$: $lt_compiler_flag:'`
14827 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14828 (eval "$lt_compile" 2>out
/conftest.err
)
14830 cat out
/conftest.err
>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14834 # The compiler can only warn and ignore the option if not recognized
14835 # So say no if there are warnings
14836 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14837 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14838 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14839 lt_cv_prog_compiler_c_o_CXX
=yes
14844 # SGI C++ compiler will create directory out/ii_files/ for
14845 # template instantiation
14846 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14847 $RM out
/* && rmdir out
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14854 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14859 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14860 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14861 $as_echo_n "(cached) " >&6
14863 lt_cv_prog_compiler_c_o_CXX
=no
14864 $RM -r conftest
2>/dev
/null
14868 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14870 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14871 # Insert the option either (1) after the last *FLAGS variable, or
14872 # (2) before a word containing "conftest.", or (3) at the end.
14873 # Note that $ac_compile itself does not contain backslashes and begins
14874 # with a dollar sign (not a hyphen), so the echo should work correctly.
14875 lt_compile
=`echo "$ac_compile" | $SED \
14876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14878 -e 's:$: $lt_compiler_flag:'`
14879 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14880 (eval "$lt_compile" 2>out
/conftest.err
)
14882 cat out
/conftest.err
>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14886 # The compiler can only warn and ignore the option if not recognized
14887 # So say no if there are warnings
14888 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14889 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14890 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14891 lt_cv_prog_compiler_c_o_CXX
=yes
14896 # SGI C++ compiler will create directory out/ii_files/ for
14897 # template instantiation
14898 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14899 $RM out
/* && rmdir out
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14906 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14911 hard_links
="nottested"
14912 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14913 # do not overwrite the value of need_locks provided by the user
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14915 $as_echo_n "checking if we can lock with hard links... " >&6; }
14918 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14920 ln conftest.a conftest.b
2>&5 || hard_links
=no
14921 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14923 $as_echo "$hard_links" >&6; }
14924 if test "$hard_links" = no
; then
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14926 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14936 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14938 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14939 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14942 # If we're using GNU nm, then we don't want the "-C" option.
14943 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14944 # Also, AIX nm treats weak defined symbols like other global defined
14945 # symbols, whereas GNU nm marks them as "W".
14946 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14947 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'
14949 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'
14953 export_symbols_cmds_CXX
="$ltdll_cmds"
14955 cygwin
* | mingw
* | cegcc
*)
14956 case $cc_basename in
14958 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14961 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'
14962 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14967 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14972 $as_echo "$ld_shlibs_CXX" >&6; }
14973 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14975 with_gnu_ld_CXX
=$with_gnu_ld
14983 # Do we need to explicitly link libc?
14985 case "x$archive_cmds_need_lc_CXX" in
14987 # Assume -lc should be added
14988 archive_cmds_need_lc_CXX
=yes
14990 if test "$enable_shared" = yes && test "$GCC" = yes; then
14991 case $archive_cmds_CXX in
14993 # FIXME: we may have to deal with multi-command sequences.
14996 # Test whether the compiler implicitly links with -lc since on some
14997 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14998 # to ld, don't add -lc before -lgcc.
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15000 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15001 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15002 $as_echo_n "(cached) " >&6
15005 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15008 (eval $ac_compile) 2>&5
15010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15011 test $ac_status = 0; } 2>conftest.err
; then
15014 libobjs
=conftest.
$ac_objext
15016 wl
=$lt_prog_compiler_wl_CXX
15017 pic_flag
=$lt_prog_compiler_pic_CXX
15023 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15024 allow_undefined_flag_CXX
=
15025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15026 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15029 test $ac_status = 0; }
15031 lt_cv_archive_cmds_need_lc_CXX
=no
15033 lt_cv_archive_cmds_need_lc_CXX
=yes
15035 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15037 cat conftest.err
1>&5
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15043 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15044 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15115 library_names_spec
=
15116 libname_spec
='lib$name'
15120 postuninstall_cmds
=
15124 shlibpath_overrides_runpath
=unknown
15126 dynamic_linker
="$host_os ld.so"
15127 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15128 need_lib_prefix
=unknown
15129 hardcode_into_libs
=no
15131 # when you set need_version to no, make sure it does not cause -set_version
15132 # flags to be left without arguments
15133 need_version
=unknown
15137 version_type
=linux
# correct to gnu/linux during the next big refactor
15138 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15139 shlibpath_var
=LIBPATH
15141 # AIX 3 has no versioning support, so we append a major version to the name.
15142 soname_spec
='${libname}${release}${shared_ext}$major'
15146 version_type
=linux
# correct to gnu/linux during the next big refactor
15149 hardcode_into_libs
=yes
15150 if test "$host_cpu" = ia64
; then
15151 # AIX 5 supports IA64
15152 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15153 shlibpath_var
=LD_LIBRARY_PATH
15155 # With GCC up to 2.95.x, collect2 would create an import file
15156 # for dependence libraries. The import file would start with
15157 # the line `#! .'. This would cause the generated library to
15158 # depend on `.', always an invalid library. This was fixed in
15159 # development snapshots of GCC prior to 3.0.
15161 aix4
| aix4.
[01] | aix4.
[01].
*)
15162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15167 can_build_shared
=no
15171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15172 # soname into executable. Probably we can add versioning support to
15173 # collect2, so additional links can be useful in future.
15174 if test "$aix_use_runtimelinking" = yes; then
15175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15176 # instead of lib<name>.a to let people know that these are not
15177 # typical AIX shared libraries.
15178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15180 # We preserve .a as extension for shared libraries through AIX4.2
15181 # and later when we are not doing run time linking.
15182 library_names_spec
='${libname}${release}.a $libname.a'
15183 soname_spec
='${libname}${release}${shared_ext}$major'
15185 shlibpath_var
=LIBPATH
15192 # Since July 2007 AmigaOS4 officially supports .so libraries.
15193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15197 library_names_spec
='$libname.ixlibrary $libname.a'
15198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15199 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'
15205 library_names_spec
='${libname}${shared_ext}'
15206 dynamic_linker
="$host_os ld.so"
15207 shlibpath_var
=LIBRARY_PATH
15211 version_type
=linux
# correct to gnu/linux during the next big refactor
15213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15214 soname_spec
='${libname}${release}${shared_ext}$major'
15215 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15216 shlibpath_var
=LD_LIBRARY_PATH
15217 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15218 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15219 # the default ld.so.conf also contains /usr/contrib/lib and
15220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15221 # libtool to hard-code these into programs
15224 cygwin
* | mingw
* | pw32
* | cegcc
*)
15225 version_type
=windows
15230 case $GCC,$cc_basename in
15233 library_names_spec
='$libname.dll.a'
15234 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15235 postinstall_cmds
='base_file=`basename \${file}`~
15236 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15237 dldir=$destdir/`dirname \$dlpath`~
15238 test -d \$dldir || mkdir -p \$dldir~
15239 $install_prog $dir/$dlname \$dldir/$dlname~
15240 chmod a+x \$dldir/$dlname~
15241 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15242 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15244 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15245 dlpath=$dir/\$dldll~
15247 shlibpath_overrides_runpath
=yes
15251 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15252 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15256 # MinGW DLLs use traditional 'lib' prefix
15257 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15260 # pw32 DLLs use 'pw' prefix rather than 'lib'
15261 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15264 dynamic_linker
='Win32 ld.exe'
15269 libname_spec
='$name'
15270 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15271 library_names_spec
='${libname}.dll.lib'
15275 sys_lib_search_path_spec
=
15278 for lt_path
in $LIB
15281 # Let DOS variable expansion print the short 8.3 style file name.
15282 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15283 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15286 # Convert to MSYS style.
15287 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15290 # Convert to unix form, then to dos form, then back to unix form
15291 # but this time dos style (no spaces!) so that the unix form looks
15292 # like /cygdrive/c/PROGRA~1:/cygdr...
15293 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15294 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15295 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15298 sys_lib_search_path_spec
="$LIB"
15299 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15300 # It is most probably a Windows format PATH.
15301 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15303 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15305 # FIXME: find the short name or the path components, as spaces are
15306 # common. (e.g. "Program Files" -> "PROGRA~1")
15310 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15311 postinstall_cmds
='base_file=`basename \${file}`~
15312 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15313 dldir=$destdir/`dirname \$dlpath`~
15314 test -d \$dldir || mkdir -p \$dldir~
15315 $install_prog $dir/$dlname \$dldir/$dlname'
15316 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15317 dlpath=$dir/\$dldll~
15319 shlibpath_overrides_runpath
=yes
15320 dynamic_linker
='Win32 link.exe'
15324 # Assume MSVC wrapper
15325 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15326 dynamic_linker
='Win32 ld.exe'
15329 # FIXME: first we should search . and the directory the executable is in
15333 darwin
* | rhapsody
*)
15334 dynamic_linker
="$host_os dyld"
15335 version_type
=darwin
15338 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15339 soname_spec
='${libname}${release}${major}$shared_ext'
15340 shlibpath_overrides_runpath
=yes
15341 shlibpath_var
=DYLD_LIBRARY_PATH
15342 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15344 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15348 version_type
=linux
# correct to gnu/linux during the next big refactor
15351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15352 soname_spec
='${libname}${release}${shared_ext}$major'
15353 shlibpath_var
=LD_LIBRARY_PATH
15356 freebsd
* | dragonfly
*)
15357 # DragonFly does not have aout. When/if they implement a new
15358 # versioning mechanism, adjust this.
15359 if test -x /usr
/bin
/objformat
; then
15360 objformat
=`/usr/bin/objformat`
15363 freebsd
[23].
*) objformat
=aout
;;
15364 *) objformat
=elf
;;
15367 version_type
=freebsd
-$objformat
15368 case $version_type in
15370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15375 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15379 shlibpath_var
=LD_LIBRARY_PATH
15382 shlibpath_overrides_runpath
=yes
15384 freebsd3.
[01]* | freebsdelf3.
[01]*)
15385 shlibpath_overrides_runpath
=yes
15386 hardcode_into_libs
=yes
15388 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15389 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15390 shlibpath_overrides_runpath
=no
15391 hardcode_into_libs
=yes
15393 *) # from 4.6 on, and DragonFly
15394 shlibpath_overrides_runpath
=yes
15395 hardcode_into_libs
=yes
15401 version_type
=linux
# correct to gnu/linux during the next big refactor
15404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15405 soname_spec
='${libname}${release}${shared_ext}$major'
15406 shlibpath_var
=LD_LIBRARY_PATH
15407 shlibpath_overrides_runpath
=no
15408 hardcode_into_libs
=yes
15412 version_type
=linux
# correct to gnu/linux during the next big refactor
15415 dynamic_linker
="$host_os runtime_loader"
15416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15417 soname_spec
='${libname}${release}${shared_ext}$major'
15418 shlibpath_var
=LIBRARY_PATH
15419 shlibpath_overrides_runpath
=yes
15420 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15421 hardcode_into_libs
=yes
15424 hpux9
* | hpux10
* | hpux11
*)
15425 # Give a soname corresponding to the major version so that dld.sl refuses to
15426 # link against other versions.
15433 hardcode_into_libs
=yes
15434 dynamic_linker
="$host_os dld.so"
15435 shlibpath_var
=LD_LIBRARY_PATH
15436 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438 soname_spec
='${libname}${release}${shared_ext}$major'
15439 if test "X$HPUX_IA64_MODE" = X32
; then
15440 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15442 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15444 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15448 hardcode_into_libs
=yes
15449 dynamic_linker
="$host_os dld.sl"
15450 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15451 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15453 soname_spec
='${libname}${release}${shared_ext}$major'
15454 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15455 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15459 dynamic_linker
="$host_os dld.sl"
15460 shlibpath_var
=SHLIB_PATH
15461 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15463 soname_spec
='${libname}${release}${shared_ext}$major'
15466 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15467 postinstall_cmds
='chmod 555 $lib'
15468 # or fails outright, so override atomically:
15469 install_override_mode
=555
15473 version_type
=linux
# correct to gnu/linux during the next big refactor
15476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15477 soname_spec
='${libname}${release}${shared_ext}$major'
15478 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15479 shlibpath_var
=LD_LIBRARY_PATH
15480 shlibpath_overrides_runpath
=no
15481 hardcode_into_libs
=yes
15484 irix5
* | irix6
* | nonstopux
*)
15486 nonstopux
*) version_type
=nonstopux
;;
15488 if test "$lt_cv_prog_gnu_ld" = yes; then
15489 version_type
=linux
# correct to gnu/linux during the next big refactor
15496 soname_spec
='${libname}${release}${shared_ext}$major'
15497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15499 irix5
* | nonstopux
*)
15500 libsuff
= shlibsuff
=
15503 case $LD in # libtool.m4 will add one of these switches to LD
15504 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15505 libsuff
= shlibsuff
= libmagic
=32-bit;;
15506 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15507 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15508 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15509 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15510 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15514 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15515 shlibpath_overrides_runpath
=no
15516 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15517 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15518 hardcode_into_libs
=yes
15521 # No shared lib support for Linux oldld, aout, or coff.
15522 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15526 # This must be glibc/ELF.
15527 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15528 version_type
=linux
# correct to gnu/linux during the next big refactor
15531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15532 soname_spec
='${libname}${release}${shared_ext}$major'
15533 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15534 shlibpath_var
=LD_LIBRARY_PATH
15535 shlibpath_overrides_runpath
=no
15537 # Some binutils ld are patched to set DT_RUNPATH
15538 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15539 $as_echo_n "(cached) " >&6
15541 lt_cv_shlibpath_overrides_runpath
=no
15542 save_LDFLAGS
=$LDFLAGS
15543 save_libdir
=$libdir
15544 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15545 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15547 /* end confdefs.h. */
15557 if ac_fn_cxx_try_link
"$LINENO"; then :
15558 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15559 lt_cv_shlibpath_overrides_runpath
=yes
15562 rm -f core conftest.err conftest.
$ac_objext \
15563 conftest
$ac_exeext conftest.
$ac_ext
15564 LDFLAGS
=$save_LDFLAGS
15565 libdir
=$save_libdir
15569 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15571 # This implies no fast_install, which is unacceptable.
15572 # Some rework will be needed to allow for fast_install
15573 # before this can be enabled.
15574 hardcode_into_libs
=yes
15576 # Append ld.so.conf contents to the search path
15577 if test -f /etc
/ld.so.conf
; then
15578 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' ' '`
15579 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15582 # We used to test for /lib/ld.so.1 and disable shared libraries on
15583 # powerpc, because MkLinux only supported shared libraries with the
15584 # GNU dynamic linker. Since this was broken with cross compilers,
15585 # most powerpc-linux boxes support dynamic linking these days and
15586 # people can always --disable-shared, the test was removed, and we
15587 # assume the GNU/Linux dynamic linker is in use.
15588 dynamic_linker
='GNU/Linux ld.so'
15595 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15597 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15598 dynamic_linker
='NetBSD (a.out) ld.so'
15600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15601 soname_spec
='${libname}${release}${shared_ext}$major'
15602 dynamic_linker
='NetBSD ld.elf_so'
15604 shlibpath_var
=LD_LIBRARY_PATH
15605 shlibpath_overrides_runpath
=yes
15606 hardcode_into_libs
=yes
15610 version_type
=linux
# correct to gnu/linux during the next big refactor
15611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15612 shlibpath_var
=LD_LIBRARY_PATH
15613 shlibpath_overrides_runpath
=yes
15620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15621 soname_spec
='${libname}${release}${shared_ext}$major'
15622 shlibpath_var
=LD_LIBRARY_PATH
15623 shlibpath_overrides_runpath
=no
15624 hardcode_into_libs
=yes
15625 dynamic_linker
='ldqnx.so'
15630 sys_lib_dlsearch_path_spec
="/usr/lib"
15632 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15634 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15635 *) need_version
=no
;;
15637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15638 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15639 shlibpath_var
=LD_LIBRARY_PATH
15640 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15642 openbsd2.
[89] | openbsd2.
[89].
*)
15643 shlibpath_overrides_runpath
=no
15646 shlibpath_overrides_runpath
=yes
15650 shlibpath_overrides_runpath
=yes
15655 libname_spec
='$name'
15658 library_names_spec
='$libname${shared_ext} $libname.a'
15659 dynamic_linker
='OS/2 ld.exe'
15660 shlibpath_var
=LIBPATH
15663 osf3
* | osf4
* | osf5
*)
15667 soname_spec
='${libname}${release}${shared_ext}$major'
15668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15669 shlibpath_var
=LD_LIBRARY_PATH
15670 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15671 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15679 version_type
=linux
# correct to gnu/linux during the next big refactor
15682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15683 soname_spec
='${libname}${release}${shared_ext}$major'
15684 shlibpath_var
=LD_LIBRARY_PATH
15685 shlibpath_overrides_runpath
=yes
15686 hardcode_into_libs
=yes
15687 # ldd complains unless libraries are executable
15688 postinstall_cmds
='chmod +x $lib'
15693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15694 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15695 shlibpath_var
=LD_LIBRARY_PATH
15696 shlibpath_overrides_runpath
=yes
15697 if test "$with_gnu_ld" = yes; then
15704 version_type
=linux
# correct to gnu/linux during the next big refactor
15705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15706 soname_spec
='${libname}${release}${shared_ext}$major'
15707 shlibpath_var
=LD_LIBRARY_PATH
15708 case $host_vendor in
15710 shlibpath_overrides_runpath
=no
15712 runpath_var
=LD_RUN_PATH
15720 shlibpath_overrides_runpath
=no
15721 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15727 if test -d /usr
/nec
;then
15728 version_type
=linux
# correct to gnu/linux during the next big refactor
15729 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15730 soname_spec
='$libname${shared_ext}.$major'
15731 shlibpath_var
=LD_LIBRARY_PATH
15735 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15736 version_type
=freebsd
-elf
15739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15740 soname_spec
='${libname}${release}${shared_ext}$major'
15741 shlibpath_var
=LD_LIBRARY_PATH
15742 shlibpath_overrides_runpath
=yes
15743 hardcode_into_libs
=yes
15744 if test "$with_gnu_ld" = yes; then
15745 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15747 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15750 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15754 sys_lib_dlsearch_path_spec
='/usr/lib'
15758 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15759 version_type
=linux
# correct to gnu/linux during the next big refactor
15762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15763 shlibpath_var
=LD_LIBRARY_PATH
15764 shlibpath_overrides_runpath
=no
15765 hardcode_into_libs
=yes
15769 version_type
=linux
# correct to gnu/linux during the next big refactor
15770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15771 soname_spec
='${libname}${release}${shared_ext}$major'
15772 shlibpath_var
=LD_LIBRARY_PATH
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15780 $as_echo "$dynamic_linker" >&6; }
15781 test "$dynamic_linker" = no
&& can_build_shared
=no
15783 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15784 if test "$GCC" = yes; then
15785 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15788 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15789 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15791 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15792 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15833 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15834 hardcode_action_CXX
=
15835 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15836 test -n "$runpath_var_CXX" ||
15837 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15839 # We can hardcode non-existent directories.
15840 if test "$hardcode_direct_CXX" != no
&&
15841 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15842 # have to relink, otherwise we might link with an installed library
15843 # when we should be linking with a yet-to-be-installed one
15844 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15845 test "$hardcode_minus_L_CXX" != no
; then
15846 # Linking always hardcodes the temporary library directory.
15847 hardcode_action_CXX
=relink
15849 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15850 hardcode_action_CXX
=immediate
15853 # We cannot hardcode anything, or else we can only hardcode existing
15855 hardcode_action_CXX
=unsupported
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15858 $as_echo "$hardcode_action_CXX" >&6; }
15860 if test "$hardcode_action_CXX" = relink
||
15861 test "$inherit_rpath_CXX" = yes; then
15862 # Fast installation is not supported
15863 enable_fast_install
=no
15864 elif test "$shlibpath_overrides_runpath" = yes ||
15865 test "$enable_shared" = no
; then
15866 # Fast installation is not necessary
15867 enable_fast_install
=needless
15876 fi # test -n "$compiler"
15879 CFLAGS
=$lt_save_CFLAGS
15883 with_gnu_ld
=$lt_save_with_gnu_ld
15884 lt_cv_path_LDCXX
=$lt_cv_path_LD
15885 lt_cv_path_LD
=$lt_save_path_LD
15886 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15887 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15888 fi # test "$_lt_caught_CXX_error" != yes
15891 ac_cpp
='$CPP $CPPFLAGS'
15892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15910 ac_config_commands
="$ac_config_commands libtool"
15915 # Only expand once:
15920 ac_cpp
='$CXXCPP $CPPFLAGS'
15921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15923 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 arm64
; 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`
18525 if test -n "$WEBKIT_LIBS"; then
18526 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18527 elif test -n "$PKG_CONFIG"; then
18528 if test -n "$PKG_CONFIG" && \
18529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18530 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18533 test $ac_status = 0; }; then
18534 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18544 if test $pkg_failed = yes; then
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18546 $as_echo "no" >&6; }
18548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18549 _pkg_short_errors_supported
=yes
18551 _pkg_short_errors_supported
=no
18553 if test $_pkg_short_errors_supported = yes; then
18554 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18556 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18558 # Put the nasty error message in config.log where it belongs
18559 echo "$WEBKIT_PKG_ERRORS" >&5
18562 elif test $pkg_failed = untried
; then
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18564 $as_echo "no" >&6; }
18567 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18568 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18570 $as_echo "yes" >&6; }
18575 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18577 for x
in $CPPFLAGS; do
18579 acl_save_prefix
="$prefix"
18580 prefix
="$acl_final_prefix"
18581 acl_save_exec_prefix
="$exec_prefix"
18582 exec_prefix
="$acl_final_exec_prefix"
18584 exec_prefix
="$acl_save_exec_prefix"
18585 prefix
="$acl_save_prefix"
18587 if test "X$x" = "X$element"; then
18592 if test -z "$haveit"; then
18593 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18598 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18602 acl_save_prefix
="$prefix"
18603 prefix
="$acl_final_prefix"
18604 acl_save_exec_prefix
="$exec_prefix"
18605 exec_prefix
="$acl_final_exec_prefix"
18607 exec_prefix
="$acl_save_exec_prefix"
18608 prefix
="$acl_save_prefix"
18610 if test "X$x" = "X$element"; then
18615 if test -z "$haveit"; then
18616 LIBS
="${LIBS}${LIBS:+ }$element"
18621 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18625 LTJAVASCRIPTCORE
=$LIBS
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18642 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18643 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18644 $as_echo_n "(cached) " >&6
18647 ac_check_framework_save_LIBS
=$LIBS
18648 LIBS
="-framework JavaScriptCore $LIBS"
18649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18650 /* end confdefs.h. */
18652 #include <JavaScriptCore/JSBase.h>
18658 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18664 if ac_fn_cxx_try_link
"$LINENO"; then :
18666 ac_cv_framework_JavaScriptCore
=yes
18669 ac_cv_framework_JavaScriptCore
=no
18671 rm -f core conftest.err conftest.
$ac_objext \
18672 conftest
$ac_exeext conftest.
$ac_ext
18673 LIBS
=$ac_check_framework_save_LIBS
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18677 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18678 if test $ac_cv_framework_JavaScriptCore = yes; then :
18681 for element
in "-framework JavaScriptCore"; do
18685 acl_save_prefix
="$prefix"
18686 prefix
="$acl_final_prefix"
18687 acl_save_exec_prefix
="$exec_prefix"
18688 exec_prefix
="$acl_final_exec_prefix"
18690 exec_prefix
="$acl_save_exec_prefix"
18691 prefix
="$acl_save_prefix"
18693 if test "X$x" = "X$element"; then
18698 if test -z "$haveit"; then
18699 LIBS
="${LIBS}${LIBS:+ }$element"
18710 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18714 $as_echo_n "checking for WEBKIT... " >&6; }
18716 if test -n "$WEBKIT_CFLAGS"; then
18717 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18718 elif test -n "$PKG_CONFIG"; then
18719 if test -n "$PKG_CONFIG" && \
18720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18721 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18724 test $ac_status = 0; }; then
18725 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18732 if test -n "$WEBKIT_LIBS"; then
18733 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18734 elif test -n "$PKG_CONFIG"; then
18735 if test -n "$PKG_CONFIG" && \
18736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18737 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18740 test $ac_status = 0; }; then
18741 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18751 if test $pkg_failed = yes; then
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18753 $as_echo "no" >&6; }
18755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18756 _pkg_short_errors_supported
=yes
18758 _pkg_short_errors_supported
=no
18760 if test $_pkg_short_errors_supported = yes; then
18761 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18763 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18765 # Put the nasty error message in config.log where it belongs
18766 echo "$WEBKIT_PKG_ERRORS" >&5
18769 elif test $pkg_failed = untried
; then
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18771 $as_echo "no" >&6; }
18774 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18775 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18777 $as_echo "yes" >&6; }
18782 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18784 for x
in $CPPFLAGS; do
18786 acl_save_prefix
="$prefix"
18787 prefix
="$acl_final_prefix"
18788 acl_save_exec_prefix
="$exec_prefix"
18789 exec_prefix
="$acl_final_exec_prefix"
18791 exec_prefix
="$acl_save_exec_prefix"
18792 prefix
="$acl_save_prefix"
18794 if test "X$x" = "X$element"; then
18799 if test -z "$haveit"; then
18800 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18805 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
18809 acl_save_prefix
="$prefix"
18810 prefix
="$acl_final_prefix"
18811 acl_save_exec_prefix
="$exec_prefix"
18812 exec_prefix
="$acl_final_exec_prefix"
18814 exec_prefix
="$acl_save_exec_prefix"
18815 prefix
="$acl_save_prefix"
18817 if test "X$x" = "X$element"; then
18822 if test -z "$haveit"; then
18823 LIBS
="${LIBS}${LIBS:+ }$element"
18828 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
18832 LTJAVASCRIPTCORE
=$LIBS
18838 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18849 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18850 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18851 $as_echo_n "(cached) " >&6
18854 ac_check_framework_save_LIBS
=$LIBS
18855 LIBS
="-framework JavaScriptCore $LIBS"
18856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18859 #include <JavaScriptCore/JSBase.h>
18865 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18871 if ac_fn_cxx_try_link
"$LINENO"; then :
18873 ac_cv_framework_JavaScriptCore
=yes
18876 ac_cv_framework_JavaScriptCore
=no
18878 rm -f core conftest.err conftest.
$ac_objext \
18879 conftest
$ac_exeext conftest.
$ac_ext
18880 LIBS
=$ac_check_framework_save_LIBS
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18884 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18885 if test $ac_cv_framework_JavaScriptCore = yes; then :
18888 for element
in "-framework JavaScriptCore"; do
18892 acl_save_prefix
="$prefix"
18893 prefix
="$acl_final_prefix"
18894 acl_save_exec_prefix
="$exec_prefix"
18895 exec_prefix
="$acl_final_exec_prefix"
18897 exec_prefix
="$acl_save_exec_prefix"
18898 prefix
="$acl_save_prefix"
18900 if test "X$x" = "X$element"; then
18905 if test -z "$haveit"; then
18906 LIBS
="${LIBS}${LIBS:+ }$element"
18917 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18921 $as_echo_n "checking for WEBKIT... " >&6; }
18923 if test -n "$WEBKIT_CFLAGS"; then
18924 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18925 elif test -n "$PKG_CONFIG"; then
18926 if test -n "$PKG_CONFIG" && \
18927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18928 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18931 test $ac_status = 0; }; then
18932 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
18939 if test -n "$WEBKIT_LIBS"; then
18940 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18941 elif test -n "$PKG_CONFIG"; then
18942 if test -n "$PKG_CONFIG" && \
18943 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
18944 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
18946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18947 test $ac_status = 0; }; then
18948 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
18958 if test $pkg_failed = yes; then
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18960 $as_echo "no" >&6; }
18962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18963 _pkg_short_errors_supported
=yes
18965 _pkg_short_errors_supported
=no
18967 if test $_pkg_short_errors_supported = yes; then
18968 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "$cy_webkit_pkg" 2>&1`
18970 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "$cy_webkit_pkg" 2>&1`
18972 # Put the nasty error message in config.log where it belongs
18973 echo "$WEBKIT_PKG_ERRORS" >&5
18976 elif test $pkg_failed = untried
; then
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18978 $as_echo "no" >&6; }
18981 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18982 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18984 $as_echo "yes" >&6; }
18989 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
18991 for x
in $CPPFLAGS; do
18993 acl_save_prefix
="$prefix"
18994 prefix
="$acl_final_prefix"
18995 acl_save_exec_prefix
="$exec_prefix"
18996 exec_prefix
="$acl_final_exec_prefix"
18998 exec_prefix
="$acl_save_exec_prefix"
18999 prefix
="$acl_save_prefix"
19001 if test "X$x" = "X$element"; then
19006 if test -z "$haveit"; then
19007 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19012 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19016 acl_save_prefix
="$prefix"
19017 prefix
="$acl_final_prefix"
19018 acl_save_exec_prefix
="$exec_prefix"
19019 exec_prefix
="$acl_final_exec_prefix"
19021 exec_prefix
="$acl_save_exec_prefix"
19022 prefix
="$acl_save_prefix"
19024 if test "X$x" = "X$element"; then
19029 if test -z "$haveit"; then
19030 LIBS
="${LIBS}${LIBS:+ }$element"
19035 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19039 LTJAVASCRIPTCORE
=$LIBS
19047 # Check whether --enable-console was given.
19048 if test "${enable_console+set}" = set; then :
19049 enableval
=$enable_console;
19052 if test "x$enable_console" != "xno"; then
19054 CY_CONSOLE_FALSE
='#'
19056 CY_CONSOLE_TRUE
='#'
19061 if test -z "$CY_CONSOLE_TRUE"; then :
19063 if test "x$LTLIBAPR" != x
; then :
19072 if test "$target_os" = "os2-emx"; then
19073 # Scripts don't pass test -x on OS/2
19079 acceptable_majors
="1"
19081 apr_temp_acceptable_apr_config
=""
19082 for apr_temp_major
in $acceptable_majors
19084 case $apr_temp_major in
19086 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19089 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19095 $as_echo_n "checking for APR... " >&6; }
19097 # Check whether --with-apr was given.
19098 if test "${with_apr+set}" = set; then :
19100 if test "$withval" = "no" || test "$withval" = "yes"; then
19101 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19104 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19106 for lookdir
in "$withval/bin" "$withval"
19108 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19109 apr_config
="$lookdir/$apr_temp_apr_config_file"
19117 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19118 apr_config
="$withval"
19122 if test "$apr_found" != "yes"; then
19123 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
19128 if test -n "1" && test "1" = "1"; then
19129 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19131 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19132 apr_config
="$apr_temp_apr_config_file"
19137 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19138 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19139 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19148 if test "$apr_found" = "no" && test -d ""; then
19149 apr_temp_abs_srcdir
="`cd && pwd`"
19150 apr_found
="reconfig"
19151 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19152 case $apr_bundled_major in
19154 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19157 apr_temp_apr_config_file
="apr-config"
19160 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19163 if test -n ""; then
19164 apr_config
="/$apr_temp_apr_config_file"
19166 apr_config
="/$apr_temp_apr_config_file"
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19174 $as_echo "$apr_found" >&6; }
19176 case $apr_found in #(
19180 for element
in `$apr_config --includes`; do
19182 for x
in $CPPFLAGS; do
19184 acl_save_prefix
="$prefix"
19185 prefix
="$acl_final_prefix"
19186 acl_save_exec_prefix
="$exec_prefix"
19187 exec_prefix
="$acl_final_exec_prefix"
19189 exec_prefix
="$acl_save_exec_prefix"
19190 prefix
="$acl_save_prefix"
19192 if test "X$x" = "X$element"; then
19197 if test -z "$haveit"; then
19198 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19203 for element
in `$apr_config --link-libtool`; do
19205 for x
in $LTLIBAPR; do
19207 acl_save_prefix
="$prefix"
19208 prefix
="$acl_final_prefix"
19209 acl_save_exec_prefix
="$exec_prefix"
19210 exec_prefix
="$acl_final_exec_prefix"
19212 exec_prefix
="$acl_save_exec_prefix"
19213 prefix
="$acl_save_prefix"
19215 if test "X$x" = "X$element"; then
19220 if test -z "$haveit"; then
19221 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
19229 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5
19238 if test "x$CY_EXECUTE" = x1
; then
19240 CY_EXECUTE_FALSE
='#'
19242 CY_EXECUTE_TRUE
='#'
19248 case $CY_EXECUTE in #(
19251 for ac_header
in ffi.h ffi
/ffi.h
19253 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19254 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19255 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19256 cat >>confdefs.h
<<_ACEOF
19257 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19268 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19272 C compiler flags
for LIBFFI
, overriding pkg
-config
19273 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19277 $as_echo_n "checking for LIBFFI... " >&6; }
19279 if test -n "$LIBFFI_CFLAGS"; then
19280 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19281 elif test -n "$PKG_CONFIG"; then
19282 if test -n "$PKG_CONFIG" && \
19283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19284 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19287 test $ac_status = 0; }; then
19288 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19295 if test -n "$LIBFFI_LIBS"; then
19296 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19297 elif test -n "$PKG_CONFIG"; then
19298 if test -n "$PKG_CONFIG" && \
19299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19300 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19303 test $ac_status = 0; }; then
19304 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19314 if test $pkg_failed = yes; then
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19316 $as_echo "no" >&6; }
19318 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19319 _pkg_short_errors_supported
=yes
19321 _pkg_short_errors_supported
=no
19323 if test $_pkg_short_errors_supported = yes; then
19324 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19326 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19328 # Put the nasty error message in config.log where it belongs
19329 echo "$LIBFFI_PKG_ERRORS" >&5
19331 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19332 elif test $pkg_failed = untried
; then
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19334 $as_echo "no" >&6; }
19335 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19337 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19338 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19340 $as_echo "yes" >&6; }
19343 for element
in `$PKG_CONFIG --cflags libffi`; do
19345 for x
in $CPPFLAGS; do
19347 acl_save_prefix
="$prefix"
19348 prefix
="$acl_final_prefix"
19349 acl_save_exec_prefix
="$exec_prefix"
19350 exec_prefix
="$acl_final_exec_prefix"
19352 exec_prefix
="$acl_save_exec_prefix"
19353 prefix
="$acl_save_prefix"
19355 if test "X$x" = "X$element"; then
19360 if test -z "$haveit"; then
19361 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19366 for element
in `$PKG_CONFIG --libs libffi`; do
19370 acl_save_prefix
="$prefix"
19371 prefix
="$acl_final_prefix"
19372 acl_save_exec_prefix
="$exec_prefix"
19373 exec_prefix
="$acl_final_exec_prefix"
19375 exec_prefix
="$acl_save_exec_prefix"
19376 prefix
="$acl_save_prefix"
19378 if test "X$x" = "X$element"; then
19383 if test -z "$haveit"; then
19384 LIBS
="${LIBS}${LIBS:+ }$element"
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19394 $as_echo_n "checking for library containing ffi_call... " >&6; }
19395 if ${ac_cv_search_ffi_call+:} false
; then :
19396 $as_echo_n "(cached) " >&6
19398 ac_func_search_save_LIBS
=$LIBS
19399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19402 /* Override any GCC internal prototype to avoid an error.
19403 Use char because int might match the return type of a GCC
19404 builtin and then its argument prototype would still apply. */
19412 return ffi_call ();
19417 for ac_lib
in '' ffi
; do
19418 if test -z "$ac_lib"; then
19419 ac_res
="none required"
19422 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19424 if ac_fn_cxx_try_link
"$LINENO"; then :
19425 ac_cv_search_ffi_call
=$ac_res
19427 rm -f core conftest.err conftest.
$ac_objext \
19429 if ${ac_cv_search_ffi_call+:} false
; then :
19433 if ${ac_cv_search_ffi_call+:} false
; then :
19436 ac_cv_search_ffi_call
=no
19438 rm conftest.
$ac_ext
19439 LIBS
=$ac_func_search_save_LIBS
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19442 $as_echo "$ac_cv_search_ffi_call" >&6; }
19443 ac_res
=$ac_cv_search_ffi_call
19444 if test "$ac_res" != no
; then :
19445 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19449 case $ac_cv_search_ffi_call in #(
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19455 $as_echo_n "checking for LIBFFI... " >&6; }
19457 if test -n "$LIBFFI_CFLAGS"; then
19458 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19459 elif test -n "$PKG_CONFIG"; then
19460 if test -n "$PKG_CONFIG" && \
19461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19462 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19465 test $ac_status = 0; }; then
19466 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19473 if test -n "$LIBFFI_LIBS"; then
19474 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19475 elif test -n "$PKG_CONFIG"; then
19476 if test -n "$PKG_CONFIG" && \
19477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19478 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19481 test $ac_status = 0; }; then
19482 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19492 if test $pkg_failed = yes; then
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19494 $as_echo "no" >&6; }
19496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19497 _pkg_short_errors_supported
=yes
19499 _pkg_short_errors_supported
=no
19501 if test $_pkg_short_errors_supported = yes; then
19502 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19504 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19506 # Put the nasty error message in config.log where it belongs
19507 echo "$LIBFFI_PKG_ERRORS" >&5
19509 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19510 elif test $pkg_failed = untried
; then
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19512 $as_echo "no" >&6; }
19513 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19515 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19516 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19518 $as_echo "yes" >&6; }
19521 for element
in `$PKG_CONFIG --cflags libffi`; do
19523 for x
in $CPPFLAGS; do
19525 acl_save_prefix
="$prefix"
19526 prefix
="$acl_final_prefix"
19527 acl_save_exec_prefix
="$exec_prefix"
19528 exec_prefix
="$acl_final_exec_prefix"
19530 exec_prefix
="$acl_save_exec_prefix"
19531 prefix
="$acl_save_prefix"
19533 if test "X$x" = "X$element"; then
19538 if test -z "$haveit"; then
19539 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19544 for element
in `$PKG_CONFIG --libs libffi`; do
19548 acl_save_prefix
="$prefix"
19549 prefix
="$acl_final_prefix"
19550 acl_save_exec_prefix
="$exec_prefix"
19551 exec_prefix
="$acl_final_exec_prefix"
19553 exec_prefix
="$acl_save_exec_prefix"
19554 prefix
="$acl_save_prefix"
19556 if test "X$x" = "X$element"; then
19561 if test -z "$haveit"; then
19562 LIBS
="${LIBS}${LIBS:+ }$element"
19579 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19580 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19581 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19582 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19586 $as_echo_n "checking if we really have Objective C++... " >&6; }
19587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19588 /* end confdefs.h. */
19591 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19595 $as_echo "yes" >&6; }
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19599 $as_echo "no" >&6; }
19601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19603 if test "x$CY_OBJECTIVEC" = x1
; then :
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19610 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19611 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19612 $as_echo_n "(cached) " >&6
19615 ac_check_framework_save_LIBS
=$LIBS
19616 LIBS
="-framework CoreFoundation $LIBS"
19617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19620 #include <CoreFoundation/CFBase.h>
19625 CFAllocatorGetDefault();
19630 if ac_fn_objcxx_try_link
"$LINENO"; then :
19632 ac_cv_framework_CoreFoundation
=yes
19635 ac_cv_framework_CoreFoundation
=no
19637 rm -f core conftest.err conftest.
$ac_objext \
19638 conftest
$ac_exeext conftest.
$ac_ext
19639 LIBS
=$ac_check_framework_save_LIBS
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19643 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19644 if test $ac_cv_framework_CoreFoundation = yes; then :
19647 for element
in "-framework CoreFoundation"; do
19651 acl_save_prefix
="$prefix"
19652 prefix
="$acl_final_prefix"
19653 acl_save_exec_prefix
="$exec_prefix"
19654 exec_prefix
="$acl_final_exec_prefix"
19656 exec_prefix
="$acl_save_exec_prefix"
19657 prefix
="$acl_save_prefix"
19659 if test "X$x" = "X$element"; then
19664 if test -z "$haveit"; then
19665 LIBS
="${LIBS}${LIBS:+ }$element"
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19675 $as_echo_n "checking for framework Foundation... " >&6; }
19676 if ${ac_cv_framework_Foundation+:} false
; then :
19677 $as_echo_n "(cached) " >&6
19680 ac_check_framework_save_LIBS
=$LIBS
19681 LIBS
="-framework Foundation $LIBS"
19682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19685 #include <Foundation/NSObject.h>
19690 [[NSObject alloc] init];
19695 if ac_fn_objcxx_try_link
"$LINENO"; then :
19697 ac_cv_framework_Foundation
=yes
19700 ac_cv_framework_Foundation
=no
19702 rm -f core conftest.err conftest.
$ac_objext \
19703 conftest
$ac_exeext conftest.
$ac_ext
19704 LIBS
=$ac_check_framework_save_LIBS
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19708 $as_echo "$ac_cv_framework_Foundation" >&6; }
19709 if test $ac_cv_framework_Foundation = yes; then :
19712 for element
in "-framework Foundation"; do
19716 acl_save_prefix
="$prefix"
19717 prefix
="$acl_final_prefix"
19718 acl_save_exec_prefix
="$exec_prefix"
19719 exec_prefix
="$acl_final_exec_prefix"
19721 exec_prefix
="$acl_save_exec_prefix"
19722 prefix
="$acl_save_prefix"
19724 if test "X$x" = "X$element"; then
19729 if test -z "$haveit"; then
19730 LIBS
="${LIBS}${LIBS:+ }$element"
19734 cat >>confdefs.h
<<_ACEOF
19735 #define HAVE_FRAMEWORK_FOUNDATION 1
19745 for ac_prog
in gnustep
-config
19747 # Extract the first word of "$ac_prog", so it can be a program name with args.
19748 set dummy
$ac_prog; ac_word
=$2
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19750 $as_echo_n "checking for $ac_word... " >&6; }
19751 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19752 $as_echo_n "(cached) " >&6
19754 if test -n "$GNUSTEP_CONFIG"; then
19755 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19758 for as_dir
in $PATH
19761 test -z "$as_dir" && as_dir
=.
19762 for ac_exec_ext
in '' $ac_executable_extensions; do
19763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19764 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19774 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19775 if test -n "$GNUSTEP_CONFIG"; then
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19777 $as_echo "$GNUSTEP_CONFIG" >&6; }
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19780 $as_echo "no" >&6; }
19784 test -n "$GNUSTEP_CONFIG" && break
19788 if test "x$GNUSTEP_CONFIG" != x
; then :
19792 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19794 for x
in $OBJCXXFLAGS; do
19796 acl_save_prefix
="$prefix"
19797 prefix
="$acl_final_prefix"
19798 acl_save_exec_prefix
="$exec_prefix"
19799 exec_prefix
="$acl_final_exec_prefix"
19801 exec_prefix
="$acl_save_exec_prefix"
19802 prefix
="$acl_save_prefix"
19804 if test "X$x" = "X$element"; then
19809 if test -z "$haveit"; then
19810 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19815 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19819 acl_save_prefix
="$prefix"
19820 prefix
="$acl_final_prefix"
19821 acl_save_exec_prefix
="$exec_prefix"
19822 exec_prefix
="$acl_final_exec_prefix"
19824 exec_prefix
="$acl_save_exec_prefix"
19825 prefix
="$acl_save_prefix"
19827 if test "X$x" = "X$element"; then
19832 if test -z "$haveit"; then
19833 LIBS
="${LIBS}${LIBS:+ }$element"
19852 ac_cpp
='$CXXCPP $CPPFLAGS'
19853 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19854 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19855 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19862 if test "x$CY_OBJECTIVEC" = x1
; then
19863 CY_OBJECTIVEC_TRUE
=
19864 CY_OBJECTIVEC_FALSE
='#'
19866 CY_OBJECTIVEC_TRUE
='#'
19867 CY_OBJECTIVEC_FALSE
=
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19876 $as_echo_n "checking for a readline compatible library... " >&6; }
19877 if ${ax_cv_lib_readline+:} false
; then :
19878 $as_echo_n "(cached) " >&6
19882 for readline_lib
in readline edit editline
; do
19883 for termcap_lib
in "" termcap curses ncurses
; do
19884 if test -z "$termcap_lib"; then
19885 TRY_LIB
="-l$readline_lib"
19887 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19889 LIBS
="$ORIG_LIBS $TRY_LIB"
19890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19891 /* end confdefs.h. */
19893 /* Override any GCC internal prototype to avoid an error.
19894 Use char because int might match the return type of a GCC
19895 builtin and then its argument prototype would still apply. */
19903 return readline ();
19908 if ac_fn_cxx_try_link
"$LINENO"; then :
19909 ax_cv_lib_readline
="$TRY_LIB"
19911 rm -f core conftest.err conftest.
$ac_objext \
19912 conftest
$ac_exeext conftest.
$ac_ext
19913 if test -n "$ax_cv_lib_readline"; then
19917 if test -n "$ax_cv_lib_readline"; then
19921 if test -z "$ax_cv_lib_readline"; then
19922 ax_cv_lib_readline
="no"
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19928 $as_echo "$ax_cv_lib_readline" >&6; }
19930 if test "$ax_cv_lib_readline" != "no"; then
19931 LIBS
="$LIBS $ax_cv_lib_readline"
19933 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19935 for ac_header
in readline.h readline
/readline.h
19937 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19938 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19939 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19940 cat >>confdefs.h
<<_ACEOF
19941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19949 $as_echo_n "checking whether readline supports history... " >&6; }
19950 if ${ax_cv_lib_readline_history+:} false
; then :
19951 $as_echo_n "(cached) " >&6
19954 ax_cv_lib_readline_history
="no"
19955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19958 /* Override any GCC internal prototype to avoid an error.
19959 Use char because int might match the return type of a GCC
19960 builtin and then its argument prototype would still apply. */
19964 char add_history ();
19968 return add_history ();
19973 if ac_fn_cxx_try_link
"$LINENO"; then :
19974 ax_cv_lib_readline_history
="yes"
19976 rm -f core conftest.err conftest.
$ac_objext \
19977 conftest
$ac_exeext conftest.
$ac_ext
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
19981 $as_echo "$ax_cv_lib_readline_history" >&6; }
19982 if test "$ax_cv_lib_readline_history" = "yes"; then
19984 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
19986 for ac_header
in history.h readline
/history.h
19988 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19989 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19990 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19991 cat >>confdefs.h
<<_ACEOF
19992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20002 LTLIBREADLINE
=$LIBS
20006 case $ax_cv_lib_readline in #(
20008 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20017 $as_echo_n "checking for library containing cur_term... " >&6; }
20018 if ${ac_cv_search_cur_term+:} false
; then :
20019 $as_echo_n "(cached) " >&6
20021 ac_func_search_save_LIBS
=$LIBS
20022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20023 /* end confdefs.h. */
20025 /* Override any GCC internal prototype to avoid an error.
20026 Use char because int might match the return type of a GCC
20027 builtin and then its argument prototype would still apply. */
20035 return cur_term ();
20040 for ac_lib
in '' termcap ncurses
; do
20041 if test -z "$ac_lib"; then
20042 ac_res
="none required"
20045 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20047 if ac_fn_cxx_try_link
"$LINENO"; then :
20048 ac_cv_search_cur_term
=$ac_res
20050 rm -f core conftest.err conftest.
$ac_objext \
20052 if ${ac_cv_search_cur_term+:} false
; then :
20056 if ${ac_cv_search_cur_term+:} false
; then :
20059 ac_cv_search_cur_term
=no
20061 rm conftest.
$ac_ext
20062 LIBS
=$ac_func_search_save_LIBS
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20065 $as_echo "$ac_cv_search_cur_term" >&6; }
20066 ac_res
=$ac_cv_search_cur_term
20067 if test "$ac_res" != no
; then :
20068 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20083 if test "x$CY_EXECUTE" = x1
; then :
20085 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20086 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20088 if test -n "$ac_tool_prefix"; then
20089 for ac_prog
in lipo
20091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20092 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20094 $as_echo_n "checking for $ac_word... " >&6; }
20095 if ${ac_cv_prog__LIPO+:} false
; then :
20096 $as_echo_n "(cached) " >&6
20098 if test -n "$_LIPO"; then
20099 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20102 for as_dir
in $PATH
20105 test -z "$as_dir" && as_dir
=.
20106 for ac_exec_ext
in '' $ac_executable_extensions; do
20107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20108 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20118 _LIPO
=$ac_cv_prog__LIPO
20119 if test -n "$_LIPO"; then
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20121 $as_echo "$_LIPO" >&6; }
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20124 $as_echo "no" >&6; }
20128 test -n "$_LIPO" && break
20131 if test -z "$_LIPO"; then
20133 for ac_prog
in lipo
20135 # Extract the first word of "$ac_prog", so it can be a program name with args.
20136 set dummy
$ac_prog; ac_word
=$2
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20138 $as_echo_n "checking for $ac_word... " >&6; }
20139 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20140 $as_echo_n "(cached) " >&6
20142 if test -n "$ac_ct__LIPO"; then
20143 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20146 for as_dir
in $PATH
20149 test -z "$as_dir" && as_dir
=.
20150 for ac_exec_ext
in '' $ac_executable_extensions; do
20151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20152 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20162 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20163 if test -n "$ac_ct__LIPO"; then
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20165 $as_echo "$ac_ct__LIPO" >&6; }
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20168 $as_echo "no" >&6; }
20172 test -n "$ac_ct__LIPO" && break
20175 if test "x$ac_ct__LIPO" = x
; then
20176 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20178 case $cross_compiling:$ac_tool_warned in
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20182 ac_tool_warned
=yes ;;
20188 if test -n "$ac_tool_prefix"; then
20191 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20192 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20194 $as_echo_n "checking for $ac_word... " >&6; }
20195 if ${ac_cv_prog__NM+:} false
; then :
20196 $as_echo_n "(cached) " >&6
20198 if test -n "$_NM"; then
20199 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20202 for as_dir
in $PATH
20205 test -z "$as_dir" && as_dir
=.
20206 for ac_exec_ext
in '' $ac_executable_extensions; do
20207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20208 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20218 _NM
=$ac_cv_prog__NM
20219 if test -n "$_NM"; then
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20221 $as_echo "$_NM" >&6; }
20223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20224 $as_echo "no" >&6; }
20228 test -n "$_NM" && break
20231 if test -z "$_NM"; then
20235 # Extract the first word of "$ac_prog", so it can be a program name with args.
20236 set dummy
$ac_prog; ac_word
=$2
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20238 $as_echo_n "checking for $ac_word... " >&6; }
20239 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
20240 $as_echo_n "(cached) " >&6
20242 if test -n "$ac_ct__NM"; then
20243 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
20245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20246 for as_dir
in $PATH
20249 test -z "$as_dir" && as_dir
=.
20250 for ac_exec_ext
in '' $ac_executable_extensions; do
20251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20252 ac_cv_prog_ac_ct__NM
="$ac_prog"
20253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20262 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
20263 if test -n "$ac_ct__NM"; then
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
20265 $as_echo "$ac_ct__NM" >&6; }
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20268 $as_echo "no" >&6; }
20272 test -n "$ac_ct__NM" && break
20275 if test "x$ac_ct__NM" = x
; then
20276 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
20278 case $cross_compiling:$ac_tool_warned in
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20282 ac_tool_warned
=yes ;;
20288 if test -n "$ac_tool_prefix"; then
20289 for ac_prog
in otool
20291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20292 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20294 $as_echo_n "checking for $ac_word... " >&6; }
20295 if ${ac_cv_prog__OTOOL+:} false
; then :
20296 $as_echo_n "(cached) " >&6
20298 if test -n "$_OTOOL"; then
20299 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
20301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20302 for as_dir
in $PATH
20305 test -z "$as_dir" && as_dir
=.
20306 for ac_exec_ext
in '' $ac_executable_extensions; do
20307 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20308 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
20309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20318 _OTOOL
=$ac_cv_prog__OTOOL
20319 if test -n "$_OTOOL"; then
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
20321 $as_echo "$_OTOOL" >&6; }
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20324 $as_echo "no" >&6; }
20328 test -n "$_OTOOL" && break
20331 if test -z "$_OTOOL"; then
20332 ac_ct__OTOOL
=$_OTOOL
20333 for ac_prog
in otool
20335 # Extract the first word of "$ac_prog", so it can be a program name with args.
20336 set dummy
$ac_prog; ac_word
=$2
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20338 $as_echo_n "checking for $ac_word... " >&6; }
20339 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
20340 $as_echo_n "(cached) " >&6
20342 if test -n "$ac_ct__OTOOL"; then
20343 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
20345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20346 for as_dir
in $PATH
20349 test -z "$as_dir" && as_dir
=.
20350 for ac_exec_ext
in '' $ac_executable_extensions; do
20351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20352 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
20353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20362 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
20363 if test -n "$ac_ct__OTOOL"; then
20364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
20365 $as_echo "$ac_ct__OTOOL" >&6; }
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20368 $as_echo "no" >&6; }
20372 test -n "$ac_ct__OTOOL" && break
20375 if test "x$ac_ct__OTOOL" = x
; then
20376 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
20378 case $cross_compiling:$ac_tool_warned in
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20382 ac_tool_warned
=yes ;;
20384 _OTOOL
=$ac_ct__OTOOL
20388 CY_ATTACH_GROUP
=procmod
20396 if test "x$CY_MACH" = x1
; then
20405 ac_config_files
="$ac_config_files Makefile"
20407 cat >confcache
<<\_ACEOF
20408 # This file is a shell script that caches the results of configure
20409 # tests run on this system so they can be shared between configure
20410 # scripts and configure runs, see configure's option --config-cache.
20411 # It is not useful on other systems. If it contains results you don't
20412 # want to keep, you may remove or edit it.
20414 # config.status only pays attention to the cache file if you give it
20415 # the --recheck option to rerun configure.
20417 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20418 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20419 # following values.
20423 # The following way of writing the cache mishandles newlines in values,
20424 # but we know of no workaround that is simple, portable, and efficient.
20425 # So, we kill variables containing newlines.
20426 # Ultrix sh set writes to stderr and can't be redirected directly,
20427 # and sets the high bit in the cache file unless we assign to the vars.
20429 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20430 eval ac_val
=\$
$ac_var
20434 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20435 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20438 _
| IFS
| as_nl
) ;; #(
20439 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
20440 *) { eval $ac_var=; unset $ac_var;} ;;
20446 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20447 *${as_nl}ac_space
=\
*)
20448 # `set' does not quote correctly, so add quotes: double-quote
20449 # substitution turns \\\\ into \\, and sed turns \\ into \.
20452 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20455 # `set' quotes correctly as required by POSIX, so do not add quotes.
20456 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20465 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20467 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20469 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20470 if test -w "$cache_file"; then
20471 if test "x$cache_file" != "x/dev/null"; then
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20473 $as_echo "$as_me: updating cache $cache_file" >&6;}
20474 if test ! -f "$cache_file" || test -h "$cache_file"; then
20475 cat confcache
>"$cache_file"
20477 case $cache_file in #(
20479 mv -f confcache
"$cache_file"$$
&&
20480 mv -f "$cache_file"$$
"$cache_file" ;; #(
20482 mv -f confcache
"$cache_file" ;;
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20488 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20493 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20494 # Let make expand exec_prefix.
20495 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20497 DEFS
=-DHAVE_CONFIG_H
20502 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20503 # 1. Remove the extension, and $U if already installed.
20504 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20505 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20506 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20507 # will be set to the directory where LIBOBJS objects are built.
20508 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20509 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20511 LIBOBJS
=$ac_libobjs
20513 LTLIBOBJS
=$ac_ltlibobjs
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20517 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20518 if test -n "$am_sleep_pid"; then
20519 # Hide warnings about reused PIDs.
20520 wait $am_sleep_pid 2>/dev
/null
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20523 $as_echo "done" >&6; }
20524 if test -n "$EXEEXT"; then
20526 am__EXEEXT_FALSE
='#'
20528 am__EXEEXT_TRUE
='#'
20532 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20533 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
20534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20536 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20537 as_fn_error $?
"conditional \"AMDEP\" was never defined.
20538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20540 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20541 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
20542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20544 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20545 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
20546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20548 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
20549 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
20550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20552 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
20553 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
20554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20556 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
20557 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
20558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20560 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
20561 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
20562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20564 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
20565 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
20566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20569 : "${CONFIG_STATUS=./config.status}"
20571 ac_clean_files_save
=$ac_clean_files
20572 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20574 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20576 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20578 # Generated by $as_me.
20579 # Run this file to recreate the current configuration.
20580 # Compiler output produced by configure, useful for debugging
20581 # configure, is in config.log if it exists.
20584 ac_cs_recheck=false
20587 SHELL=\${CONFIG_SHELL-$SHELL}
20590 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
20591 ## -------------------- ##
20592 ## M4sh Initialization. ##
20593 ## -------------------- ##
20595 # Be more Bourne compatible
20596 DUALCASE
=1; export DUALCASE
# for MKS sh
20597 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20600 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20601 # is contrary to our usage. Disable this feature.
20602 alias -g '${1+"$@"}'='"$@"'
20603 setopt NO_GLOB_SUBST
20605 case `(set -o) 2>/dev/null` in #(
20617 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20618 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20619 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20620 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20621 # Prefer a ksh shell builtin over an external printf program on Solaris,
20622 # but without wasting forks for bash or zsh.
20623 if test -z "$BASH_VERSION$ZSH_VERSION" \
20624 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20625 as_echo='print
-r --'
20626 as_echo_n='print
-rn --'
20627 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20628 as_echo='printf %s
\n'
20629 as_echo_n='printf %s
'
20631 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20632 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20633 as_echo_n='/usr
/ucb
/echo -n'
20635 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20636 as_echo_n_body='eval
20640 expr "X$arg" : "X\\(.*\\)$as_nl";
20641 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20643 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20645 export as_echo_n_body
20646 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20648 export as_echo_body
20649 as_echo='sh
-c $as_echo_body as_echo
'
20652 # The user is always right.
20653 if test "${PATH_SEPARATOR+set}" != set; then
20655 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20656 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20663 # We need space, tab and new line, in precisely that order. Quoting is
20664 # there to prevent editors from complaining about space-tab.
20665 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20666 # splitting by setting IFS to empty value.)
20669 # Find who we are. Look in the path if we contain no directory separator.
20672 *[\\/]* ) as_myself=$0 ;;
20673 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20674 for as_dir in $PATH
20677 test -z "$as_dir" && as_dir=.
20678 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20684 # We did not find ourselves, most probably we were run as `sh COMMAND'
20685 # in which case we are not to be found in the path.
20686 if test "x$as_myself" = x
; then
20689 if test ! -f "$as_myself"; then
20690 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20694 # Unset variables that we do not need and which cause bugs (e.g. in
20695 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20696 # suppresses any "Segmentation fault" message there. '((' could
20697 # trigger a bug in pdksh 5.2.14.
20698 for as_var
in BASH_ENV ENV MAIL MAILPATH
20699 do eval test x\
${$as_var+set} = xset \
20700 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
20713 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20716 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20717 # ----------------------------------------
20718 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20719 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20720 # script with STATUS, using 1 if that was 0.
20723 as_status
=$1; test $as_status -eq 0 && as_status
=1
20725 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20726 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20728 $as_echo "$as_me: error: $2" >&2
20729 as_fn_exit
$as_status
20733 # as_fn_set_status STATUS
20734 # -----------------------
20735 # Set $? to STATUS, without forking.
20736 as_fn_set_status
()
20739 } # as_fn_set_status
20741 # as_fn_exit STATUS
20742 # -----------------
20743 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20747 as_fn_set_status
$1
20753 # Portably unset VAR.
20756 { eval $1=; unset $1;}
20758 as_unset
=as_fn_unset
20759 # as_fn_append VAR VALUE
20760 # ----------------------
20761 # Append the text in VALUE to the end of the definition contained in VAR. Take
20762 # advantage of any shell optimizations that allow amortized linear growth over
20763 # repeated appends, instead of the typical quadratic growth present in naive
20765 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20766 eval 'as_fn_append ()
20777 # as_fn_arith ARG...
20778 # ------------------
20779 # Perform arithmetic evaluation on the ARGs, and store the result in the
20780 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20781 # must be portable across $(()) and expr.
20782 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20783 eval 'as_fn_arith ()
20790 as_val
=`expr "$@" || test $? -eq 1`
20795 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20796 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20802 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20803 as_basename
=basename
20808 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20814 as_me
=`$as_basename -- "$0" ||
20815 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20816 X"$0" : 'X\(//\)$' \| \
20817 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20819 sed '/^.*\/\([^/][^/]*\)\/*$/{
20833 # Avoid depending upon Character Ranges.
20834 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20835 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20836 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20837 as_cr_digits
='0123456789'
20838 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20840 ECHO_C
= ECHO_N
= ECHO_T
=
20841 case `echo -n x` in #(((((
20843 case `echo 'xy\c'` in
20844 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20846 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20853 rm -f conf$$ conf$$.exe conf$$.
file
20854 if test -d conf$$.dir
; then
20855 rm -f conf$$.dir
/conf$$.
file
20858 mkdir conf$$.dir
2>/dev
/null
20860 if (echo >conf$$.
file) 2>/dev
/null
; then
20861 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20863 # ... but there are two gotchas:
20864 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20865 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20866 # In both cases, we have to default to `cp -pR'.
20867 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20869 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20877 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20878 rmdir conf$$.dir
2>/dev
/null
20883 # Create "$as_dir" as a directory, including parents if necessary.
20888 -*) as_dir
=.
/$as_dir;;
20890 test -d "$as_dir" || eval $as_mkdir_p || {
20894 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20895 *) as_qdir
=$as_dir;;
20897 as_dirs
="'$as_qdir' $as_dirs"
20898 as_dir
=`$as_dirname -- "$as_dir" ||
20899 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20900 X"$as_dir" : 'X\(//\)[^/]' \| \
20901 X"$as_dir" : 'X\(//\)$' \| \
20902 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20903 $as_echo X"$as_dir" |
20904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20908 /^X\(\/\/\)[^/].*/{
20921 test -d "$as_dir" && break
20923 test -z "$as_dirs" || eval "mkdir $as_dirs"
20924 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20928 if mkdir -p .
2>/dev
/null
; then
20929 as_mkdir_p
='mkdir -p "$as_dir"'
20931 test -d .
/-p && rmdir .
/-p
20936 # as_fn_executable_p FILE
20937 # -----------------------
20938 # Test if FILE is an executable regular file.
20939 as_fn_executable_p
()
20941 test -f "$1" && test -x "$1"
20942 } # as_fn_executable_p
20943 as_test_x
='test -x'
20944 as_executable_p
=as_fn_executable_p
20946 # Sed expression to map a string onto a valid CPP name.
20947 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20949 # Sed expression to map a string onto a valid variable name.
20950 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20954 ## ----------------------------------- ##
20955 ## Main body of $CONFIG_STATUS script. ##
20956 ## ----------------------------------- ##
20958 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20960 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20961 # Save the log message, to keep $0 and so on meaningful, and to
20962 # report actual input values of CONFIG_FILES etc. instead of their
20963 # values after options handling.
20965 This file was extended by Cycript $as_me 0.9, which was
20966 generated by GNU Autoconf 2.69. Invocation command line was
20968 CONFIG_FILES = $CONFIG_FILES
20969 CONFIG_HEADERS = $CONFIG_HEADERS
20970 CONFIG_LINKS = $CONFIG_LINKS
20971 CONFIG_COMMANDS = $CONFIG_COMMANDS
20974 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20979 case $ac_config_files in *"
20980 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20983 case $ac_config_headers in *"
20984 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20989 # Files that config.status was made for.
20990 config_files="$ac_config_files"
20991 config_headers="$ac_config_headers"
20992 config_commands="$ac_config_commands"
20996 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20998 \`$as_me' instantiates files and other configuration actions
20999 from templates according to the current configuration. Unless the files
21000 and actions are specified as TAGs, all are instantiated by default.
21002 Usage: $0 [OPTION]... [TAG]...
21004 -h, --help print this help, then exit
21005 -V, --version print version number and configuration settings, then exit
21006 --config print configuration, then exit
21007 -q, --quiet, --silent
21008 do not print progress messages
21009 -d, --debug don't remove temporary files
21010 --recheck update $as_me by reconfiguring in the same conditions
21011 --file=FILE[:TEMPLATE]
21012 instantiate the configuration file FILE
21013 --header=FILE[:TEMPLATE]
21014 instantiate the configuration header FILE
21016 Configuration files:
21019 Configuration headers:
21022 Configuration commands:
21025 Report bugs to <saurik@saurik.com>.
21026 Cycript home page: <http://www.cycript.org/>."
21029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21030 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21032 Cycript config.status 0.9
21033 configured by $0, generated by GNU Autoconf 2.69,
21034 with options \\"\$ac_cs_config\\"
21036 Copyright (C) 2012 Free Software Foundation, Inc.
21037 This config.status script is free software; the Free Software Foundation
21038 gives unlimited permission to copy, distribute and modify it."
21045 test -n "\$AWK" || AWK=awk
21048 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21049 # The default lists apply if the user does not specify any file.
21055 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21056 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21060 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21072 # Handling of the options.
21073 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21075 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21076 $as_echo "$ac_cs_version"; exit ;;
21077 --config | --confi | --conf | --con | --co | --c )
21078 $as_echo "$ac_cs_config"; exit ;;
21079 --debug | --debu | --deb | --de | --d | -d )
21081 --file | --fil | --fi | --f )
21084 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21085 '') as_fn_error $?
"missing file argument" ;;
21087 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21088 ac_need_defaults
=false
;;
21089 --header | --heade | --head | --hea )
21092 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21094 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21095 ac_need_defaults
=false
;;
21097 # Conflict between --help and --header
21098 as_fn_error $?
"ambiguous option: \`$1'
21099 Try \`$0 --help' for more information.";;
21100 --help | --hel | -h )
21101 $as_echo "$ac_cs_usage"; exit ;;
21102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21103 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21106 # This is an error.
21107 -*) as_fn_error $?
"unrecognized option: \`$1'
21108 Try \`$0 --help' for more information." ;;
21110 *) as_fn_append ac_config_targets
" $1"
21111 ac_need_defaults
=false
;;
21117 ac_configure_extra_args
=
21119 if $ac_cs_silent; then
21121 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21126 if \$ac_cs_recheck; then
21127 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21129 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21130 CONFIG_SHELL='$SHELL'
21131 export CONFIG_SHELL
21136 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21140 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21141 ## Running $as_me. ##
21147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21151 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21154 # The HP-UX ksh and POSIX shell print the target directory to stdout
21155 # if CDPATH is set.
21156 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21158 sed_quote_subst='$sed_quote_subst'
21159 double_quote_subst='$double_quote_subst'
21160 delay_variable_subst='$delay_variable_subst'
21161 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21162 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21163 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21164 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21165 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21166 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21167 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21168 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21169 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21170 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21171 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21172 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21173 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21174 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21175 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21176 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21177 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21178 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21179 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21180 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21181 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21182 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21183 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21184 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21185 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21186 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21187 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21188 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21189 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21190 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21191 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21192 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21193 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21194 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21195 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21196 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21197 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21198 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21199 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21200 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21201 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21202 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21203 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21204 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21205 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21206 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21207 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21208 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21209 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21210 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21211 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21212 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21213 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21214 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21215 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21216 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21217 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"`'
21218 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21219 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21220 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21221 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21222 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21223 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21224 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21225 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21226 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21227 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21228 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21229 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21230 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21231 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21232 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21233 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21234 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21235 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21236 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21237 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21238 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21239 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21240 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21241 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21242 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21243 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21244 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21245 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21246 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21247 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21248 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21249 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21250 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21251 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21252 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21253 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21254 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21255 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21256 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21257 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21258 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21259 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21260 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21261 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21262 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21263 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21264 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21265 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21266 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21267 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21268 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21269 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21270 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21271 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21272 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21273 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21274 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21275 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21276 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21277 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21278 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21279 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21280 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21281 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21282 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21283 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21284 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21285 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21286 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21287 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21288 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21289 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21290 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21291 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
21292 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
21293 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
21294 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
21295 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
21296 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
21297 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
21298 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
21299 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21300 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21301 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
21302 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
21303 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
21304 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
21305 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
21306 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
21307 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
21308 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
21309 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
21310 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21311 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21312 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
21313 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21314 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21315 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21316 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21317 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21318 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21319 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
21320 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21321 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
21322 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
21323 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
21324 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
21325 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
21326 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
21327 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
21328 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
21329 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
21330 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
21331 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
21332 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21333 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21334 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
21335 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21336 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
21337 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
21338 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
21339 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
21340 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21341 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
21342 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
21343 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
21344 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
21347 LTCFLAGS='$LTCFLAGS'
21348 compiler='$compiler_DEFAULT'
21350 # A function that is used when there is no print builtin or printf.
21351 func_fallback_echo ()
21353 eval 'cat <<_LTECHO_EOF
21358 # Quote evaled strings.
21373 deplibs_check_method \
21378 sharedlib_from_linklib_cmd \
21381 archiver_list_spec \
21387 lt_cv_sys_global_symbol_pipe \
21388 lt_cv_sys_global_symbol_to_cdecl \
21389 lt_cv_sys_global_symbol_to_c_name_address \
21390 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21391 nm_file_list_spec \
21392 lt_prog_compiler_no_builtin_flag \
21393 lt_prog_compiler_pic \
21394 lt_prog_compiler_wl \
21395 lt_prog_compiler_static \
21396 lt_cv_prog_compiler_c_o \
21405 export_dynamic_flag_spec \
21406 whole_archive_flag_spec \
21407 compiler_needs_object \
21409 allow_undefined_flag \
21410 no_undefined_flag \
21411 hardcode_libdir_flag_spec \
21412 hardcode_libdir_separator \
21416 variables_saved_for_relink \
21418 library_names_spec \
21420 install_override_mode \
21424 compiler_lib_search_dirs \
21429 compiler_lib_search_path \
21433 lt_prog_compiler_no_builtin_flag_CXX \
21434 lt_prog_compiler_pic_CXX \
21435 lt_prog_compiler_wl_CXX \
21436 lt_prog_compiler_static_CXX \
21437 lt_cv_prog_compiler_c_o_CXX \
21438 export_dynamic_flag_spec_CXX \
21439 whole_archive_flag_spec_CXX \
21440 compiler_needs_object_CXX \
21442 allow_undefined_flag_CXX \
21443 no_undefined_flag_CXX \
21444 hardcode_libdir_flag_spec_CXX \
21445 hardcode_libdir_separator_CXX \
21446 exclude_expsyms_CXX \
21447 include_expsyms_CXX \
21448 file_list_spec_CXX \
21449 compiler_lib_search_dirs_CXX \
21450 predep_objects_CXX \
21451 postdep_objects_CXX \
21454 compiler_lib_search_path_CXX; do
21455 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21456 *[\\\\\\\`\\"\\\$]*)
21457 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
21460 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21465 # Double-quote double-evaled strings.
21466 for var in reload_cmds \
21467 old_postinstall_cmds \
21468 old_postuninstall_cmds \
21470 extract_expsyms_cmds \
21471 old_archive_from_new_cmds \
21472 old_archive_from_expsyms_cmds \
21474 archive_expsym_cmds \
21476 module_expsym_cmds \
21477 export_symbols_cmds \
21481 postuninstall_cmds \
21483 sys_lib_search_path_spec \
21484 sys_lib_dlsearch_path_spec \
21486 old_archive_cmds_CXX \
21487 old_archive_from_new_cmds_CXX \
21488 old_archive_from_expsyms_cmds_CXX \
21490 archive_expsym_cmds_CXX \
21492 module_expsym_cmds_CXX \
21493 export_symbols_cmds_CXX \
21495 postlink_cmds_CXX; do
21496 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21497 *[\\\\\\\`\\"\\\$]*)
21498 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
21501 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21506 ac_aux_dir='$ac_aux_dir'
21507 xsi_shell='$xsi_shell'
21508 lt_shell_append='$lt_shell_append'
21510 # See if we are running on zsh, and set the options which allow our
21511 # commands through without removal of \ escapes INIT.
21512 if test -n "\${ZSH_VERSION+set}" ; then
21513 setopt NO_GLOB_SUBST
21519 TIMESTAMP='$TIMESTAMP'
21530 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21532 # Handling of arguments.
21533 for ac_config_target
in $ac_config_targets
21535 case $ac_config_target in
21536 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21537 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21538 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
21539 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21541 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21546 # If the user did not use the arguments to specify the items to instantiate,
21547 # then the envvar interface is used. Set only those that are not.
21548 # We use the long form for the default assignment because of an extremely
21549 # bizarre bug on SunOS 4.1.3.
21550 if $ac_need_defaults; then
21551 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21552 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21553 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21556 # Have a temporary directory for convenience. Make it in the build tree
21557 # simply because there is no reason against having it here, and in addition,
21558 # creating and moving files from /tmp can sometimes cause problems.
21559 # Hook for its removal unless debugging.
21560 # Note that there is a small window in which the directory will not be cleaned:
21561 # after its creation but before its name has been assigned to `$tmp'.
21565 trap 'exit_status=$?
21566 : "${ac_tmp:=$tmp}"
21567 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21569 trap 'as_fn_exit 1' 1 2 13 15
21571 # Create a (secure) tmp directory for tmp files.
21574 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21578 tmp
=.
/conf$$
-$RANDOM
21579 (umask 077 && mkdir "$tmp")
21580 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
21583 # Set up the scripts for CONFIG_FILES section.
21584 # No need to generate them if there are no CONFIG_FILES.
21585 # This happens for instance with `./config.status config.h'.
21586 if test -n "$CONFIG_FILES"; then
21589 ac_cr
=`echo X | tr X '\015'`
21590 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21591 # But we know of no other shell where ac_cr would be empty at this
21592 # point, so we can use a bashism as a fallback.
21593 if test "x$ac_cr" = x
; then
21594 eval ac_cr
=\$
\'\\r
\'
21596 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21597 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21600 ac_cs_awk_cr
=$ac_cr
21603 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21608 echo "cat >conf$$subs.awk <<_ACEOF" &&
21609 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21611 } >conf$$subs.sh ||
21612 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21613 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21615 for ac_last_try in false false false false false :; do
21616 . ./conf$$subs.sh ||
21617 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21619 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21620 if test $ac_delim_n = $ac_delim_num; then
21622 elif $ac_last_try; then
21623 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
21625 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21628 rm -f conf$$subs.sh
21630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21631 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
21635 s/^/S["/; s
/!.
*/"]=/
21645 s/\(.\{148\}\)..*/\1/
21647 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21652 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21659 s/\(.\{148\}\)..*/\1/
21661 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21665 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21670 ' <conf$$subs.awk | sed '
21675 ' >>$CONFIG_STATUS || ac_write_fail=1
21676 rm -f conf$$subs.awk
21677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21679 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
21680 for (key in S) S_is_set[key] = 1
21686 nfields = split(line, field, "@
")
21688 len = length(field[1])
21689 for (i = 2; i < nfields; i++) {
21691 keylen = length(key)
21692 if (S_is_set[key]) {
21694 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21695 len += length(value) + length(field[++i])
21706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21707 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21708 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21711 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21712 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21715 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21716 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21717 # trailing colons and then remove the whole line if VPATH becomes empty
21718 # (actually we leave an empty line to preserve line numbers).
21719 if test "x
$srcdir" = x.; then
21720 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21739 fi # test -n "$CONFIG_FILES"
21741 # Set up the scripts for CONFIG_HEADERS section.
21742 # No need to generate them if there are no CONFIG_HEADERS.
21743 # This happens for instance with `./config.status Makefile'.
21744 if test -n "$CONFIG_HEADERS"; then
21745 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21749 # Transform confdefs.h into an awk script `defines.awk', embedded as
21750 # here-document in config.status, that substitutes the proper values into
21751 # config.h.in to produce config.h.
21753 # Create a delimiter string that does not exist in confdefs.h, to ease
21754 # handling of long lines.
21756 for ac_last_try in false false :; do
21757 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21758 if test -z "$ac_tt"; then
21760 elif $ac_last_try; then
21761 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21763 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21767 # For the awk script, D is an array of macro values keyed by name,
21768 # likewise P contains macro parameters if any. Preserve backslash
21769 # newline sequences.
21771 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21773 s/.\{148\}/&'"$ac_delim"'/g
21776 s/^[ ]*#[ ]*define[ ][ ]*/ /
21783 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21785 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21789 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21790 D["\
1"]=" \
3\\\\\\n
"\\/p
21792 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21797 s/.\{148\}/&'"$ac_delim"'/g
21802 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21805 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21807 ' <confdefs.h | sed '
21808 s/'"$ac_delim"'/"\\\
21809 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21812 for (key in D) D_is_set[key] = 1
21815 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21817 split(line, arg, " ")
21818 if (arg[1] == "#") {
21822 defundef
= substr
(arg
[1], 2)
21825 split(mac1
, mac2
, "(") #)
21827 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21828 if (D_is_set
[macro
]) {
21829 # Preserve the white space surrounding the "#".
21830 print prefix
"define", macro P
[macro
] D
[macro
]
21833 # Replace #undef with comments. This is necessary, for example,
21834 # in the case of _POSIX_SOURCE, which is predefined and required
21835 # on some systems where configure will not decide to define it.
21836 if (defundef
== "undef") {
21837 print
"/*", prefix defundef
, macro
, "*/"
21845 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21846 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21847 fi # test -n "$CONFIG_HEADERS"
21850 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21855 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21857 case $ac_mode$ac_tag in
21859 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21860 :[FH
]-) ac_tag
=-:-;;
21861 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21878 -) ac_f
="$ac_tmp/stdin";;
21879 *) # Look for the file first in the build tree, then in the source tree
21880 # (if the path is not absolute). The absolute path cannot be DOS-style,
21881 # because $ac_f cannot contain `:'.
21885 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21887 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21889 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21890 as_fn_append ac_file_inputs
" '$ac_f'"
21893 # Let's still pretend it is `configure' which instantiates (i.e., don't
21894 # use $as_me), people would be surprised to read:
21895 # /* config.h. Generated by config.status. */
21896 configure_input
='Generated from '`
21897 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21899 if test x
"$ac_file" != x
-; then
21900 configure_input
="$ac_file. $configure_input"
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21902 $as_echo "$as_me: creating $ac_file" >&6;}
21904 # Neutralize special characters interpreted by sed in replacement strings.
21905 case $configure_input in #(
21906 *\
&* | *\
|* | *\\* )
21907 ac_sed_conf_input
=`$as_echo "$configure_input" |
21908 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21909 *) ac_sed_conf_input
=$configure_input;;
21913 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21914 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21919 ac_dir
=`$as_dirname -- "$ac_file" ||
21920 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21921 X"$ac_file" : 'X\(//\)[^/]' \| \
21922 X"$ac_file" : 'X\(//\)$' \| \
21923 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21924 $as_echo X"$ac_file" |
21925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21929 /^X\(\/\/\)[^/].*/{
21942 as_dir
="$ac_dir"; as_fn_mkdir_p
21946 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21948 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21949 # A ".." for each directory in $ac_dir_suffix.
21950 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21951 case $ac_top_builddir_sub in
21952 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21953 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21956 ac_abs_top_builddir
=$ac_pwd
21957 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21958 # for backward compatibility:
21959 ac_top_builddir
=$ac_top_build_prefix
21962 .
) # We are building in place.
21964 ac_top_srcdir
=$ac_top_builddir_sub
21965 ac_abs_top_srcdir
=$ac_pwd ;;
21966 [\\/]* | ?
:[\\/]* ) # Absolute name.
21967 ac_srcdir
=$srcdir$ac_dir_suffix;
21968 ac_top_srcdir
=$srcdir
21969 ac_abs_top_srcdir
=$srcdir ;;
21970 *) # Relative name.
21971 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21972 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21973 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21975 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21985 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21986 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21988 ac_MKDIR_P
=$MKDIR_P
21990 [\\/$
]* | ?
:[\\/]* ) ;;
21991 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21995 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21996 # If the template does not know about datarootdir, expand it.
21997 # FIXME: This hack should be removed a few years after 2.60.
21998 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22009 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22010 *datarootdir
*) ac_datarootdir_seen
=yes;;
22011 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22013 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22016 ac_datarootdir_hack='
22017 s&@datadir@&$datadir&g
22018 s&@docdir@&$docdir&g
22019 s&@infodir@&$infodir&g
22020 s&@localedir@&$localedir&g
22021 s&@mandir@&$mandir&g
22022 s&\\\${datarootdir}&$datarootdir&g' ;;
22026 # Neutralize VPATH when `$srcdir' = `.'.
22027 # Shell code in configure.ac might set extrasub.
22028 # FIXME: do we really want to maintain this feature?
22029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22030 ac_sed_extra="$ac_vpsub
22033 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22035 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22036 s
|@configure_input@
|$ac_sed_conf_input|;t t
22037 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22038 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22039 s
&@srcdir@
&$ac_srcdir&;t t
22040 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22041 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22042 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22043 s
&@builddir@
&$ac_builddir&;t t
22044 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22045 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22046 s
&@INSTALL@
&$ac_INSTALL&;t t
22047 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22048 $ac_datarootdir_hack
22050 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22051 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22053 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22054 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22055 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22056 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22058 which seems to be undefined. Please make sure it is defined" >&5
22059 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22060 which seems to be undefined. Please make sure it is defined" >&2;}
22062 rm -f "$ac_tmp/stdin"
22064 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22065 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22067 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22073 if test x"$ac_file" != x-; then
22075 $as_echo "/* $configure_input */" \
22076 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22077 } >"$ac_tmp/config.h" \
22078 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22079 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22081 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22084 mv "$ac_tmp/config.h" "$ac_file" \
22085 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22088 $as_echo "/* $configure_input */" \
22089 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22090 || as_fn_error $? "could not create -" "$LINENO" 5
22092 # Compute "$ac_file"'s index
in $config_headers.
22095 for _am_header
in $config_headers :; do
22096 case $_am_header in
22097 $_am_arg | $_am_arg:* )
22100 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22103 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22104 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22105 X"$_am_arg" : 'X\(//\)[^/]' \| \
22106 X"$_am_arg" : 'X\(//\)$' \| \
22107 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22108 $as_echo X"$_am_arg" |
22109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22113 /^X\(\/\/\)[^/].*/{
22125 s/.*/./; q'`/stamp
-h$_am_stamp_count
22128 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22129 $as_echo "$as_me: executing $ac_file commands" >&6;}
22134 case $ac_file$ac_mode in
22135 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22136 # Older Autoconf quotes --file arguments for eval, but not when files
22137 # are listed without --file. Let's play safe and only enable the eval
22138 # if we detect the quoting.
22139 case $CONFIG_FILES in
22140 *\'*) eval set x
"$CONFIG_FILES" ;;
22141 *) set x
$CONFIG_FILES ;;
22146 # Strip MF so we end up with the name of the file.
22147 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22148 # Check whether this is an Automake generated Makefile or not.
22149 # We used to match only the files named 'Makefile.in', but
22150 # some people rename them; so instead we look at the file content.
22151 # Grep'ing the first line is not enough: some people post-process
22152 # each Makefile.in and add a new line on top of each file to say so.
22153 # Grep'ing the whole file is not good either: AIX grep has a line
22154 # limit of 2048, but all sed's we know have understand at least 4000.
22155 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22156 dirpart
=`$as_dirname -- "$mf" ||
22157 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22158 X"$mf" : 'X\(//\)[^/]' \| \
22159 X"$mf" : 'X\(//\)$' \| \
22160 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22166 /^X\(\/\/\)[^/].*/{
22182 # Extract the definition of DEPDIR, am__include, and am__quote
22183 # from the Makefile without running 'make'.
22184 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22185 test -z "$DEPDIR" && continue
22186 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22187 test -z "$am__include" && continue
22188 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22189 # Find all dependency output files, they are included files with
22190 # $(DEPDIR) in their names. We invoke sed twice because it is the
22191 # simplest approach to changing $(DEPDIR) to its actual value in the
22193 for file in `sed -n "
22194 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22195 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22196 # Make sure the directory exists.
22197 test -f "$dirpart/$file" && continue
22198 fdir
=`$as_dirname -- "$file" ||
22199 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22200 X"$file" : 'X\(//\)[^/]' \| \
22201 X"$file" : 'X\(//\)$' \| \
22202 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22203 $as_echo X"$file" |
22204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22208 /^X\(\/\/\)[^/].*/{
22221 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22222 # echo "creating $dirpart/$file"
22223 echo '# dummy' > "$dirpart/$file"
22230 # See if we are running on zsh, and set the options which allow our
22231 # commands through without removal of \ escapes.
22232 if test -n "${ZSH_VERSION+set}" ; then
22233 setopt NO_GLOB_SUBST
22236 cfgfile
="${ofile}T"
22237 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22240 cat <<_LT_EOF >> "$cfgfile"
22243 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22244 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22245 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22246 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22248 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22249 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22251 # Written by Gordon Matzigkeit, 1996
22253 # This file is part of GNU Libtool.
22255 # GNU Libtool is free software; you can redistribute it and/or
22256 # modify it under the terms of the GNU General Public License as
22257 # published by the Free Software Foundation; either version 2 of
22258 # the License, or (at your option) any later version.
22260 # As a special exception to the GNU General Public License,
22261 # if you distribute this file as part of a program or library that
22262 # is built using GNU Libtool, you may include this file under the
22263 # same distribution terms that you use for the rest of that program.
22265 # GNU Libtool is distributed in the hope that it will be useful,
22266 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22267 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22268 # GNU General Public License for more details.
22270 # You should have received a copy of the GNU General Public License
22271 # along with GNU Libtool; see the file COPYING. If not, a copy
22272 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22273 # obtained by writing to the Free Software Foundation, Inc.,
22274 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22277 # The names of the tagged configurations supported by this script.
22278 available_tags="CXX "
22280 # ### BEGIN LIBTOOL CONFIG
22282 # Which release of libtool.m4 was used?
22283 macro_version=$macro_version
22284 macro_revision=$macro_revision
22286 # Whether or not to build static libraries.
22287 build_old_libs=$enable_static
22289 # Whether or not to build shared libraries.
22290 build_libtool_libs=$enable_shared
22292 # What type of objects to build.
22295 # Whether or not to optimize for fast installation.
22296 fast_install=$enable_fast_install
22298 # Shell to use when invoking shell scripts.
22301 # An echo program that protects backslashes.
22304 # The PATH separator for the build system.
22305 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22308 host_alias=$host_alias
22312 # The build system.
22313 build_alias=$build_alias
22317 # A sed program that does not truncate output.
22320 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22321 Xsed="\$SED -e 1s/^X//"
22323 # A grep program that handles long lines.
22329 # A literal string matcher.
22332 # A BSD- or MS-compatible name lister.
22335 # Whether we need soft or hard links.
22338 # What is the maximum length of a command?
22339 max_cmd_len=$max_cmd_len
22341 # Object file suffix (normally "o").
22344 # Executable file suffix (normally "").
22347 # whether the shell understands "unset".
22350 # turn spaces into newlines.
22353 # turn newlines into spaces.
22356 # convert \$build file names to \$host format.
22357 to_host_file_cmd=$lt_cv_to_host_file_cmd
22359 # convert \$build files to toolchain format.
22360 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22362 # An object symbol dumper.
22363 OBJDUMP=$lt_OBJDUMP
22365 # Method to check whether dependent libraries are shared objects.
22366 deplibs_check_method=$lt_deplibs_check_method
22368 # Command to use when deplibs_check_method = "file_magic".
22369 file_magic_cmd=$lt_file_magic_cmd
22371 # How to find potential files when deplibs_check_method = "file_magic".
22372 file_magic_glob=$lt_file_magic_glob
22374 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22375 want_nocaseglob=$lt_want_nocaseglob
22377 # DLL creation program.
22378 DLLTOOL=$lt_DLLTOOL
22380 # Command to associate shared and link libraries.
22381 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22386 # Flags to create an archive.
22387 AR_FLAGS=$lt_AR_FLAGS
22389 # How to feed a file listing to the archiver.
22390 archiver_list_spec=$lt_archiver_list_spec
22392 # A symbol stripping program.
22395 # Commands used to install an old-style archive.
22397 old_postinstall_cmds=$lt_old_postinstall_cmds
22398 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22400 # Whether to use a lock for old archive extraction.
22401 lock_old_archive_extraction=$lock_old_archive_extraction
22406 # LTCC compiler flags.
22407 LTCFLAGS=$lt_CFLAGS
22409 # Take the output of nm and produce a listing of raw symbols and C names.
22410 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22412 # Transform the output of nm in a proper C declaration.
22413 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22415 # Transform the output of nm in a C name address pair.
22416 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22418 # Transform the output of nm in a C name address pair when lib prefix is needed.
22419 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22421 # Specify filename containing input files for \$NM.
22422 nm_file_list_spec=$lt_nm_file_list_spec
22424 # The root where to search for dependent libraries,and in which our libraries should be installed.
22425 lt_sysroot=$lt_sysroot
22427 # The name of the directory that contains temporary libtool files.
22430 # Used to examine libraries when file_magic_cmd begins with "file".
22431 MAGIC_CMD=$MAGIC_CMD
22433 # Must we lock files when doing compilation?
22434 need_locks=$lt_need_locks
22437 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22439 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22440 DSYMUTIL=$lt_DSYMUTIL
22442 # Tool to change global to local symbols on Mac OS X.
22445 # Tool to manipulate fat objects and archives on Mac OS X.
22448 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22451 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22452 OTOOL64=$lt_OTOOL64
22454 # Old archive suffix (normally "a").
22457 # Shared library suffix (normally ".so").
22458 shrext_cmds=$lt_shrext_cmds
22460 # The commands to extract the exported symbol list from a shared archive.
22461 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22463 # Variables whose values should be saved in libtool wrapper scripts and
22464 # restored at link time.
22465 variables_saved_for_relink=$lt_variables_saved_for_relink
22467 # Do we need the "lib" prefix for modules?
22468 need_lib_prefix=$need_lib_prefix
22470 # Do we need a version for libraries?
22471 need_version=$need_version
22473 # Library versioning type.
22474 version_type=$version_type
22476 # Shared library runtime path variable.
22477 runpath_var=$runpath_var
22479 # Shared library path variable.
22480 shlibpath_var=$shlibpath_var
22482 # Is shlibpath searched before the hard-coded library search path?
22483 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22485 # Format of library name prefix.
22486 libname_spec=$lt_libname_spec
22488 # List of archive names. First name is the real one, the rest are links.
22489 # The last name is the one that the linker finds with -lNAME
22490 library_names_spec=$lt_library_names_spec
22492 # The coded name of the library, if different from the real name.
22493 soname_spec=$lt_soname_spec
22495 # Permission mode override for installation of shared libraries.
22496 install_override_mode=$lt_install_override_mode
22498 # Command to use after installation of a shared archive.
22499 postinstall_cmds=$lt_postinstall_cmds
22501 # Command to use after uninstallation of a shared archive.
22502 postuninstall_cmds=$lt_postuninstall_cmds
22504 # Commands used to finish a libtool library installation in a directory.
22505 finish_cmds=$lt_finish_cmds
22507 # As "finish_cmds", except a single script fragment to be evaled but
22509 finish_eval=$lt_finish_eval
22511 # Whether we should hardcode library paths into libraries.
22512 hardcode_into_libs=$hardcode_into_libs
22514 # Compile-time system search path for libraries.
22515 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22517 # Run-time system search path for libraries.
22518 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22520 # Whether dlopen is supported.
22521 dlopen_support=$enable_dlopen
22523 # Whether dlopen of programs is supported.
22524 dlopen_self=$enable_dlopen_self
22526 # Whether dlopen of statically linked programs is supported.
22527 dlopen_self_static=$enable_dlopen_self_static
22529 # Commands to strip libraries.
22530 old_striplib=$lt_old_striplib
22531 striplib=$lt_striplib
22534 # The linker used to build libraries.
22537 # How to create reloadable object files.
22538 reload_flag=$lt_reload_flag
22539 reload_cmds=$lt_reload_cmds
22541 # Commands used to build an old-style archive.
22542 old_archive_cmds=$lt_old_archive_cmds
22544 # A language specific compiler.
22547 # Is the compiler the GNU compiler?
22550 # Compiler flag to turn off builtin functions.
22551 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22553 # Additional compiler flags for building library objects.
22554 pic_flag=$lt_lt_prog_compiler_pic
22556 # How to pass a linker flag through the compiler.
22557 wl=$lt_lt_prog_compiler_wl
22559 # Compiler flag to prevent dynamic linking.
22560 link_static_flag=$lt_lt_prog_compiler_static
22562 # Does compiler simultaneously support -c and -o options?
22563 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22565 # Whether or not to add -lc for building shared libraries.
22566 build_libtool_need_lc=$archive_cmds_need_lc
22568 # Whether or not to disallow shared libs when runtime libs are static.
22569 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22571 # Compiler flag to allow reflexive dlopens.
22572 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22574 # Compiler flag to generate shared objects directly from archives.
22575 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22577 # Whether the compiler copes with passing no objects directly.
22578 compiler_needs_object=$lt_compiler_needs_object
22580 # Create an old-style archive from a shared archive.
22581 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22583 # Create a temporary old-style archive to link instead of a shared archive.
22584 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22586 # Commands used to build a shared archive.
22587 archive_cmds=$lt_archive_cmds
22588 archive_expsym_cmds=$lt_archive_expsym_cmds
22590 # Commands used to build a loadable module if different from building
22591 # a shared archive.
22592 module_cmds=$lt_module_cmds
22593 module_expsym_cmds=$lt_module_expsym_cmds
22595 # Whether we are building with GNU ld or not.
22596 with_gnu_ld=$lt_with_gnu_ld
22598 # Flag that allows shared libraries with undefined symbols to be built.
22599 allow_undefined_flag=$lt_allow_undefined_flag
22601 # Flag that enforces no undefined symbols.
22602 no_undefined_flag=$lt_no_undefined_flag
22604 # Flag to hardcode \$libdir into a binary during linking.
22605 # This must work even if \$libdir does not exist
22606 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22608 # Whether we need a single "-rpath" flag with a separated argument.
22609 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22611 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22612 # DIR into the resulting binary.
22613 hardcode_direct=$hardcode_direct
22615 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22616 # DIR into the resulting binary and the resulting library dependency is
22617 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22618 # library is relocated.
22619 hardcode_direct_absolute=$hardcode_direct_absolute
22621 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22622 # into the resulting binary.
22623 hardcode_minus_L=$hardcode_minus_L
22625 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22626 # into the resulting binary.
22627 hardcode_shlibpath_var=$hardcode_shlibpath_var
22629 # Set to "yes" if building a shared library automatically hardcodes DIR
22630 # into the library and all subsequent libraries and executables linked
22632 hardcode_automatic=$hardcode_automatic
22634 # Set to yes if linker adds runtime paths of dependent libraries
22635 # to runtime path list.
22636 inherit_rpath=$inherit_rpath
22638 # Whether libtool must link a program against all its dependency libraries.
22639 link_all_deplibs=$link_all_deplibs
22641 # Set to "yes" if exported symbols are required.
22642 always_export_symbols=$always_export_symbols
22644 # The commands to list exported symbols.
22645 export_symbols_cmds=$lt_export_symbols_cmds
22647 # Symbols that should not be listed in the preloaded symbols.
22648 exclude_expsyms=$lt_exclude_expsyms
22650 # Symbols that must always be exported.
22651 include_expsyms=$lt_include_expsyms
22653 # Commands necessary for linking programs (against libraries) with templates.
22654 prelink_cmds=$lt_prelink_cmds
22656 # Commands necessary for finishing linking programs.
22657 postlink_cmds=$lt_postlink_cmds
22659 # Specify filename containing input files.
22660 file_list_spec=$lt_file_list_spec
22662 # How to hardcode a shared library path into an executable.
22663 hardcode_action=$hardcode_action
22665 # The directories searched by this compiler when creating a shared library.
22666 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
22668 # Dependencies to place before and after the objects being linked to
22669 # create a shared library.
22670 predep_objects=$lt_predep_objects
22671 postdep_objects=$lt_postdep_objects
22672 predeps=$lt_predeps
22673 postdeps=$lt_postdeps
22675 # The library search path used internally by the compiler when linking
22676 # a shared library.
22677 compiler_lib_search_path=$lt_compiler_lib_search_path
22679 # ### END LIBTOOL CONFIG
22685 cat <<\_LT_EOF
>> "$cfgfile"
22686 # AIX sometimes has problems with the GCC collect2 program. For some
22687 # reason, if we set the COLLECT_NAMES environment variable, the problems
22688 # vanish in a puff of smoke.
22689 if test "X${COLLECT_NAMES+set}" != Xset
; then
22691 export COLLECT_NAMES
22698 ltmain
="$ac_aux_dir/ltmain.sh"
22701 # We use sed instead of cat because bash on DJGPP gets confused if
22702 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22703 # text mode, it properly converts lines to CR/LF. This bash problem
22704 # is reportedly fixed, but why not run on old versions too?
22705 sed '$q' "$ltmain" >> "$cfgfile" \
22706 || (rm -f "$cfgfile"; exit 1)
22708 if test x
"$xsi_shell" = xyes
; then
22709 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
22713 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22714 \ * ) func_dirname_result="${3}" ;;\
22716 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
22717 && mv -f "$cfgfile.tmp" "$cfgfile" \
22718 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22719 test 0 -eq $?
|| _lt_function_replace_fail
=:
22722 sed -e '/^func_basename ()$/,/^} # func_basename /c\
22725 \ func_basename_result="${1##*/}"\
22726 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
22727 && mv -f "$cfgfile.tmp" "$cfgfile" \
22728 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22729 test 0 -eq $?
|| _lt_function_replace_fail
=:
22732 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
22733 func_dirname_and_basename ()\
22736 \ */*) func_dirname_result="${1%/*}${2}" ;;\
22737 \ * ) func_dirname_result="${3}" ;;\
22739 \ func_basename_result="${1##*/}"\
22740 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
22741 && mv -f "$cfgfile.tmp" "$cfgfile" \
22742 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22743 test 0 -eq $?
|| _lt_function_replace_fail
=:
22746 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
22749 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
22750 \ # positional parameters, so assign one to ordinary parameter first.\
22751 \ func_stripname_result=${3}\
22752 \ func_stripname_result=${func_stripname_result#"${1}"}\
22753 \ func_stripname_result=${func_stripname_result%"${2}"}\
22754 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
22755 && mv -f "$cfgfile.tmp" "$cfgfile" \
22756 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22757 test 0 -eq $?
|| _lt_function_replace_fail
=:
22760 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
22761 func_split_long_opt ()\
22763 \ func_split_long_opt_name=${1%%=*}\
22764 \ func_split_long_opt_arg=${1#*=}\
22765 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
22766 && mv -f "$cfgfile.tmp" "$cfgfile" \
22767 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22768 test 0 -eq $?
|| _lt_function_replace_fail
=:
22771 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
22772 func_split_short_opt ()\
22774 \ func_split_short_opt_arg=${1#??}\
22775 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
22776 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
22777 && mv -f "$cfgfile.tmp" "$cfgfile" \
22778 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22779 test 0 -eq $?
|| _lt_function_replace_fail
=:
22782 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
22786 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
22787 \ *) func_lo2o_result=${1} ;;\
22789 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22790 && mv -f "$cfgfile.tmp" "$cfgfile" \
22791 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22792 test 0 -eq $?
|| _lt_function_replace_fail
=:
22795 sed -e '/^func_xform ()$/,/^} # func_xform /c\
22798 func_xform_result=${1%.*}.lo\
22799 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22800 && mv -f "$cfgfile.tmp" "$cfgfile" \
22801 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22802 test 0 -eq $?
|| _lt_function_replace_fail
=:
22805 sed -e '/^func_arith ()$/,/^} # func_arith /c\
22808 func_arith_result=$(( $* ))\
22809 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22810 && mv -f "$cfgfile.tmp" "$cfgfile" \
22811 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22812 test 0 -eq $?
|| _lt_function_replace_fail
=:
22815 sed -e '/^func_len ()$/,/^} # func_len /c\
22818 func_len_result=${#1}\
22819 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22820 && mv -f "$cfgfile.tmp" "$cfgfile" \
22821 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22822 test 0 -eq $?
|| _lt_function_replace_fail
=:
22826 if test x
"$lt_shell_append" = xyes
; then
22827 sed -e '/^func_append ()$/,/^} # func_append /c\
22830 eval "${1}+=\\${2}"\
22831 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22832 && mv -f "$cfgfile.tmp" "$cfgfile" \
22833 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22834 test 0 -eq $?
|| _lt_function_replace_fail
=:
22837 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22838 func_append_quoted ()\
22840 \ func_quote_for_eval "${2}"\
22841 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22842 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22843 && mv -f "$cfgfile.tmp" "$cfgfile" \
22844 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22845 test 0 -eq $?
|| _lt_function_replace_fail
=:
22848 # Save a `func_append' function call where possible by direct use of '+='
22849 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22850 && mv -f "$cfgfile.tmp" "$cfgfile" \
22851 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22852 test 0 -eq $?
|| _lt_function_replace_fail
=:
22854 # Save a `func_append' function call even when '+=' is not available
22855 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22856 && mv -f "$cfgfile.tmp" "$cfgfile" \
22857 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22858 test 0 -eq $?
|| _lt_function_replace_fail
=:
22861 if test x
"$_lt_function_replace_fail" = x
":"; then
22862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22863 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22867 mv -f "$cfgfile" "$ofile" ||
22868 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22872 cat <<_LT_EOF >> "$ofile"
22874 # ### BEGIN LIBTOOL TAG CONFIG: CXX
22876 # The linker used to build libraries.
22879 # How to create reloadable object files.
22880 reload_flag=$lt_reload_flag_CXX
22881 reload_cmds=$lt_reload_cmds_CXX
22883 # Commands used to build an old-style archive.
22884 old_archive_cmds=$lt_old_archive_cmds_CXX
22886 # A language specific compiler.
22887 CC=$lt_compiler_CXX
22889 # Is the compiler the GNU compiler?
22892 # Compiler flag to turn off builtin functions.
22893 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22895 # Additional compiler flags for building library objects.
22896 pic_flag=$lt_lt_prog_compiler_pic_CXX
22898 # How to pass a linker flag through the compiler.
22899 wl=$lt_lt_prog_compiler_wl_CXX
22901 # Compiler flag to prevent dynamic linking.
22902 link_static_flag=$lt_lt_prog_compiler_static_CXX
22904 # Does compiler simultaneously support -c and -o options?
22905 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22907 # Whether or not to add -lc for building shared libraries.
22908 build_libtool_need_lc=$archive_cmds_need_lc_CXX
22910 # Whether or not to disallow shared libs when runtime libs are static.
22911 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22913 # Compiler flag to allow reflexive dlopens.
22914 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22916 # Compiler flag to generate shared objects directly from archives.
22917 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22919 # Whether the compiler copes with passing no objects directly.
22920 compiler_needs_object=$lt_compiler_needs_object_CXX
22922 # Create an old-style archive from a shared archive.
22923 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22925 # Create a temporary old-style archive to link instead of a shared archive.
22926 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22928 # Commands used to build a shared archive.
22929 archive_cmds=$lt_archive_cmds_CXX
22930 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22932 # Commands used to build a loadable module if different from building
22933 # a shared archive.
22934 module_cmds=$lt_module_cmds_CXX
22935 module_expsym_cmds=$lt_module_expsym_cmds_CXX
22937 # Whether we are building with GNU ld or not.
22938 with_gnu_ld=$lt_with_gnu_ld_CXX
22940 # Flag that allows shared libraries with undefined symbols to be built.
22941 allow_undefined_flag=$lt_allow_undefined_flag_CXX
22943 # Flag that enforces no undefined symbols.
22944 no_undefined_flag=$lt_no_undefined_flag_CXX
22946 # Flag to hardcode \$libdir into a binary during linking.
22947 # This must work even if \$libdir does not exist
22948 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22950 # Whether we need a single "-rpath" flag with a separated argument.
22951 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22953 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22954 # DIR into the resulting binary.
22955 hardcode_direct=$hardcode_direct_CXX
22957 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22958 # DIR into the resulting binary and the resulting library dependency is
22959 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22960 # library is relocated.
22961 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22963 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22964 # into the resulting binary.
22965 hardcode_minus_L=$hardcode_minus_L_CXX
22967 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22968 # into the resulting binary.
22969 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22971 # Set to "yes" if building a shared library automatically hardcodes DIR
22972 # into the library and all subsequent libraries and executables linked
22974 hardcode_automatic=$hardcode_automatic_CXX
22976 # Set to yes if linker adds runtime paths of dependent libraries
22977 # to runtime path list.
22978 inherit_rpath=$inherit_rpath_CXX
22980 # Whether libtool must link a program against all its dependency libraries.
22981 link_all_deplibs=$link_all_deplibs_CXX
22983 # Set to "yes" if exported symbols are required.
22984 always_export_symbols=$always_export_symbols_CXX
22986 # The commands to list exported symbols.
22987 export_symbols_cmds=$lt_export_symbols_cmds_CXX
22989 # Symbols that should not be listed in the preloaded symbols.
22990 exclude_expsyms=$lt_exclude_expsyms_CXX
22992 # Symbols that must always be exported.
22993 include_expsyms=$lt_include_expsyms_CXX
22995 # Commands necessary for linking programs (against libraries) with templates.
22996 prelink_cmds=$lt_prelink_cmds_CXX
22998 # Commands necessary for finishing linking programs.
22999 postlink_cmds=$lt_postlink_cmds_CXX
23001 # Specify filename containing input files.
23002 file_list_spec=$lt_file_list_spec_CXX
23004 # How to hardcode a shared library path into an executable.
23005 hardcode_action=$hardcode_action_CXX
23007 # The directories searched by this compiler when creating a shared library.
23008 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23010 # Dependencies to place before and after the objects being linked to
23011 # create a shared library.
23012 predep_objects=$lt_predep_objects_CXX
23013 postdep_objects=$lt_postdep_objects_CXX
23014 predeps=$lt_predeps_CXX
23015 postdeps=$lt_postdeps_CXX
23017 # The library search path used internally by the compiler when linking
23018 # a shared library.
23019 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23021 # ### END LIBTOOL TAG CONFIG: CXX
23032 ac_clean_files
=$ac_clean_files_save
23034 test $ac_write_fail = 0 ||
23035 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23038 # configure is writing to config.log, and then calls config.status.
23039 # config.status does its own redirection, appending to config.log.
23040 # Unfortunately, on DOS this fails, as config.log is still kept open
23041 # by configure, so config.status won't be able to write to it; its
23042 # output is simply discarded. So we exec the FD to /dev/null,
23043 # effectively closing config.log, so it can be properly (re)opened and
23044 # appended to by config.status. When coming back to configure, we
23045 # need to make the FD available again.
23046 if test "$no_create" != yes; then
23048 ac_config_status_args
=
23049 test "$silent" = yes &&
23050 ac_config_status_args
="$ac_config_status_args --quiet"
23052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23055 # would make configure fail if this is the last instruction.
23056 $ac_cs_success || as_fn_exit
1
23058 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23060 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}