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
717 am__fastdepOBJCXX_FALSE
718 am__fastdepOBJCXX_TRUE
752 INSTALL_STRIP_PROGRAM
794 program_transform_name
807 enable_option_checking
809 enable_dependency_tracking
823 ac_precious_vars
='build_alias
852 # Initialize some variables set by options.
854 ac_init_version
=false
855 ac_unrecognized_opts
=
857 # The variables have the same names as the options, with
858 # dashes changed to underlines.
866 program_transform_name
=s
,x
,x
,
874 # Installation directory options.
875 # These are left unexpanded so users can "make install exec_prefix=/foo"
876 # and all the variables that are supposed to be based on exec_prefix
877 # by default will actually change.
878 # Use braces instead of parens because sh, perl, etc. also accept them.
879 # (The list follows the same order as the GNU Coding Standards.)
880 bindir
='${exec_prefix}/bin'
881 sbindir
='${exec_prefix}/sbin'
882 libexecdir
='${exec_prefix}/libexec'
883 datarootdir
='${prefix}/share'
884 datadir
='${datarootdir}'
885 sysconfdir
='${prefix}/etc'
886 sharedstatedir
='${prefix}/com'
887 localstatedir
='${prefix}/var'
888 includedir
='${prefix}/include'
889 oldincludedir
='/usr/include'
890 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
891 infodir
='${datarootdir}/info'
896 libdir
='${exec_prefix}/lib'
897 localedir
='${datarootdir}/locale'
898 mandir
='${datarootdir}/man'
904 # If the previous option needs an argument, assign it.
905 if test -n "$ac_prev"; then
906 eval $ac_prev=\
$ac_option
912 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
917 # Accept the important Cygnus configure options, so we can diagnose typos.
919 case $ac_dashdash$ac_option in
923 -bindir | --bindir | --bindi | --bind | --bin | --bi)
925 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
928 -build | --build | --buil | --bui | --bu)
929 ac_prev
=build_alias
;;
930 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
931 build_alias
=$ac_optarg ;;
933 -cache-file | --cache-file | --cache-fil | --cache-fi \
934 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
935 ac_prev
=cache_file
;;
936 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
937 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
938 cache_file
=$ac_optarg ;;
941 cache_file
=config.cache
;;
943 -datadir | --datadir | --datadi | --datad)
945 -datadir=* | --datadir=* | --datadi=* | --datad=*)
946 datadir
=$ac_optarg ;;
948 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
949 | --dataroo | --dataro | --datar)
950 ac_prev
=datarootdir
;;
951 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
952 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
953 datarootdir
=$ac_optarg ;;
955 -disable-* | --disable-*)
956 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
959 as_fn_error $?
"invalid feature name: $ac_useropt"
960 ac_useropt_orig
=$ac_useropt
961 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
966 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
967 ac_unrecognized_sep
=', ';;
969 eval enable_
$ac_useropt=no
;;
971 -docdir | --docdir | --docdi | --doc | --do)
973 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
976 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
978 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
981 -enable-* | --enable-*)
982 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
985 as_fn_error $?
"invalid feature name: $ac_useropt"
986 ac_useropt_orig
=$ac_useropt
987 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
992 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
993 ac_unrecognized_sep
=', ';;
995 eval enable_
$ac_useropt=\
$ac_optarg ;;
997 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
998 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
999 | --exec | --exe | --ex)
1000 ac_prev
=exec_prefix
;;
1001 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1002 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1003 | --exec=* | --exe=* | --ex=*)
1004 exec_prefix
=$ac_optarg ;;
1006 -gas | --gas | --ga | --g)
1007 # Obsolete; use --with-gas.
1010 -help | --help | --hel | --he | -h)
1011 ac_init_help
=long
;;
1012 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1013 ac_init_help
=recursive
;;
1014 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1015 ac_init_help
=short
;;
1017 -host | --host | --hos | --ho)
1018 ac_prev
=host_alias
;;
1019 -host=* | --host=* | --hos=* | --ho=*)
1020 host_alias
=$ac_optarg ;;
1022 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1024 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1026 htmldir
=$ac_optarg ;;
1028 -includedir | --includedir | --includedi | --included | --include \
1029 | --includ | --inclu | --incl | --inc)
1030 ac_prev
=includedir
;;
1031 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1032 | --includ=* | --inclu=* | --incl=* | --inc=*)
1033 includedir
=$ac_optarg ;;
1035 -infodir | --infodir | --infodi | --infod | --info | --inf)
1037 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1038 infodir
=$ac_optarg ;;
1040 -libdir | --libdir | --libdi | --libd)
1042 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1043 libdir
=$ac_optarg ;;
1045 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1046 | --libexe | --libex | --libe)
1047 ac_prev
=libexecdir
;;
1048 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1049 | --libexe=* | --libex=* | --libe=*)
1050 libexecdir
=$ac_optarg ;;
1052 -localedir | --localedir | --localedi | --localed | --locale)
1053 ac_prev
=localedir
;;
1054 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1055 localedir
=$ac_optarg ;;
1057 -localstatedir | --localstatedir | --localstatedi | --localstated \
1058 | --localstate | --localstat | --localsta | --localst | --locals)
1059 ac_prev
=localstatedir
;;
1060 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1061 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1062 localstatedir
=$ac_optarg ;;
1064 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1066 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1067 mandir
=$ac_optarg ;;
1069 -nfp | --nfp | --nf)
1070 # Obsolete; use --without-fp.
1073 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1074 | --no-cr | --no-c | -n)
1077 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1078 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1081 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1082 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1083 | --oldin | --oldi | --old | --ol | --o)
1084 ac_prev
=oldincludedir
;;
1085 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1086 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1087 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1088 oldincludedir
=$ac_optarg ;;
1090 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1092 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1093 prefix
=$ac_optarg ;;
1095 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1096 | --program-pre | --program-pr | --program-p)
1097 ac_prev
=program_prefix
;;
1098 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1099 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1100 program_prefix
=$ac_optarg ;;
1102 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1103 | --program-suf | --program-su | --program-s)
1104 ac_prev
=program_suffix
;;
1105 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1106 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1107 program_suffix
=$ac_optarg ;;
1109 -program-transform-name | --program-transform-name \
1110 | --program-transform-nam | --program-transform-na \
1111 | --program-transform-n | --program-transform- \
1112 | --program-transform | --program-transfor \
1113 | --program-transfo | --program-transf \
1114 | --program-trans | --program-tran \
1115 | --progr-tra | --program-tr | --program-t)
1116 ac_prev
=program_transform_name
;;
1117 -program-transform-name=* | --program-transform-name=* \
1118 | --program-transform-nam=* | --program-transform-na=* \
1119 | --program-transform-n=* | --program-transform-=* \
1120 | --program-transform=* | --program-transfor=* \
1121 | --program-transfo=* | --program-transf=* \
1122 | --program-trans=* | --program-tran=* \
1123 | --progr-tra=* | --program-tr=* | --program-t=*)
1124 program_transform_name
=$ac_optarg ;;
1126 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1128 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1129 pdfdir
=$ac_optarg ;;
1131 -psdir | --psdir | --psdi | --psd | --ps)
1133 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1137 | -silent | --silent | --silen | --sile | --sil)
1140 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1142 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1144 sbindir
=$ac_optarg ;;
1146 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1147 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1148 | --sharedst | --shareds | --shared | --share | --shar \
1150 ac_prev
=sharedstatedir
;;
1151 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1152 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1153 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1155 sharedstatedir
=$ac_optarg ;;
1157 -site | --site | --sit)
1159 -site=* | --site=* | --sit=*)
1162 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1164 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1165 srcdir
=$ac_optarg ;;
1167 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1168 | --syscon | --sysco | --sysc | --sys | --sy)
1169 ac_prev
=sysconfdir
;;
1170 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1171 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1172 sysconfdir
=$ac_optarg ;;
1174 -target | --target | --targe | --targ | --tar | --ta | --t)
1175 ac_prev
=target_alias
;;
1176 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1177 target_alias
=$ac_optarg ;;
1179 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1182 -version | --version | --versio | --versi | --vers | -V)
1183 ac_init_version
=: ;;
1186 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error $?
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=\
$ac_optarg ;;
1201 -without-* | --without-*)
1202 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1205 as_fn_error $?
"invalid package name: $ac_useropt"
1206 ac_useropt_orig
=$ac_useropt
1207 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1212 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213 ac_unrecognized_sep
=', ';;
1215 eval with_
$ac_useropt=no
;;
1218 # Obsolete; use --with-x.
1221 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1222 | --x-incl | --x-inc | --x-in | --x-i)
1223 ac_prev
=x_includes
;;
1224 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1225 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1226 x_includes
=$ac_optarg ;;
1228 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1229 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1230 ac_prev
=x_libraries
;;
1231 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1232 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1233 x_libraries
=$ac_optarg ;;
1235 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1236 Try \`$0 --help' for more information"
1240 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1241 # Reject names that are not valid shell variable names.
1242 case $ac_envvar in #(
1243 '' | [0-9]* | *[!_$as_cr_alnum]* )
1244 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1246 eval $ac_envvar=\
$ac_optarg
1247 export $ac_envvar ;;
1250 # FIXME: should be removed in autoconf 3.0.
1251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1260 if test -n "$ac_prev"; then
1261 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1262 as_fn_error $?
"missing argument to $ac_option"
1265 if test -n "$ac_unrecognized_opts"; then
1266 case $enable_option_checking in
1268 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1273 # Check all directory arguments for consistency.
1274 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1275 datadir sysconfdir sharedstatedir localstatedir includedir \
1276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1277 libdir localedir mandir
1279 eval ac_val
=\$
$ac_var
1280 # Remove trailing slashes.
1283 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1284 eval $ac_var=\
$ac_val;;
1286 # Be sure to have absolute directory names.
1288 [\\/$
]* | ?
:[\\/]* ) continue;;
1289 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1291 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 elif test "x$build_alias" != "x$host_alias"; then
1311 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1313 test "$silent" = yes && exec 6>/dev
/null
1316 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di
=`ls -di .` &&
1318 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1319 as_fn_error $?
"working directory cannot be determined"
1320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1321 as_fn_error $?
"pwd does not report name of working directory"
1324 # Find the source files, if location was not specified.
1325 if test -z "$srcdir"; then
1326 ac_srcdir_defaulted
=yes
1327 # Try the directory containing this script, then the parent directory.
1328 ac_confdir
=`$as_dirname -- "$as_myself" ||
1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330 X"$as_myself" : 'X\(//\)[^/]' \| \
1331 X"$as_myself" : 'X\(//\)$' \| \
1332 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1333 $as_echo X"$as_myself" |
1334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1356 ac_srcdir_defaulted
=no
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1359 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1360 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1362 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1366 # When building in place, set srcdir=.
1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
1370 # Remove unnecessary trailing slashes from srcdir.
1371 # Double slashes in file names in object file debugging info
1372 # mess up M-x gdb in Emacs.
1374 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1376 for ac_var
in $ac_precious_vars; do
1377 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1378 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1379 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1380 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1384 # Report the --help message.
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1390 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1397 Defaults for the options are specified in brackets.
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking ...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1421 For better control, use the options below.
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1453 --build=BUILD configure
for building on BUILD
[guessed
]
1454 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1458 if test -n "$ac_init_help"; then
1459 case $ac_init_help in
1460 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1465 --disable-option-checking ignore unrecognized
--enable/--with options
1466 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1467 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1468 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1469 --disable-silent-rules verbose build output
(undo
: "make V=0")
1470 --enable-dependency-tracking
1471 do not reject slow dependency extractors
1472 --disable-dependency-tracking
1473 speeds up one
-time build
1474 --enable-static[=PKGS
] build static libraries
[default
=no
]
1475 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1476 --enable-fast-install[=PKGS
]
1477 optimize
for fast installation
[default
=yes]
1478 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1479 --enable-javascript[=ENGINE
]
1480 use a JavaScript runtime
(currently the only
1481 available option
for ENGINE is JavaScriptCore
)
1483 --disable-rpath do not hardcode runtime library paths
1486 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1487 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1488 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1490 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1491 --with-sysroot=DIR Search
for dependent libraries within DIR
1492 (or the compiler
's sysroot if not specified).
1493 --with-frameworks=DIRS add to DIRS (space separated) to the Darwin include
1494 path for frameworks with -F
1495 --with-apr=PATH prefix for installed APR or the full path to
1497 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1498 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1499 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1501 Some influential environment variables
:
1502 CXX C
++ compiler
command
1503 CXXFLAGS C
++ compiler flags
1504 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1505 nonstandard directory
<lib dir
>
1506 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1507 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1508 you have headers
in a nonstandard directory
<include dir
>
1509 OBJCXX Objective C
++ compiler
command
1510 OBJCXXFLAGS Objective C
++ compiler flags
1511 CC C compiler
command
1512 CFLAGS C compiler flags
1514 CXXCPP C
++ preprocessor
1515 PKG_CONFIG path to pkg
-config utility
1517 directories to add to pkg
-config's search path
1519 path overriding pkg-config's built
-in search path
1520 BISON GNU Project parser generator
(yacc replacement
)
1521 FLEX the fast lexical analyser generator
1522 GPERF perfect
hash function generator
1523 GNUTAR a very sticky lump of files
1525 C compiler flags
for WEBKIT
, overriding pkg
-config
1526 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1528 C compiler flags
for LIBFFI
, overriding pkg
-config
1529 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
1531 prints information about the current gnustep installation
1533 Use these variables to override the choices made by
`configure' or to help
1534 it to find libraries and programs with nonstandard names/locations.
1536 Report bugs to <saurik@saurik.com>.
1537 Cycript home page: <http://www.cycript.org/>.
1542 if test "$ac_init_help" = "recursive"; then
1543 # If there are subdirs, report their specific --help.
1544 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1545 test -d "$ac_dir" ||
1546 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554 # A ".." for each directory in $ac_dir_suffix.
1555 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556 case $ac_top_builddir_sub in
1557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1561 ac_abs_top_builddir=$ac_pwd
1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1563 # for backward compatibility:
1564 ac_top_builddir=$ac_top_build_prefix
1567 .) # We are building in place.
1569 ac_top_srcdir=$ac_top_builddir_sub
1570 ac_abs_top_srcdir=$ac_pwd ;;
1571 [\\/]* | ?:[\\/]* ) # Absolute name.
1572 ac_srcdir=$srcdir$ac_dir_suffix;
1573 ac_top_srcdir=$srcdir
1574 ac_abs_top_srcdir=$srcdir ;;
1576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577 ac_top_srcdir=$ac_top_build_prefix$srcdir
1578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1582 cd "$ac_dir" || { ac_status=$?; continue; }
1583 # Check for guested configure.
1584 if test -f "$ac_srcdir/configure.gnu"; then
1586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587 elif test -f "$ac_srcdir/configure"; then
1589 $SHELL "$ac_srcdir/configure" --help=recursive
1591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1593 cd "$ac_pwd" || { ac_status=$?; break; }
1597 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then
1600 Cycript configure 0.9
1601 generated by GNU Autoconf 2.69
1603 Copyright (C) 2012 Free Software Foundation, Inc.
1604 This configure script is free software; the Free Software Foundation
1605 gives unlimited permission to copy, distribute and modify it.
1607 Copyright (C) 2009-2012 Jay Freeman (saurik)
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1616 # ac_fn_cxx_try_compile LINENO
1617 # ----------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_cxx_try_compile ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 rm -f conftest.$ac_objext
1623 if { { ac_try="$ac_compile"
1625 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1626 *) ac_try_echo
=$ac_try;;
1628 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_compile") 2>conftest.err
1632 if test -s conftest.err
; then
1633 grep -v '^ *+' conftest.err
>conftest.er1
1634 cat conftest.er1
>&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_cxx_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest.
$ac_objext; then :
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.
$ac_ext >&5
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status
$ac_retval
1652 } # ac_fn_cxx_try_compile
1654 # ac_fn_objcxx_try_compile LINENO
1655 # -------------------------------
1656 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_objcxx_try_compile
()
1659 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1660 rm -f conftest.
$ac_objext
1661 if { { ac_try
="$ac_compile"
1663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_compile") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && {
1677 test -z "$ac_objcxx_werror_flag" ||
1678 test ! -s conftest.err
1679 } && test -s conftest.$ac_objext; then :
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1690 } # ac_fn_objcxx_try_compile
1692 # ac_fn_c_try_compile LINENO
1693 # --------------------------
1694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1695 ac_fn_c_try_compile ()
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 rm -f conftest.$ac_objext
1699 if { { ac_try="$ac_compile"
1701 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1702 *) ac_try_echo
=$ac_try;;
1704 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_compile") 2>conftest.err
1708 if test -s conftest.err
; then
1709 grep -v '^ *+' conftest.err
>conftest.er1
1710 cat conftest.er1
>&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest.
$ac_objext; then :
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.
$ac_ext >&5
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 as_fn_set_status
$ac_retval
1728 } # ac_fn_c_try_compile
1730 # ac_fn_c_try_link LINENO
1731 # -----------------------
1732 # Try to link conftest.$ac_ext, and return whether this succeeded.
1735 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1736 rm -f conftest.
$ac_objext conftest
$ac_exeext
1737 if { { ac_try
="$ac_link"
1739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_link") 2>conftest.err
1746 if test -s conftest.err; then
1747 grep -v '^ *+' conftest.err >conftest.er1
1748 cat conftest.er1 >&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_c_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest$ac_exeext && {
1756 test "$cross_compiling" = yes ||
1757 test -x conftest$ac_exeext
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1766 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1767 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1768 # interfere with the next link command; also delete a directory that is
1769 # left behind by Apple's compiler. We do this before executing the actions.
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 as_fn_set_status $ac_retval
1774 } # ac_fn_c_try_link
1776 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1777 # -------------------------------------------------------
1778 # Tests whether HEADER exists and can be compiled using the include files in
1779 # INCLUDES, setting the cache variable VAR accordingly.
1780 ac_fn_c_check_header_compile ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786 $as_echo_n "(cached) " >&6
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1793 if ac_fn_c_try_compile "$LINENO"; then :
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } # ac_fn_c_check_header_compile
1807 # ac_fn_c_try_cpp LINENO
1808 # ----------------------
1809 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 if { { ac_try="$ac_cpp conftest.$ac_ext"
1815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1816 *) ac_try_echo
=$ac_try;;
1818 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1822 if test -s conftest.err
; then
1823 grep -v '^ *+' conftest.err
>conftest.er1
1824 cat conftest.er1
>&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } > conftest.i
&& {
1829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1830 test ! -s conftest.err
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.
$ac_ext >&5
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status
$ac_retval
1844 # ac_fn_c_try_run LINENO
1845 # ----------------------
1846 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1847 # that executables *can* be run.
1850 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1851 if { { ac_try
="$ac_link"
1853 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1854 *) ac_try_echo=$ac_try;;
1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_link") 2>&5
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1862 { { case "(($ac_try" in
1863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1864 *) ac_try_echo
=$ac_try;;
1866 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_try") 2>&5
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; }; }; then :
1874 $as_echo "$as_me: program exited with status $ac_status" >&5
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.
$ac_ext >&5
1878 ac_retval
=$ac_status
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status
$ac_retval
1886 # ac_fn_c_check_func LINENO FUNC VAR
1887 # ----------------------------------
1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1889 ac_fn_c_check_func
()
1891 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \
${$3+:} false
; then :
1895 $as_echo_n "(cached) " >&6
1897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1901 #define $2 innocuous_$2
1903 /* System header to define __stub macros and hopefully few prototypes,
1904 which can conflict with char $2 (); below.
1905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906 <limits.h> exists even on freestanding compilers. */
1909 # include <limits.h>
1911 # include <assert.h>
1916 /* Override any GCC internal prototype to avoid an error.
1917 Use char because int might match the return type of a GCC
1918 builtin and then its argument prototype would still apply. */
1923 /* The GNU C library defines this for functions which it implements
1924 to always fail with ENOSYS. Some functions are actually named
1925 something starting with __ and the normal name is an alias. */
1926 #if defined __stub_$2 || defined __stub___$2
1938 if ac_fn_c_try_link
"$LINENO"; then :
1943 rm -f core conftest.err conftest.
$ac_objext \
1944 conftest
$ac_exeext conftest.
$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_func
1953 # ac_fn_cxx_try_cpp LINENO
1954 # ------------------------
1955 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1956 ac_fn_cxx_try_cpp
()
1958 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1959 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1961 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1962 *) ac_try_echo=$ac_try;;
1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1968 if test -s conftest.err; then
1969 grep -v '^ *+' conftest.err >conftest.er1
1970 cat conftest.er1 >&5
1971 mv -f conftest.er1 conftest.err
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; } > conftest.i && {
1975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1976 test ! -s conftest.err
1980 $as_echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.$ac_ext >&5
1985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 as_fn_set_status $ac_retval
1988 } # ac_fn_cxx_try_cpp
1990 # ac_fn_cxx_try_link LINENO
1991 # -------------------------
1992 # Try to link conftest.$ac_ext, and return whether this succeeded.
1993 ac_fn_cxx_try_link ()
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 rm -f conftest.$ac_objext conftest$ac_exeext
1997 if { { ac_try="$ac_link"
1999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2000 *) ac_try_echo
=$ac_try;;
2002 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003 $as_echo "$ac_try_echo"; } >&5
2004 (eval "$ac_link") 2>conftest.err
2006 if test -s conftest.err
; then
2007 grep -v '^ *+' conftest.err
>conftest.er1
2008 cat conftest.er1
>&5
2009 mv -f conftest.er1 conftest.err
2011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012 test $ac_status = 0; } && {
2013 test -z "$ac_cxx_werror_flag" ||
2014 test ! -s conftest.err
2015 } && test -s conftest
$ac_exeext && {
2016 test "$cross_compiling" = yes ||
2017 test -x conftest
$ac_exeext
2021 $as_echo "$as_me: failed program was:" >&5
2022 sed 's/^/| /' conftest.
$ac_ext >&5
2026 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2027 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2028 # interfere with the next link command; also delete a directory that is
2029 # left behind by Apple's compiler. We do this before executing the actions.
2030 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2032 as_fn_set_status
$ac_retval
2034 } # ac_fn_cxx_try_link
2036 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2037 # ---------------------------------------------------------
2038 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2039 # the include files in INCLUDES and setting the cache variable VAR
2041 ac_fn_cxx_check_header_mongrel
()
2043 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2044 if eval \
${$3+:} false
; then :
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2046 $as_echo_n "checking for $2... " >&6; }
2047 if eval \
${$3+:} false
; then :
2048 $as_echo_n "(cached) " >&6
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052 $as_echo "$ac_res" >&6; }
2054 # Is the header compilable?
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2056 $as_echo_n "checking $2 usability... " >&6; }
2057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2062 if ac_fn_cxx_try_compile
"$LINENO"; then :
2063 ac_header_compiler
=yes
2065 ac_header_compiler
=no
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2069 $as_echo "$ac_header_compiler" >&6; }
2071 # Is the header present?
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2073 $as_echo_n "checking $2 presence... " >&6; }
2074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2075 /* end confdefs.h. */
2078 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2079 ac_header_preproc
=yes
2081 ac_header_preproc
=no
2083 rm -f conftest.err conftest.i conftest.
$ac_ext
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2085 $as_echo "$ac_header_preproc" >&6; }
2087 # So? What about this header?
2088 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2091 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2093 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2097 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2099 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2101 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2103 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106 ( $as_echo "## -------------------------------- ##
2107 ## Report this to saurik@saurik.com ##
2108 ## -------------------------------- ##"
2109 ) | sed "s/^/$as_me: WARNING: /" >&2
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113 $as_echo_n "checking for $2... " >&6; }
2114 if eval \
${$3+:} false
; then :
2115 $as_echo_n "(cached) " >&6
2117 eval "$3=\$ac_header_compiler"
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2121 $as_echo "$ac_res" >&6; }
2123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 } # ac_fn_cxx_check_header_mongrel
2127 # ac_fn_objcxx_try_link LINENO
2128 # ----------------------------
2129 # Try to link conftest.$ac_ext, and return whether this succeeded.
2130 ac_fn_objcxx_try_link
()
2132 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2133 rm -f conftest.
$ac_objext conftest
$ac_exeext
2134 if { { ac_try
="$ac_link"
2136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2137 *) ac_try_echo=$ac_try;;
2139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2140 $as_echo "$ac_try_echo"; } >&5
2141 (eval "$ac_link") 2>conftest.err
2143 if test -s conftest.err; then
2144 grep -v '^ *+' conftest.err >conftest.er1
2145 cat conftest.er1 >&5
2146 mv -f conftest.er1 conftest.err
2148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2149 test $ac_status = 0; } && {
2150 test -z "$ac_objcxx_werror_flag" ||
2151 test ! -s conftest.err
2152 } && test -s conftest$ac_exeext && {
2153 test "$cross_compiling" = yes ||
2154 test -x conftest$ac_exeext
2158 $as_echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.$ac_ext >&5
2163 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2164 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2165 # interfere with the next link command; also delete a directory that is
2166 # left behind by Apple's compiler. We do this before executing the actions.
2167 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169 as_fn_set_status $ac_retval
2171 } # ac_fn_objcxx_try_link
2172 cat >config.log <<_ACEOF
2173 This file contains any messages produced by compilers while
2174 running configure, to aid debugging if configure makes a mistake.
2176 It was created by Cycript $as_me 0.9, which was
2177 generated by GNU Autoconf 2.69. Invocation command line was
2189 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2190 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2191 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2192 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2193 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2195 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2196 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2198 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2199 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2200 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2201 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2202 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2203 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2204 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir=.
2213 $as_echo "PATH: $as_dir"
2229 # Keep a trace of the command line.
2230 # Strip out --no-create and --no-recursion so they do not pile up.
2231 # Strip out --silent because we don't want to record it for future runs.
2232 # Also quote any args containing shell meta-characters.
2233 # Make two passes to allow for proper duplicate-argument suppression.
2237 ac_must_keep_next=false
2243 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2245 | -silent | --silent | --silen | --sile | --sil)
2248 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2251 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2253 as_fn_append ac_configure_args1 " '$ac_arg'"
2254 if test $ac_must_keep_next = true; then
2255 ac_must_keep_next=false # Got value, back to normal.
2258 *=* | --config-cache | -C | -disable-* | --disable-* \
2259 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2260 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2261 | -with-* | --with-* | -without-* | --without-* | --x)
2262 case "$ac_configure_args0 " in
2263 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2266 -* ) ac_must_keep_next=true ;;
2269 as_fn_append ac_configure_args " '$ac_arg'"
2274 { ac_configure_args0=; unset ac_configure_args0;}
2275 { ac_configure_args1=; unset ac_configure_args1;}
2277 # When interrupted or exit'd, cleanup temporary files, and complete
2278 # config.log. We remove comments because anyway the quotes in there
2279 # would cause problems or look ugly.
2280 # WARNING: Use '\'' to represent an apostrophe within the trap.
2281 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2282 trap 'exit_status=$?
2283 # Save into config.log some information that might help in debugging.
2287 $as_echo "## ---------------- ##
2288 ## Cache variables. ##
2289 ## ---------------- ##"
2291 # The following way of writing the cache mishandles newlines in values,
2293 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2294 eval ac_val=\$$ac_var
2298 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2299 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2302 _ | IFS | as_nl) ;; #(
2303 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2304 *) { eval $ac_var=; unset $ac_var;} ;;
2309 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2310 *${as_nl}ac_space=\ *)
2312 "s/'\''/'\''\\\\'\'''\''/g;
2313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2316 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2323 $as_echo "## ----------------- ##
2324 ## Output variables. ##
2325 ## ----------------- ##"
2327 for ac_var in $ac_subst_vars
2329 eval ac_val=\$$ac_var
2331 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2333 $as_echo "$ac_var='\''$ac_val'\''"
2337 if test -n "$ac_subst_files"; then
2338 $as_echo "## ------------------- ##
2339 ## File substitutions. ##
2340 ## ------------------- ##"
2342 for ac_var in $ac_subst_files
2344 eval ac_val=\$$ac_var
2346 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2348 $as_echo "$ac_var='\''$ac_val'\''"
2353 if test -s confdefs.h; then
2354 $as_echo "## ----------- ##
2361 test "$ac_signal" != 0 &&
2362 $as_echo "$as_me: caught signal $ac_signal"
2363 $as_echo "$as_me: exit $exit_status"
2365 rm -f core *.core core.conftest.* &&
2366 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2369 for ac_signal in 1 2 13 15; do
2370 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2374 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2375 rm -f -r conftest* confdefs.h
2377 $as_echo "/* confdefs.h */" > confdefs.h
2379 # Predefined preprocessor variables.
2381 cat >>confdefs.h <<_ACEOF
2382 #define PACKAGE_NAME "$PACKAGE_NAME"
2385 cat >>confdefs.h <<_ACEOF
2386 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2389 cat >>confdefs.h <<_ACEOF
2390 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE_STRING "$PACKAGE_STRING"
2397 cat >>confdefs.h <<_ACEOF
2398 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2401 cat >>confdefs.h <<_ACEOF
2402 #define PACKAGE_URL "$PACKAGE_URL"
2406 # Let the site file select an alternate cache file if it wants to.
2407 # Prefer an explicitly selected file to automatically selected ones.
2410 if test -n "$CONFIG_SITE"; then
2411 # We do not want a PATH search for config.site.
2412 case $CONFIG_SITE in #((
2413 -*) ac_site_file1=./$CONFIG_SITE;;
2414 */*) ac_site_file1=$CONFIG_SITE;;
2415 *) ac_site_file1=./$CONFIG_SITE;;
2417 elif test "x$prefix" != xNONE; then
2418 ac_site_file1=$prefix/share/config.site
2419 ac_site_file2=$prefix/etc/config.site
2421 ac_site_file1=$ac_default_prefix/share/config.site
2422 ac_site_file2=$ac_default_prefix/etc/config.site
2424 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2426 test "x$ac_site_file" = xNONE && continue
2427 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2429 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2430 sed 's/^/| /' "$ac_site_file" >&5
2432 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2434 as_fn_error $? "failed to load site
script $ac_site_file
2435 See \
`config.log' for more details" "$LINENO" 5; }
2439 if test -r "$cache_file"; then
2440 # Some versions of bash will fail to source /dev/null (special files
2441 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2442 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2444 $as_echo "$as_me: loading cache $cache_file" >&6;}
2446 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2447 *) . "./$cache_file";;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2452 $as_echo "$as_me: creating cache $cache_file" >&6;}
2456 # Check that the precious variables saved in the cache have kept the same
2458 ac_cache_corrupted=false
2459 for ac_var in $ac_precious_vars; do
2460 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2461 eval ac_new_set=\$ac_env_${ac_var}_set
2462 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2463 eval ac_new_val=\$ac_env_${ac_var}_value
2464 case $ac_old_set,$ac_new_set in
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2467 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2468 ac_cache_corrupted=: ;;
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2471 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2472 ac_cache_corrupted=: ;;
2475 if test "x$ac_old_val" != "x$ac_new_val"; then
2476 # differences in whitespace do not lead to failure.
2477 ac_old_val_w=`echo x
$ac_old_val`
2478 ac_new_val_w=`echo x
$ac_new_val`
2479 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2481 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2482 ac_cache_corrupted=:
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2485 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2486 eval $ac_var=\$ac_old_val
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2489 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2491 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2494 # Pass precious variables to config.status.
2495 if test "$ac_new_set" = set; then
2497 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2498 *) ac_arg=$ac_var=$ac_new_val ;;
2500 case " $ac_configure_args " in
2501 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2502 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2506 if $ac_cache_corrupted; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2510 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2511 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2513 ## -------------------- ##
2514 ## Main body of script. ##
2515 ## -------------------- ##
2518 ac_cpp='$CPP $CPPFLAGS'
2519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2528 for ac_dir in . "$srcdir"/.; do
2529 if test -f "$ac_dir/install-sh"; then
2531 ac_install_sh="$ac_aux_dir/install-sh -c"
2533 elif test -f "$ac_dir/install.sh"; then
2535 ac_install_sh="$ac_aux_dir/install.sh -c"
2537 elif test -f "$ac_dir/shtool"; then
2539 ac_install_sh="$ac_aux_dir/shtool install -c"
2543 if test -z "$ac_aux_dir"; then
2544 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2547 # These three variables are undocumented and unsupported,
2548 # and are intended to be withdrawn in a future Autoconf release.
2549 # They can cause serious problems if a builder's source tree is in a directory
2550 # whose full name contains unusual characters.
2551 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2552 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2553 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2558 am__api_version='1.13'
2560 # Find a good install program. We prefer a C program (faster),
2561 # so one script is as good as another. But avoid the broken or
2562 # incompatible versions:
2563 # SysV /etc/install, /usr/sbin/install
2564 # SunOS /usr/etc/install
2565 # IRIX /sbin/install
2567 # AmigaOS /C/install, which installs bootblocks on floppy discs
2568 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2569 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2570 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2571 # OS/2's system install, which has a completely different semantic
2572 # ./install, which can be erroneously created by make from ./install.sh.
2573 # Reject install programs that cannot install multiple files.
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2575 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2576 if test -z "$INSTALL"; then
2577 if ${ac_cv_path_install+:} false; then :
2578 $as_echo_n "(cached) " >&6
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 test -z "$as_dir" && as_dir=.
2585 # Account for people who put trailing slashes in PATH elements.
2586 case $as_dir/ in #((
2587 ./ | .// | /[cC]/* | \
2588 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2589 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2592 # OSF1 and SCO ODT 3.0 have their own names for install.
2593 # Don't use installbsd from OSF since it installs stuff as root
2595 for ac_prog in ginstall scoinst install; do
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2598 if test $ac_prog = install &&
2599 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2600 # AIX install. It has an incompatible calling convention.
2602 elif test $ac_prog = install &&
2603 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2604 # program-specific install script used by HP pwplus--don't use.
2607 rm -rf conftest.one conftest.two conftest.dir
2608 echo one > conftest.one
2609 echo two > conftest.two
2611 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2612 test -s conftest.one && test -s conftest.two &&
2613 test -s conftest.dir/conftest.one &&
2614 test -s conftest.dir/conftest.two
2616 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2629 rm -rf conftest.one conftest.two conftest.dir
2632 if test "${ac_cv_path_install+set}" = set; then
2633 INSTALL=$ac_cv_path_install
2635 # As a last resort, use the slow shell script. Don't cache a
2636 # value for INSTALL within a source directory, because that will
2637 # break other packages using the cache if that directory is
2638 # removed, or if the value is a relative name.
2639 INSTALL=$ac_install_sh
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2643 $as_echo "$INSTALL" >&6; }
2645 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2646 # It thinks the first close brace ends the variable substitution.
2647 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2649 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2651 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2654 $as_echo_n "checking whether build environment is sane... " >&6; }
2655 # Reject unsafe characters in $srcdir or the absolute working directory
2656 # name. Accept space and tab only in the latter.
2660 *[\\\"\#\$\&\'\`$am_lf]*)
2661 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2664 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2665 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2668 # Do 'set' in a subshell so we don't clobber the current shell's
2669 # arguments. Must try -L first in case configure is actually a
2670 # symlink; some systems play weird games with the mod time of symlinks
2671 # (eg FreeBSD returns the mod time of the symlink's containing
2675 for am_try in 1 2; do
2676 echo "timestamp, slept: $am_has_slept" > conftest.file
2677 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2678 if test "$*" = "X"; then
2680 set X `ls -t "$srcdir/configure" conftest.
file`
2682 if test "$*" != "X $srcdir/configure conftest.file" \
2683 && test "$*" != "X conftest.file $srcdir/configure"; then
2685 # If neither matched, then we have a broken ls. This can happen
2686 # if, for instance, CONFIG_SHELL is bash and it inherits a
2687 # broken ls alias from the environment. This has actually
2688 # happened. Such a system could not be considered "sane".
2689 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2690 alias in your environment" "$LINENO" 5
2692 if test "$2" = conftest.file || test $am_try -eq 2; then
2699 test "$2" = conftest.file
2705 as_fn_error $? "newly created file is older than distributed files!
2706 Check your system clock" "$LINENO" 5
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2709 $as_echo "yes" >&6; }
2710 # If we didn't sleep, we still need to ensure time stamps of config.status and
2711 # generated files are strictly newer.
2713 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2720 test "$program_prefix" != NONE &&
2721 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2722 # Use a double $ so make ignores it.
2723 test "$program_suffix" != NONE &&
2724 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2725 # Double any \ or $.
2726 # By default was `s
,x
,x
', remove it if useless.
2727 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2728 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2730 # expand $ac_aux_dir to an absolute path
2731 am_aux_dir=`cd $ac_aux_dir && pwd`
2733 if test x"${MISSING+set}" != xset; then
2736 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2738 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2741 # Use eval to expand $SHELL
2742 if eval "$MISSING --is-lightweight"; then
2743 am_missing_run="$MISSING "
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2747 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2750 if test x"${install_sh}" != xset; then
2753 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2755 install_sh="\${SHELL} $am_aux_dir/install-sh"
2759 # Installed binaries are usually stripped using 'strip
' when the user
2760 # run "make install-strip". However 'strip
' might not be the right
2761 # tool to use in cross-compilation environments, therefore Automake
2762 # will honor the 'STRIP
' environment variable to overrule this program.
2763 if test "$cross_compiling" != no; then
2764 if test -n "$ac_tool_prefix"; then
2765 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2766 set dummy ${ac_tool_prefix}strip; ac_word=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if ${ac_cv_prog_STRIP+:} false; then :
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$STRIP"; then
2773 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir=.
2780 for ac_exec_ext in '' $ac_executable_extensions; do
2781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2782 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 STRIP=$ac_cv_prog_STRIP
2793 if test -n "$STRIP"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2795 $as_echo "$STRIP" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2803 if test -z "$ac_cv_prog_STRIP"; then
2805 # Extract the first word of "strip", so it can be a program name with args.
2806 set dummy strip; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$ac_ct_STRIP"; then
2813 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2822 ac_cv_prog_ac_ct_STRIP="strip"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2833 if test -n "$ac_ct_STRIP"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2835 $as_echo "$ac_ct_STRIP" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2841 if test "x$ac_ct_STRIP" = x; then
2844 case $cross_compiling:$ac_tool_warned in
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2848 ac_tool_warned=yes ;;
2853 STRIP="$ac_cv_prog_STRIP"
2857 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2860 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2861 if test -z "$MKDIR_P"; then
2862 if ${ac_cv_path_mkdir+:} false; then :
2863 $as_echo_n "(cached) " >&6
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2869 test -z "$as_dir" && as_dir=.
2870 for ac_prog in mkdir gmkdir; do
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2873 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2874 'mkdir (GNU coreutils
) '* | \
2875 'mkdir (coreutils
) '* | \
2876 'mkdir (fileutils
) '4.1*)
2877 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2887 test -d ./--version && rmdir ./--version
2888 if test "${ac_cv_path_mkdir+set}" = set; then
2889 MKDIR_P="$ac_cv_path_mkdir -p"
2891 # As a last resort, use the slow shell script. Don't cache a
2892 # value for MKDIR_P within a source directory, because that will
2893 # break other packages using the cache if that directory is
2894 # removed, or if the value is a relative name.
2895 MKDIR_P
="$ac_install_sh -d"
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2899 $as_echo "$MKDIR_P" >&6; }
2901 for ac_prog
in gawk mawk nawk
awk
2903 # Extract the first word of "$ac_prog", so it can be a program name with args.
2904 set dummy
$ac_prog; ac_word
=$2
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906 $as_echo_n "checking for $ac_word... " >&6; }
2907 if ${ac_cv_prog_AWK+:} false
; then :
2908 $as_echo_n "(cached) " >&6
2910 if test -n "$AWK"; then
2911 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir
=.
2918 for ac_exec_ext
in '' $ac_executable_extensions; do
2919 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2920 ac_cv_prog_AWK
="$ac_prog"
2921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 if test -n "$AWK"; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2933 $as_echo "$AWK" >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 $as_echo "no" >&6; }
2940 test -n "$AWK" && break
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2944 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2946 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2947 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2948 $as_echo_n "(cached) " >&6
2950 cat >conftest.
make <<\_ACEOF
2953 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2955 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2956 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2958 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2960 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2964 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2966 $as_echo "yes" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2971 SET_MAKE
="MAKE=${MAKE-make}"
2974 rm -rf .tst
2>/dev
/null
2975 mkdir .tst
2>/dev
/null
2976 if test -d .tst
; then
2981 rmdir .tst
2>/dev
/null
2983 # Check whether --enable-silent-rules was given.
2984 if test "${enable_silent_rules+set}" = set; then :
2985 enableval
=$enable_silent_rules;
2988 case $enable_silent_rules in # (((
2989 yes) AM_DEFAULT_VERBOSITY
=0;;
2990 no
) AM_DEFAULT_VERBOSITY
=1;;
2991 *) AM_DEFAULT_VERBOSITY
=1;;
2993 am_make
=${MAKE-make}
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2995 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2996 if ${am_cv_make_support_nested_variables+:} false
; then :
2997 $as_echo_n "(cached) " >&6
2999 if $as_echo 'TRUE=$(BAR$(V))
3005 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3006 am_cv_make_support_nested_variables
=yes
3008 am_cv_make_support_nested_variables
=no
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3012 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3013 if test $am_cv_make_support_nested_variables = yes; then
3015 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3017 AM_V
=$AM_DEFAULT_VERBOSITY
3018 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3022 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3023 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3024 # is not polluted with repeated "-I."
3025 am__isrc
=' -I$(srcdir)'
3026 # test to see if srcdir already configured
3027 if test -f $srcdir/config.status
; then
3028 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3032 # test whether we have cygpath
3033 if test -z "$CYGPATH_W"; then
3034 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3035 CYGPATH_W
='cygpath -w'
3042 # Define the identity of the package.
3047 cat >>confdefs.h
<<_ACEOF
3048 #define PACKAGE "$PACKAGE"
3052 cat >>confdefs.h
<<_ACEOF
3053 #define VERSION "$VERSION"
3056 # Some tools Automake needs.
3058 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3061 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3064 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3067 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3070 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3072 # For better backward compatibility. To be removed once Automake 1.9.x
3073 # dies out for good. For more background, see:
3074 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3075 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3076 mkdir_p
='$(MKDIR_P)'
3078 # We need awk for the "check" target. The system "awk" is bad on
3080 # Always define AMTAR for backward compatibility. Yes, it's still used
3081 # in the wild :-( We should find a proper way to deprecate it ...
3084 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3092 ac_cpp
='$CXXCPP $CPPFLAGS'
3093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3096 if test -z "$CXX"; then
3097 if test -n "$CCC"; then
3100 if test -n "$ac_tool_prefix"; then
3101 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3103 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3104 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if ${ac_cv_prog_CXX+:} false
; then :
3108 $as_echo_n "(cached) " >&6
3110 if test -n "$CXX"; then
3111 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir
=.
3118 for ac_exec_ext
in '' $ac_executable_extensions; do
3119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3120 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 if test -n "$CXX"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3133 $as_echo "$CXX" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3140 test -n "$CXX" && break
3143 if test -z "$CXX"; then
3145 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3147 # Extract the first word of "$ac_prog", so it can be a program name with args.
3148 set dummy
$ac_prog; ac_word
=$2
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150 $as_echo_n "checking for $ac_word... " >&6; }
3151 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3152 $as_echo_n "(cached) " >&6
3154 if test -n "$ac_ct_CXX"; then
3155 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3161 test -z "$as_dir" && as_dir
=.
3162 for ac_exec_ext
in '' $ac_executable_extensions; do
3163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3164 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3175 if test -n "$ac_ct_CXX"; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3177 $as_echo "$ac_ct_CXX" >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3184 test -n "$ac_ct_CXX" && break
3187 if test "x$ac_ct_CXX" = x
; then
3190 case $cross_compiling:$ac_tool_warned in
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3194 ac_tool_warned
=yes ;;
3202 # Provide some information about the compiler.
3203 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3206 for ac_option
in --version -v -V -qversion; do
3207 { { ac_try
="$ac_compiler $ac_option >&5"
3209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3213 $as_echo "$ac_try_echo"; } >&5
3214 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3216 if test -s conftest.err; then
3218 ... rest of stderr output deleted ...
3219 10q' conftest.err >conftest.er1
3220 cat conftest.er1 >&5
3222 rm -f conftest.er1 conftest.err
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; }
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3238 ac_clean_files_save=$ac_clean_files
3239 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3240 # Try to create an executable without -o first, disregard a.out.
3241 # It will help us diagnose broken compilers, and finding out an intuition
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3244 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3245 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3247 # The possible output files:
3248 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3251 for ac_file in $ac_files
3254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3255 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3260 if { { ac_try="$ac_link_default"
3262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3263 *) ac_try_echo
=$ac_try;;
3265 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3266 $as_echo "$ac_try_echo"; } >&5
3267 (eval "$ac_link_default") 2>&5
3269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270 test $ac_status = 0; }; then :
3271 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3272 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3273 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3274 # so that the user can short-circuit this test for compilers unknown to
3276 for ac_file
in $ac_files ''
3278 test -f "$ac_file" || continue
3280 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3283 # We found the default executable, but exeext='' is most
3287 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3289 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3291 # We set ac_cv_exeext here because the later test for it is not
3292 # safe: cross compilers may not add the suffix if given an `-o'
3293 # argument, so we may need to know it at that point already.
3294 # Even if this section looks crufty: it has the advantage of
3301 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3306 if test -z "$ac_file"; then :
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3309 $as_echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.
$ac_ext >&5
3312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error
77 "C++ compiler cannot create executables
3315 See \`config.log' for more details" "$LINENO" 5; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3318 $as_echo "yes" >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3321 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3323 $as_echo "$ac_file" >&6; }
3324 ac_exeext
=$ac_cv_exeext
3326 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3327 ac_clean_files
=$ac_clean_files_save
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3329 $as_echo_n "checking for suffix of executables... " >&6; }
3330 if { { ac_try
="$ac_link"
3332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_link") 2>&5
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; }; then :
3341 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3342 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3343 # work properly (i.e., refer to `conftest.exe'), while it won't with
3345 for ac_file
in conftest.exe conftest conftest.
*; do
3346 test -f "$ac_file" || continue
3348 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3349 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3358 See \`config.log' for more details" "$LINENO" 5; }
3360 rm -f conftest conftest
$ac_cv_exeext
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3362 $as_echo "$ac_cv_exeext" >&6; }
3364 rm -f conftest.
$ac_ext
3365 EXEEXT
=$ac_cv_exeext
3367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3368 /* end confdefs.h. */
3373 FILE *f = fopen ("conftest.out", "w");
3374 return ferror (f) || fclose (f) != 0;
3380 ac_clean_files
="$ac_clean_files conftest.out"
3381 # Check that the compiler produces executables we can run. If not, either
3382 # the compiler is broken, or we cross compile.
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3384 $as_echo_n "checking whether we are cross compiling... " >&6; }
3385 if test "$cross_compiling" != yes; then
3386 { { ac_try
="$ac_link"
3388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3392 $as_echo "$ac_try_echo"; } >&5
3393 (eval "$ac_link") 2>&5
3395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3396 test $ac_status = 0; }
3397 if { ac_try='./conftest$ac_cv_exeext'
3398 { { case "(($ac_try" in
3399 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3400 *) ac_try_echo
=$ac_try;;
3402 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3403 $as_echo "$ac_try_echo"; } >&5
3404 (eval "$ac_try") 2>&5
3406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3407 test $ac_status = 0; }; }; then
3410 if test "$cross_compiling" = maybe
; then
3413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3415 as_fn_error $?
"cannot run C++ compiled programs.
3416 If you meant to cross compile, use \`--host'.
3417 See \`config.log' for more details" "$LINENO" 5; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3422 $as_echo "$cross_compiling" >&6; }
3424 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3425 ac_clean_files
=$ac_clean_files_save
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3427 $as_echo_n "checking for suffix of object files... " >&6; }
3428 if ${ac_cv_objext+:} false
; then :
3429 $as_echo_n "(cached) " >&6
3431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3442 rm -f conftest.o conftest.obj
3443 if { { ac_try
="$ac_compile"
3445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 $as_echo "$ac_try_echo"; } >&5
3450 (eval "$ac_compile") 2>&5
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }; then :
3454 for ac_file in conftest.o conftest.obj conftest.*; do
3455 test -f "$ac_file" || continue;
3457 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3458 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3463 $as_echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3468 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3469 See \
`config.log' for more details" "$LINENO" 5; }
3471 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3474 $as_echo "$ac_cv_objext" >&6; }
3475 OBJEXT=$ac_cv_objext
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3478 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3479 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3480 $as_echo_n "(cached) " >&6
3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h. */
3496 if ac_fn_cxx_try_compile "$LINENO"; then :
3501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3506 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3507 if test $ac_compiler_gnu = yes; then
3512 ac_test_CXXFLAGS=${CXXFLAGS+set}
3513 ac_save_CXXFLAGS=$CXXFLAGS
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3515 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3516 if ${ac_cv_prog_cxx_g+:} false; then :
3517 $as_echo_n "(cached) " >&6
3519 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3520 ac_cxx_werror_flag=yes
3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h. */
3534 if ac_fn_cxx_try_compile "$LINENO"; then :
3535 ac_cv_prog_cxx_g=yes
3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3549 if ac_fn_cxx_try_compile "$LINENO"; then :
3552 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 if ac_fn_cxx_try_compile "$LINENO"; then :
3566 ac_cv_prog_cxx_g=yes
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3576 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3577 if test "$ac_test_CXXFLAGS" = set; then
3578 CXXFLAGS=$ac_save_CXXFLAGS
3579 elif test $ac_cv_prog_cxx_g = yes; then
3580 if test "$GXX" = yes; then
3586 if test "$GXX" = yes; then
3593 ac_cpp='$CPP $CPPFLAGS'
3594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3597 DEPDIR="${am__leading_dot}deps"
3599 ac_config_commands="$ac_config_commands depfiles"
3602 am_make=${MAKE-make}
3603 cat > confinc << 'END'
3605 @echo this is the am__doit target
3608 # If we don't find an include directive, just comment out the code.
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3610 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3614 # First try GNU make style include.
3615 echo "include confinc" > confmf
3616 # Ignore all kinds of additional output from 'make'.
3617 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3618 *the\ am__doit\ target*)
3624 # Now try BSD make style include.
3625 if test "$am__include" = "#"; then
3626 echo '.include "confinc"' > confmf
3627 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3628 *the\ am__doit\ target*)
3629 am__include=.include
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3638 $as_echo "$_am_result" >&6; }
3639 rm -f confinc confmf
3641 # Check whether --enable-dependency-tracking was given.
3642 if test "${enable_dependency_tracking+set}" = set; then :
3643 enableval=$enable_dependency_tracking;
3646 if test "x$enable_dependency_tracking" != xno; then
3647 am_depcomp="$ac_aux_dir/depcomp"
3651 if test "x$enable_dependency_tracking" != xno; then
3661 depcc="$CXX" am_compiler_list=
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3664 $as_echo_n "checking dependency style of $depcc... " >&6; }
3665 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3666 $as_echo_n "(cached) " >&6
3668 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3669 # We make a subdir and do the tests there. Otherwise we can end up
3670 # making bogus files that we don't know about and never remove. For
3671 # instance it was reported that on HP-UX the gcc test will end up
3672 # making a dummy file named 'D' -- because '-MD' means "put the output
3676 # Copy depcomp to subdir because otherwise we won't find it if we're
3677 # using a relative directory.
3678 cp "$am_depcomp" conftest.dir
3680 # We will build objects and dependencies in a subdirectory because
3681 # it helps to detect inapplicable dependency modes. For instance
3682 # both Tru64's cc and ICC support -MD to output dependencies as a
3683 # side effect of compilation, but ICC will put the dependencies in
3684 # the current directory while Tru64 will put them in the object
3688 am_cv_CXX_dependencies_compiler_type=none
3689 if test "$am_compiler_list" = ""; then
3690 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3693 case " $depcc " in #(
3694 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3697 for depmode in $am_compiler_list; do
3698 # Setup a source with many dependencies, because some compilers
3699 # like to wrap large dependency lists on column 80 (with \), and
3700 # we should not choose a depcomp mode which is confused by this.
3702 # We need to recreate these files for each test, as the compiler may
3703 # overwrite some of them when testing with obscure command lines.
3704 # This happens at least with the AIX C compiler.
3706 for i in 1 2 3 4 5 6; do
3707 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3708 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3709 # Solaris 10 /bin/sh.
3710 echo '/* dummy */' > sub/conftst$i.h
3712 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3714 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3715 # mode. It turns out that the SunPro C++ compiler does not properly
3716 # handle '-M -o', and we need to detect this. Also, some Intel
3717 # versions had trouble with output in subdirs.
3718 am__obj=sub/conftest.${OBJEXT-o}
3719 am__minus_obj="-o $am__obj"
3722 # This depmode causes a compiler race in universal mode.
3723 test "$am__universal" = false || continue
3726 # After this tag, mechanisms are not by side-effect, so they'll
3727 # only be used when explicitly requested.
3728 if test "x$enable_dependency_tracking" = xyes; then
3734 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3735 # This compiler won't grok '-c -o', but also, the minuso test has
3736 # not run yet. These depmodes are late enough in the game, and
3737 # so weak that their functioning should not be impacted.
3738 am__obj=conftest.${OBJEXT-o}
3743 if depmode=$depmode \
3744 source=sub/conftest.c object=$am__obj \
3745 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3746 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3747 >/dev/null 2>conftest.err &&
3748 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3749 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3750 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3751 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3752 # icc doesn't choke on unknown options, it will just issue warnings
3753 # or remarks (even with -Werror). So we grep stderr for any message
3754 # that says an option was ignored or not supported.
3755 # When given -MP, icc 7.0 and 7.1 complain thusly:
3756 # icc: Command line warning: ignoring option '-M'; no argument required
3757 # The diagnosis changed in icc 8.0:
3758 # icc: Command line remark: option '-MP' not supported
3759 if (grep 'ignoring option' conftest.err ||
3760 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3761 am_cv_CXX_dependencies_compiler_type=$depmode
3770 am_cv_CXX_dependencies_compiler_type=none
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3775 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3776 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3779 test "x$enable_dependency_tracking" != xno \
3780 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3781 am__fastdepCXX_TRUE=
3782 am__fastdepCXX_FALSE='#'
3784 am__fastdepCXX_TRUE='#'
3785 am__fastdepCXX_FALSE=
3790 ac_cpp='$OBJCXXCPP $CPPFLAGS'
3791 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
3794 if test -n "$ac_tool_prefix"; then
3795 for ac_prog in g++ objc++ objcxx c++ CXX
3797 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3798 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_OBJCXX+:} false; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$OBJCXX"; then
3805 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 OBJCXX=$ac_cv_prog_OBJCXX
3825 if test -n "$OBJCXX"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
3827 $as_echo "$OBJCXX" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3834 test -n "$OBJCXX" && break
3837 if test -z "$OBJCXX"; then
3838 ac_ct_OBJCXX=$OBJCXX
3839 for ac_prog in g++ objc++ objcxx c++ CXX
3841 # Extract the first word of "$ac_prog", so it can be a program name with args.
3842 set dummy $ac_prog; ac_word=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then :
3846 $as_echo_n "(cached) " >&6
3848 if test -n "$ac_ct_OBJCXX"; then
3849 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
3869 if test -n "$ac_ct_OBJCXX"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
3871 $as_echo "$ac_ct_OBJCXX" >&6; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3878 test -n "$ac_ct_OBJCXX" && break
3881 if test "x$ac_ct_OBJCXX" = x; then
3884 case $cross_compiling:$ac_tool_warned in
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3888 ac_tool_warned=yes ;;
3890 OBJCXX=$ac_ct_OBJCXX
3894 # Provide some information about the compiler.
3895 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
3898 for ac_option in --version -v -V -qversion; do
3899 { { ac_try="$ac_compiler $ac_option >&5"
3901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3902 *) ac_try_echo
=$ac_try;;
3904 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3908 if test -s conftest.err
; then
3910 ... rest of stderr output deleted ...
3911 10q' conftest.err
>conftest.er1
3912 cat conftest.er1
>&5
3914 rm -f conftest.er1 conftest.err
3915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3916 test $ac_status = 0; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
3920 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
3921 if ${ac_cv_objcxx_compiler_gnu+:} false
; then :
3922 $as_echo_n "(cached) " >&6
3924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3938 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3944 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
3948 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
3949 if test $ac_compiler_gnu = yes; then
3954 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
3955 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
3957 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
3958 if ${ac_cv_prog_objcxx_g+:} false
; then :
3959 $as_echo_n "(cached) " >&6
3961 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
3962 ac_objcxx_werror_flag
=yes
3963 ac_cv_prog_objcxx_g
=no
3965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3976 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3977 ac_cv_prog_objcxx_g
=yes
3980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h. */
3991 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3994 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
3996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
4007 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4008 ac_cv_prog_objcxx_g
=yes
4010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4015 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4018 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4019 if test "$ac_test_OBJCXXFLAGS" = set; then
4020 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
4021 elif test $ac_cv_prog_objcxx_g = yes; then
4022 if test "$GOBJCXX" = yes; then
4023 OBJCXXFLAGS
="-g -O2"
4028 if test "$GOBJCXX" = yes; then
4035 ac_cpp
='$CPP $CPPFLAGS'
4036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4040 depcc
="$OBJCXX" am_compiler_list
='gcc3 gcc'
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4043 $as_echo_n "checking dependency style of $depcc... " >&6; }
4044 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false
; then :
4045 $as_echo_n "(cached) " >&6
4047 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4048 # We make a subdir and do the tests there. Otherwise we can end up
4049 # making bogus files that we don't know about and never remove. For
4050 # instance it was reported that on HP-UX the gcc test will end up
4051 # making a dummy file named 'D' -- because '-MD' means "put the output
4055 # Copy depcomp to subdir because otherwise we won't find it if we're
4056 # using a relative directory.
4057 cp "$am_depcomp" conftest.dir
4059 # We will build objects and dependencies in a subdirectory because
4060 # it helps to detect inapplicable dependency modes. For instance
4061 # both Tru64's cc and ICC support -MD to output dependencies as a
4062 # side effect of compilation, but ICC will put the dependencies in
4063 # the current directory while Tru64 will put them in the object
4067 am_cv_OBJCXX_dependencies_compiler_type
=none
4068 if test "$am_compiler_list" = ""; then
4069 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4074 for depmode
in $am_compiler_list; do
4075 # Setup a source with many dependencies, because some compilers
4076 # like to wrap large dependency lists on column 80 (with \), and
4077 # we should not choose a depcomp mode which is confused by this.
4079 # We need to recreate these files for each test, as the compiler may
4080 # overwrite some of them when testing with obscure command lines.
4081 # This happens at least with the AIX C compiler.
4083 for i
in 1 2 3 4 5 6; do
4084 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4085 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4086 # Solaris 10 /bin/sh.
4087 echo '/* dummy */' > sub
/conftst
$i.h
4089 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4091 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4092 # mode. It turns out that the SunPro C++ compiler does not properly
4093 # handle '-M -o', and we need to detect this. Also, some Intel
4094 # versions had trouble with output in subdirs.
4095 am__obj
=sub
/conftest.
${OBJEXT-o}
4096 am__minus_obj
="-o $am__obj"
4099 # This depmode causes a compiler race in universal mode.
4100 test "$am__universal" = false
|| continue
4103 # After this tag, mechanisms are not by side-effect, so they'll
4104 # only be used when explicitly requested.
4105 if test "x$enable_dependency_tracking" = xyes
; then
4111 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4112 # This compiler won't grok '-c -o', but also, the minuso test has
4113 # not run yet. These depmodes are late enough in the game, and
4114 # so weak that their functioning should not be impacted.
4115 am__obj
=conftest.
${OBJEXT-o}
4120 if depmode
=$depmode \
4121 source=sub
/conftest.c object
=$am__obj \
4122 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4123 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4124 >/dev
/null
2>conftest.err
&&
4125 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4126 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4127 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4128 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4129 # icc doesn't choke on unknown options, it will just issue warnings
4130 # or remarks (even with -Werror). So we grep stderr for any message
4131 # that says an option was ignored or not supported.
4132 # When given -MP, icc 7.0 and 7.1 complain thusly:
4133 # icc: Command line warning: ignoring option '-M'; no argument required
4134 # The diagnosis changed in icc 8.0:
4135 # icc: Command line remark: option '-MP' not supported
4136 if (grep 'ignoring option' conftest.err
||
4137 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4138 am_cv_OBJCXX_dependencies_compiler_type
=$depmode
4147 am_cv_OBJCXX_dependencies_compiler_type
=none
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4152 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4153 OBJCXXDEPMODE
=depmode
=$am_cv_OBJCXX_dependencies_compiler_type
4156 test "x$enable_dependency_tracking" != xno \
4157 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3
; then
4158 am__fastdepOBJCXX_TRUE
=
4159 am__fastdepOBJCXX_FALSE
='#'
4161 am__fastdepOBJCXX_TRUE
='#'
4162 am__fastdepOBJCXX_FALSE
=
4167 ac_cpp
='$CPP $CPPFLAGS'
4168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4171 if test -n "$ac_tool_prefix"; then
4172 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4173 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4175 $as_echo_n "checking for $ac_word... " >&6; }
4176 if ${ac_cv_prog_CC+:} false
; then :
4177 $as_echo_n "(cached) " >&6
4179 if test -n "$CC"; then
4180 ac_cv_prog_CC
="$CC" # Let the user override the test.
4182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4186 test -z "$as_dir" && as_dir
=.
4187 for ac_exec_ext
in '' $ac_executable_extensions; do
4188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4189 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 if test -n "$CC"; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4202 $as_echo "$CC" >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 $as_echo "no" >&6; }
4210 if test -z "$ac_cv_prog_CC"; then
4212 # Extract the first word of "gcc", so it can be a program name with args.
4213 set dummy gcc
; ac_word
=$2
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4215 $as_echo_n "checking for $ac_word... " >&6; }
4216 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4217 $as_echo_n "(cached) " >&6
4219 if test -n "$ac_ct_CC"; then
4220 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 test -z "$as_dir" && as_dir
=.
4227 for ac_exec_ext
in '' $ac_executable_extensions; do
4228 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4229 ac_cv_prog_ac_ct_CC
="gcc"
4230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4239 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4240 if test -n "$ac_ct_CC"; then
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4242 $as_echo "$ac_ct_CC" >&6; }
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4245 $as_echo "no" >&6; }
4248 if test "x$ac_ct_CC" = x
; then
4251 case $cross_compiling:$ac_tool_warned in
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4255 ac_tool_warned
=yes ;;
4263 if test -z "$CC"; then
4264 if test -n "$ac_tool_prefix"; then
4265 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4266 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if ${ac_cv_prog_CC+:} false
; then :
4270 $as_echo_n "(cached) " >&6
4272 if test -n "$CC"; then
4273 ac_cv_prog_CC
="$CC" # Let the user override the test.
4275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir
=.
4280 for ac_exec_ext
in '' $ac_executable_extensions; do
4281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4282 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 if test -n "$CC"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4295 $as_echo "$CC" >&6; }
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4304 if test -z "$CC"; then
4305 # Extract the first word of "cc", so it can be a program name with args.
4306 set dummy cc
; ac_word
=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_CC+:} false
; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$CC"; then
4313 ac_cv_prog_CC
="$CC" # Let the user override the test.
4316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4320 test -z "$as_dir" && as_dir
=.
4321 for ac_exec_ext
in '' $ac_executable_extensions; do
4322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4323 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4324 ac_prog_rejected
=yes
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 if test $ac_prog_rejected = yes; then
4336 # We found a bogon in the path, so make sure we never use it.
4337 set dummy
$ac_cv_prog_CC
4339 if test $# != 0; then
4340 # We chose a different compiler from the bogus one.
4341 # However, it has the same basename, so the bogon will be chosen
4342 # first if we set CC to just the basename; use the full file name.
4344 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4350 if test -n "$CC"; then
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4352 $as_echo "$CC" >&6; }
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4355 $as_echo "no" >&6; }
4360 if test -z "$CC"; then
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog
in cl.exe
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if ${ac_cv_prog_CC+:} false
; then :
4369 $as_echo_n "(cached) " >&6
4371 if test -n "$CC"; then
4372 ac_cv_prog_CC
="$CC" # Let the user override the test.
4374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir
=.
4379 for ac_exec_ext
in '' $ac_executable_extensions; do
4380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4381 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 if test -n "$CC"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4394 $as_echo "$CC" >&6; }
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$CC" && break
4404 if test -z "$CC"; then
4406 for ac_prog
in cl.exe
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy
$ac_prog; ac_word
=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4413 $as_echo_n "(cached) " >&6
4415 if test -n "$ac_ct_CC"; then
4416 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir
=.
4423 for ac_exec_ext
in '' $ac_executable_extensions; do
4424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4425 ac_cv_prog_ac_ct_CC
="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4436 if test -n "$ac_ct_CC"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4438 $as_echo "$ac_ct_CC" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$ac_ct_CC" && break
4448 if test "x$ac_ct_CC" = x
; then
4451 case $cross_compiling:$ac_tool_warned in
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned
=yes ;;
4464 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4466 as_fn_error $?
"no acceptable C compiler found in \$PATH
4467 See \`config.log' for more details" "$LINENO" 5; }
4469 # Provide some information about the compiler.
4470 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4473 for ac_option
in --version -v -V -qversion; do
4474 { { ac_try
="$ac_compiler $ac_option >&5"
4476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4480 $as_echo "$ac_try_echo"; } >&5
4481 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4483 if test -s conftest.err; then
4485 ... rest of stderr output deleted ...
4486 10q' conftest.err >conftest.er1
4487 cat conftest.er1 >&5
4489 rm -f conftest.er1 conftest.err
4490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4491 test $ac_status = 0; }
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4495 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4496 if ${ac_cv_c_compiler_gnu+:} false; then :
4497 $as_echo_n "(cached) " >&6
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4513 if ac_fn_c_try_compile "$LINENO"; then :
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4523 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4524 if test $ac_compiler_gnu = yes; then
4529 ac_test_CFLAGS=${CFLAGS+set}
4530 ac_save_CFLAGS=$CFLAGS
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4532 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4533 if ${ac_cv_prog_cc_g+:} false; then :
4534 $as_echo_n "(cached) " >&6
4536 ac_save_c_werror_flag=$ac_c_werror_flag
4537 ac_c_werror_flag=yes
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4551 if ac_fn_c_try_compile "$LINENO"; then :
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4566 if ac_fn_c_try_compile "$LINENO"; then :
4569 ac_c_werror_flag=$ac_save_c_werror_flag
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4582 if ac_fn_c_try_compile "$LINENO"; then :
4585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 ac_c_werror_flag=$ac_save_c_werror_flag
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4593 $as_echo "$ac_cv_prog_cc_g" >&6; }
4594 if test "$ac_test_CFLAGS" = set; then
4595 CFLAGS=$ac_save_CFLAGS
4596 elif test $ac_cv_prog_cc_g = yes; then
4597 if test "$GCC" = yes; then
4603 if test "$GCC" = yes; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4610 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4611 if ${ac_cv_prog_cc_c89+:} false; then :
4612 $as_echo_n "(cached) " >&6
4614 ac_cv_prog_cc_c89=no
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4621 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4622 struct buf { int x; };
4623 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4624 static char *e (p, i)
4630 static char *f (char * (*g) (char **, int), char **p, ...)
4635 s = g (p, va_arg (v,int));
4640 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4641 function prototypes and stuff, but not '\xHH' hex character constants.
4642 These don't provoke an error unfortunately, instead are silently treated
4643 as 'x'. The following induces an error, until -std is added to get
4644 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4645 array size at least. It's necessary to write '\x00'==0 to get something
4646 that's true only with -std. */
4647 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4649 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4650 inside strings and character constants. */
4652 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4654 int test (int i, double x);
4655 struct s1 {int (*f) (int a);};
4656 struct s2 {int (*f) (double a);};
4657 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4663 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4668 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4669 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4671 CC="$ac_save_CC $ac_arg"
4672 if ac_fn_c_try_compile "$LINENO"; then :
4673 ac_cv_prog_cc_c89=$ac_arg
4675 rm -f core conftest.err conftest.$ac_objext
4676 test "x$ac_cv_prog_cc_c89" != "xno" && break
4678 rm -f conftest.$ac_ext
4683 case "x$ac_cv_prog_cc_c89" in
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4686 $as_echo "none needed" >&6; } ;;
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4689 $as_echo "unsupported" >&6; } ;;
4691 CC="$CC $ac_cv_prog_cc_c89"
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4693 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4695 if test "x$ac_cv_prog_cc_c89" != xno; then :
4700 ac_cpp='$CPP $CPPFLAGS'
4701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4705 depcc="$CC" am_compiler_list=
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4708 $as_echo_n "checking dependency style of $depcc... " >&6; }
4709 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4710 $as_echo_n "(cached) " >&6
4712 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4713 # We make a subdir and do the tests there. Otherwise we can end up
4714 # making bogus files that we don't know about and never remove. For
4715 # instance it was reported that on HP-UX the gcc test will end up
4716 # making a dummy file named 'D' -- because '-MD' means "put the output
4720 # Copy depcomp to subdir because otherwise we won't find it if we're
4721 # using a relative directory.
4722 cp "$am_depcomp" conftest.dir
4724 # We will build objects and dependencies in a subdirectory because
4725 # it helps to detect inapplicable dependency modes. For instance
4726 # both Tru64's cc and ICC support -MD to output dependencies as a
4727 # side effect of compilation, but ICC will put the dependencies in
4728 # the current directory while Tru64 will put them in the object
4732 am_cv_CC_dependencies_compiler_type=none
4733 if test "$am_compiler_list" = ""; then
4734 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4737 case " $depcc " in #(
4738 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4741 for depmode in $am_compiler_list; do
4742 # Setup a source with many dependencies, because some compilers
4743 # like to wrap large dependency lists on column 80 (with \), and
4744 # we should not choose a depcomp mode which is confused by this.
4746 # We need to recreate these files for each test, as the compiler may
4747 # overwrite some of them when testing with obscure command lines.
4748 # This happens at least with the AIX C compiler.
4750 for i in 1 2 3 4 5 6; do
4751 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4752 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4753 # Solaris 10 /bin/sh.
4754 echo '/* dummy */' > sub/conftst$i.h
4756 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4758 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4759 # mode. It turns out that the SunPro C++ compiler does not properly
4760 # handle '-M -o', and we need to detect this. Also, some Intel
4761 # versions had trouble with output in subdirs.
4762 am__obj=sub/conftest.${OBJEXT-o}
4763 am__minus_obj="-o $am__obj"
4766 # This depmode causes a compiler race in universal mode.
4767 test "$am__universal" = false || continue
4770 # After this tag, mechanisms are not by side-effect, so they'll
4771 # only be used when explicitly requested.
4772 if test "x$enable_dependency_tracking" = xyes; then
4778 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4779 # This compiler won't grok '-c -o', but also, the minuso test has
4780 # not run yet. These depmodes are late enough in the game, and
4781 # so weak that their functioning should not be impacted.
4782 am__obj=conftest.${OBJEXT-o}
4787 if depmode=$depmode \
4788 source=sub/conftest.c object=$am__obj \
4789 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4790 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4791 >/dev/null 2>conftest.err &&
4792 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4793 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4794 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4795 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4796 # icc doesn't choke on unknown options, it will just issue warnings
4797 # or remarks (even with -Werror). So we grep stderr for any message
4798 # that says an option was ignored or not supported.
4799 # When given -MP, icc 7.0 and 7.1 complain thusly:
4800 # icc: Command line warning: ignoring option '-M'; no argument required
4801 # The diagnosis changed in icc 8.0:
4802 # icc: Command line remark: option '-MP' not supported
4803 if (grep 'ignoring option' conftest.err ||
4804 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4805 am_cv_CC_dependencies_compiler_type=$depmode
4814 am_cv_CC_dependencies_compiler_type=none
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4819 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4820 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4823 test "x$enable_dependency_tracking" != xno \
4824 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4826 am__fastdepCC_FALSE='#'
4828 am__fastdepCC_TRUE='#'
4829 am__fastdepCC_FALSE=
4834 if test -n "$ac_tool_prefix"; then
4835 for ac_prog in ar lib "link -lib"
4837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4840 $as_echo_n "checking for $ac_word... " >&6; }
4841 if ${ac_cv_prog_AR+:} false; then :
4842 $as_echo_n "(cached) " >&6
4844 if test -n "$AR"; then
4845 ac_cv_prog_AR="$AR" # Let the user override the test.
4847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4851 test -z "$as_dir" && as_dir=.
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4854 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 if test -n "$AR"; then
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4867 $as_echo "$AR" >&6; }
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4870 $as_echo "no" >&6; }
4874 test -n "$AR" && break
4877 if test -z "$AR"; then
4879 for ac_prog in ar lib "link -lib"
4881 # Extract the first word of "$ac_prog", so it can be a program name with args.
4882 set dummy $ac_prog; ac_word=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4886 $as_echo_n "(cached) " >&6
4888 if test -n "$ac_ct_AR"; then
4889 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_ac_ct_AR="$ac_prog"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4909 if test -n "$ac_ct_AR"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4911 $as_echo "$ac_ct_AR" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4918 test -n "$ac_ct_AR" && break
4921 if test "x$ac_ct_AR" = x; then
4924 case $cross_compiling:$ac_tool_warned in
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4928 ac_tool_warned=yes ;;
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4937 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4938 if ${am_cv_ar_interface+:} false; then :
4939 $as_echo_n "(cached) " >&6
4941 am_cv_ar_interface=ar
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4944 int some_variable = 0;
4946 if ac_fn_c_try_compile "$LINENO"; then :
4947 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4948 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4949 (eval $am_ar_try) 2>&5
4951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4952 test $ac_status = 0; }
4953 if test "$ac_status" -eq 0; then
4954 am_cv_ar_interface=ar
4956 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4957 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4958 (eval $am_ar_try) 2>&5
4960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4961 test $ac_status = 0; }
4962 if test "$ac_status" -eq 0; then
4963 am_cv_ar_interface=lib
4965 am_cv_ar_interface=unknown
4968 rm -f conftest.lib libconftest.a
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4975 $as_echo "$am_cv_ar_interface" >&6; }
4977 case $am_cv_ar_interface in
4981 # Microsoft lib, so override with the ar-lib wrapper script.
4982 # FIXME: It is wrong to rewrite AR.
4983 # But if we don't then we get into trouble of one sort or another.
4984 # A longer-term fix would be to have automake use am__AR in this case,
4985 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4987 AR="$am_aux_dir/ar-lib $AR"
4990 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4999 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5004 macro_version='2.4.2'
5005 macro_revision='1.3337'
5019 ltmain="$ac_aux_dir/ltmain.sh"
5021 # Make sure we can run config.sub.
5022 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5023 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5026 $as_echo_n "checking build system type... " >&6; }
5027 if ${ac_cv_build+:} false; then :
5028 $as_echo_n "(cached) " >&6
5030 ac_build_alias=$build_alias
5031 test "x$ac_build_alias" = x &&
5032 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5033 test "x$ac_build_alias" = x &&
5034 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5035 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5036 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5040 $as_echo "$ac_cv_build" >&6; }
5041 case $ac_cv_build in
5043 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5046 ac_save_IFS=$IFS; IFS='-'
5052 # Remember, the first character of IFS is used to create $*,
5053 # except with old shells:
5056 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5060 $as_echo_n "checking host system type... " >&6; }
5061 if ${ac_cv_host+:} false; then :
5062 $as_echo_n "(cached) " >&6
5064 if test "x$host_alias" = x; then
5065 ac_cv_host=$ac_cv_build
5067 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5068 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5073 $as_echo "$ac_cv_host" >&6; }
5076 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5079 ac_save_IFS=$IFS; IFS='-'
5085 # Remember, the first character of IFS is used to create $*,
5086 # except with old shells:
5089 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5092 # Backslashify metacharacters that are still active within
5093 # double-quoted strings.
5094 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5096 # Same as above, but do not quote variable references.
5097 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5099 # Sed substitution to delay expansion of an escaped shell variable in a
5100 # double_quote_subst'ed string.
5101 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5103 # Sed substitution to delay expansion of an escaped single quote.
5104 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5106 # Sed substitution to avoid accidental globbing in evaled expressions
5107 no_glob_subst='s/\*/\\\*/g'
5109 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5110 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5111 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5114 $as_echo_n "checking how to print
strings...
" >&6; }
5115 # Test print first, because it will be a builtin if present.
5116 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5117 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5119 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5122 # Use this function as a fallback that always works.
5123 func_fallback_echo ()
5125 eval 'cat <<_LTECHO_EOF
5129 ECHO='func_fallback_echo'
5132 # func_echo_all arg...
5133 # Invoke $ECHO with all args, space-separated.
5140 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5141 $as_echo "printf" >&6; } ;;
5142 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5143 $as_echo "print
-r" >&6; } ;;
5144 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5145 $as_echo "cat" >&6; } ;;
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5162 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5163 if ${ac_cv_path_SED+:} false; then :
5164 $as_echo_n "(cached
) " >&6
5166 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5167 for ac_i in 1 2 3 4 5 6 7; do
5168 ac_script="$ac_script$as_nl$ac_script"
5170 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5171 { ac_script=; unset ac_script;}
5172 if test -z "$SED"; then
5173 ac_path_SED_found=false
5174 # Loop through the user's path and test for each of PROGNAME-LIST
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir=.
5180 for ac_prog in sed gsed; do
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5183 as_fn_executable_p "$ac_path_SED" || continue
5184 # Check for GNU ac_path_SED and select it if it is found.
5185 # Check for GNU $ac_path_SED
5186 case `"$ac_path_SED" --version 2>&1` in
5188 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5191 $as_echo_n 0123456789 >"conftest.
in"
5194 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5195 mv "conftest.tmp
" "conftest.
in"
5196 cp "conftest.
in" "conftest.
nl"
5197 $as_echo '' >> "conftest.
nl"
5198 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5199 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5200 as_fn_arith $ac_count + 1 && ac_count=$as_val
5201 if test $ac_count -gt ${ac_path_SED_max-0}; then
5202 # Best one so far, save it but keep looking for a better one
5203 ac_cv_path_SED="$ac_path_SED"
5204 ac_path_SED_max=$ac_count
5206 # 10*(2^10) chars as input seems more than enough
5207 test $ac_count -gt 10 && break
5209 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5212 $ac_path_SED_found && break 3
5217 if test -z "$ac_cv_path_SED"; then
5218 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5226 $as_echo "$ac_cv_path_SED" >&6; }
5227 SED="$ac_cv_path_SED"
5230 test -z "$SED" && SED=sed
5231 Xsed="$SED -e 1s
/^X
//"
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5244 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5245 if ${ac_cv_path_GREP+:} false; then :
5246 $as_echo_n "(cached
) " >&6
5248 if test -z "$GREP"; then
5249 ac_path_GREP_found=false
5250 # Loop through the user's path and test for each of PROGNAME-LIST
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5255 test -z "$as_dir" && as_dir=.
5256 for ac_prog in grep ggrep; do
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5259 as_fn_executable_p "$ac_path_GREP" || continue
5260 # Check for GNU ac_path_GREP and select it if it is found.
5261 # Check for GNU $ac_path_GREP
5262 case `"$ac_path_GREP" --version 2>&1` in
5264 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5267 $as_echo_n 0123456789 >"conftest.
in"
5270 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5271 mv "conftest.tmp
" "conftest.
in"
5272 cp "conftest.
in" "conftest.
nl"
5273 $as_echo 'GREP' >> "conftest.
nl"
5274 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5275 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5276 as_fn_arith $ac_count + 1 && ac_count=$as_val
5277 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5278 # Best one so far, save it but keep looking for a better one
5279 ac_cv_path_GREP="$ac_path_GREP"
5280 ac_path_GREP_max=$ac_count
5282 # 10*(2^10) chars as input seems more than enough
5283 test $ac_count -gt 10 && break
5285 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5288 $ac_path_GREP_found && break 3
5293 if test -z "$ac_cv_path_GREP"; then
5294 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5297 ac_cv_path_GREP=$GREP
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5302 $as_echo "$ac_cv_path_GREP" >&6; }
5303 GREP="$ac_cv_path_GREP"
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5307 $as_echo_n "checking
for egrep...
" >&6; }
5308 if ${ac_cv_path_EGREP+:} false; then :
5309 $as_echo_n "(cached
) " >&6
5311 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5312 then ac_cv_path_EGREP="$GREP -E"
5314 if test -z "$EGREP"; then
5315 ac_path_EGREP_found=false
5316 # Loop through the user's path and test for each of PROGNAME-LIST
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5321 test -z "$as_dir" && as_dir=.
5322 for ac_prog in egrep; do
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5325 as_fn_executable_p "$ac_path_EGREP" || continue
5326 # Check for GNU ac_path_EGREP and select it if it is found.
5327 # Check for GNU $ac_path_EGREP
5328 case `"$ac_path_EGREP" --version 2>&1` in
5330 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5333 $as_echo_n 0123456789 >"conftest.
in"
5336 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5337 mv "conftest.tmp
" "conftest.
in"
5338 cp "conftest.
in" "conftest.
nl"
5339 $as_echo 'EGREP' >> "conftest.
nl"
5340 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5341 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5342 as_fn_arith $ac_count + 1 && ac_count=$as_val
5343 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5344 # Best one so far, save it but keep looking for a better one
5345 ac_cv_path_EGREP="$ac_path_EGREP"
5346 ac_path_EGREP_max=$ac_count
5348 # 10*(2^10) chars as input seems more than enough
5349 test $ac_count -gt 10 && break
5351 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5354 $ac_path_EGREP_found && break 3
5359 if test -z "$ac_cv_path_EGREP"; then
5360 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5363 ac_cv_path_EGREP=$EGREP
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5369 $as_echo "$ac_cv_path_EGREP" >&6; }
5370 EGREP="$ac_cv_path_EGREP"
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5374 $as_echo_n "checking
for fgrep...
" >&6; }
5375 if ${ac_cv_path_FGREP+:} false; then :
5376 $as_echo_n "(cached
) " >&6
5378 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5379 then ac_cv_path_FGREP="$GREP -F"
5381 if test -z "$FGREP"; then
5382 ac_path_FGREP_found=false
5383 # Loop through the user's path and test for each of PROGNAME-LIST
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5388 test -z "$as_dir" && as_dir=.
5389 for ac_prog in fgrep; do
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5392 as_fn_executable_p "$ac_path_FGREP" || continue
5393 # Check for GNU ac_path_FGREP and select it if it is found.
5394 # Check for GNU $ac_path_FGREP
5395 case `"$ac_path_FGREP" --version 2>&1` in
5397 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5400 $as_echo_n 0123456789 >"conftest.
in"
5403 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5404 mv "conftest.tmp
" "conftest.
in"
5405 cp "conftest.
in" "conftest.
nl"
5406 $as_echo 'FGREP' >> "conftest.
nl"
5407 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5408 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5409 as_fn_arith $ac_count + 1 && ac_count=$as_val
5410 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5411 # Best one so far, save it but keep looking for a better one
5412 ac_cv_path_FGREP="$ac_path_FGREP"
5413 ac_path_FGREP_max=$ac_count
5415 # 10*(2^10) chars as input seems more than enough
5416 test $ac_count -gt 10 && break
5418 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5421 $ac_path_FGREP_found && break 3
5426 if test -z "$ac_cv_path_FGREP"; then
5427 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5430 ac_cv_path_FGREP=$FGREP
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5436 $as_echo "$ac_cv_path_FGREP" >&6; }
5437 FGREP="$ac_cv_path_FGREP"
5440 test -z "$GREP" && GREP=grep
5460 # Check whether --with-gnu-ld was given.
5461 if test "${with_gnu_ld+set}" = set; then :
5462 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5468 if test "$GCC" = yes; then
5469 # Check if gcc -print-prog-name=ld gives a path.
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5471 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5474 # gcc leaves a trailing carriage return which upsets mingw
5475 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5477 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5480 # Accept absolute paths.
5482 re_direlt='/[^/][^/]*/\.\./'
5483 # Canonicalize the pathname of ld
5484 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5485 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5486 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5488 test -z "$LD" && LD="$ac_prog"
5491 # If it fails, then pretend we aren't using GCC.
5495 # If it is relative, then search for the first ld in PATH.
5499 elif test "$with_gnu_ld" = yes; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5501 $as_echo_n "checking
for GNU ld...
" >&6; }
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5504 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5506 if ${lt_cv_path_LD+:} false; then :
5507 $as_echo_n "(cached
) " >&6
5509 if test -z "$LD"; then
5510 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5511 for ac_dir in $PATH; do
5513 test -z "$ac_dir" && ac_dir=.
5514 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5515 lt_cv_path_LD="$ac_dir/$ac_prog"
5516 # Check to see if the program is GNU ld. I'd rather use --version,
5517 # but apparently some variants of GNU ld only accept -v.
5518 # Break only if it was the GNU/non-GNU ld that we prefer.
5519 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5520 *GNU* | *'with BFD'*)
5521 test "$with_gnu_ld" != no && break
5524 test "$with_gnu_ld" != yes && break
5531 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5536 if test -n "$LD"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5538 $as_echo "$LD" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5541 $as_echo "no
" >&6; }
5543 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5545 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5546 if ${lt_cv_prog_gnu_ld+:} false; then :
5547 $as_echo_n "(cached
) " >&6
5549 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5550 case `$LD -v 2>&1 </dev/null` in
5551 *GNU* | *'with BFD'*)
5552 lt_cv_prog_gnu_ld=yes
5555 lt_cv_prog_gnu_ld=no
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5560 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5561 with_gnu_ld=$lt_cv_prog_gnu_ld
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5572 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5573 if ${lt_cv_path_NM+:} false; then :
5574 $as_echo_n "(cached
) " >&6
5576 if test -n "$NM"; then
5577 # Let the user override the test.
5580 lt_nm_to_check="${ac_tool_prefix}nm
"
5581 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5582 lt_nm_to_check="$lt_nm_to_check nm
"
5584 for lt_tmp_nm in $lt_nm_to_check; do
5585 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5586 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5588 test -z "$ac_dir" && ac_dir=.
5589 tmp_nm="$ac_dir/$lt_tmp_nm"
5590 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5591 # Check to see if the nm accepts a BSD-compat flag.
5592 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5593 # nm: unknown option "B
" ignored
5594 # Tru64's nm complains that /dev/null is an invalid object file
5595 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5596 */dev/null* | *'Invalid file or object type'*)
5597 lt_cv_path_NM="$tmp_nm -B"
5601 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5603 lt_cv_path_NM="$tmp_nm -p"
5607 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5608 continue # so that we can try to find one that supports BSD flags
5617 : ${lt_cv_path_NM=no}
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5621 $as_echo "$lt_cv_path_NM" >&6; }
5622 if test "$lt_cv_path_NM" != "no
"; then
5625 # Didn't find any BSD compatible name lister, look for dumpbin.
5626 if test -n "$DUMPBIN"; then :
5627 # Let the user override the test.
5629 if test -n "$ac_tool_prefix"; then
5630 for ac_prog in dumpbin "link
-dump"
5632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5635 $as_echo_n "checking
for $ac_word...
" >&6; }
5636 if ${ac_cv_prog_DUMPBIN+:} false; then :
5637 $as_echo_n "(cached
) " >&6
5639 if test -n "$DUMPBIN"; then
5640 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 test -z "$as_dir" && as_dir=.
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5659 DUMPBIN=$ac_cv_prog_DUMPBIN
5660 if test -n "$DUMPBIN"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5662 $as_echo "$DUMPBIN" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5665 $as_echo "no
" >&6; }
5669 test -n "$DUMPBIN" && break
5672 if test -z "$DUMPBIN"; then
5673 ac_ct_DUMPBIN=$DUMPBIN
5674 for ac_prog in dumpbin "link
-dump"
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy $ac_prog; ac_word=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5679 $as_echo_n "checking
for $ac_word...
" >&6; }
5680 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5681 $as_echo_n "(cached
) " >&6
5683 if test -n "$ac_ct_DUMPBIN"; then
5684 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5703 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5704 if test -n "$ac_ct_DUMPBIN"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5706 $as_echo "$ac_ct_DUMPBIN" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5709 $as_echo "no
" >&6; }
5713 test -n "$ac_ct_DUMPBIN" && break
5716 if test "x
$ac_ct_DUMPBIN" = x; then
5719 case $cross_compiling:$ac_tool_warned in
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5722 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5723 ac_tool_warned=yes ;;
5725 DUMPBIN=$ac_ct_DUMPBIN
5729 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5731 DUMPBIN="$DUMPBIN -symbols"
5739 if test "$DUMPBIN" != ":"; then
5743 test -z "$NM" && NM=nm
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5751 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5752 if ${lt_cv_nm_interface+:} false; then :
5753 $as_echo_n "(cached
) " >&6
5755 lt_cv_nm_interface="BSD nm
"
5756 echo "int some_variable
= 0;" > conftest.$ac_ext
5757 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5758 (eval "$ac_compile" 2>conftest.err)
5759 cat conftest.err >&5
5760 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5761 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5762 cat conftest.err >&5
5763 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5764 cat conftest.out >&5
5765 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5766 lt_cv_nm_interface="MS dumpbin
"
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5771 $as_echo "$lt_cv_nm_interface" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5774 $as_echo_n "checking whether
ln -s works...
" >&6; }
5776 if test "$LN_S" = "ln -s"; then
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5778 $as_echo "yes" >&6; }
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5781 $as_echo "no
, using
$LN_S" >&6; }
5784 # find the maximum length of command line arguments
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5786 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5787 if ${lt_cv_sys_max_cmd_len+:} false; then :
5788 $as_echo_n "(cached
) " >&6
5795 # On DJGPP, this test can blow up pretty badly due to problems in libc
5796 # (any single argument exceeding 2000 bytes causes a buffer overrun
5797 # during glob expansion). Even if it were fixed, the result of this
5798 # check would be larger than it should be.
5799 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5803 # Under GNU Hurd, this test is not required because there is
5804 # no limit to the length of command line arguments.
5805 # Libtool will interpret -1 as no limit whatsoever
5806 lt_cv_sys_max_cmd_len=-1;
5809 cygwin* | mingw* | cegcc*)
5810 # On Win9x/ME, this test blows up -- it succeeds, but takes
5811 # about 5 minutes as the teststring grows exponentially.
5812 # Worse, since 9x/ME are not pre-emptively multitasking,
5813 # you end up with a "frozen
" computer, even though with patience
5814 # the test eventually succeeds (with a max line length of 256k).
5815 # Instead, let's just punt: use the minimum linelength reported by
5816 # all of the supported platforms: 8192 (on NT/2K/XP).
5817 lt_cv_sys_max_cmd_len=8192;
5821 # On MiNT this can take a long time and run out of memory.
5822 lt_cv_sys_max_cmd_len=8192;
5826 # On AmigaOS with pdksh, this test takes hours, literally.
5827 # So we just punt and use a minimum line length of 8192.
5828 lt_cv_sys_max_cmd_len=8192;
5831 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5832 # This has been around since 386BSD, at least. Likely further.
5833 if test -x /sbin/sysctl; then
5834 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5835 elif test -x /usr/sbin/sysctl; then
5836 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5838 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5840 # And add a safety zone
5841 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5842 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5846 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5847 lt_cv_sys_max_cmd_len=196608
5851 # The test takes a long time on OS/2.
5852 lt_cv_sys_max_cmd_len=8192
5856 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5857 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5858 # nice to cause kernel panics so lets avoid the loop below.
5859 # First set a reasonable default.
5860 lt_cv_sys_max_cmd_len=16384
5862 if test -x /sbin/sysconfig; then
5863 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5864 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5869 lt_cv_sys_max_cmd_len=102400
5871 sysv5* | sco5v6* | sysv4.2uw2*)
5872 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5873 if test -n "$kargmax"; then
5874 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5876 lt_cv_sys_max_cmd_len=32768
5880 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5881 if test -n "$lt_cv_sys_max_cmd_len"; then
5882 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5883 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5885 # Make teststring a little bigger before we do anything with it.
5886 # a 1K string should be a reasonable start.
5887 for i in 1 2 3 4 5 6 7 8 ; do
5888 teststring=$teststring$teststring
5890 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5891 # If test is not a shell built-in, we'll probably end up computing a
5892 # maximum length that is only half of the actual maximum length, but
5894 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5895 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5896 test $i != 17 # 1/2 MB should be enough
5899 teststring=$teststring$teststring
5901 # Only check the string length outside the loop.
5902 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5904 # Add a significant safety factor because C++ compilers can tack on
5905 # massive amounts of additional arguments before passing them to the
5906 # linker. It appears as though 1/2 is a usable value.
5907 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5914 if test -n $lt_cv_sys_max_cmd_len ; then
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5916 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5919 $as_echo "none
" >&6; }
5921 max_cmd_len=$lt_cv_sys_max_cmd_len
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5933 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5934 # Try some XSI features
5937 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5939 && eval 'test $(( 1 + 1 )) -eq 2 \
5940 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5943 $as_echo "$xsi_shell" >&6; }
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5947 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5949 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5951 && lt_shell_append=yes
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5953 $as_echo "$lt_shell_append" >&6; }
5956 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5966 # test EBCDIC or ASCII
5967 case `echo X|tr X '\101'` in
5968 A) # ASCII based system
5969 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5970 lt_SP2NL='tr \040 \012'
5971 lt_NL2SP='tr \015\012 \040\040'
5973 *) # EBCDIC based system
5974 lt_SP2NL='tr \100 \n'
5975 lt_NL2SP='tr \r\n \100\100'
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5988 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5989 if ${lt_cv_to_host_file_cmd+:} false; then :
5990 $as_echo_n "(cached
) " >&6
5995 *-*-mingw* ) # actually msys
5996 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5999 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6001 * ) # otherwise, assume *nix
6002 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6008 *-*-mingw* ) # actually msys
6009 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6012 lt_cv_to_host_file_cmd=func_convert_file_noop
6014 * ) # otherwise, assume *nix
6015 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6019 * ) # unhandled hosts (and "normal
" native builds)
6020 lt_cv_to_host_file_cmd=func_convert_file_noop
6026 to_host_file_cmd=$lt_cv_to_host_file_cmd
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6028 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6035 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6036 if ${lt_cv_to_tool_file_cmd+:} false; then :
6037 $as_echo_n "(cached
) " >&6
6039 #assume ordinary cross tools, or native build.
6040 lt_cv_to_tool_file_cmd=func_convert_file_noop
6044 *-*-mingw* ) # actually msys
6045 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6053 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6055 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6062 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6063 if ${lt_cv_ld_reload_flag+:} false; then :
6064 $as_echo_n "(cached
) " >&6
6066 lt_cv_ld_reload_flag='-r'
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6069 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6070 reload_flag=$lt_cv_ld_reload_flag
6071 case $reload_flag in
6073 *) reload_flag=" $reload_flag" ;;
6075 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6077 cygwin* | mingw* | pw32* | cegcc*)
6078 if test "$GCC" != yes; then
6083 if test "$GCC" = yes; then
6084 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6086 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6099 if test -n "$ac_tool_prefix"; then
6100 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6101 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6103 $as_echo_n "checking
for $ac_word...
" >&6; }
6104 if ${ac_cv_prog_OBJDUMP+:} false; then :
6105 $as_echo_n "(cached
) " >&6
6107 if test -n "$OBJDUMP"; then
6108 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6117 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6127 OBJDUMP=$ac_cv_prog_OBJDUMP
6128 if test -n "$OBJDUMP"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6130 $as_echo "$OBJDUMP" >&6; }
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6133 $as_echo "no
" >&6; }
6138 if test -z "$ac_cv_prog_OBJDUMP"; then
6139 ac_ct_OBJDUMP=$OBJDUMP
6140 # Extract the first word of "objdump
", so it can be a program name with args.
6141 set dummy objdump; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6143 $as_echo_n "checking
for $ac_word...
" >&6; }
6144 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6145 $as_echo_n "(cached
) " >&6
6147 if test -n "$ac_ct_OBJDUMP"; then
6148 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6157 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6167 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6168 if test -n "$ac_ct_OBJDUMP"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6170 $as_echo "$ac_ct_OBJDUMP" >&6; }
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6173 $as_echo "no
" >&6; }
6176 if test "x
$ac_ct_OBJDUMP" = x; then
6179 case $cross_compiling:$ac_tool_warned in
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6182 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6183 ac_tool_warned=yes ;;
6185 OBJDUMP=$ac_ct_OBJDUMP
6188 OBJDUMP="$ac_cv_prog_OBJDUMP"
6191 test -z "$OBJDUMP" && OBJDUMP=objdump
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6202 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6203 if ${lt_cv_deplibs_check_method+:} false; then :
6204 $as_echo_n "(cached
) " >&6
6206 lt_cv_file_magic_cmd='$MAGIC_CMD'
6207 lt_cv_file_magic_test_file=
6208 lt_cv_deplibs_check_method='unknown'
6209 # Need to set the preceding variable on all platforms that support
6210 # interlibrary dependencies.
6211 # 'none' -- dependencies not supported.
6212 # `unknown' -- same as none, but documents that we really don't know.
6213 # 'pass_all' -- all dependencies passed with no checks.
6214 # 'test_compile' -- check by making test program.
6215 # 'file_magic [[regex]]' -- check by looking for files in library path
6216 # which responds to the $file_magic_cmd with a given extended regex.
6217 # If you have `file' or equivalent on your system and you're not sure
6218 # whether `pass_all' will *always* work, you probably want this one.
6222 lt_cv_deplibs_check_method=pass_all
6226 lt_cv_deplibs_check_method=pass_all
6230 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6231 lt_cv_file_magic_cmd='/usr/bin/file -L'
6232 lt_cv_file_magic_test_file=/shlib/libc.so
6236 # func_win32_libid is a shell function defined in ltmain.sh
6237 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6238 lt_cv_file_magic_cmd='func_win32_libid'
6242 # Base MSYS/MinGW do not provide the 'file' command needed by
6243 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6244 # unless we find 'file', for example because we are cross-compiling.
6245 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6246 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6247 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6248 lt_cv_file_magic_cmd='func_win32_libid'
6250 # Keep this pattern in sync with the one in func_win32_libid.
6251 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6252 lt_cv_file_magic_cmd='$OBJDUMP -f'
6257 # use the weaker test based on 'objdump'. See mingw*.
6258 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6259 lt_cv_file_magic_cmd='$OBJDUMP -f'
6262 darwin* | rhapsody*)
6263 lt_cv_deplibs_check_method=pass_all
6266 freebsd* | dragonfly*)
6267 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6270 # Not sure whether the presence of OpenBSD here was a mistake.
6271 # Let's accept both of them until this is cleared up.
6272 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6273 lt_cv_file_magic_cmd=/usr/bin/file
6274 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6278 lt_cv_deplibs_check_method=pass_all
6283 lt_cv_deplibs_check_method=pass_all
6287 lt_cv_deplibs_check_method=pass_all
6290 hpux10.20* | hpux11*)
6291 lt_cv_file_magic_cmd=/usr/bin/file
6294 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6295 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6298 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]'
6299 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6302 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6303 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6309 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6310 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6313 irix5* | irix6* | nonstopux*)
6315 *-32|*"-32 ") libmagic=32-bit;;
6316 *-n32|*"-n32 ") libmagic=N32;;
6317 *-64|*"-64 ") libmagic=64-bit;;
6318 *) libmagic=never-match;;
6320 lt_cv_deplibs_check_method=pass_all
6323 # This must be glibc/ELF.
6324 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6325 lt_cv_deplibs_check_method=pass_all
6329 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6337 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6338 lt_cv_file_magic_cmd=/usr/bin/file
6339 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6343 lt_cv_deplibs_check_method=pass_all
6347 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6350 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6354 osf3* | osf4* | osf5*)
6355 lt_cv_deplibs_check_method=pass_all
6359 lt_cv_deplibs_check_method=pass_all
6363 lt_cv_deplibs_check_method=pass_all
6366 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6367 lt_cv_deplibs_check_method=pass_all
6371 case $host_vendor in
6373 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]'
6374 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6377 lt_cv_deplibs_check_method=pass_all
6380 lt_cv_file_magic_cmd='/bin/file'
6381 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6386 lt_cv_file_magic_test_file=/lib/libc.so
6389 lt_cv_deplibs_check_method=pass_all
6392 lt_cv_deplibs_check_method=pass_all
6398 lt_cv_deplibs_check_method=pass_all
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6404 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6408 if test "$build" = "$host"; then
6411 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6414 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6420 file_magic_cmd=$lt_cv_file_magic_cmd
6421 deplibs_check_method=$lt_cv_deplibs_check_method
6422 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6445 if test -n "$ac_tool_prefix"; then
6446 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6447 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6449 $as_echo_n "checking
for $ac_word...
" >&6; }
6450 if ${ac_cv_prog_DLLTOOL+:} false; then :
6451 $as_echo_n "(cached
) " >&6
6453 if test -n "$DLLTOOL"; then
6454 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 test -z "$as_dir" && as_dir=.
6461 for ac_exec_ext in '' $ac_executable_extensions; do
6462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6463 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6473 DLLTOOL=$ac_cv_prog_DLLTOOL
6474 if test -n "$DLLTOOL"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6476 $as_echo "$DLLTOOL" >&6; }
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6479 $as_echo "no
" >&6; }
6484 if test -z "$ac_cv_prog_DLLTOOL"; then
6485 ac_ct_DLLTOOL=$DLLTOOL
6486 # Extract the first word of "dlltool
", so it can be a program name with args.
6487 set dummy dlltool; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6489 $as_echo_n "checking
for $ac_word...
" >&6; }
6490 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6491 $as_echo_n "(cached
) " >&6
6493 if test -n "$ac_ct_DLLTOOL"; then
6494 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 test -z "$as_dir" && as_dir=.
6501 for ac_exec_ext in '' $ac_executable_extensions; do
6502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6503 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6513 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6514 if test -n "$ac_ct_DLLTOOL"; then
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6516 $as_echo "$ac_ct_DLLTOOL" >&6; }
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6519 $as_echo "no
" >&6; }
6522 if test "x
$ac_ct_DLLTOOL" = x; then
6525 case $cross_compiling:$ac_tool_warned in
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6528 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6529 ac_tool_warned=yes ;;
6531 DLLTOOL=$ac_ct_DLLTOOL
6534 DLLTOOL="$ac_cv_prog_DLLTOOL"
6537 test -z "$DLLTOOL" && DLLTOOL=dlltool
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6549 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6550 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6551 $as_echo_n "(cached
) " >&6
6553 lt_cv_sharedlib_from_linklib_cmd='unknown'
6556 cygwin* | mingw* | pw32* | cegcc*)
6557 # two different shell functions defined in ltmain.sh
6558 # decide which to use based on capabilities of $DLLTOOL
6559 case `$DLLTOOL --help 2>&1` in
6560 *--identify-strict*)
6561 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6564 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6569 # fallback: assume linklib IS sharedlib
6570 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6576 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6577 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6578 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6586 if test -n "$ac_tool_prefix"; then
6589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6590 set dummy $ac_tool_prefix$ac_prog; 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_AR+:} false; then :
6594 $as_echo_n "(cached
) " >&6
6596 if test -n "$AR"; then
6597 ac_cv_prog_AR="$AR" # 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_AR="$ac_tool_prefix$ac_prog"
6607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6617 if test -n "$AR"; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6619 $as_echo "$AR" >&6; }
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6622 $as_echo "no
" >&6; }
6626 test -n "$AR" && break
6629 if test -z "$AR"; then
6633 # Extract the first word of "$ac_prog", so it can be a program name with args.
6634 set dummy $ac_prog; ac_word=$2
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6636 $as_echo_n "checking
for $ac_word...
" >&6; }
6637 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6638 $as_echo_n "(cached
) " >&6
6640 if test -n "$ac_ct_AR"; then
6641 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir=.
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6650 ac_cv_prog_ac_ct_AR="$ac_prog"
6651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6660 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6661 if test -n "$ac_ct_AR"; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6663 $as_echo "$ac_ct_AR" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6666 $as_echo "no
" >&6; }
6670 test -n "$ac_ct_AR" && break
6673 if test "x
$ac_ct_AR" = x; then
6676 case $cross_compiling:$ac_tool_warned in
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6679 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6680 ac_tool_warned=yes ;;
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6700 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6701 if ${lt_cv_ar_at_file+:} false; then :
6702 $as_echo_n "(cached
) " >&6
6705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706 /* end confdefs.h. */
6716 if ac_fn_c_try_compile "$LINENO"; then :
6717 echo conftest.$ac_objext > conftest.lst
6718 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6719 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6720 (eval $lt_ar_try) 2>&5
6722 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6723 test $ac_status = 0; }
6724 if test "$ac_status" -eq 0; then
6725 # Ensure the archiver fails upon bogus file names.
6726 rm -f conftest.$ac_objext libconftest.a
6727 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6728 (eval $lt_ar_try) 2>&5
6730 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6731 test $ac_status = 0; }
6732 if test "$ac_status" -ne 0; then
6736 rm -f conftest.* libconftest.a
6739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6743 $as_echo "$lt_cv_ar_at_file" >&6; }
6745 if test "x
$lt_cv_ar_at_file" = xno; then
6748 archiver_list_spec=$lt_cv_ar_at_file
6757 if test -n "$ac_tool_prefix"; then
6758 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6759 set dummy ${ac_tool_prefix}strip; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6761 $as_echo_n "checking
for $ac_word...
" >&6; }
6762 if ${ac_cv_prog_STRIP+:} false; then :
6763 $as_echo_n "(cached
) " >&6
6765 if test -n "$STRIP"; then
6766 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6775 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6785 STRIP=$ac_cv_prog_STRIP
6786 if test -n "$STRIP"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6788 $as_echo "$STRIP" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6791 $as_echo "no
" >&6; }
6796 if test -z "$ac_cv_prog_STRIP"; then
6798 # Extract the first word of "strip
", so it can be a program name with args.
6799 set dummy strip; ac_word=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6801 $as_echo_n "checking
for $ac_word...
" >&6; }
6802 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6803 $as_echo_n "(cached
) " >&6
6805 if test -n "$ac_ct_STRIP"; then
6806 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6815 ac_cv_prog_ac_ct_STRIP="strip
"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6826 if test -n "$ac_ct_STRIP"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6828 $as_echo "$ac_ct_STRIP" >&6; }
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6831 $as_echo "no
" >&6; }
6834 if test "x
$ac_ct_STRIP" = x; then
6837 case $cross_compiling:$ac_tool_warned in
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6840 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6841 ac_tool_warned=yes ;;
6846 STRIP="$ac_cv_prog_STRIP"
6849 test -z "$STRIP" && STRIP=:
6856 if test -n "$ac_tool_prefix"; then
6857 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6858 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6860 $as_echo_n "checking
for $ac_word...
" >&6; }
6861 if ${ac_cv_prog_RANLIB+:} false; then :
6862 $as_echo_n "(cached
) " >&6
6864 if test -n "$RANLIB"; then
6865 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6884 RANLIB=$ac_cv_prog_RANLIB
6885 if test -n "$RANLIB"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6887 $as_echo "$RANLIB" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6890 $as_echo "no
" >&6; }
6895 if test -z "$ac_cv_prog_RANLIB"; then
6896 ac_ct_RANLIB=$RANLIB
6897 # Extract the first word of "ranlib
", so it can be a program name with args.
6898 set dummy ranlib; ac_word=$2
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6900 $as_echo_n "checking
for $ac_word...
" >&6; }
6901 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6902 $as_echo_n "(cached
) " >&6
6904 if test -n "$ac_ct_RANLIB"; then
6905 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6911 test -z "$as_dir" && as_dir=.
6912 for ac_exec_ext in '' $ac_executable_extensions; do
6913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6914 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6924 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6925 if test -n "$ac_ct_RANLIB"; then
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6927 $as_echo "$ac_ct_RANLIB" >&6; }
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6930 $as_echo "no
" >&6; }
6933 if test "x
$ac_ct_RANLIB" = x; then
6936 case $cross_compiling:$ac_tool_warned in
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6939 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6940 ac_tool_warned=yes ;;
6942 RANLIB=$ac_ct_RANLIB
6945 RANLIB="$ac_cv_prog_RANLIB"
6948 test -z "$RANLIB" && RANLIB=:
6955 # Determine commands to create old-style static archives.
6956 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6957 old_postinstall_cmds='chmod 644 $oldlib'
6958 old_postuninstall_cmds=
6960 if test -n "$RANLIB"; then
6963 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6966 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6969 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6974 lock_old_archive_extraction=yes ;;
6976 lock_old_archive_extraction=no ;;
7017 # If no C compiler was specified, use CC.
7020 # If no C compiler flags were specified, use CFLAGS.
7021 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7023 # Allow CC to be a program name with arguments.
7027 # Check for command to grab the raw symbol name followed by C symbol from nm.
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7029 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7030 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7031 $as_echo_n "(cached
) " >&6
7034 # These are sane defaults that work on at least a few old systems.
7035 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7037 # Character class describing NM global symbol codes.
7038 symcode='[BCDEGRST]'
7040 # Regexp to match symbols that can be accessed directly from C.
7041 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7043 # Define system-specific variables.
7048 cygwin* | mingw* | pw32* | cegcc*)
7049 symcode='[ABCDGISTW]'
7052 if test "$host_cpu" = ia64; then
7053 symcode='[ABCDEGRST]'
7057 symcode='[BCDEGRST]'
7060 symcode='[BCDEGQRST]'
7071 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7079 # If we're using GNU nm, then use its standard symbol codes.
7080 case `$NM -V 2>&1` in
7081 *GNU* | *'with BFD'*)
7082 symcode='[ABCDGIRSTW]' ;;
7085 # Transform an extracted symbol line into a proper C declaration.
7086 # Some systems (esp. on ia64) link data and code symbols differently,
7087 # so use this general approach.
7088 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7090 # Transform an extracted symbol line into symbol name and symbol address
7091 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7092 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'"
7094 # Handle CRLF in mingw tool chain
7098 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7102 # Try without a prefix underscore, then with it.
7103 for ac_symprfx in "" "_
"; do
7105 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7106 symxfrm="\\1 $ac_symprfx\\2 \\2"
7108 # Write the raw and C identifiers.
7109 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7110 # Fake it for dumpbin and say T for any non-static function
7111 # and D for any global variable.
7112 # Also find C++ and __fastcall symbols from MSVC++,
7113 # which start with @ or ?.
7114 lt_cv_sys_global_symbol_pipe="$AWK '"\
7115 " {last_section=section; section=\$ 3};"\
7116 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7117 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7118 " \$ 0!~/External *\|/{next};"\
7119 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7120 " {if(hide[section]) next};"\
7121 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7122 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7123 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7124 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7125 " ' prfx
=^
$ac_symprfx"
7127 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7129 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7131 # Check to see that the pipe works correctly.
7135 cat > conftest.$ac_ext <<_LT_EOF
7140 void nm_test_func(void);
7141 void nm_test_func(void){}
7145 int main(){nm_test_var='a';nm_test_func();return(0);}
7148 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7149 (eval $ac_compile) 2>&5
7151 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7152 test $ac_status = 0; }; then
7153 # Now try to grab the symbols.
7155 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7156 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7159 test $ac_status = 0; } && test -s "$nlist"; then
7160 # Try sorting and uniquifying the output.
7161 if sort "$nlist" | uniq > "$nlist"T; then
7162 mv -f "$nlist"T "$nlist"
7167 # Make sure that we snagged all the symbols we need.
7168 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7169 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7170 cat <<_LT_EOF > conftest.$ac_ext
7171 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7172 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7173 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7174 relocations are performed -- see ld's documentation on pseudo-relocs. */
7175 # define LT_DLSYM_CONST
7176 #elif defined(__osf__)
7177 /* This system does not cope well with relocations in const data. */
7178 # define LT_DLSYM_CONST
7180 # define LT_DLSYM_CONST const
7188 # Now generate the symbol file.
7189 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7191 cat <<_LT_EOF >> conftest.$ac_ext
7193 /* The mapping between symbol names and symbols. */
7194 LT_DLSYM_CONST struct {
7198 lt__PROGRAM__LTX_preloaded_symbols[] =
7200 { "@PROGRAM@
", (void *) 0 },
7202 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7203 cat <<\_LT_EOF >> conftest.$ac_ext
7207 /* This works around a problem in FreeBSD linker */
7208 #ifdef FREEBSD_WORKAROUND
7209 static const void *lt_preloaded_setup() {
7210 return lt__PROGRAM__LTX_preloaded_symbols;
7218 # Now try linking the two files.
7219 mv conftest.$ac_objext conftstm.$ac_objext
7220 lt_globsym_save_LIBS=$LIBS
7221 lt_globsym_save_CFLAGS=$CFLAGS
7222 LIBS="conftstm.
$ac_objext"
7223 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7224 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7225 (eval $ac_link) 2>&5
7227 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7228 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7231 LIBS=$lt_globsym_save_LIBS
7232 CFLAGS=$lt_globsym_save_CFLAGS
7234 echo "cannot
find nm_test_func
in $nlist" >&5
7237 echo "cannot
find nm_test_var
in $nlist" >&5
7240 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7243 echo "$progname: failed program was
:" >&5
7244 cat conftest.$ac_ext >&5
7246 rm -rf conftest* conftst*
7248 # Do not use the global_symbol_pipe unless it works.
7249 if test "$pipe_works" = yes; then
7252 lt_cv_sys_global_symbol_pipe=
7258 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7259 lt_cv_sys_global_symbol_to_cdecl=
7261 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7263 $as_echo "failed
" >&6; }
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7266 $as_echo "ok
" >&6; }
7269 # Response file support.
7270 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7271 nm_file_list_spec='@'
7272 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7273 nm_file_list_spec='@'
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7303 $as_echo_n "checking
for sysroot...
" >&6; }
7305 # Check whether --with-sysroot was given.
7306 if test "${with_sysroot+set}" = set; then :
7307 withval=$with_sysroot;
7314 case ${with_sysroot} in #(
7316 if test "$GCC" = yes; then
7317 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7321 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7327 $as_echo "${with_sysroot}" >&6; }
7328 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7333 $as_echo "${lt_sysroot:-no}" >&6; }
7339 # Check whether --enable-libtool-lock was given.
7340 if test "${enable_libtool_lock+set}" = set; then :
7341 enableval=$enable_libtool_lock;
7344 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7346 # Some flags need to be propagated to the compiler or linker for good
7350 # Find out which ABI we are using.
7351 echo 'int i;' > conftest.$ac_ext
7352 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7353 (eval $ac_compile) 2>&5
7355 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7356 test $ac_status = 0; }; then
7357 case `/usr/bin/file conftest.$ac_objext` in
7369 # Find out which ABI we are using.
7370 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7371 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7372 (eval $ac_compile) 2>&5
7374 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7375 test $ac_status = 0; }; then
7376 if test "$lt_cv_prog_gnu_ld" = yes; then
7377 case `/usr/bin/file conftest.$ac_objext` in
7379 LD="${LD-ld} -melf32bsmip"
7382 LD="${LD-ld} -melf32bmipn32"
7385 LD="${LD-ld} -melf64bmip"
7389 case `/usr/bin/file conftest.$ac_objext` in
7405 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7406 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7407 # Find out which ABI we are using.
7408 echo 'int i;' > conftest.$ac_ext
7409 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7410 (eval $ac_compile) 2>&5
7412 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7413 test $ac_status = 0; }; then
7414 case `/usr/bin/file conftest.o` in
7417 x86_64-*kfreebsd*-gnu)
7418 LD="${LD-ld} -m elf_i386_fbsd
"
7421 LD="${LD-ld} -m elf_i386
"
7423 ppc64-*linux*|powerpc64-*linux*)
7424 LD="${LD-ld} -m elf32ppclinux
"
7427 LD="${LD-ld} -m elf_s390
"
7430 LD="${LD-ld} -m elf32_sparc
"
7436 x86_64-*kfreebsd*-gnu)
7437 LD="${LD-ld} -m elf_x86_64_fbsd
"
7440 LD="${LD-ld} -m elf_x86_64
"
7442 ppc*-*linux*|powerpc*-*linux*)
7443 LD="${LD-ld} -m elf64ppc
"
7445 s390*-*linux*|s390*-*tpf*)
7446 LD="${LD-ld} -m elf64_s390
"
7449 LD="${LD-ld} -m elf64_sparc
"
7459 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7460 SAVE_CFLAGS="$CFLAGS"
7461 CFLAGS="$CFLAGS -belf"
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7463 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7464 if ${lt_cv_cc_needs_belf+:} false; then :
7465 $as_echo_n "(cached
) " >&6
7468 ac_cpp='$CPP $CPPFLAGS'
7469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474 /* end confdefs.h. */
7484 if ac_fn_c_try_link "$LINENO"; then :
7485 lt_cv_cc_needs_belf=yes
7487 lt_cv_cc_needs_belf=no
7489 rm -f core conftest.err conftest.$ac_objext \
7490 conftest$ac_exeext conftest.$ac_ext
7492 ac_cpp='$CPP $CPPFLAGS'
7493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7499 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7500 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7501 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7502 CFLAGS="$SAVE_CFLAGS"
7506 # Find out which ABI we are using.
7507 echo 'int i;' > conftest.$ac_ext
7508 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7509 (eval $ac_compile) 2>&5
7511 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7512 test $ac_status = 0; }; then
7513 case `/usr/bin/file conftest.o` in
7515 case $lt_cv_prog_gnu_ld in
7519 LD="${LD-ld} -m elf_x86_64
"
7522 LD="${LD-ld} -m elf64_sparc
"
7525 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7526 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7531 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7543 need_locks="$enable_libtool_lock"
7545 if test -n "$ac_tool_prefix"; then
7546 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7547 set dummy ${ac_tool_prefix}mt; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7549 $as_echo_n "checking
for $ac_word...
" >&6; }
7550 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7551 $as_echo_n "(cached
) " >&6
7553 if test -n "$MANIFEST_TOOL"; then
7554 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7573 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7574 if test -n "$MANIFEST_TOOL"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7576 $as_echo "$MANIFEST_TOOL" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7579 $as_echo "no
" >&6; }
7584 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7585 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7586 # Extract the first word of "mt
", so it can be a program name with args.
7587 set dummy mt; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7589 $as_echo_n "checking
for $ac_word...
" >&6; }
7590 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7591 $as_echo_n "(cached
) " >&6
7593 if test -n "$ac_ct_MANIFEST_TOOL"; then
7594 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7613 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7614 if test -n "$ac_ct_MANIFEST_TOOL"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7616 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7619 $as_echo "no
" >&6; }
7622 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7625 case $cross_compiling:$ac_tool_warned in
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7628 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7629 ac_tool_warned=yes ;;
7631 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7634 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7637 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7639 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7640 if ${lt_cv_path_mainfest_tool+:} false; then :
7641 $as_echo_n "(cached
) " >&6
7643 lt_cv_path_mainfest_tool=no
7644 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7645 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7646 cat conftest.err >&5
7647 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7648 lt_cv_path_mainfest_tool=yes
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7653 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7654 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7664 rhapsody* | darwin*)
7665 if test -n "$ac_tool_prefix"; then
7666 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7667 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7669 $as_echo_n "checking
for $ac_word...
" >&6; }
7670 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7671 $as_echo_n "(cached
) " >&6
7673 if test -n "$DSYMUTIL"; then
7674 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7680 test -z "$as_dir" && as_dir=.
7681 for ac_exec_ext in '' $ac_executable_extensions; do
7682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7683 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7693 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7694 if test -n "$DSYMUTIL"; then
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7696 $as_echo "$DSYMUTIL" >&6; }
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7699 $as_echo "no
" >&6; }
7704 if test -z "$ac_cv_prog_DSYMUTIL"; then
7705 ac_ct_DSYMUTIL=$DSYMUTIL
7706 # Extract the first word of "dsymutil
", so it can be a program name with args.
7707 set dummy dsymutil; ac_word=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7709 $as_echo_n "checking
for $ac_word...
" >&6; }
7710 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7711 $as_echo_n "(cached
) " >&6
7713 if test -n "$ac_ct_DSYMUTIL"; then
7714 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7723 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7733 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7734 if test -n "$ac_ct_DSYMUTIL"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7736 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7739 $as_echo "no
" >&6; }
7742 if test "x
$ac_ct_DSYMUTIL" = x; then
7745 case $cross_compiling:$ac_tool_warned in
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7748 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7749 ac_tool_warned=yes ;;
7751 DSYMUTIL=$ac_ct_DSYMUTIL
7754 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7757 if test -n "$ac_tool_prefix"; then
7758 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7759 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7761 $as_echo_n "checking
for $ac_word...
" >&6; }
7762 if ${ac_cv_prog_NMEDIT+:} false; then :
7763 $as_echo_n "(cached
) " >&6
7765 if test -n "$NMEDIT"; then
7766 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 test -z "$as_dir" && as_dir=.
7773 for ac_exec_ext in '' $ac_executable_extensions; do
7774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7775 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7785 NMEDIT=$ac_cv_prog_NMEDIT
7786 if test -n "$NMEDIT"; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7788 $as_echo "$NMEDIT" >&6; }
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7791 $as_echo "no
" >&6; }
7796 if test -z "$ac_cv_prog_NMEDIT"; then
7797 ac_ct_NMEDIT=$NMEDIT
7798 # Extract the first word of "nmedit
", so it can be a program name with args.
7799 set dummy nmedit; ac_word=$2
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7801 $as_echo_n "checking
for $ac_word...
" >&6; }
7802 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7803 $as_echo_n "(cached
) " >&6
7805 if test -n "$ac_ct_NMEDIT"; then
7806 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7812 test -z "$as_dir" && as_dir=.
7813 for ac_exec_ext in '' $ac_executable_extensions; do
7814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7815 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7825 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7826 if test -n "$ac_ct_NMEDIT"; then
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7828 $as_echo "$ac_ct_NMEDIT" >&6; }
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7831 $as_echo "no
" >&6; }
7834 if test "x
$ac_ct_NMEDIT" = x; then
7837 case $cross_compiling:$ac_tool_warned in
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7840 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7841 ac_tool_warned=yes ;;
7843 NMEDIT=$ac_ct_NMEDIT
7846 NMEDIT="$ac_cv_prog_NMEDIT"
7849 if test -n "$ac_tool_prefix"; then
7850 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7851 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7853 $as_echo_n "checking
for $ac_word...
" >&6; }
7854 if ${ac_cv_prog_LIPO+:} false; then :
7855 $as_echo_n "(cached
) " >&6
7857 if test -n "$LIPO"; then
7858 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 test -z "$as_dir" && as_dir=.
7865 for ac_exec_ext in '' $ac_executable_extensions; do
7866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7867 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7877 LIPO=$ac_cv_prog_LIPO
7878 if test -n "$LIPO"; then
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7880 $as_echo "$LIPO" >&6; }
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7883 $as_echo "no
" >&6; }
7888 if test -z "$ac_cv_prog_LIPO"; then
7890 # Extract the first word of "lipo
", so it can be a program name with args.
7891 set dummy lipo; ac_word=$2
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7893 $as_echo_n "checking
for $ac_word...
" >&6; }
7894 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7895 $as_echo_n "(cached
) " >&6
7897 if test -n "$ac_ct_LIPO"; then
7898 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7907 ac_cv_prog_ac_ct_LIPO="lipo
"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7917 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7918 if test -n "$ac_ct_LIPO"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7920 $as_echo "$ac_ct_LIPO" >&6; }
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7923 $as_echo "no
" >&6; }
7926 if test "x
$ac_ct_LIPO" = x; then
7929 case $cross_compiling:$ac_tool_warned in
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7932 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7933 ac_tool_warned=yes ;;
7938 LIPO="$ac_cv_prog_LIPO"
7941 if test -n "$ac_tool_prefix"; then
7942 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7943 set dummy ${ac_tool_prefix}otool; ac_word=$2
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7945 $as_echo_n "checking
for $ac_word...
" >&6; }
7946 if ${ac_cv_prog_OTOOL+:} false; then :
7947 $as_echo_n "(cached
) " >&6
7949 if test -n "$OTOOL"; then
7950 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7956 test -z "$as_dir" && as_dir=.
7957 for ac_exec_ext in '' $ac_executable_extensions; do
7958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7959 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7969 OTOOL=$ac_cv_prog_OTOOL
7970 if test -n "$OTOOL"; then
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7972 $as_echo "$OTOOL" >&6; }
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7975 $as_echo "no
" >&6; }
7980 if test -z "$ac_cv_prog_OTOOL"; then
7982 # Extract the first word of "otool
", so it can be a program name with args.
7983 set dummy otool; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7985 $as_echo_n "checking
for $ac_word...
" >&6; }
7986 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7987 $as_echo_n "(cached
) " >&6
7989 if test -n "$ac_ct_OTOOL"; then
7990 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7999 ac_cv_prog_ac_ct_OTOOL="otool
"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8009 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8010 if test -n "$ac_ct_OTOOL"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8012 $as_echo "$ac_ct_OTOOL" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8015 $as_echo "no
" >&6; }
8018 if test "x
$ac_ct_OTOOL" = x; then
8021 case $cross_compiling:$ac_tool_warned in
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8024 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8025 ac_tool_warned=yes ;;
8030 OTOOL="$ac_cv_prog_OTOOL"
8033 if test -n "$ac_tool_prefix"; then
8034 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8035 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8037 $as_echo_n "checking
for $ac_word...
" >&6; }
8038 if ${ac_cv_prog_OTOOL64+:} false; then :
8039 $as_echo_n "(cached
) " >&6
8041 if test -n "$OTOOL64"; then
8042 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8048 test -z "$as_dir" && as_dir=.
8049 for ac_exec_ext in '' $ac_executable_extensions; do
8050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8051 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8061 OTOOL64=$ac_cv_prog_OTOOL64
8062 if test -n "$OTOOL64"; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8064 $as_echo "$OTOOL64" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8067 $as_echo "no
" >&6; }
8072 if test -z "$ac_cv_prog_OTOOL64"; then
8073 ac_ct_OTOOL64=$OTOOL64
8074 # Extract the first word of "otool64
", so it can be a program name with args.
8075 set dummy otool64; ac_word=$2
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8077 $as_echo_n "checking
for $ac_word...
" >&6; }
8078 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8079 $as_echo_n "(cached
) " >&6
8081 if test -n "$ac_ct_OTOOL64"; then
8082 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8091 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8101 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8102 if test -n "$ac_ct_OTOOL64"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8104 $as_echo "$ac_ct_OTOOL64" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8107 $as_echo "no
" >&6; }
8110 if test "x
$ac_ct_OTOOL64" = x; then
8113 case $cross_compiling:$ac_tool_warned in
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8116 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8117 ac_tool_warned=yes ;;
8119 OTOOL64=$ac_ct_OTOOL64
8122 OTOOL64="$ac_cv_prog_OTOOL64"
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8152 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8153 if ${lt_cv_apple_cc_single_mod+:} false; then :
8154 $as_echo_n "(cached
) " >&6
8156 lt_cv_apple_cc_single_mod=no
8157 if test -z "${LT_MULTI_MODULE}"; then
8158 # By default we will add the -single_module flag. You can override
8159 # by either setting the environment variable LT_MULTI_MODULE
8160 # non-empty at configure time, or by adding -multi_module to the
8162 rm -rf libconftest.dylib*
8163 echo "int foo
(void
){return 1;}" > conftest.c
8164 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8165 -dynamiclib -Wl,-single_module conftest.c
" >&5
8166 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8167 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8169 # If there is a non-empty error log, and "single_module
"
8170 # appears in it, assume the flag caused a linker warning
8171 if test -s conftest.err && $GREP single_module conftest.err; then
8172 cat conftest.err >&5
8173 # Otherwise, if the output was created with a 0 exit code from
8174 # the compiler, it worked.
8175 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8176 lt_cv_apple_cc_single_mod=yes
8178 cat conftest.err >&5
8180 rm -rf libconftest.dylib*
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8185 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8188 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8189 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8190 $as_echo_n "(cached
) " >&6
8192 lt_cv_ld_exported_symbols_list=no
8193 save_LDFLAGS=$LDFLAGS
8194 echo "_main
" > conftest.sym
8195 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8197 /* end confdefs.h. */
8207 if ac_fn_c_try_link "$LINENO"; then :
8208 lt_cv_ld_exported_symbols_list=yes
8210 lt_cv_ld_exported_symbols_list=no
8212 rm -f core conftest.err conftest.$ac_objext \
8213 conftest$ac_exeext conftest.$ac_ext
8214 LDFLAGS="$save_LDFLAGS"
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8218 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8221 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8222 if ${lt_cv_ld_force_load+:} false; then :
8223 $as_echo_n "(cached
) " >&6
8225 lt_cv_ld_force_load=no
8226 cat > conftest.c << _LT_EOF
8227 int forced_loaded() { return 2;}
8229 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8230 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8231 echo "$AR cru libconftest.a conftest.o
" >&5
8232 $AR cru libconftest.a conftest.o 2>&5
8233 echo "$RANLIB libconftest.a
" >&5
8234 $RANLIB libconftest.a 2>&5
8235 cat > conftest.c << _LT_EOF
8236 int main() { return 0;}
8238 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8239 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8241 if test -s conftest.err && $GREP force_load conftest.err; then
8242 cat conftest.err >&5
8243 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8244 lt_cv_ld_force_load=yes
8246 cat conftest.err >&5
8248 rm -f conftest.err libconftest.a conftest conftest.c
8249 rm -rf conftest.dSYM
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8253 $as_echo "$lt_cv_ld_force_load" >&6; }
8255 rhapsody* | darwin1.[012])
8256 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8258 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8259 darwin*) # darwin 5.x on
8260 # if running on 10.5 or later, the deployment target defaults
8261 # to the OS version, if on x86, and 10.4, the deployment
8262 # target defaults to 10.4. Don't you love it?
8263 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8264 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8265 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8267 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8269 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8273 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8274 _lt_dar_single_mod='$single_module'
8276 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8277 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8279 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8281 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8282 _lt_dsymutil='~$DSYMUTIL $lib || :'
8290 ac_cpp='$CPP $CPPFLAGS'
8291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8295 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8296 # On Suns, sometimes $CPP names a directory.
8297 if test -n "$CPP" && test -d "$CPP"; then
8300 if test -z "$CPP"; then
8301 if ${ac_cv_prog_CPP+:} false; then :
8302 $as_echo_n "(cached
) " >&6
8304 # Double quotes because CPP needs to be expanded
8305 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8308 for ac_c_preproc_warn_flag in '' yes
8310 # Use a header file that comes with gcc, so configuring glibc
8311 # with a fresh cross-compiler works.
8312 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8313 # <limits.h> exists even on freestanding compilers.
8314 # On the NeXT, cc -E runs the code through the compiler's parser,
8315 # not just through cpp. "Syntax error
" is here to catch this case.
8316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8319 # include <limits.h>
8321 # include <assert.h>
8325 if ac_fn_c_try_cpp "$LINENO"; then :
8328 # Broken: fails on valid input.
8331 rm -f conftest.err conftest.i conftest.$ac_ext
8333 # OK, works on sane cases. Now check whether nonexistent headers
8334 # can be detected and how.
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8337 #include <ac_nonexistent.h>
8339 if ac_fn_c_try_cpp "$LINENO"; then :
8340 # Broken: success on invalid input.
8343 # Passes both tests.
8347 rm -f conftest.err conftest.i conftest.$ac_ext
8350 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8351 rm -f conftest.i conftest.err conftest.$ac_ext
8352 if $ac_preproc_ok; then :
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8365 $as_echo "$CPP" >&6; }
8367 for ac_c_preproc_warn_flag in '' yes
8369 # Use a header file that comes with gcc, so configuring glibc
8370 # with a fresh cross-compiler works.
8371 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8372 # <limits.h> exists even on freestanding compilers.
8373 # On the NeXT, cc -E runs the code through the compiler's parser,
8374 # not just through cpp. "Syntax error
" is here to catch this case.
8375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8378 # include <limits.h>
8380 # include <assert.h>
8384 if ac_fn_c_try_cpp "$LINENO"; then :
8387 # Broken: fails on valid input.
8390 rm -f conftest.err conftest.i conftest.$ac_ext
8392 # OK, works on sane cases. Now check whether nonexistent headers
8393 # can be detected and how.
8394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8395 /* end confdefs.h. */
8396 #include <ac_nonexistent.h>
8398 if ac_fn_c_try_cpp "$LINENO"; then :
8399 # Broken: success on invalid input.
8402 # Passes both tests.
8406 rm -f conftest.err conftest.i conftest.$ac_ext
8409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8410 rm -f conftest.i conftest.err conftest.$ac_ext
8411 if $ac_preproc_ok; then :
8414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8416 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8417 See \`config.log' for more details
" "$LINENO" 5; }
8421 ac_cpp='$CPP $CPPFLAGS'
8422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8428 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8429 if ${ac_cv_header_stdc+:} false; then :
8430 $as_echo_n "(cached
) " >&6
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8447 if ac_fn_c_try_compile "$LINENO"; then :
8448 ac_cv_header_stdc=yes
8450 ac_cv_header_stdc=no
8452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8454 if test $ac_cv_header_stdc = yes; then
8455 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8461 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8462 $EGREP "memchr
" >/dev/null 2>&1; then :
8465 ac_cv_header_stdc=no
8471 if test $ac_cv_header_stdc = yes; then
8472 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8478 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8479 $EGREP "free
" >/dev/null 2>&1; then :
8482 ac_cv_header_stdc=no
8488 if test $ac_cv_header_stdc = yes; then
8489 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8490 if test "$cross_compiling" = yes; then :
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8497 #if ((' ' & 0x0FF) == 0x020)
8498 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8499 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8501 # define ISLOWER(c) \
8502 (('a' <= (c) && (c) <= 'i') \
8503 || ('j' <= (c) && (c) <= 'r') \
8504 || ('s' <= (c) && (c) <= 'z'))
8505 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8508 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8513 for (i = 0; i < 256; i++)
8514 if (XOR (islower (i), ISLOWER (i))
8515 || toupper (i) != TOUPPER (i))
8520 if ac_fn_c_try_run "$LINENO"; then :
8523 ac_cv_header_stdc=no
8525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8526 conftest.$ac_objext conftest.beam conftest.$ac_ext
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8532 $as_echo "$ac_cv_header_stdc" >&6; }
8533 if test $ac_cv_header_stdc = yes; then
8535 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8539 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8540 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8541 inttypes.h stdint.h unistd.h
8543 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8544 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8546 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8547 cat >>confdefs.h
<<_ACEOF
8548 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8556 for ac_header
in dlfcn.h
8558 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8560 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8561 cat >>confdefs.h
<<_ACEOF
8562 #define HAVE_DLFCN_H 1
8572 func_stripname_cnf
()
8575 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8576 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8578 } # func_stripname_cnf
8585 # Check whether --enable-static was given.
8586 if test "${enable_static+set}" = set; then :
8587 enableval
=$enable_static; p
=${PACKAGE-default}
8589 yes) enable_static
=yes ;;
8590 no
) enable_static
=no
;;
8593 # Look at the argument we got. We use all the common list separators.
8594 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8595 for pkg
in $enableval; do
8597 if test "X$pkg" = "X$p"; then
8623 # Check whether --enable-shared was given.
8624 if test "${enable_shared+set}" = set; then :
8625 enableval
=$enable_shared; p
=${PACKAGE-default}
8627 yes) enable_shared
=yes ;;
8628 no
) enable_shared
=no
;;
8631 # Look at the argument we got. We use all the common list separators.
8632 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8633 for pkg
in $enableval; do
8635 if test "X$pkg" = "X$p"; then
8656 # Check whether --with-pic was given.
8657 if test "${with_pic+set}" = set; then :
8658 withval
=$with_pic; lt_p
=${PACKAGE-default}
8660 yes|no
) pic_mode
=$withval ;;
8663 # Look at the argument we got. We use all the common list separators.
8664 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8665 for lt_pkg
in $withval; do
8667 if test "X$lt_pkg" = "X$lt_p"; then
8679 test -z "$pic_mode" && pic_mode
=default
8687 # Check whether --enable-fast-install was given.
8688 if test "${enable_fast_install+set}" = set; then :
8689 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8691 yes) enable_fast_install
=yes ;;
8692 no
) enable_fast_install
=no
;;
8694 enable_fast_install
=no
8695 # Look at the argument we got. We use all the common list separators.
8696 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8697 for pkg
in $enableval; do
8699 if test "X$pkg" = "X$p"; then
8700 enable_fast_install
=yes
8707 enable_fast_install
=yes
8720 # This can be used to rebuild libtool when needed
8721 LIBTOOL_DEPS
="$ltmain"
8723 # Always use our own libtool.
8724 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8755 test -z "$LN_S" && LN_S
="ln -s"
8770 if test -n "${ZSH_VERSION+set}" ; then
8771 setopt NO_GLOB_SUBST
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8775 $as_echo_n "checking for objdir... " >&6; }
8776 if ${lt_cv_objdir+:} false
; then :
8777 $as_echo_n "(cached) " >&6
8779 rm -f .libs
2>/dev
/null
8780 mkdir .libs
2>/dev
/null
8781 if test -d .libs
; then
8784 # MS-DOS does not allow filenames that begin with a dot.
8787 rmdir .libs
2>/dev
/null
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8790 $as_echo "$lt_cv_objdir" >&6; }
8791 objdir
=$lt_cv_objdir
8797 cat >>confdefs.h
<<_ACEOF
8798 #define LT_OBJDIR "$lt_cv_objdir/"
8806 # AIX sometimes has problems with the GCC collect2 program. For some
8807 # reason, if we set the COLLECT_NAMES environment variable, the problems
8808 # vanish in a puff of smoke.
8809 if test "X${COLLECT_NAMES+set}" != Xset
; then
8811 export COLLECT_NAMES
8818 can_build_shared
=yes
8820 # All known linkers require a `.a' archive for static linking (except MSVC,
8821 # which needs '.lib').
8824 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8827 old_CFLAGS
="$CFLAGS"
8829 # Set sane defaults for various variables
8830 test -z "$CC" && CC
=cc
8831 test -z "$LTCC" && LTCC
=$CC
8832 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8833 test -z "$LD" && LD
=ld
8834 test -z "$ac_objext" && ac_objext
=o
8836 for cc_temp
in $compiler""; do
8838 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8839 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8844 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8847 # Only perform the check for file, if the check method requires it
8848 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8849 case $deplibs_check_method in
8851 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8853 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8854 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8855 $as_echo_n "(cached) " >&6
8859 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8862 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8863 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8864 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8865 for ac_dir
in $ac_dummy; do
8867 test -z "$ac_dir" && ac_dir
=.
8868 if test -f $ac_dir/${ac_tool_prefix}file; then
8869 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8870 if test -n "$file_magic_test_file"; then
8871 case $deplibs_check_method in
8873 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8874 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8875 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8876 $EGREP "$file_magic_regex" > /dev
/null
; then
8881 *** Warning: the command libtool uses to detect shared libraries,
8882 *** $file_magic_cmd, produces output that libtool cannot recognize.
8883 *** The result is that libtool may fail to recognize shared libraries
8884 *** as such. This will affect the creation of libtool libraries that
8885 *** depend on shared libraries, but programs linked with such libtool
8886 *** libraries will work regardless of this problem. Nevertheless, you
8887 *** may want to report the problem to your system manager and/or to
8888 *** bug-libtool@gnu.org
8898 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8903 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8904 if test -n "$MAGIC_CMD"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8906 $as_echo "$MAGIC_CMD" >&6; }
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8909 $as_echo "no" >&6; }
8916 if test -z "$lt_cv_path_MAGIC_CMD"; then
8917 if test -n "$ac_tool_prefix"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8919 $as_echo_n "checking for file... " >&6; }
8920 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8921 $as_echo_n "(cached) " >&6
8925 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8928 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8929 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8930 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8931 for ac_dir
in $ac_dummy; do
8933 test -z "$ac_dir" && ac_dir
=.
8934 if test -f $ac_dir/file; then
8935 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8936 if test -n "$file_magic_test_file"; then
8937 case $deplibs_check_method in
8939 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8940 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8941 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8942 $EGREP "$file_magic_regex" > /dev
/null
; then
8947 *** Warning: the command libtool uses to detect shared libraries,
8948 *** $file_magic_cmd, produces output that libtool cannot recognize.
8949 *** The result is that libtool may fail to recognize shared libraries
8950 *** as such. This will affect the creation of libtool libraries that
8951 *** depend on shared libraries, but programs linked with such libtool
8952 *** libraries will work regardless of this problem. Nevertheless, you
8953 *** may want to report the problem to your system manager and/or to
8954 *** bug-libtool@gnu.org
8964 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8969 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8970 if test -n "$MAGIC_CMD"; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8972 $as_echo "$MAGIC_CMD" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8975 $as_echo "no" >&6; }
8988 # Use C for the default configuration in the libtool script
8992 ac_cpp
='$CPP $CPPFLAGS'
8993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8998 # Source file extension for C test sources.
9001 # Object file extension for compiled C test sources.
9005 # Code to be used in simple compile tests
9006 lt_simple_compile_test_code
="int some_variable = 0;"
9008 # Code to be used in simple link tests
9009 lt_simple_link_test_code
='int main(){return(0);}'
9017 # If no C compiler was specified, use CC.
9020 # If no C compiler flags were specified, use CFLAGS.
9021 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9023 # Allow CC to be a program name with arguments.
9026 # Save the default compiler, since it gets overwritten when the other
9027 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9028 compiler_DEFAULT
=$CC
9030 # save warnings/boilerplate of simple test code
9031 ac_outfile
=conftest.
$ac_objext
9032 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9033 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9034 _lt_compiler_boilerplate
=`cat conftest.err`
9037 ac_outfile
=conftest.
$ac_objext
9038 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9039 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9040 _lt_linker_boilerplate
=`cat conftest.err`
9045 ## There is no encapsulation within the following macros, do not change
9046 ## the running order or otherwise move them around unless you know exactly
9047 ## what you are doing...
9048 if test -n "$compiler"; then
9050 lt_prog_compiler_no_builtin_flag
=
9052 if test "$GCC" = yes; then
9053 case $cc_basename in
9055 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9057 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9061 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9062 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9063 $as_echo_n "(cached) " >&6
9065 lt_cv_prog_compiler_rtti_exceptions
=no
9066 ac_outfile
=conftest.
$ac_objext
9067 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9068 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9069 # Insert the option either (1) after the last *FLAGS variable, or
9070 # (2) before a word containing "conftest.", or (3) at the end.
9071 # Note that $ac_compile itself does not contain backslashes and begins
9072 # with a dollar sign (not a hyphen), so the echo should work correctly.
9073 # The option is referenced via a variable to avoid confusing sed.
9074 lt_compile
=`echo "$ac_compile" | $SED \
9075 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9076 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9077 -e 's:$: $lt_compiler_flag:'`
9078 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9079 (eval "$lt_compile" 2>conftest.err
)
9081 cat conftest.err
>&5
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 if (exit $ac_status) && test -s "$ac_outfile"; then
9084 # The compiler can only warn and ignore the option if not recognized
9085 # So say no if there are warnings other than the usual output.
9086 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9087 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9088 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9089 lt_cv_prog_compiler_rtti_exceptions
=yes
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9096 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9098 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9099 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9111 lt_prog_compiler_wl
=
9112 lt_prog_compiler_pic
=
9113 lt_prog_compiler_static
=
9116 if test "$GCC" = yes; then
9117 lt_prog_compiler_wl
='-Wl,'
9118 lt_prog_compiler_static
='-static'
9122 # All AIX code is PIC.
9123 if test "$host_cpu" = ia64
; then
9124 # AIX 5 now supports IA64 processor
9125 lt_prog_compiler_static
='-Bstatic'
9132 # see comment about AmigaOS4 .so support
9133 lt_prog_compiler_pic
='-fPIC'
9136 # FIXME: we need at least 68020 code to build shared libraries, but
9137 # adding the `-m68020' flag to GCC prevents building anything better,
9139 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9144 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9145 # PIC is the default for these OSes.
9148 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9149 # This hack is so that the source file can tell whether it is being
9150 # built for inclusion in a dll (and should export symbols for example).
9151 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9152 # (--disable-auto-import) libraries
9153 lt_prog_compiler_pic
='-DDLL_EXPORT'
9156 darwin
* | rhapsody
*)
9157 # PIC is the default on this platform
9158 # Common symbols not allowed in MH_DYLIB files
9159 lt_prog_compiler_pic
='-fno-common'
9163 # PIC is the default for Haiku.
9164 # The "-static" flag exists, but is broken.
9165 lt_prog_compiler_static
=
9169 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9170 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9171 # sets the default TLS model and affects inlining.
9177 lt_prog_compiler_pic
='-fPIC'
9183 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9184 # Instead, we relocate shared libraries at runtime.
9188 # Just because we use GCC doesn't mean we suddenly get shared libraries
9189 # on systems that don't support them.
9190 lt_prog_compiler_can_build_shared
=no
9195 # QNX uses GNU C++, but need to define -shared option too, otherwise
9197 lt_prog_compiler_pic
='-fPIC -shared'
9201 if test -d /usr
/nec
; then
9202 lt_prog_compiler_pic
=-Kconform_pic
9207 lt_prog_compiler_pic
='-fPIC'
9211 case $cc_basename in
9212 nvcc
*) # Cuda Compiler Driver 2.2
9213 lt_prog_compiler_wl
='-Xlinker '
9214 if test -n "$lt_prog_compiler_pic"; then
9215 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9220 # PORTME Check for flag to pass linker flags through the system compiler.
9223 lt_prog_compiler_wl
='-Wl,'
9224 if test "$host_cpu" = ia64
; then
9225 # AIX 5 now supports IA64 processor
9226 lt_prog_compiler_static
='-Bstatic'
9228 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9232 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9233 # This hack is so that the source file can tell whether it is being
9234 # built for inclusion in a dll (and should export symbols for example).
9235 lt_prog_compiler_pic
='-DDLL_EXPORT'
9238 hpux9
* | hpux10
* | hpux11
*)
9239 lt_prog_compiler_wl
='-Wl,'
9240 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9247 lt_prog_compiler_pic
='+Z'
9250 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9251 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9254 irix5
* | irix6
* | nonstopux
*)
9255 lt_prog_compiler_wl
='-Wl,'
9256 # PIC (with -KPIC) is the default.
9257 lt_prog_compiler_static
='-non_shared'
9260 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9261 case $cc_basename in
9262 # old Intel for x86_64 which still supported -KPIC.
9264 lt_prog_compiler_wl
='-Wl,'
9265 lt_prog_compiler_pic
='-KPIC'
9266 lt_prog_compiler_static
='-static'
9268 # icc used to be incompatible with GCC.
9269 # ICC 10 doesn't accept -KPIC any more.
9271 lt_prog_compiler_wl
='-Wl,'
9272 lt_prog_compiler_pic
='-fPIC'
9273 lt_prog_compiler_static
='-static'
9275 # Lahey Fortran 8.1.
9277 lt_prog_compiler_wl
='-Wl,'
9278 lt_prog_compiler_pic
='--shared'
9279 lt_prog_compiler_static
='--static'
9282 # NAG Fortran compiler
9283 lt_prog_compiler_wl
='-Wl,-Wl,,'
9284 lt_prog_compiler_pic
='-PIC'
9285 lt_prog_compiler_static
='-Bstatic'
9287 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9288 # Portland Group compilers (*not* the Pentium gcc compiler,
9289 # which looks to be a dead project)
9290 lt_prog_compiler_wl
='-Wl,'
9291 lt_prog_compiler_pic
='-fpic'
9292 lt_prog_compiler_static
='-Bstatic'
9295 lt_prog_compiler_wl
='-Wl,'
9296 # All Alpha code is PIC.
9297 lt_prog_compiler_static
='-non_shared'
9299 xl
* | bgxl
* | bgf
* | mpixl
*)
9300 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9301 lt_prog_compiler_wl
='-Wl,'
9302 lt_prog_compiler_pic
='-qpic'
9303 lt_prog_compiler_static
='-qstaticlink'
9306 case `$CC -V 2>&1 | sed 5q` in
9307 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9308 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9309 lt_prog_compiler_pic
='-KPIC'
9310 lt_prog_compiler_static
='-Bstatic'
9311 lt_prog_compiler_wl
=''
9313 *Sun\ F
* | *Sun
*Fortran
*)
9314 lt_prog_compiler_pic
='-KPIC'
9315 lt_prog_compiler_static
='-Bstatic'
9316 lt_prog_compiler_wl
='-Qoption ld '
9320 lt_prog_compiler_pic
='-KPIC'
9321 lt_prog_compiler_static
='-Bstatic'
9322 lt_prog_compiler_wl
='-Wl,'
9324 *Intel
*\
[CF
]*Compiler
*)
9325 lt_prog_compiler_wl
='-Wl,'
9326 lt_prog_compiler_pic
='-fPIC'
9327 lt_prog_compiler_static
='-static'
9330 lt_prog_compiler_wl
='-Wl,'
9331 lt_prog_compiler_pic
='-fpic'
9332 lt_prog_compiler_static
='-Bstatic'
9340 lt_prog_compiler_pic
='-KPIC'
9341 lt_prog_compiler_static
='-Bstatic'
9345 # QNX uses GNU C++, but need to define -shared option too, otherwise
9347 lt_prog_compiler_pic
='-fPIC -shared'
9350 osf3
* | osf4
* | osf5
*)
9351 lt_prog_compiler_wl
='-Wl,'
9352 # All OSF/1 code is PIC.
9353 lt_prog_compiler_static
='-non_shared'
9357 lt_prog_compiler_static
='-non_shared'
9361 lt_prog_compiler_pic
='-KPIC'
9362 lt_prog_compiler_static
='-Bstatic'
9363 case $cc_basename in
9364 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9365 lt_prog_compiler_wl
='-Qoption ld ';;
9367 lt_prog_compiler_wl
='-Wl,';;
9372 lt_prog_compiler_wl
='-Qoption ld '
9373 lt_prog_compiler_pic
='-PIC'
9374 lt_prog_compiler_static
='-Bstatic'
9377 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9378 lt_prog_compiler_wl
='-Wl,'
9379 lt_prog_compiler_pic
='-KPIC'
9380 lt_prog_compiler_static
='-Bstatic'
9384 if test -d /usr
/nec
;then
9385 lt_prog_compiler_pic
='-Kconform_pic'
9386 lt_prog_compiler_static
='-Bstatic'
9390 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9391 lt_prog_compiler_wl
='-Wl,'
9392 lt_prog_compiler_pic
='-KPIC'
9393 lt_prog_compiler_static
='-Bstatic'
9397 lt_prog_compiler_wl
='-Wl,'
9398 lt_prog_compiler_can_build_shared
=no
9402 lt_prog_compiler_pic
='-pic'
9403 lt_prog_compiler_static
='-Bstatic'
9407 lt_prog_compiler_can_build_shared
=no
9413 # For platforms which do not support PIC, -DPIC is meaningless:
9415 lt_prog_compiler_pic
=
9418 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9423 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9424 if ${lt_cv_prog_compiler_pic+:} false
; then :
9425 $as_echo_n "(cached) " >&6
9427 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9430 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9431 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9434 # Check to make sure the PIC flag actually works.
9436 if test -n "$lt_prog_compiler_pic"; then
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9438 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9439 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9440 $as_echo_n "(cached) " >&6
9442 lt_cv_prog_compiler_pic_works
=no
9443 ac_outfile
=conftest.
$ac_objext
9444 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9445 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9446 # Insert the option either (1) after the last *FLAGS variable, or
9447 # (2) before a word containing "conftest.", or (3) at the end.
9448 # Note that $ac_compile itself does not contain backslashes and begins
9449 # with a dollar sign (not a hyphen), so the echo should work correctly.
9450 # The option is referenced via a variable to avoid confusing sed.
9451 lt_compile
=`echo "$ac_compile" | $SED \
9452 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9454 -e 's:$: $lt_compiler_flag:'`
9455 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9456 (eval "$lt_compile" 2>conftest.err
)
9458 cat conftest.err
>&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 if (exit $ac_status) && test -s "$ac_outfile"; then
9461 # The compiler can only warn and ignore the option if not recognized
9462 # So say no if there are warnings other than the usual output.
9463 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9464 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9465 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9466 lt_cv_prog_compiler_pic_works
=yes
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9473 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9475 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9476 case $lt_prog_compiler_pic in
9478 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9481 lt_prog_compiler_pic
=
9482 lt_prog_compiler_can_build_shared
=no
9498 # Check to make sure the static flag actually works.
9500 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9502 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9503 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9504 $as_echo_n "(cached) " >&6
9506 lt_cv_prog_compiler_static_works
=no
9507 save_LDFLAGS
="$LDFLAGS"
9508 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9509 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9510 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9511 # The linker can only warn and ignore the option if not recognized
9512 # So say no if there are warnings
9513 if test -s conftest.err
; then
9514 # Append any errors to the config.log.
9515 cat conftest.err
1>&5
9516 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9517 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9518 if diff conftest.exp conftest.er2
>/dev
/null
; then
9519 lt_cv_prog_compiler_static_works
=yes
9522 lt_cv_prog_compiler_static_works
=yes
9526 LDFLAGS
="$save_LDFLAGS"
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9530 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9532 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9535 lt_prog_compiler_static
=
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9545 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9546 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9547 $as_echo_n "(cached) " >&6
9549 lt_cv_prog_compiler_c_o
=no
9550 $RM -r conftest
2>/dev
/null
9554 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9556 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9557 # Insert the option either (1) after the last *FLAGS variable, or
9558 # (2) before a word containing "conftest.", or (3) at the end.
9559 # Note that $ac_compile itself does not contain backslashes and begins
9560 # with a dollar sign (not a hyphen), so the echo should work correctly.
9561 lt_compile
=`echo "$ac_compile" | $SED \
9562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9564 -e 's:$: $lt_compiler_flag:'`
9565 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9566 (eval "$lt_compile" 2>out
/conftest.err
)
9568 cat out
/conftest.err
>&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9572 # The compiler can only warn and ignore the option if not recognized
9573 # So say no if there are warnings
9574 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9575 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9576 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9577 lt_cv_prog_compiler_c_o
=yes
9582 # SGI C++ compiler will create directory out/ii_files/ for
9583 # template instantiation
9584 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9585 $RM out
/* && rmdir out
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9592 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9600 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9601 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9602 $as_echo_n "(cached) " >&6
9604 lt_cv_prog_compiler_c_o
=no
9605 $RM -r conftest
2>/dev
/null
9609 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9611 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9612 # Insert the option either (1) after the last *FLAGS variable, or
9613 # (2) before a word containing "conftest.", or (3) at the end.
9614 # Note that $ac_compile itself does not contain backslashes and begins
9615 # with a dollar sign (not a hyphen), so the echo should work correctly.
9616 lt_compile
=`echo "$ac_compile" | $SED \
9617 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9618 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9619 -e 's:$: $lt_compiler_flag:'`
9620 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9621 (eval "$lt_compile" 2>out
/conftest.err
)
9623 cat out
/conftest.err
>&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9627 # The compiler can only warn and ignore the option if not recognized
9628 # So say no if there are warnings
9629 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9630 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9631 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9632 lt_cv_prog_compiler_c_o
=yes
9637 # SGI C++ compiler will create directory out/ii_files/ for
9638 # template instantiation
9639 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9640 $RM out
/* && rmdir out
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9647 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9652 hard_links
="nottested"
9653 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9654 # do not overwrite the value of need_locks provided by the user
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9656 $as_echo_n "checking if we can lock with hard links... " >&6; }
9659 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9661 ln conftest.a conftest.b
2>&5 || hard_links
=no
9662 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9664 $as_echo "$hard_links" >&6; }
9665 if test "$hard_links" = no
; then
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9667 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9680 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9683 allow_undefined_flag
=
9684 always_export_symbols
=no
9686 archive_expsym_cmds
=
9687 compiler_needs_object
=no
9688 enable_shared_with_static_runtimes
=no
9689 export_dynamic_flag_spec
=
9690 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9691 hardcode_automatic
=no
9693 hardcode_direct_absolute
=no
9694 hardcode_libdir_flag_spec
=
9695 hardcode_libdir_separator
=
9697 hardcode_shlibpath_var
=unsupported
9699 link_all_deplibs
=unknown
9702 old_archive_from_new_cmds
=
9703 old_archive_from_expsyms_cmds
=
9704 thread_safe_flag_spec
=
9705 whole_archive_flag_spec
=
9706 # include_expsyms should be a list of space-separated symbols to be *always*
9707 # included in the symbol list
9709 # exclude_expsyms can be an extended regexp of symbols to exclude
9710 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9711 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9712 # as well as any symbol that contains `d'.
9713 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9714 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9715 # platforms (ab)use it in PIC code, but their linkers get confused if
9716 # the symbol is explicitly referenced. Since portable code cannot
9717 # rely on this symbol name, it's probably fine to never include it in
9718 # preloaded symbol tables.
9719 # Exclude shared library initialization/finalization symbols.
9720 extract_expsyms_cmds
=
9723 cygwin
* | mingw
* | pw32
* | cegcc
*)
9724 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9725 # When not using gcc, we currently assume that we are using
9726 # Microsoft Visual C++.
9727 if test "$GCC" != yes; then
9732 # we just hope/assume this is gcc and not c89 (= MSVC++)
9742 # On some targets, GNU ld is compatible enough with the native linker
9743 # that we're better off using the native interface for both.
9744 lt_use_gnu_ld_interface
=no
9745 if test "$with_gnu_ld" = yes; then
9748 # The AIX port of GNU ld has always aspired to compatibility
9749 # with the native linker. However, as the warning in the GNU ld
9750 # block says, versions before 2.19.5* couldn't really create working
9751 # shared libraries, regardless of the interface used.
9752 case `$LD -v 2>&1` in
9753 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9754 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9755 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9757 lt_use_gnu_ld_interface
=yes
9762 lt_use_gnu_ld_interface
=yes
9767 if test "$lt_use_gnu_ld_interface" = yes; then
9768 # If archive_cmds runs LD, not CC, wlarc should be empty
9771 # Set some defaults for GNU ld with shared library support. These
9772 # are reset later if shared libraries are not supported. Putting them
9773 # here allows them to be overridden if necessary.
9774 runpath_var
=LD_RUN_PATH
9775 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9776 export_dynamic_flag_spec
='${wl}--export-dynamic'
9777 # ancient GNU ld didn't support --whole-archive et. al.
9778 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9779 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9781 whole_archive_flag_spec
=
9783 supports_anon_versioning
=no
9784 case `$LD -v 2>&1` in
9785 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9786 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9787 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9788 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9789 *\
2.11.
*) ;; # other 2.11 versions
9790 *) supports_anon_versioning
=yes ;;
9793 # See if GNU ld supports shared libraries.
9796 # On AIX/PPC, the GNU linker is very broken
9797 if test "$host_cpu" != ia64
; then
9801 *** Warning: the GNU linker, at least up to release 2.19, is reported
9802 *** to be unable to reliably create shared libraries on AIX.
9803 *** Therefore, libtool is disabling shared libraries support. If you
9804 *** really care for shared libraries, you may want to install binutils
9805 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9806 *** You will then need to restart the configuration process.
9815 # see comment about AmigaOS4 .so support
9816 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9817 archive_expsym_cmds
=''
9820 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)'
9821 hardcode_libdir_flag_spec
='-L$libdir'
9822 hardcode_minus_L
=yes
9828 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9829 allow_undefined_flag
=unsupported
9830 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9831 # support --undefined. This deserves some investigation. FIXME
9832 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9838 cygwin
* | mingw
* | pw32
* | cegcc
*)
9839 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9840 # as there is no search path for DLLs.
9841 hardcode_libdir_flag_spec
='-L$libdir'
9842 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9843 allow_undefined_flag
=unsupported
9844 always_export_symbols
=no
9845 enable_shared_with_static_runtimes
=yes
9846 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'
9847 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9849 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9850 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9851 # If the export-symbols file already is a .def file (1st line
9852 # is EXPORTS), use it as is; otherwise, prepend...
9853 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9854 cp $export_symbols $output_objdir/$soname.def;
9856 echo EXPORTS > $output_objdir/$soname.def;
9857 cat $export_symbols >> $output_objdir/$soname.def;
9859 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9866 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9867 link_all_deplibs
=yes
9872 hardcode_shlibpath_var
=no
9873 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9874 export_dynamic_flag_spec
='${wl}-E'
9875 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9876 # Instead, shared libraries are loaded at an image base (0x10000000 by
9877 # default) and relocated if they conflict, which is a slow very memory
9878 # consuming and fragmenting process. To avoid this, we pick a random,
9879 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9880 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9881 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9882 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'
9885 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9887 if test "$host_os" = linux
-dietlibc; then
9888 case $cc_basename in
9889 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9892 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9893 && test "$tmp_diet" = no
9895 tmp_addflag
=' $pic_flag'
9896 tmp_sharedflag
='-shared'
9897 case $cc_basename,$host_cpu in
9898 pgcc
*) # Portland Group C compiler
9899 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'
9900 tmp_addflag
=' $pic_flag'
9902 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9903 # Portland Group f77 and f90 compilers
9904 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'
9905 tmp_addflag
=' $pic_flag -Mnomain' ;;
9906 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9907 tmp_addflag
=' -i_dynamic' ;;
9908 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9909 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9910 ifc
* | ifort
*) # Intel Fortran compiler
9911 tmp_addflag
=' -nofor_main' ;;
9912 lf95
*) # Lahey Fortran 8.1
9913 whole_archive_flag_spec
=
9914 tmp_sharedflag
='--shared' ;;
9915 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9916 tmp_sharedflag
='-qmkshrobj'
9918 nvcc
*) # Cuda Compiler Driver 2.2
9919 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'
9920 compiler_needs_object
=yes
9923 case `$CC -V 2>&1 | sed 5q` in
9924 *Sun\ C
*) # Sun C 5.9
9925 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'
9926 compiler_needs_object
=yes
9927 tmp_sharedflag
='-G' ;;
9928 *Sun\ F
*) # Sun Fortran 8.3
9929 tmp_sharedflag
='-G' ;;
9931 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9933 if test "x$supports_anon_versioning" = xyes
; then
9934 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9935 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9936 echo "local: *; };" >> $output_objdir/$libname.ver~
9937 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9940 case $cc_basename in
9941 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9942 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9943 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9944 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9945 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9946 if test "x$supports_anon_versioning" = xyes
; then
9947 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9948 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9949 echo "local: *; };" >> $output_objdir/$libname.ver~
9950 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9960 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9961 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9964 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9965 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9970 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9974 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9975 *** create shared libraries on Solaris systems. Therefore, libtool
9976 *** is disabling shared libraries support. We urge you to upgrade GNU
9977 *** binutils to release 2.9.1 or newer. Another option is to modify
9978 *** your PATH or compiler configuration so that the native linker is
9979 *** used, and then restart.
9982 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9983 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9984 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9990 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9991 case `$LD -v 2>&1` in
9992 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9996 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9997 *** reliably create shared libraries on SCO systems. Therefore, libtool
9998 *** is disabling shared libraries support. We urge you to upgrade GNU
9999 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10000 *** your PATH or compiler configuration so that the native linker is
10001 *** used, and then restart.
10006 # For security reasons, it is highly recommended that you always
10007 # use absolute paths for naming shared libraries, and exclude the
10008 # DT_RUNPATH tag from executables and libraries. But doing so
10009 # requires that you compile everything twice, which is a pain.
10010 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10011 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10012 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10013 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10022 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_direct
=yes
10025 hardcode_shlibpath_var
=no
10029 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10030 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10031 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10038 if test "$ld_shlibs" = no
; then
10040 hardcode_libdir_flag_spec
=
10041 export_dynamic_flag_spec
=
10042 whole_archive_flag_spec
=
10045 # PORTME fill in a description of your system's linker (not GNU ld)
10048 allow_undefined_flag
=unsupported
10049 always_export_symbols
=yes
10050 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'
10051 # Note: this linker hardcodes the directories in LIBPATH if there
10052 # are no directories specified by -L.
10053 hardcode_minus_L
=yes
10054 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10055 # Neither direct hardcoding nor static linking is supported with a
10057 hardcode_direct
=unsupported
10062 if test "$host_cpu" = ia64
; then
10063 # On IA64, the linker does run time linking by default, so we don't
10064 # have to do anything special.
10065 aix_use_runtimelinking
=no
10066 exp_sym_flag
='-Bexport'
10069 # If we're using GNU nm, then we don't want the "-C" option.
10070 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10071 # Also, AIX nm treats weak defined symbols like other global
10072 # defined symbols, whereas GNU nm marks them as "W".
10073 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10074 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'
10076 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'
10078 aix_use_runtimelinking
=no
10080 # Test if we are trying to use run time linking or normal
10081 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10082 # need to do runtime linking.
10083 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10084 for ld_flag
in $LDFLAGS; do
10085 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10086 aix_use_runtimelinking
=yes
10093 exp_sym_flag
='-bexport'
10094 no_entry_flag
='-bnoentry'
10097 # When large executables or shared objects are built, AIX ld can
10098 # have problems creating the table of contents. If linking a library
10099 # or program results in "error TOC overflow" add -mminimal-toc to
10100 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10101 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10104 hardcode_direct
=yes
10105 hardcode_direct_absolute
=yes
10106 hardcode_libdir_separator
=':'
10107 link_all_deplibs
=yes
10108 file_list_spec
='${wl}-f,'
10110 if test "$GCC" = yes; then
10111 case $host_os in aix4.
[012]|aix4.
[012].
*)
10112 # We only want to do this on AIX 4.2 and lower, the check
10113 # below for broken collect2 doesn't work under 4.3+
10114 collect2name
=`${CC} -print-prog-name=collect2`
10115 if test -f "$collect2name" &&
10116 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10118 # We have reworked collect2
10121 # We have old collect2
10122 hardcode_direct
=unsupported
10123 # It fails to find uninstalled libraries when the uninstalled
10124 # path is not listed in the libpath. Setting hardcode_minus_L
10125 # to unsupported forces relinking
10126 hardcode_minus_L
=yes
10127 hardcode_libdir_flag_spec
='-L$libdir'
10128 hardcode_libdir_separator
=
10132 shared_flag
='-shared'
10133 if test "$aix_use_runtimelinking" = yes; then
10134 shared_flag
="$shared_flag "'${wl}-G'
10138 if test "$host_cpu" = ia64
; then
10139 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10140 # chokes on -Wl,-G. The following line is correct:
10143 if test "$aix_use_runtimelinking" = yes; then
10144 shared_flag
='${wl}-G'
10146 shared_flag
='${wl}-bM:SRE'
10151 export_dynamic_flag_spec
='${wl}-bexpall'
10152 # It seems that -bexpall does not export symbols beginning with
10153 # underscore (_), so it is better to generate a list of symbols to export.
10154 always_export_symbols
=yes
10155 if test "$aix_use_runtimelinking" = yes; then
10156 # Warning - without using the other runtime loading flags (-brtl),
10157 # -berok will link without error, but may produce a broken library.
10158 allow_undefined_flag
='-berok'
10159 # Determine the default libpath from the value encoded in an
10160 # empty executable.
10161 if test "${lt_cv_aix_libpath+set}" = set; then
10162 aix_libpath
=$lt_cv_aix_libpath
10164 if ${lt_cv_aix_libpath_+:} false
; then :
10165 $as_echo_n "(cached) " >&6
10167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10178 if ac_fn_c_try_link
"$LINENO"; then :
10180 lt_aix_libpath_sed
='
10181 /Import File Strings/,/^$/ {
10183 s/^0 *\([^ ]*\) *$/\1/
10187 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10188 # Check for a 64-bit object if we didn't find anything.
10189 if test -z "$lt_cv_aix_libpath_"; then
10190 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10193 rm -f core conftest.err conftest.
$ac_objext \
10194 conftest
$ac_exeext conftest.
$ac_ext
10195 if test -z "$lt_cv_aix_libpath_"; then
10196 lt_cv_aix_libpath_
="/usr/lib:/lib"
10201 aix_libpath
=$lt_cv_aix_libpath_
10204 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10205 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"
10207 if test "$host_cpu" = ia64
; then
10208 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10209 allow_undefined_flag
="-z nodefs"
10210 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"
10212 # Determine the default libpath from the value encoded in an
10213 # empty executable.
10214 if test "${lt_cv_aix_libpath+set}" = set; then
10215 aix_libpath
=$lt_cv_aix_libpath
10217 if ${lt_cv_aix_libpath_+:} false
; then :
10218 $as_echo_n "(cached) " >&6
10220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10231 if ac_fn_c_try_link
"$LINENO"; then :
10233 lt_aix_libpath_sed
='
10234 /Import File Strings/,/^$/ {
10236 s/^0 *\([^ ]*\) *$/\1/
10240 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10241 # Check for a 64-bit object if we didn't find anything.
10242 if test -z "$lt_cv_aix_libpath_"; then
10243 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10246 rm -f core conftest.err conftest.
$ac_objext \
10247 conftest
$ac_exeext conftest.
$ac_ext
10248 if test -z "$lt_cv_aix_libpath_"; then
10249 lt_cv_aix_libpath_
="/usr/lib:/lib"
10254 aix_libpath
=$lt_cv_aix_libpath_
10257 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10258 # Warning - without using the other run time loading flags,
10259 # -berok will link without error, but may produce a broken library.
10260 no_undefined_flag
=' ${wl}-bernotok'
10261 allow_undefined_flag
=' ${wl}-berok'
10262 if test "$with_gnu_ld" = yes; then
10263 # We only use this code for GNU lds that support --whole-archive.
10264 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10266 # Exported symbols can be pulled into shared objects from archives
10267 whole_archive_flag_spec
='$convenience'
10269 archive_cmds_need_lc
=yes
10270 # This is similar to how AIX traditionally builds its shared libraries.
10271 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'
10279 # see comment about AmigaOS4 .so support
10280 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10281 archive_expsym_cmds
=''
10284 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)'
10285 hardcode_libdir_flag_spec
='-L$libdir'
10286 hardcode_minus_L
=yes
10292 export_dynamic_flag_spec
=-rdynamic
10295 cygwin
* | mingw
* | pw32
* | cegcc
*)
10296 # When not using gcc, we currently assume that we are using
10297 # Microsoft Visual C++.
10298 # hardcode_libdir_flag_spec is actually meaningless, as there is
10299 # no search path for DLLs.
10300 case $cc_basename in
10303 hardcode_libdir_flag_spec
=' '
10304 allow_undefined_flag
=unsupported
10305 always_export_symbols
=yes
10307 # Tell ltmain to make .lib files, not .a files.
10309 # Tell ltmain to make .dll files, not .so files.
10311 # FIXME: Setting linknames here is a bad hack.
10312 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10313 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10314 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10316 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10318 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10320 # The linker will not automatically build a static lib if we build a DLL.
10321 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10322 enable_shared_with_static_runtimes
=yes
10323 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10324 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10326 old_postinstall_cmds
='chmod 644 $oldlib'
10327 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10328 lt_tool_outputfile="@TOOL_OUTPUT@"~
10329 case $lt_outputfile in
10332 lt_outputfile="$lt_outputfile.exe"
10333 lt_tool_outputfile="$lt_tool_outputfile.exe"
10336 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10337 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10338 $RM "$lt_outputfile.manifest";
10342 # Assume MSVC wrapper
10343 hardcode_libdir_flag_spec
=' '
10344 allow_undefined_flag
=unsupported
10345 # Tell ltmain to make .lib files, not .a files.
10347 # Tell ltmain to make .dll files, not .so files.
10349 # FIXME: Setting linknames here is a bad hack.
10350 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10351 # The linker will automatically build a .lib file if we build a DLL.
10352 old_archive_from_new_cmds
='true'
10353 # FIXME: Should let the user specify the lib program.
10354 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10355 enable_shared_with_static_runtimes
=yes
10360 darwin
* | rhapsody
*)
10363 archive_cmds_need_lc
=no
10365 hardcode_automatic
=yes
10366 hardcode_shlibpath_var
=unsupported
10367 if test "$lt_cv_ld_force_load" = "yes"; then
10368 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\"`'
10371 whole_archive_flag_spec
=''
10373 link_all_deplibs
=yes
10374 allow_undefined_flag
="$_lt_dar_allow_undefined"
10375 case $cc_basename in
10376 ifort
*) _lt_dar_can_shared
=yes ;;
10377 *) _lt_dar_can_shared
=$GCC ;;
10379 if test "$_lt_dar_can_shared" = "yes"; then
10380 output_verbose_link_cmd
=func_echo_all
10381 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10382 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10383 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}"
10384 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}"
10393 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10394 hardcode_libdir_flag_spec
='-L$libdir'
10395 hardcode_shlibpath_var
=no
10398 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10399 # support. Future versions do this automatically, but an explicit c++rt0.o
10400 # does not break anything, and helps significantly (at the cost of a little
10403 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10404 hardcode_libdir_flag_spec
='-R$libdir'
10405 hardcode_direct
=yes
10406 hardcode_shlibpath_var
=no
10409 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10411 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10412 hardcode_direct
=yes
10413 hardcode_minus_L
=yes
10414 hardcode_shlibpath_var
=no
10417 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10418 freebsd
* | dragonfly
*)
10419 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10420 hardcode_libdir_flag_spec
='-R$libdir'
10421 hardcode_direct
=yes
10422 hardcode_shlibpath_var
=no
10426 if test "$GCC" = yes; then
10427 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'
10429 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'
10431 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10432 hardcode_libdir_separator
=:
10433 hardcode_direct
=yes
10435 # hardcode_minus_L: Not really in the search PATH,
10436 # but as the default location of the library.
10437 hardcode_minus_L
=yes
10438 export_dynamic_flag_spec
='${wl}-E'
10442 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10443 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10445 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10447 if test "$with_gnu_ld" = no
; then
10448 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10449 hardcode_libdir_separator
=:
10450 hardcode_direct
=yes
10451 hardcode_direct_absolute
=yes
10452 export_dynamic_flag_spec
='${wl}-E'
10453 # hardcode_minus_L: Not really in the search PATH,
10454 # but as the default location of the library.
10455 hardcode_minus_L
=yes
10460 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10463 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10466 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10469 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10478 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10482 # Older versions of the 11.00 compiler do not understand -b yet
10483 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10485 $as_echo_n "checking if $CC understands -b... " >&6; }
10486 if ${lt_cv_prog_compiler__b+:} false
; then :
10487 $as_echo_n "(cached) " >&6
10489 lt_cv_prog_compiler__b
=no
10490 save_LDFLAGS
="$LDFLAGS"
10491 LDFLAGS
="$LDFLAGS -b"
10492 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10493 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10494 # The linker can only warn and ignore the option if not recognized
10495 # So say no if there are warnings
10496 if test -s conftest.err
; then
10497 # Append any errors to the config.log.
10498 cat conftest.err
1>&5
10499 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10500 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10501 if diff conftest.exp conftest.er2
>/dev
/null
; then
10502 lt_cv_prog_compiler__b
=yes
10505 lt_cv_prog_compiler__b
=yes
10509 LDFLAGS
="$save_LDFLAGS"
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10513 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10515 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10516 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10518 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10524 if test "$with_gnu_ld" = no
; then
10525 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10526 hardcode_libdir_separator
=:
10531 hardcode_shlibpath_var
=no
10534 hardcode_direct
=yes
10535 hardcode_direct_absolute
=yes
10536 export_dynamic_flag_spec
='${wl}-E'
10538 # hardcode_minus_L: Not really in the search PATH,
10539 # but as the default location of the library.
10540 hardcode_minus_L
=yes
10546 irix5
* | irix6
* | nonstopux
*)
10547 if test "$GCC" = yes; then
10548 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'
10549 # Try to use the -exported_symbol ld option, if it does not
10550 # work, assume that -exports_file does not work either and
10551 # implicitly export all symbols.
10552 # This should be the same for all languages, so no per-tag cache variable.
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10554 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10555 if ${lt_cv_irix_exported_symbol+:} false
; then :
10556 $as_echo_n "(cached) " >&6
10558 save_LDFLAGS
="$LDFLAGS"
10559 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10562 int foo (void) { return 0; }
10564 if ac_fn_c_try_link
"$LINENO"; then :
10565 lt_cv_irix_exported_symbol
=yes
10567 lt_cv_irix_exported_symbol
=no
10569 rm -f core conftest.err conftest.
$ac_objext \
10570 conftest
$ac_exeext conftest.
$ac_ext
10571 LDFLAGS
="$save_LDFLAGS"
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10574 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10575 if test "$lt_cv_irix_exported_symbol" = yes; then
10576 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'
10579 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'
10580 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'
10582 archive_cmds_need_lc
='no'
10583 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10584 hardcode_libdir_separator
=:
10586 link_all_deplibs
=yes
10590 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10591 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10593 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10595 hardcode_libdir_flag_spec
='-R$libdir'
10596 hardcode_direct
=yes
10597 hardcode_shlibpath_var
=no
10601 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10602 hardcode_direct
=yes
10603 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10604 hardcode_libdir_separator
=:
10605 hardcode_shlibpath_var
=no
10612 if test -f /usr
/libexec
/ld.so
; then
10613 hardcode_direct
=yes
10614 hardcode_shlibpath_var
=no
10615 hardcode_direct_absolute
=yes
10616 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10617 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10618 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10619 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10620 export_dynamic_flag_spec
='${wl}-E'
10623 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10624 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10625 hardcode_libdir_flag_spec
='-R$libdir'
10628 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10629 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10639 hardcode_libdir_flag_spec
='-L$libdir'
10640 hardcode_minus_L
=yes
10641 allow_undefined_flag
=unsupported
10642 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'
10643 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10647 if test "$GCC" = yes; then
10648 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10649 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'
10651 allow_undefined_flag
=' -expect_unresolved \*'
10652 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'
10654 archive_cmds_need_lc
='no'
10655 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10656 hardcode_libdir_separator
=:
10659 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10660 if test "$GCC" = yes; then
10661 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10662 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'
10663 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10665 allow_undefined_flag
=' -expect_unresolved \*'
10666 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'
10667 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~
10668 $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'
10670 # Both c and cxx compiler support -rpath directly
10671 hardcode_libdir_flag_spec
='-rpath $libdir'
10673 archive_cmds_need_lc
='no'
10674 hardcode_libdir_separator
=:
10678 no_undefined_flag
=' -z defs'
10679 if test "$GCC" = yes; then
10681 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10682 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10683 $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'
10685 case `$CC -V 2>&1` in
10688 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10689 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10690 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10694 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10695 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10696 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10700 hardcode_libdir_flag_spec
='-R$libdir'
10701 hardcode_shlibpath_var
=no
10703 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10705 # The compiler driver will combine and reorder linker options,
10706 # but understands `-z linker_flag'. GCC discards it without `$wl',
10707 # but is careful enough not to reorder.
10708 # Supported since Solaris 2.6 (maybe 2.5.1?)
10709 if test "$GCC" = yes; then
10710 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10712 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10716 link_all_deplibs
=yes
10720 if test "x$host_vendor" = xsequent
; then
10721 # Use $CC to link under sequent, because it throws in some extra .o
10722 # files that make .init and .fini sections work.
10723 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10725 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10727 hardcode_libdir_flag_spec
='-L$libdir'
10728 hardcode_direct
=yes
10729 hardcode_minus_L
=yes
10730 hardcode_shlibpath_var
=no
10734 case $host_vendor in
10736 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10737 hardcode_direct
=yes # is this really true???
10740 ## LD is ld it makes a PLAMLIB
10741 ## CC just makes a GrossModule.
10742 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10743 reload_cmds
='$CC -r -o $output$reload_objs'
10747 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10748 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10751 runpath_var
='LD_RUN_PATH'
10752 hardcode_shlibpath_var
=no
10756 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10757 hardcode_shlibpath_var
=no
10758 export_dynamic_flag_spec
='-Bexport'
10762 if test -d /usr
/nec
; then
10763 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10764 hardcode_shlibpath_var
=no
10765 runpath_var
=LD_RUN_PATH
10766 hardcode_runpath_var
=yes
10771 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10772 no_undefined_flag
='${wl}-z,text'
10773 archive_cmds_need_lc
=no
10774 hardcode_shlibpath_var
=no
10775 runpath_var
='LD_RUN_PATH'
10777 if test "$GCC" = yes; then
10778 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10781 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10782 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10786 sysv5
* | sco3.2v5
* | sco5v6
*)
10787 # Note: We can NOT use -z defs as we might desire, because we do not
10788 # link with -lc, and that would cause any symbols used from libc to
10789 # always be unresolved, which means just about no library would
10790 # ever link correctly. If we're not using GNU ld we use -z text
10791 # though, which does catch some bad symbols but isn't as heavy-handed
10793 no_undefined_flag
='${wl}-z,text'
10794 allow_undefined_flag
='${wl}-z,nodefs'
10795 archive_cmds_need_lc
=no
10796 hardcode_shlibpath_var
=no
10797 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10798 hardcode_libdir_separator
=':'
10799 link_all_deplibs
=yes
10800 export_dynamic_flag_spec
='${wl}-Bexport'
10801 runpath_var
='LD_RUN_PATH'
10803 if test "$GCC" = yes; then
10804 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10805 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10807 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10808 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10813 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10814 hardcode_libdir_flag_spec
='-L$libdir'
10815 hardcode_shlibpath_var
=no
10823 if test x
$host_vendor = xsni
; then
10825 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10826 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10833 $as_echo "$ld_shlibs" >&6; }
10834 test "$ld_shlibs" = no
&& can_build_shared
=no
10836 with_gnu_ld
=$with_gnu_ld
10853 # Do we need to explicitly link libc?
10855 case "x$archive_cmds_need_lc" in
10857 # Assume -lc should be added
10858 archive_cmds_need_lc
=yes
10860 if test "$enable_shared" = yes && test "$GCC" = yes; then
10861 case $archive_cmds in
10863 # FIXME: we may have to deal with multi-command sequences.
10866 # Test whether the compiler implicitly links with -lc since on some
10867 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10868 # to ld, don't add -lc before -lgcc.
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10870 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10871 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10872 $as_echo_n "(cached) " >&6
10875 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10878 (eval $ac_compile) 2>&5
10880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10881 test $ac_status = 0; } 2>conftest.err
; then
10884 libobjs
=conftest.
$ac_objext
10886 wl
=$lt_prog_compiler_wl
10887 pic_flag
=$lt_prog_compiler_pic
10893 lt_save_allow_undefined_flag
=$allow_undefined_flag
10894 allow_undefined_flag
=
10895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10896 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10899 test $ac_status = 0; }
10901 lt_cv_archive_cmds_need_lc
=no
10903 lt_cv_archive_cmds_need_lc
=yes
10905 allow_undefined_flag
=$lt_save_allow_undefined_flag
10907 cat conftest.err
1>&5
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10913 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10914 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11073 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11075 if test "$GCC" = yes; then
11077 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11078 *) lt_awk_arg
="/^libraries:/" ;;
11081 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11082 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11084 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11085 case $lt_search_path_spec in
11087 # if the path contains ";" then we assume it to be the separator
11088 # otherwise default to the standard path separator (i.e. ":") - it is
11089 # assumed that no part of a normal pathname contains ";" but that should
11090 # okay in the real world where ";" in dirpaths is itself problematic.
11091 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11094 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11097 # Ok, now we have the path, separated by spaces, we can step through it
11098 # and add multilib dir if necessary.
11099 lt_tmp_lt_search_path_spec
=
11100 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11101 for lt_sys_path
in $lt_search_path_spec; do
11102 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11103 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11105 test -d "$lt_sys_path" && \
11106 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11109 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11110 BEGIN {RS=" "; FS="/|\n";} {
11113 for (lt_i = NF; lt_i > 0; lt_i--) {
11114 if ($lt_i != "" && $lt_i != ".") {
11115 if ($lt_i == "..") {
11118 if (lt_count == 0) {
11119 lt_foo="/" $lt_i lt_foo;
11126 if (lt_foo != "") { lt_freq[lt_foo]++; }
11127 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11129 # AWK program above erroneously prepends '/' to C:/dos/paths
11132 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11133 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11135 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11137 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11139 library_names_spec
=
11140 libname_spec
='lib$name'
11144 postuninstall_cmds
=
11148 shlibpath_overrides_runpath
=unknown
11150 dynamic_linker
="$host_os ld.so"
11151 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11152 need_lib_prefix
=unknown
11153 hardcode_into_libs
=no
11155 # when you set need_version to no, make sure it does not cause -set_version
11156 # flags to be left without arguments
11157 need_version
=unknown
11161 version_type
=linux
# correct to gnu/linux during the next big refactor
11162 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11163 shlibpath_var
=LIBPATH
11165 # AIX 3 has no versioning support, so we append a major version to the name.
11166 soname_spec
='${libname}${release}${shared_ext}$major'
11170 version_type
=linux
# correct to gnu/linux during the next big refactor
11173 hardcode_into_libs
=yes
11174 if test "$host_cpu" = ia64
; then
11175 # AIX 5 supports IA64
11176 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11177 shlibpath_var
=LD_LIBRARY_PATH
11179 # With GCC up to 2.95.x, collect2 would create an import file
11180 # for dependence libraries. The import file would start with
11181 # the line `#! .'. This would cause the generated library to
11182 # depend on `.', always an invalid library. This was fixed in
11183 # development snapshots of GCC prior to 3.0.
11185 aix4
| aix4.
[01] | aix4.
[01].
*)
11186 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11188 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11191 can_build_shared
=no
11195 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11196 # soname into executable. Probably we can add versioning support to
11197 # collect2, so additional links can be useful in future.
11198 if test "$aix_use_runtimelinking" = yes; then
11199 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11200 # instead of lib<name>.a to let people know that these are not
11201 # typical AIX shared libraries.
11202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11204 # We preserve .a as extension for shared libraries through AIX4.2
11205 # and later when we are not doing run time linking.
11206 library_names_spec
='${libname}${release}.a $libname.a'
11207 soname_spec
='${libname}${release}${shared_ext}$major'
11209 shlibpath_var
=LIBPATH
11216 # Since July 2007 AmigaOS4 officially supports .so libraries.
11217 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11221 library_names_spec
='$libname.ixlibrary $libname.a'
11222 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11223 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'
11229 library_names_spec
='${libname}${shared_ext}'
11230 dynamic_linker
="$host_os ld.so"
11231 shlibpath_var
=LIBRARY_PATH
11235 version_type
=linux
# correct to gnu/linux during the next big refactor
11237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11238 soname_spec
='${libname}${release}${shared_ext}$major'
11239 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11240 shlibpath_var
=LD_LIBRARY_PATH
11241 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11242 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11243 # the default ld.so.conf also contains /usr/contrib/lib and
11244 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11245 # libtool to hard-code these into programs
11248 cygwin
* | mingw
* | pw32
* | cegcc
*)
11249 version_type
=windows
11254 case $GCC,$cc_basename in
11257 library_names_spec
='$libname.dll.a'
11258 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11259 postinstall_cmds
='base_file=`basename \${file}`~
11260 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11261 dldir=$destdir/`dirname \$dlpath`~
11262 test -d \$dldir || mkdir -p \$dldir~
11263 $install_prog $dir/$dlname \$dldir/$dlname~
11264 chmod a+x \$dldir/$dlname~
11265 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11266 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11268 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11269 dlpath=$dir/\$dldll~
11271 shlibpath_overrides_runpath
=yes
11275 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11276 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11278 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11281 # MinGW DLLs use traditional 'lib' prefix
11282 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11285 # pw32 DLLs use 'pw' prefix rather than 'lib'
11286 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11289 dynamic_linker
='Win32 ld.exe'
11294 libname_spec
='$name'
11295 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11296 library_names_spec
='${libname}.dll.lib'
11300 sys_lib_search_path_spec
=
11303 for lt_path
in $LIB
11306 # Let DOS variable expansion print the short 8.3 style file name.
11307 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11308 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11311 # Convert to MSYS style.
11312 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11315 # Convert to unix form, then to dos form, then back to unix form
11316 # but this time dos style (no spaces!) so that the unix form looks
11317 # like /cygdrive/c/PROGRA~1:/cygdr...
11318 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11319 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11320 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11323 sys_lib_search_path_spec
="$LIB"
11324 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11325 # It is most probably a Windows format PATH.
11326 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11328 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11330 # FIXME: find the short name or the path components, as spaces are
11331 # common. (e.g. "Program Files" -> "PROGRA~1")
11335 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11336 postinstall_cmds
='base_file=`basename \${file}`~
11337 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11338 dldir=$destdir/`dirname \$dlpath`~
11339 test -d \$dldir || mkdir -p \$dldir~
11340 $install_prog $dir/$dlname \$dldir/$dlname'
11341 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11342 dlpath=$dir/\$dldll~
11344 shlibpath_overrides_runpath
=yes
11345 dynamic_linker
='Win32 link.exe'
11349 # Assume MSVC wrapper
11350 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11351 dynamic_linker
='Win32 ld.exe'
11354 # FIXME: first we should search . and the directory the executable is in
11358 darwin
* | rhapsody
*)
11359 dynamic_linker
="$host_os dyld"
11360 version_type
=darwin
11363 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11364 soname_spec
='${libname}${release}${major}$shared_ext'
11365 shlibpath_overrides_runpath
=yes
11366 shlibpath_var
=DYLD_LIBRARY_PATH
11367 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11369 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11370 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11374 version_type
=linux
# correct to gnu/linux during the next big refactor
11377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11378 soname_spec
='${libname}${release}${shared_ext}$major'
11379 shlibpath_var
=LD_LIBRARY_PATH
11382 freebsd
* | dragonfly
*)
11383 # DragonFly does not have aout. When/if they implement a new
11384 # versioning mechanism, adjust this.
11385 if test -x /usr
/bin
/objformat
; then
11386 objformat
=`/usr/bin/objformat`
11389 freebsd
[23].
*) objformat
=aout
;;
11390 *) objformat
=elf
;;
11393 version_type
=freebsd
-$objformat
11394 case $version_type in
11396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11401 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11405 shlibpath_var
=LD_LIBRARY_PATH
11408 shlibpath_overrides_runpath
=yes
11410 freebsd3.
[01]* | freebsdelf3.
[01]*)
11411 shlibpath_overrides_runpath
=yes
11412 hardcode_into_libs
=yes
11414 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11415 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11416 shlibpath_overrides_runpath
=no
11417 hardcode_into_libs
=yes
11419 *) # from 4.6 on, and DragonFly
11420 shlibpath_overrides_runpath
=yes
11421 hardcode_into_libs
=yes
11427 version_type
=linux
# correct to gnu/linux during the next big refactor
11430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11431 soname_spec
='${libname}${release}${shared_ext}$major'
11432 shlibpath_var
=LD_LIBRARY_PATH
11433 shlibpath_overrides_runpath
=no
11434 hardcode_into_libs
=yes
11438 version_type
=linux
# correct to gnu/linux during the next big refactor
11441 dynamic_linker
="$host_os runtime_loader"
11442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11443 soname_spec
='${libname}${release}${shared_ext}$major'
11444 shlibpath_var
=LIBRARY_PATH
11445 shlibpath_overrides_runpath
=yes
11446 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11447 hardcode_into_libs
=yes
11450 hpux9
* | hpux10
* | hpux11
*)
11451 # Give a soname corresponding to the major version so that dld.sl refuses to
11452 # link against other versions.
11459 hardcode_into_libs
=yes
11460 dynamic_linker
="$host_os dld.so"
11461 shlibpath_var
=LD_LIBRARY_PATH
11462 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11464 soname_spec
='${libname}${release}${shared_ext}$major'
11465 if test "X$HPUX_IA64_MODE" = X32
; then
11466 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11468 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11470 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11474 hardcode_into_libs
=yes
11475 dynamic_linker
="$host_os dld.sl"
11476 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11477 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11479 soname_spec
='${libname}${release}${shared_ext}$major'
11480 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11481 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11485 dynamic_linker
="$host_os dld.sl"
11486 shlibpath_var
=SHLIB_PATH
11487 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 soname_spec
='${libname}${release}${shared_ext}$major'
11492 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11493 postinstall_cmds
='chmod 555 $lib'
11494 # or fails outright, so override atomically:
11495 install_override_mode
=555
11499 version_type
=linux
# correct to gnu/linux during the next big refactor
11502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11503 soname_spec
='${libname}${release}${shared_ext}$major'
11504 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11505 shlibpath_var
=LD_LIBRARY_PATH
11506 shlibpath_overrides_runpath
=no
11507 hardcode_into_libs
=yes
11510 irix5
* | irix6
* | nonstopux
*)
11512 nonstopux
*) version_type
=nonstopux
;;
11514 if test "$lt_cv_prog_gnu_ld" = yes; then
11515 version_type
=linux
# correct to gnu/linux during the next big refactor
11522 soname_spec
='${libname}${release}${shared_ext}$major'
11523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11525 irix5
* | nonstopux
*)
11526 libsuff
= shlibsuff
=
11529 case $LD in # libtool.m4 will add one of these switches to LD
11530 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11531 libsuff
= shlibsuff
= libmagic
=32-bit;;
11532 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11533 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11534 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11535 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11536 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11540 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11541 shlibpath_overrides_runpath
=no
11542 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11543 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11544 hardcode_into_libs
=yes
11547 # No shared lib support for Linux oldld, aout, or coff.
11548 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11552 # This must be glibc/ELF.
11553 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11554 version_type
=linux
# correct to gnu/linux during the next big refactor
11557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11558 soname_spec
='${libname}${release}${shared_ext}$major'
11559 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11560 shlibpath_var
=LD_LIBRARY_PATH
11561 shlibpath_overrides_runpath
=no
11563 # Some binutils ld are patched to set DT_RUNPATH
11564 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11565 $as_echo_n "(cached) " >&6
11567 lt_cv_shlibpath_overrides_runpath
=no
11568 save_LDFLAGS
=$LDFLAGS
11569 save_libdir
=$libdir
11570 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11571 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11583 if ac_fn_c_try_link
"$LINENO"; then :
11584 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11585 lt_cv_shlibpath_overrides_runpath
=yes
11588 rm -f core conftest.err conftest.
$ac_objext \
11589 conftest
$ac_exeext conftest.
$ac_ext
11590 LDFLAGS
=$save_LDFLAGS
11591 libdir
=$save_libdir
11595 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11597 # This implies no fast_install, which is unacceptable.
11598 # Some rework will be needed to allow for fast_install
11599 # before this can be enabled.
11600 hardcode_into_libs
=yes
11602 # Append ld.so.conf contents to the search path
11603 if test -f /etc
/ld.so.conf
; then
11604 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' ' '`
11605 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11608 # We used to test for /lib/ld.so.1 and disable shared libraries on
11609 # powerpc, because MkLinux only supported shared libraries with the
11610 # GNU dynamic linker. Since this was broken with cross compilers,
11611 # most powerpc-linux boxes support dynamic linking these days and
11612 # people can always --disable-shared, the test was removed, and we
11613 # assume the GNU/Linux dynamic linker is in use.
11614 dynamic_linker
='GNU/Linux ld.so'
11621 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11622 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11623 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11624 dynamic_linker
='NetBSD (a.out) ld.so'
11626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11627 soname_spec
='${libname}${release}${shared_ext}$major'
11628 dynamic_linker
='NetBSD ld.elf_so'
11630 shlibpath_var
=LD_LIBRARY_PATH
11631 shlibpath_overrides_runpath
=yes
11632 hardcode_into_libs
=yes
11636 version_type
=linux
# correct to gnu/linux during the next big refactor
11637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11638 shlibpath_var
=LD_LIBRARY_PATH
11639 shlibpath_overrides_runpath
=yes
11646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647 soname_spec
='${libname}${release}${shared_ext}$major'
11648 shlibpath_var
=LD_LIBRARY_PATH
11649 shlibpath_overrides_runpath
=no
11650 hardcode_into_libs
=yes
11651 dynamic_linker
='ldqnx.so'
11656 sys_lib_dlsearch_path_spec
="/usr/lib"
11658 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11660 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11661 *) need_version
=no
;;
11663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11664 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11665 shlibpath_var
=LD_LIBRARY_PATH
11666 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11668 openbsd2.
[89] | openbsd2.
[89].
*)
11669 shlibpath_overrides_runpath
=no
11672 shlibpath_overrides_runpath
=yes
11676 shlibpath_overrides_runpath
=yes
11681 libname_spec
='$name'
11684 library_names_spec
='$libname${shared_ext} $libname.a'
11685 dynamic_linker
='OS/2 ld.exe'
11686 shlibpath_var
=LIBPATH
11689 osf3
* | osf4
* | osf5
*)
11693 soname_spec
='${libname}${release}${shared_ext}$major'
11694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11695 shlibpath_var
=LD_LIBRARY_PATH
11696 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11697 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11705 version_type
=linux
# correct to gnu/linux during the next big refactor
11708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11709 soname_spec
='${libname}${release}${shared_ext}$major'
11710 shlibpath_var
=LD_LIBRARY_PATH
11711 shlibpath_overrides_runpath
=yes
11712 hardcode_into_libs
=yes
11713 # ldd complains unless libraries are executable
11714 postinstall_cmds
='chmod +x $lib'
11719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11720 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11721 shlibpath_var
=LD_LIBRARY_PATH
11722 shlibpath_overrides_runpath
=yes
11723 if test "$with_gnu_ld" = yes; then
11730 version_type
=linux
# correct to gnu/linux during the next big refactor
11731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11732 soname_spec
='${libname}${release}${shared_ext}$major'
11733 shlibpath_var
=LD_LIBRARY_PATH
11734 case $host_vendor in
11736 shlibpath_overrides_runpath
=no
11738 runpath_var
=LD_RUN_PATH
11746 shlibpath_overrides_runpath
=no
11747 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11753 if test -d /usr
/nec
;then
11754 version_type
=linux
# correct to gnu/linux during the next big refactor
11755 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11756 soname_spec
='$libname${shared_ext}.$major'
11757 shlibpath_var
=LD_LIBRARY_PATH
11761 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11762 version_type
=freebsd
-elf
11765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11766 soname_spec
='${libname}${release}${shared_ext}$major'
11767 shlibpath_var
=LD_LIBRARY_PATH
11768 shlibpath_overrides_runpath
=yes
11769 hardcode_into_libs
=yes
11770 if test "$with_gnu_ld" = yes; then
11771 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11773 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11776 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11780 sys_lib_dlsearch_path_spec
='/usr/lib'
11784 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11785 version_type
=linux
# correct to gnu/linux during the next big refactor
11788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11789 shlibpath_var
=LD_LIBRARY_PATH
11790 shlibpath_overrides_runpath
=no
11791 hardcode_into_libs
=yes
11795 version_type
=linux
# correct to gnu/linux during the next big refactor
11796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11797 soname_spec
='${libname}${release}${shared_ext}$major'
11798 shlibpath_var
=LD_LIBRARY_PATH
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11806 $as_echo "$dynamic_linker" >&6; }
11807 test "$dynamic_linker" = no
&& can_build_shared
=no
11809 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11810 if test "$GCC" = yes; then
11811 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11814 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11815 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11817 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11818 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11913 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11915 if test -n "$hardcode_libdir_flag_spec" ||
11916 test -n "$runpath_var" ||
11917 test "X$hardcode_automatic" = "Xyes" ; then
11919 # We can hardcode non-existent directories.
11920 if test "$hardcode_direct" != no
&&
11921 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11922 # have to relink, otherwise we might link with an installed library
11923 # when we should be linking with a yet-to-be-installed one
11924 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11925 test "$hardcode_minus_L" != no
; then
11926 # Linking always hardcodes the temporary library directory.
11927 hardcode_action
=relink
11929 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11930 hardcode_action
=immediate
11933 # We cannot hardcode anything, or else we can only hardcode existing
11935 hardcode_action
=unsupported
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11938 $as_echo "$hardcode_action" >&6; }
11940 if test "$hardcode_action" = relink
||
11941 test "$inherit_rpath" = yes; then
11942 # Fast installation is not supported
11943 enable_fast_install
=no
11944 elif test "$shlibpath_overrides_runpath" = yes ||
11945 test "$enable_shared" = no
; then
11946 # Fast installation is not necessary
11947 enable_fast_install
=needless
11955 if test "x$enable_dlopen" != xyes
; then
11956 enable_dlopen
=unknown
11957 enable_dlopen_self
=unknown
11958 enable_dlopen_self_static
=unknown
11965 lt_cv_dlopen
="load_add_on"
11967 lt_cv_dlopen_self
=yes
11970 mingw
* | pw32
* | cegcc
*)
11971 lt_cv_dlopen
="LoadLibrary"
11976 lt_cv_dlopen
="dlopen"
11981 # if libdl is installed we need to link against it
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11983 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11984 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11985 $as_echo_n "(cached) " >&6
11987 ac_check_lib_save_LIBS
=$LIBS
11989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
12007 if ac_fn_c_try_link
"$LINENO"; then :
12008 ac_cv_lib_dl_dlopen
=yes
12010 ac_cv_lib_dl_dlopen
=no
12012 rm -f core conftest.err conftest.
$ac_objext \
12013 conftest
$ac_exeext conftest.
$ac_ext
12014 LIBS
=$ac_check_lib_save_LIBS
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12017 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12018 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12019 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12022 lt_cv_dlopen
="dyld"
12024 lt_cv_dlopen_self
=yes
12031 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12032 if test "x$ac_cv_func_shl_load" = xyes
; then :
12033 lt_cv_dlopen
="shl_load"
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12036 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12037 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12038 $as_echo_n "(cached) " >&6
12040 ac_check_lib_save_LIBS
=$LIBS
12042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12045 /* Override any GCC internal prototype to avoid an error.
12046 Use char because int might match the return type of a GCC
12047 builtin and then its argument prototype would still apply. */
12055 return shl_load ();
12060 if ac_fn_c_try_link
"$LINENO"; then :
12061 ac_cv_lib_dld_shl_load
=yes
12063 ac_cv_lib_dld_shl_load
=no
12065 rm -f core conftest.err conftest.
$ac_objext \
12066 conftest
$ac_exeext conftest.
$ac_ext
12067 LIBS
=$ac_check_lib_save_LIBS
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12070 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12071 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12072 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12074 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12075 if test "x$ac_cv_func_dlopen" = xyes
; then :
12076 lt_cv_dlopen
="dlopen"
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12079 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12080 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12081 $as_echo_n "(cached) " >&6
12083 ac_check_lib_save_LIBS
=$LIBS
12085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12088 /* Override any GCC internal prototype to avoid an error.
12089 Use char because int might match the return type of a GCC
12090 builtin and then its argument prototype would still apply. */
12103 if ac_fn_c_try_link
"$LINENO"; then :
12104 ac_cv_lib_dl_dlopen
=yes
12106 ac_cv_lib_dl_dlopen
=no
12108 rm -f core conftest.err conftest.
$ac_objext \
12109 conftest
$ac_exeext conftest.
$ac_ext
12110 LIBS
=$ac_check_lib_save_LIBS
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12113 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12114 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12115 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12118 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12119 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12120 $as_echo_n "(cached) " >&6
12122 ac_check_lib_save_LIBS
=$LIBS
12123 LIBS
="-lsvld $LIBS"
12124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12142 if ac_fn_c_try_link
"$LINENO"; then :
12143 ac_cv_lib_svld_dlopen
=yes
12145 ac_cv_lib_svld_dlopen
=no
12147 rm -f core conftest.err conftest.
$ac_objext \
12148 conftest
$ac_exeext conftest.
$ac_ext
12149 LIBS
=$ac_check_lib_save_LIBS
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12152 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12153 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12154 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12157 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12158 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12159 $as_echo_n "(cached) " >&6
12161 ac_check_lib_save_LIBS
=$LIBS
12163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12176 return dld_link ();
12181 if ac_fn_c_try_link
"$LINENO"; then :
12182 ac_cv_lib_dld_dld_link
=yes
12184 ac_cv_lib_dld_dld_link
=no
12186 rm -f core conftest.err conftest.
$ac_objext \
12187 conftest
$ac_exeext conftest.
$ac_ext
12188 LIBS
=$ac_check_lib_save_LIBS
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12191 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12192 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12193 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12214 if test "x$lt_cv_dlopen" != xno
; then
12220 case $lt_cv_dlopen in
12222 save_CPPFLAGS
="$CPPFLAGS"
12223 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12225 save_LDFLAGS
="$LDFLAGS"
12226 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12229 LIBS
="$lt_cv_dlopen_libs $LIBS"
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12232 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12233 if ${lt_cv_dlopen_self+:} false
; then :
12234 $as_echo_n "(cached) " >&6
12236 if test "$cross_compiling" = yes; then :
12237 lt_cv_dlopen_self
=cross
12239 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12240 lt_status
=$lt_dlunknown
12241 cat > conftest.
$ac_ext <<_LT_EOF
12242 #line $LINENO "configure"
12243 #include "confdefs.h"
12252 # define LT_DLGLOBAL RTLD_GLOBAL
12255 # define LT_DLGLOBAL DL_GLOBAL
12257 # define LT_DLGLOBAL 0
12261 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12262 find out it does not work in some platform. */
12263 #ifndef LT_DLLAZY_OR_NOW
12265 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12268 # define LT_DLLAZY_OR_NOW DL_LAZY
12271 # define LT_DLLAZY_OR_NOW RTLD_NOW
12274 # define LT_DLLAZY_OR_NOW DL_NOW
12276 # define LT_DLLAZY_OR_NOW 0
12283 /* When -fvisbility=hidden is used, assume the code has been annotated
12284 correspondingly for the symbols needed. */
12285 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12286 int fnord () __attribute__((visibility("default")));
12289 int fnord () { return 42; }
12292 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12293 int status = $lt_dlunknown;
12297 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12300 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12301 else puts (dlerror ());
12303 /* dlclose (self); */
12311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12312 (eval $ac_link) 2>&5
12314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12315 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12316 (.
/conftest
; exit; ) >&5 2>/dev
/null
12318 case x
$lt_status in
12319 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12320 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12321 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12324 # compilation failed
12325 lt_cv_dlopen_self
=no
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12333 $as_echo "$lt_cv_dlopen_self" >&6; }
12335 if test "x$lt_cv_dlopen_self" = xyes
; then
12336 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12338 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12339 if ${lt_cv_dlopen_self_static+:} false
; then :
12340 $as_echo_n "(cached) " >&6
12342 if test "$cross_compiling" = yes; then :
12343 lt_cv_dlopen_self_static
=cross
12345 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12346 lt_status
=$lt_dlunknown
12347 cat > conftest.
$ac_ext <<_LT_EOF
12348 #line $LINENO "configure"
12349 #include "confdefs.h"
12358 # define LT_DLGLOBAL RTLD_GLOBAL
12361 # define LT_DLGLOBAL DL_GLOBAL
12363 # define LT_DLGLOBAL 0
12367 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12368 find out it does not work in some platform. */
12369 #ifndef LT_DLLAZY_OR_NOW
12371 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12374 # define LT_DLLAZY_OR_NOW DL_LAZY
12377 # define LT_DLLAZY_OR_NOW RTLD_NOW
12380 # define LT_DLLAZY_OR_NOW DL_NOW
12382 # define LT_DLLAZY_OR_NOW 0
12389 /* When -fvisbility=hidden is used, assume the code has been annotated
12390 correspondingly for the symbols needed. */
12391 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12392 int fnord () __attribute__((visibility("default")));
12395 int fnord () { return 42; }
12398 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12399 int status = $lt_dlunknown;
12403 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12406 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12407 else puts (dlerror ());
12409 /* dlclose (self); */
12417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12418 (eval $ac_link) 2>&5
12420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12421 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12422 (.
/conftest
; exit; ) >&5 2>/dev
/null
12424 case x
$lt_status in
12425 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12426 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12427 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12430 # compilation failed
12431 lt_cv_dlopen_self_static
=no
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12439 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12442 CPPFLAGS
="$save_CPPFLAGS"
12443 LDFLAGS
="$save_LDFLAGS"
12448 case $lt_cv_dlopen_self in
12449 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12450 *) enable_dlopen_self
=unknown
;;
12453 case $lt_cv_dlopen_self_static in
12454 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12455 *) enable_dlopen_self_static
=unknown
;;
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12478 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12479 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12480 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12481 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12483 $as_echo "yes" >&6; }
12485 # FIXME - insert some real tests, host_os isn't really good enough
12488 if test -n "$STRIP" ; then
12489 striplib
="$STRIP -x"
12490 old_striplib
="$STRIP -S"
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12492 $as_echo "yes" >&6; }
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12495 $as_echo "no" >&6; }
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500 $as_echo "no" >&6; }
12516 # Report which library types will actually be built
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12518 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12520 $as_echo "$can_build_shared" >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12523 $as_echo_n "checking whether to build shared libraries... " >&6; }
12524 test "$can_build_shared" = "no" && enable_shared
=no
12526 # On AIX, shared libraries and static libraries use the same namespace, and
12527 # are all built from PIC.
12530 test "$enable_shared" = yes && enable_static
=no
12531 if test -n "$RANLIB"; then
12532 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12533 postinstall_cmds
='$RANLIB $lib'
12538 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12539 test "$enable_shared" = yes && enable_static
=no
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12544 $as_echo "$enable_shared" >&6; }
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12547 $as_echo_n "checking whether to build static libraries... " >&6; }
12548 # Make sure either enable_shared or enable_static is yes.
12549 test "$enable_shared" = yes || enable_static
=yes
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12551 $as_echo "$enable_static" >&6; }
12558 ac_cpp
='$CPP $CPPFLAGS'
12559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12565 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12566 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12567 (test "X$CXX" != "Xg++"))) ; then
12569 ac_cpp
='$CXXCPP $CPPFLAGS'
12570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12574 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12575 if test -z "$CXXCPP"; then
12576 if ${ac_cv_prog_CXXCPP+:} false
; then :
12577 $as_echo_n "(cached) " >&6
12579 # Double quotes because CXXCPP needs to be expanded
12580 for CXXCPP
in "$CXX -E" "/lib/cpp"
12582 ac_preproc_ok
=false
12583 for ac_cxx_preproc_warn_flag
in '' yes
12585 # Use a header file that comes with gcc, so configuring glibc
12586 # with a fresh cross-compiler works.
12587 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12588 # <limits.h> exists even on freestanding compilers.
12589 # On the NeXT, cc -E runs the code through the compiler's parser,
12590 # not just through cpp. "Syntax error" is here to catch this case.
12591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12594 # include <limits.h>
12596 # include <assert.h>
12600 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12603 # Broken: fails on valid input.
12606 rm -f conftest.err conftest.i conftest.
$ac_ext
12608 # OK, works on sane cases. Now check whether nonexistent headers
12609 # can be detected and how.
12610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12612 #include <ac_nonexistent.h>
12614 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12615 # Broken: success on invalid input.
12618 # Passes both tests.
12622 rm -f conftest.err conftest.i conftest.
$ac_ext
12625 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12626 rm -f conftest.i conftest.err conftest.
$ac_ext
12627 if $ac_preproc_ok; then :
12632 ac_cv_prog_CXXCPP
=$CXXCPP
12635 CXXCPP
=$ac_cv_prog_CXXCPP
12637 ac_cv_prog_CXXCPP
=$CXXCPP
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12640 $as_echo "$CXXCPP" >&6; }
12641 ac_preproc_ok
=false
12642 for ac_cxx_preproc_warn_flag
in '' yes
12644 # Use a header file that comes with gcc, so configuring glibc
12645 # with a fresh cross-compiler works.
12646 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12647 # <limits.h> exists even on freestanding compilers.
12648 # On the NeXT, cc -E runs the code through the compiler's parser,
12649 # not just through cpp. "Syntax error" is here to catch this case.
12650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h. */
12653 # include <limits.h>
12655 # include <assert.h>
12659 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12662 # Broken: fails on valid input.
12665 rm -f conftest.err conftest.i conftest.
$ac_ext
12667 # OK, works on sane cases. Now check whether nonexistent headers
12668 # can be detected and how.
12669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h. */
12671 #include <ac_nonexistent.h>
12673 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12674 # Broken: success on invalid input.
12677 # Passes both tests.
12681 rm -f conftest.err conftest.i conftest.
$ac_ext
12684 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12685 rm -f conftest.i conftest.err conftest.
$ac_ext
12686 if $ac_preproc_ok; then :
12689 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12691 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12692 See \`config.log' for more details" "$LINENO" 5; }
12696 ac_cpp
='$CPP $CPPFLAGS'
12697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12702 _lt_caught_CXX_error
=yes
12706 ac_cpp
='$CXXCPP $CPPFLAGS'
12707 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12708 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12709 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12711 archive_cmds_need_lc_CXX
=no
12712 allow_undefined_flag_CXX
=
12713 always_export_symbols_CXX
=no
12714 archive_expsym_cmds_CXX
=
12715 compiler_needs_object_CXX
=no
12716 export_dynamic_flag_spec_CXX
=
12717 hardcode_direct_CXX
=no
12718 hardcode_direct_absolute_CXX
=no
12719 hardcode_libdir_flag_spec_CXX
=
12720 hardcode_libdir_separator_CXX
=
12721 hardcode_minus_L_CXX
=no
12722 hardcode_shlibpath_var_CXX
=unsupported
12723 hardcode_automatic_CXX
=no
12724 inherit_rpath_CXX
=no
12726 module_expsym_cmds_CXX
=
12727 link_all_deplibs_CXX
=unknown
12728 old_archive_cmds_CXX
=$old_archive_cmds
12729 reload_flag_CXX
=$reload_flag
12730 reload_cmds_CXX
=$reload_cmds
12731 no_undefined_flag_CXX
=
12732 whole_archive_flag_spec_CXX
=
12733 enable_shared_with_static_runtimes_CXX
=no
12735 # Source file extension for C++ test sources.
12738 # Object file extension for compiled C++ test sources.
12742 # No sense in running all these tests if we already determined that
12743 # the CXX compiler isn't working. Some variables (like enable_shared)
12744 # are currently assumed to apply to all compilers on this platform,
12745 # and will be corrupted by setting them based on a non-working compiler.
12746 if test "$_lt_caught_CXX_error" != yes; then
12747 # Code to be used in simple compile tests
12748 lt_simple_compile_test_code
="int some_variable = 0;"
12750 # Code to be used in simple link tests
12751 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12753 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12760 # If no C compiler was specified, use CC.
12763 # If no C compiler flags were specified, use CFLAGS.
12764 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12766 # Allow CC to be a program name with arguments.
12770 # save warnings/boilerplate of simple test code
12771 ac_outfile
=conftest.
$ac_objext
12772 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12773 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12774 _lt_compiler_boilerplate
=`cat conftest.err`
12777 ac_outfile
=conftest.
$ac_objext
12778 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12779 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12780 _lt_linker_boilerplate
=`cat conftest.err`
12784 # Allow CC to be a program name with arguments.
12786 lt_save_CFLAGS
=$CFLAGS
12790 lt_save_with_gnu_ld
=$with_gnu_ld
12791 lt_save_path_LD
=$lt_cv_path_LD
12792 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12793 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12795 $as_unset lt_cv_prog_gnu_ld
12797 if test -n "${lt_cv_path_LDCXX+set}"; then
12798 lt_cv_path_LD
=$lt_cv_path_LDCXX
12800 $as_unset lt_cv_path_LD
12802 test -z "${LDCXX+set}" || LD
=$LDCXX
12807 for cc_temp
in $compiler""; do
12809 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12810 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12815 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12818 if test -n "$compiler"; then
12819 # We don't want -fno-exception when compiling C++ code, so set the
12820 # no_builtin_flag separately
12821 if test "$GXX" = yes; then
12822 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12824 lt_prog_compiler_no_builtin_flag_CXX
=
12827 if test "$GXX" = yes; then
12828 # Set up default GNU C++ configuration
12832 # Check whether --with-gnu-ld was given.
12833 if test "${with_gnu_ld+set}" = set; then :
12834 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12840 if test "$GCC" = yes; then
12841 # Check if gcc -print-prog-name=ld gives a path.
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12843 $as_echo_n "checking for ld used by $CC... " >&6; }
12846 # gcc leaves a trailing carriage return which upsets mingw
12847 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12849 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12852 # Accept absolute paths.
12854 re_direlt
='/[^/][^/]*/\.\./'
12855 # Canonicalize the pathname of ld
12856 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12857 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12858 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12860 test -z "$LD" && LD
="$ac_prog"
12863 # If it fails, then pretend we aren't using GCC.
12867 # If it is relative, then search for the first ld in PATH.
12868 with_gnu_ld
=unknown
12871 elif test "$with_gnu_ld" = yes; then
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12873 $as_echo_n "checking for GNU ld... " >&6; }
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12876 $as_echo_n "checking for non-GNU ld... " >&6; }
12878 if ${lt_cv_path_LD+:} false
; then :
12879 $as_echo_n "(cached) " >&6
12881 if test -z "$LD"; then
12882 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12883 for ac_dir
in $PATH; do
12885 test -z "$ac_dir" && ac_dir
=.
12886 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12887 lt_cv_path_LD
="$ac_dir/$ac_prog"
12888 # Check to see if the program is GNU ld. I'd rather use --version,
12889 # but apparently some variants of GNU ld only accept -v.
12890 # Break only if it was the GNU/non-GNU ld that we prefer.
12891 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12892 *GNU
* | *'with BFD'*)
12893 test "$with_gnu_ld" != no
&& break
12896 test "$with_gnu_ld" != yes && break
12903 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12907 LD
="$lt_cv_path_LD"
12908 if test -n "$LD"; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12910 $as_echo "$LD" >&6; }
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913 $as_echo "no" >&6; }
12915 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12917 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12918 if ${lt_cv_prog_gnu_ld+:} false
; then :
12919 $as_echo_n "(cached) " >&6
12921 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12922 case `$LD -v 2>&1 </dev/null` in
12923 *GNU
* | *'with BFD'*)
12924 lt_cv_prog_gnu_ld
=yes
12927 lt_cv_prog_gnu_ld
=no
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12932 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12933 with_gnu_ld
=$lt_cv_prog_gnu_ld
12941 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12942 # archiving commands below assume that GNU ld is being used.
12943 if test "$with_gnu_ld" = yes; then
12944 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12945 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'
12947 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12948 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12950 # If archive_cmds runs LD, not CC, wlarc should be empty
12951 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12952 # investigate it a little bit more. (MM)
12955 # ancient GNU ld didn't support --whole-archive et. al.
12956 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12957 $GREP 'no-whole-archive' > /dev
/null
; then
12958 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12960 whole_archive_flag_spec_CXX
=
12966 # A generic and very simple default shared library creation
12967 # command for GNU C++ for the case where it uses the native
12968 # linker, instead of GNU ld. If possible, this setting should
12969 # overridden to take advantage of the native linker features on
12970 # the platform it is being used on.
12971 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12974 # Commands to make compiler produce verbose output that lists
12975 # what "hidden" libraries, object files and flags are used when
12976 # linking a shared library.
12977 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12985 # PORTME: fill in a description of your system's C++ link characteristics
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12987 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12991 # FIXME: insert proper C++ library support
12995 if test "$host_cpu" = ia64
; then
12996 # On IA64, the linker does run time linking by default, so we don't
12997 # have to do anything special.
12998 aix_use_runtimelinking
=no
12999 exp_sym_flag
='-Bexport'
13002 aix_use_runtimelinking
=no
13004 # Test if we are trying to use run time linking or normal
13005 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13006 # need to do runtime linking.
13007 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13008 for ld_flag
in $LDFLAGS; do
13011 aix_use_runtimelinking
=yes
13019 exp_sym_flag
='-bexport'
13020 no_entry_flag
='-bnoentry'
13023 # When large executables or shared objects are built, AIX ld can
13024 # have problems creating the table of contents. If linking a library
13025 # or program results in "error TOC overflow" add -mminimal-toc to
13026 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13027 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13029 archive_cmds_CXX
=''
13030 hardcode_direct_CXX
=yes
13031 hardcode_direct_absolute_CXX
=yes
13032 hardcode_libdir_separator_CXX
=':'
13033 link_all_deplibs_CXX
=yes
13034 file_list_spec_CXX
='${wl}-f,'
13036 if test "$GXX" = yes; then
13037 case $host_os in aix4.
[012]|aix4.
[012].
*)
13038 # We only want to do this on AIX 4.2 and lower, the check
13039 # below for broken collect2 doesn't work under 4.3+
13040 collect2name
=`${CC} -print-prog-name=collect2`
13041 if test -f "$collect2name" &&
13042 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13044 # We have reworked collect2
13047 # We have old collect2
13048 hardcode_direct_CXX
=unsupported
13049 # It fails to find uninstalled libraries when the uninstalled
13050 # path is not listed in the libpath. Setting hardcode_minus_L
13051 # to unsupported forces relinking
13052 hardcode_minus_L_CXX
=yes
13053 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13054 hardcode_libdir_separator_CXX
=
13057 shared_flag
='-shared'
13058 if test "$aix_use_runtimelinking" = yes; then
13059 shared_flag
="$shared_flag "'${wl}-G'
13063 if test "$host_cpu" = ia64
; then
13064 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13065 # chokes on -Wl,-G. The following line is correct:
13068 if test "$aix_use_runtimelinking" = yes; then
13069 shared_flag
='${wl}-G'
13071 shared_flag
='${wl}-bM:SRE'
13076 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13077 # It seems that -bexpall does not export symbols beginning with
13078 # underscore (_), so it is better to generate a list of symbols to
13080 always_export_symbols_CXX
=yes
13081 if test "$aix_use_runtimelinking" = yes; then
13082 # Warning - without using the other runtime loading flags (-brtl),
13083 # -berok will link without error, but may produce a broken library.
13084 allow_undefined_flag_CXX
='-berok'
13085 # Determine the default libpath from the value encoded in an empty
13087 if test "${lt_cv_aix_libpath+set}" = set; then
13088 aix_libpath
=$lt_cv_aix_libpath
13090 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13091 $as_echo_n "(cached) " >&6
13093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13104 if ac_fn_cxx_try_link
"$LINENO"; then :
13106 lt_aix_libpath_sed
='
13107 /Import File Strings/,/^$/ {
13109 s/^0 *\([^ ]*\) *$/\1/
13113 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13114 # Check for a 64-bit object if we didn't find anything.
13115 if test -z "$lt_cv_aix_libpath__CXX"; then
13116 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13119 rm -f core conftest.err conftest.
$ac_objext \
13120 conftest
$ac_exeext conftest.
$ac_ext
13121 if test -z "$lt_cv_aix_libpath__CXX"; then
13122 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13127 aix_libpath
=$lt_cv_aix_libpath__CXX
13130 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13132 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"
13134 if test "$host_cpu" = ia64
; then
13135 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13136 allow_undefined_flag_CXX
="-z nodefs"
13137 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"
13139 # Determine the default libpath from the value encoded in an
13140 # empty executable.
13141 if test "${lt_cv_aix_libpath+set}" = set; then
13142 aix_libpath
=$lt_cv_aix_libpath
13144 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13145 $as_echo_n "(cached) " >&6
13147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13158 if ac_fn_cxx_try_link
"$LINENO"; then :
13160 lt_aix_libpath_sed
='
13161 /Import File Strings/,/^$/ {
13163 s/^0 *\([^ ]*\) *$/\1/
13167 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13168 # Check for a 64-bit object if we didn't find anything.
13169 if test -z "$lt_cv_aix_libpath__CXX"; then
13170 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13173 rm -f core conftest.err conftest.
$ac_objext \
13174 conftest
$ac_exeext conftest.
$ac_ext
13175 if test -z "$lt_cv_aix_libpath__CXX"; then
13176 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13181 aix_libpath
=$lt_cv_aix_libpath__CXX
13184 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13185 # Warning - without using the other run time loading flags,
13186 # -berok will link without error, but may produce a broken library.
13187 no_undefined_flag_CXX
=' ${wl}-bernotok'
13188 allow_undefined_flag_CXX
=' ${wl}-berok'
13189 if test "$with_gnu_ld" = yes; then
13190 # We only use this code for GNU lds that support --whole-archive.
13191 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13193 # Exported symbols can be pulled into shared objects from archives
13194 whole_archive_flag_spec_CXX
='$convenience'
13196 archive_cmds_need_lc_CXX
=yes
13197 # This is similar to how AIX traditionally builds its shared
13199 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'
13205 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13206 allow_undefined_flag_CXX
=unsupported
13207 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13208 # support --undefined. This deserves some investigation. FIXME
13209 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13216 case $cc_basename in
13218 # FIXME: insert proper C++ library support
13224 cygwin
* | mingw
* | pw32
* | cegcc
*)
13225 case $GXX,$cc_basename in
13228 # hardcode_libdir_flag_spec is actually meaningless, as there is
13229 # no search path for DLLs.
13230 hardcode_libdir_flag_spec_CXX
=' '
13231 allow_undefined_flag_CXX
=unsupported
13232 always_export_symbols_CXX
=yes
13233 file_list_spec_CXX
='@'
13234 # Tell ltmain to make .lib files, not .a files.
13236 # Tell ltmain to make .dll files, not .so files.
13238 # FIXME: Setting linknames here is a bad hack.
13239 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13240 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13241 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13243 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13245 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13247 # The linker will not automatically build a static lib if we build a DLL.
13248 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13249 enable_shared_with_static_runtimes_CXX
=yes
13251 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13252 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13253 lt_tool_outputfile="@TOOL_OUTPUT@"~
13254 case $lt_outputfile in
13257 lt_outputfile="$lt_outputfile.exe"
13258 lt_tool_outputfile="$lt_tool_outputfile.exe"
13261 func_to_tool_file "$lt_outputfile"~
13262 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13263 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13264 $RM "$lt_outputfile.manifest";
13269 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13270 # as there is no search path for DLLs.
13271 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13272 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13273 allow_undefined_flag_CXX
=unsupported
13274 always_export_symbols_CXX
=no
13275 enable_shared_with_static_runtimes_CXX
=yes
13277 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13278 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'
13279 # If the export-symbols file already is a .def file (1st line
13280 # is EXPORTS), use it as is; otherwise, prepend...
13281 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13282 cp $export_symbols $output_objdir/$soname.def;
13284 echo EXPORTS > $output_objdir/$soname.def;
13285 cat $export_symbols >> $output_objdir/$soname.def;
13287 $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'
13294 darwin
* | rhapsody
*)
13297 archive_cmds_need_lc_CXX
=no
13298 hardcode_direct_CXX
=no
13299 hardcode_automatic_CXX
=yes
13300 hardcode_shlibpath_var_CXX
=unsupported
13301 if test "$lt_cv_ld_force_load" = "yes"; then
13302 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\"`'
13305 whole_archive_flag_spec_CXX
=''
13307 link_all_deplibs_CXX
=yes
13308 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13309 case $cc_basename in
13310 ifort
*) _lt_dar_can_shared
=yes ;;
13311 *) _lt_dar_can_shared
=$GCC ;;
13313 if test "$_lt_dar_can_shared" = "yes"; then
13314 output_verbose_link_cmd
=func_echo_all
13315 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}"
13316 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13317 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}"
13318 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}"
13319 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13320 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}"
13321 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}"
13331 case $cc_basename in
13333 # FIXME: insert proper C++ library support
13337 # Green Hills C++ Compiler
13338 # FIXME: insert proper C++ library support
13342 # FIXME: insert proper C++ library support
13349 # C++ shared libraries reported to be fairly broken before
13355 archive_cmds_need_lc_CXX
=no
13358 freebsd
* | dragonfly
*)
13359 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13368 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13369 link_all_deplibs_CXX
=yes
13373 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13374 hardcode_libdir_separator_CXX
=:
13375 export_dynamic_flag_spec_CXX
='${wl}-E'
13376 hardcode_direct_CXX
=yes
13377 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13378 # but as the default
13379 # location of the library.
13381 case $cc_basename in
13383 # FIXME: insert proper C++ library support
13387 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'
13388 # Commands to make compiler produce verbose output that lists
13389 # what "hidden" libraries, object files and flags are used when
13390 # linking a shared library.
13392 # There doesn't appear to be a way to prevent this compiler from
13393 # explicitly linking system object files so we need to strip them
13394 # from the output so that they don't get included in the library
13396 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"'
13399 if test "$GXX" = yes; then
13400 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'
13402 # FIXME: insert proper C++ library support
13410 if test $with_gnu_ld = no
; then
13411 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13412 hardcode_libdir_separator_CXX
=:
13418 export_dynamic_flag_spec_CXX
='${wl}-E'
13424 hardcode_direct_CXX
=no
13425 hardcode_shlibpath_var_CXX
=no
13428 hardcode_direct_CXX
=yes
13429 hardcode_direct_absolute_CXX
=yes
13430 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13431 # but as the default
13432 # location of the library.
13436 case $cc_basename in
13438 # FIXME: insert proper C++ library support
13444 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13447 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13450 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13453 # Commands to make compiler produce verbose output that lists
13454 # what "hidden" libraries, object files and flags are used when
13455 # linking a shared library.
13457 # There doesn't appear to be a way to prevent this compiler from
13458 # explicitly linking system object files so we need to strip them
13459 # from the output so that they don't get included in the library
13461 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"'
13464 if test "$GXX" = yes; then
13465 if test $with_gnu_ld = no
; then
13468 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13471 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13474 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'
13479 # FIXME: insert proper C++ library support
13487 hardcode_direct_CXX
=no
13488 hardcode_shlibpath_var_CXX
=no
13489 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13490 export_dynamic_flag_spec_CXX
='${wl}-E'
13491 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13492 # Instead, shared libraries are loaded at an image base (0x10000000 by
13493 # default) and relocated if they conflict, which is a slow very memory
13494 # consuming and fragmenting process. To avoid this, we pick a random,
13495 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13496 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13497 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'
13498 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'
13501 case $cc_basename in
13504 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'
13506 # Archives containing C++ object files must be created using
13507 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13508 # necessary to make sure instantiated templates are included
13510 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13513 if test "$GXX" = yes; then
13514 if test "$with_gnu_ld" = no
; then
13515 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'
13517 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'
13520 link_all_deplibs_CXX
=yes
13523 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13524 hardcode_libdir_separator_CXX
=:
13525 inherit_rpath_CXX
=yes
13528 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13529 case $cc_basename in
13531 # Kuck and Associates, Inc. (KAI) C++ Compiler
13533 # KCC will only create a shared library if the output file
13534 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13535 # to its proper name (with version) after linking.
13536 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'
13537 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'
13538 # Commands to make compiler produce verbose output that lists
13539 # what "hidden" libraries, object files and flags are used when
13540 # linking a shared library.
13542 # There doesn't appear to be a way to prevent this compiler from
13543 # explicitly linking system object files so we need to strip them
13544 # from the output so that they don't get included in the library
13546 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"'
13548 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13549 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13551 # Archives containing C++ object files must be created using
13552 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13553 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13558 # version 8.0 and above of icpc choke on multiply defined symbols
13559 # if we add $predep_objects and $postdep_objects, however 7.1 and
13560 # earlier do not add the objects themselves.
13561 case `$CC -V 2>&1` in
13563 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13564 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'
13566 *) # Version 8.0 or newer
13569 ia64
*) tmp_idyn
=' -i_dynamic';;
13571 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13572 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'
13575 archive_cmds_need_lc_CXX
=no
13576 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13577 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13578 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13581 # Portland Group C++ compiler
13583 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13584 prelink_cmds_CXX
='tpldir=Template.dir~
13586 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13587 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13588 old_archive_cmds_CXX
='tpldir=Template.dir~
13590 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13591 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13593 archive_cmds_CXX
='tpldir=Template.dir~
13595 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13596 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13597 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13599 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13600 $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'
13602 *) # Version 6 and above use weak symbols
13603 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13604 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'
13608 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13609 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13610 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'
13614 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13615 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'
13617 runpath_var
=LD_RUN_PATH
13618 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13619 hardcode_libdir_separator_CXX
=:
13621 # Commands to make compiler produce verbose output that lists
13622 # what "hidden" libraries, object files and flags are used when
13623 # linking a shared library.
13625 # There doesn't appear to be a way to prevent this compiler from
13626 # explicitly linking system object files so we need to strip them
13627 # from the output so that they don't get included in the library
13629 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'
13631 xl
* | mpixl
* | bgxl
*)
13632 # IBM XL 8.0 on PPC, with GNU ld
13633 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13634 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13635 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13636 if test "x$supports_anon_versioning" = xyes
; then
13637 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13638 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13639 echo "local: *; };" >> $output_objdir/$libname.ver~
13640 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13644 case `$CC -V 2>&1 | sed 5q` in
13647 no_undefined_flag_CXX
=' -zdefs'
13648 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13649 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'
13650 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13651 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'
13652 compiler_needs_object_CXX
=yes
13654 # Not sure whether something based on
13655 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13657 output_verbose_link_cmd
='func_echo_all'
13659 # Archives containing C++ object files must be created using
13660 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13661 # necessary to make sure instantiated templates are included
13663 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13671 # FIXME: insert proper C++ library support
13676 # FIXME: insert proper C++ library support
13681 case $cc_basename in
13683 # FIXME: insert proper C++ library support
13687 # FIXME: insert proper C++ library support
13694 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13695 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13697 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13698 hardcode_direct_CXX
=yes
13699 hardcode_shlibpath_var_CXX
=no
13701 # Workaround some broken pre-1.5 toolchains
13702 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13710 # C++ shared libraries are fairly broken
13715 if test -f /usr
/libexec
/ld.so
; then
13716 hardcode_direct_CXX
=yes
13717 hardcode_shlibpath_var_CXX
=no
13718 hardcode_direct_absolute_CXX
=yes
13719 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13720 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13721 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13722 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13723 export_dynamic_flag_spec_CXX
='${wl}-E'
13724 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13726 output_verbose_link_cmd
=func_echo_all
13732 osf3
* | osf4
* | osf5
*)
13733 case $cc_basename in
13735 # Kuck and Associates, Inc. (KAI) C++ Compiler
13737 # KCC will only create a shared library if the output file
13738 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13739 # to its proper name (with version) after linking.
13740 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'
13742 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13743 hardcode_libdir_separator_CXX
=:
13745 # Archives containing C++ object files must be created using
13746 # the KAI C++ compiler.
13748 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13749 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13753 # Rational C++ 2.4.1
13754 # FIXME: insert proper C++ library support
13760 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13761 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'
13762 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13765 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13766 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'
13767 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13768 echo "-hidden">> $lib.exp~
13769 $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~
13771 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13775 hardcode_libdir_separator_CXX
=:
13777 # Commands to make compiler produce verbose output that lists
13778 # what "hidden" libraries, object files and flags are used when
13779 # linking a shared library.
13781 # There doesn't appear to be a way to prevent this compiler from
13782 # explicitly linking system object files so we need to strip them
13783 # from the output so that they don't get included in the library
13785 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"'
13788 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13789 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13792 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'
13795 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'
13799 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13800 hardcode_libdir_separator_CXX
=:
13802 # Commands to make compiler produce verbose output that lists
13803 # what "hidden" libraries, object files and flags are used when
13804 # linking a shared library.
13805 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13808 # FIXME: insert proper C++ library support
13816 # FIXME: insert proper C++ library support
13821 case $cc_basename in
13824 # FIXME: insert proper C++ library support
13829 # FIXME: insert proper C++ library support
13833 # FIXME: insert proper C++ library support
13840 case $cc_basename in
13842 # Sun C++ 4.2, 5.x and Centerline C++
13843 archive_cmds_need_lc_CXX
=yes
13844 no_undefined_flag_CXX
=' -zdefs'
13845 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13846 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13847 $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'
13849 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13850 hardcode_shlibpath_var_CXX
=no
13852 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13854 # The compiler driver will combine and reorder linker options,
13855 # but understands `-z linker_flag'.
13856 # Supported since Solaris 2.6 (maybe 2.5.1?)
13857 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13860 link_all_deplibs_CXX
=yes
13862 output_verbose_link_cmd
='func_echo_all'
13864 # Archives containing C++ object files must be created using
13865 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13866 # necessary to make sure instantiated templates are included
13868 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13871 # Green Hills C++ Compiler
13872 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13874 # The C++ compiler must be used to create the archive.
13875 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13878 # GNU C++ compiler with Solaris linker
13879 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13880 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13881 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13882 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13883 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13884 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13886 # Commands to make compiler produce verbose output that lists
13887 # what "hidden" libraries, object files and flags are used when
13888 # linking a shared library.
13889 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13891 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13893 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13894 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13895 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13897 # Commands to make compiler produce verbose output that lists
13898 # what "hidden" libraries, object files and flags are used when
13899 # linking a shared library.
13900 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13903 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13905 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13907 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13915 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13916 no_undefined_flag_CXX
='${wl}-z,text'
13917 archive_cmds_need_lc_CXX
=no
13918 hardcode_shlibpath_var_CXX
=no
13919 runpath_var
='LD_RUN_PATH'
13921 case $cc_basename in
13923 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13924 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13927 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13928 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13933 sysv5
* | sco3.2v5
* | sco5v6
*)
13934 # Note: We can NOT use -z defs as we might desire, because we do not
13935 # link with -lc, and that would cause any symbols used from libc to
13936 # always be unresolved, which means just about no library would
13937 # ever link correctly. If we're not using GNU ld we use -z text
13938 # though, which does catch some bad symbols but isn't as heavy-handed
13940 no_undefined_flag_CXX
='${wl}-z,text'
13941 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13942 archive_cmds_need_lc_CXX
=no
13943 hardcode_shlibpath_var_CXX
=no
13944 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13945 hardcode_libdir_separator_CXX
=':'
13946 link_all_deplibs_CXX
=yes
13947 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13948 runpath_var
='LD_RUN_PATH'
13950 case $cc_basename in
13952 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13953 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13954 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13955 '"$old_archive_cmds_CXX"
13956 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13957 '"$reload_cmds_CXX"
13960 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13961 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13967 case $cc_basename in
13969 # NonStop-UX NCC 3.20
13970 # FIXME: insert proper C++ library support
13974 # FIXME: insert proper C++ library support
13981 # FIXME: insert proper C++ library support
13986 # FIXME: insert proper C++ library support
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13992 $as_echo "$ld_shlibs_CXX" >&6; }
13993 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13999 ## There is no encapsulation within the following macros, do not change
14000 ## the running order or otherwise move them around unless you know exactly
14001 ## what you are doing...
14002 # Dependencies to place before and after the object being linked:
14003 predep_objects_CXX
=
14004 postdep_objects_CXX
=
14007 compiler_lib_search_path_CXX
=
14009 cat > conftest.
$ac_ext <<_LT_EOF
14013 Foo (void) { a = 0; }
14020 _lt_libdeps_save_CFLAGS
=$CFLAGS
14021 case "$CC $CFLAGS " in #(
14022 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14023 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14024 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14028 (eval $ac_compile) 2>&5
14030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14031 test $ac_status = 0; }; then
14032 # Parse the compiler output and extract the necessary
14033 # objects, libraries and library flags.
14035 # Sentinel used to keep track of whether or not we are before
14036 # the conftest object file.
14037 pre_test_object_deps_done
=no
14039 for p
in `eval "$output_verbose_link_cmd"`; do
14040 case ${prev}${p} in
14043 # Some compilers place space between "-{L,R}" and the path.
14044 # Remove the space.
14045 if test $p = "-L" ||
14046 test $p = "-R"; then
14051 # Expand the sysroot to ease extracting the directories later.
14052 if test -z "$prev"; then
14054 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14055 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14056 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14060 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14062 if test "$pre_test_object_deps_done" = no
; then
14065 # Internal compiler library paths should come after those
14066 # provided the user. The postdeps already come after the
14067 # user supplied libs so there is no need to process them.
14068 if test -z "$compiler_lib_search_path_CXX"; then
14069 compiler_lib_search_path_CXX
="${prev}${p}"
14071 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14074 # The "-l" case would never come before the object being
14075 # linked, so don't bother handling this case.
14078 if test -z "$postdeps_CXX"; then
14079 postdeps_CXX
="${prev}${p}"
14081 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14087 *.lto.
$objext) ;; # Ignore GCC LTO objects
14089 # This assumes that the test object file only shows up
14090 # once in the compiler output.
14091 if test "$p" = "conftest.$objext"; then
14092 pre_test_object_deps_done
=yes
14096 if test "$pre_test_object_deps_done" = no
; then
14097 if test -z "$predep_objects_CXX"; then
14098 predep_objects_CXX
="$p"
14100 predep_objects_CXX
="$predep_objects_CXX $p"
14103 if test -z "$postdep_objects_CXX"; then
14104 postdep_objects_CXX
="$p"
14106 postdep_objects_CXX
="$postdep_objects_CXX $p"
14111 *) ;; # Ignore the rest.
14119 echo "libtool.m4: error: problem compiling CXX test program"
14122 $RM -f confest.
$objext
14123 CFLAGS
=$_lt_libdeps_save_CFLAGS
14125 # PORTME: override above test on systems where it is broken
14128 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14129 # hack all around it, let's just trust "g++" to DTRT.
14130 predep_objects_CXX
=
14131 postdep_objects_CXX
=
14136 case `$CC -V 2>&1 | sed 5q` in
14140 # The more standards-conforming stlport4 library is
14141 # incompatible with the Cstd library. Avoid specifying
14142 # it if it's in CXXFLAGS. Ignore libCrun as
14143 # -library=stlport4 depends on it.
14144 case " $CXX $CXXFLAGS " in
14145 *" -library=stlport4 "*)
14146 solaris_use_stlport4
=yes
14150 if test "$solaris_use_stlport4" != yes; then
14151 postdeps_CXX
='-library=Cstd -library=Crun'
14158 case $cc_basename in
14160 # The more standards-conforming stlport4 library is
14161 # incompatible with the Cstd library. Avoid specifying
14162 # it if it's in CXXFLAGS. Ignore libCrun as
14163 # -library=stlport4 depends on it.
14164 case " $CXX $CXXFLAGS " in
14165 *" -library=stlport4 "*)
14166 solaris_use_stlport4
=yes
14170 # Adding this requires a known-good setup of shared libraries for
14171 # Sun compiler versions before 5.6, else PIC objects from an old
14172 # archive will be linked into the output, leading to subtle bugs.
14173 if test "$solaris_use_stlport4" != yes; then
14174 postdeps_CXX
='-library=Cstd -library=Crun'
14182 case " $postdeps_CXX " in
14183 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14185 compiler_lib_search_dirs_CXX
=
14186 if test -n "${compiler_lib_search_path_CXX}"; then
14187 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14220 lt_prog_compiler_wl_CXX
=
14221 lt_prog_compiler_pic_CXX
=
14222 lt_prog_compiler_static_CXX
=
14225 # C++ specific cases for pic, static, wl, etc.
14226 if test "$GXX" = yes; then
14227 lt_prog_compiler_wl_CXX
='-Wl,'
14228 lt_prog_compiler_static_CXX
='-static'
14232 # All AIX code is PIC.
14233 if test "$host_cpu" = ia64
; then
14234 # AIX 5 now supports IA64 processor
14235 lt_prog_compiler_static_CXX
='-Bstatic'
14242 # see comment about AmigaOS4 .so support
14243 lt_prog_compiler_pic_CXX
='-fPIC'
14246 # FIXME: we need at least 68020 code to build shared libraries, but
14247 # adding the `-m68020' flag to GCC prevents building anything better,
14249 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14254 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14255 # PIC is the default for these OSes.
14257 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14258 # This hack is so that the source file can tell whether it is being
14259 # built for inclusion in a dll (and should export symbols for example).
14260 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14261 # (--disable-auto-import) libraries
14262 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14264 darwin
* | rhapsody
*)
14265 # PIC is the default on this platform
14266 # Common symbols not allowed in MH_DYLIB files
14267 lt_prog_compiler_pic_CXX
='-fno-common'
14270 # DJGPP does not support shared libraries at all
14271 lt_prog_compiler_pic_CXX
=
14274 # PIC is the default for Haiku.
14275 # The "-static" flag exists, but is broken.
14276 lt_prog_compiler_static_CXX
=
14279 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14280 # Instead, we relocate shared libraries at runtime.
14283 if test -d /usr
/nec
; then
14284 lt_prog_compiler_pic_CXX
=-Kconform_pic
14288 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14289 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14290 # sets the default TLS model and affects inlining.
14295 lt_prog_compiler_pic_CXX
='-fPIC'
14300 # QNX uses GNU C++, but need to define -shared option too, otherwise
14301 # it will coredump.
14302 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14305 lt_prog_compiler_pic_CXX
='-fPIC'
14311 # All AIX code is PIC.
14312 if test "$host_cpu" = ia64
; then
14313 # AIX 5 now supports IA64 processor
14314 lt_prog_compiler_static_CXX
='-Bstatic'
14316 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14320 case $cc_basename in
14322 # Green Hills C++ Compiler
14323 # _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"
14327 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14328 # This hack is so that the source file can tell whether it is being
14329 # built for inclusion in a dll (and should export symbols for example).
14330 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14333 case $cc_basename in
14335 lt_prog_compiler_pic_CXX
='-KPIC'
14338 # Green Hills C++ Compiler
14339 lt_prog_compiler_pic_CXX
='-pic'
14345 freebsd
* | dragonfly
*)
14346 # FreeBSD uses GNU C++
14348 hpux9
* | hpux10
* | hpux11
*)
14349 case $cc_basename in
14351 lt_prog_compiler_wl_CXX
='-Wl,'
14352 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14353 if test "$host_cpu" != ia64
; then
14354 lt_prog_compiler_pic_CXX
='+Z'
14358 lt_prog_compiler_wl_CXX
='-Wl,'
14359 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14365 lt_prog_compiler_pic_CXX
='+Z'
14374 # This is c89, which is MS Visual C++ (no shared libs)
14375 # Anyone wants to do a port?
14377 irix5
* | irix6
* | nonstopux
*)
14378 case $cc_basename in
14380 lt_prog_compiler_wl_CXX
='-Wl,'
14381 lt_prog_compiler_static_CXX
='-non_shared'
14382 # CC pic flag -KPIC is the default.
14388 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14389 case $cc_basename in
14392 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14393 lt_prog_compiler_pic_CXX
='-fPIC'
14396 # old Intel C++ for x86_64 which still supported -KPIC.
14397 lt_prog_compiler_wl_CXX
='-Wl,'
14398 lt_prog_compiler_pic_CXX
='-KPIC'
14399 lt_prog_compiler_static_CXX
='-static'
14402 # Intel C++, used to be incompatible with GCC.
14403 # ICC 10 doesn't accept -KPIC any more.
14404 lt_prog_compiler_wl_CXX
='-Wl,'
14405 lt_prog_compiler_pic_CXX
='-fPIC'
14406 lt_prog_compiler_static_CXX
='-static'
14409 # Portland Group C++ compiler
14410 lt_prog_compiler_wl_CXX
='-Wl,'
14411 lt_prog_compiler_pic_CXX
='-fpic'
14412 lt_prog_compiler_static_CXX
='-Bstatic'
14416 # Make sure the PIC flag is empty. It appears that all Alpha
14417 # Linux and Compaq Tru64 Unix objects are PIC.
14418 lt_prog_compiler_pic_CXX
=
14419 lt_prog_compiler_static_CXX
='-non_shared'
14421 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14422 # IBM XL 8.0, 9.0 on PPC and BlueGene
14423 lt_prog_compiler_wl_CXX
='-Wl,'
14424 lt_prog_compiler_pic_CXX
='-qpic'
14425 lt_prog_compiler_static_CXX
='-qstaticlink'
14428 case `$CC -V 2>&1 | sed 5q` in
14431 lt_prog_compiler_pic_CXX
='-KPIC'
14432 lt_prog_compiler_static_CXX
='-Bstatic'
14433 lt_prog_compiler_wl_CXX
='-Qoption ld '
14444 case $cc_basename in
14446 lt_prog_compiler_pic_CXX
='-W c,exportall'
14455 # QNX uses GNU C++, but need to define -shared option too, otherwise
14456 # it will coredump.
14457 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14459 osf3
* | osf4
* | osf5
*)
14460 case $cc_basename in
14462 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14465 # Rational C++ 2.4.1
14466 lt_prog_compiler_pic_CXX
='-pic'
14469 # Digital/Compaq C++
14470 lt_prog_compiler_wl_CXX
='-Wl,'
14471 # Make sure the PIC flag is empty. It appears that all Alpha
14472 # Linux and Compaq Tru64 Unix objects are PIC.
14473 lt_prog_compiler_pic_CXX
=
14474 lt_prog_compiler_static_CXX
='-non_shared'
14483 case $cc_basename in
14485 # Sun C++ 4.2, 5.x and Centerline C++
14486 lt_prog_compiler_pic_CXX
='-KPIC'
14487 lt_prog_compiler_static_CXX
='-Bstatic'
14488 lt_prog_compiler_wl_CXX
='-Qoption ld '
14491 # Green Hills C++ Compiler
14492 lt_prog_compiler_pic_CXX
='-PIC'
14499 case $cc_basename in
14502 lt_prog_compiler_pic_CXX
='-pic'
14503 lt_prog_compiler_static_CXX
='-Bstatic'
14507 lt_prog_compiler_pic_CXX
='-pic'
14513 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14514 case $cc_basename in
14516 lt_prog_compiler_wl_CXX
='-Wl,'
14517 lt_prog_compiler_pic_CXX
='-KPIC'
14518 lt_prog_compiler_static_CXX
='-Bstatic'
14523 case $cc_basename in
14525 # NonStop-UX NCC 3.20
14526 lt_prog_compiler_pic_CXX
='-KPIC'
14535 lt_prog_compiler_can_build_shared_CXX
=no
14541 # For platforms which do not support PIC, -DPIC is meaningless:
14543 lt_prog_compiler_pic_CXX
=
14546 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14551 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14552 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14553 $as_echo_n "(cached) " >&6
14555 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14558 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14559 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14562 # Check to make sure the PIC flag actually works.
14564 if test -n "$lt_prog_compiler_pic_CXX"; then
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14566 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14567 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14568 $as_echo_n "(cached) " >&6
14570 lt_cv_prog_compiler_pic_works_CXX
=no
14571 ac_outfile
=conftest.
$ac_objext
14572 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14573 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14574 # Insert the option either (1) after the last *FLAGS variable, or
14575 # (2) before a word containing "conftest.", or (3) at the end.
14576 # Note that $ac_compile itself does not contain backslashes and begins
14577 # with a dollar sign (not a hyphen), so the echo should work correctly.
14578 # The option is referenced via a variable to avoid confusing sed.
14579 lt_compile
=`echo "$ac_compile" | $SED \
14580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14582 -e 's:$: $lt_compiler_flag:'`
14583 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14584 (eval "$lt_compile" 2>conftest.err
)
14586 cat conftest.err
>&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 if (exit $ac_status) && test -s "$ac_outfile"; then
14589 # The compiler can only warn and ignore the option if not recognized
14590 # So say no if there are warnings other than the usual output.
14591 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14592 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14593 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14594 lt_cv_prog_compiler_pic_works_CXX
=yes
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14601 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14603 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14604 case $lt_prog_compiler_pic_CXX in
14606 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14609 lt_prog_compiler_pic_CXX
=
14610 lt_prog_compiler_can_build_shared_CXX
=no
14620 # Check to make sure the static flag actually works.
14622 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14624 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14625 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14626 $as_echo_n "(cached) " >&6
14628 lt_cv_prog_compiler_static_works_CXX
=no
14629 save_LDFLAGS
="$LDFLAGS"
14630 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14631 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14632 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14633 # The linker can only warn and ignore the option if not recognized
14634 # So say no if there are warnings
14635 if test -s conftest.err
; then
14636 # Append any errors to the config.log.
14637 cat conftest.err
1>&5
14638 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14639 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14640 if diff conftest.exp conftest.er2
>/dev
/null
; then
14641 lt_cv_prog_compiler_static_works_CXX
=yes
14644 lt_cv_prog_compiler_static_works_CXX
=yes
14648 LDFLAGS
="$save_LDFLAGS"
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14652 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14654 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14657 lt_prog_compiler_static_CXX
=
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14664 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14665 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14666 $as_echo_n "(cached) " >&6
14668 lt_cv_prog_compiler_c_o_CXX
=no
14669 $RM -r conftest
2>/dev
/null
14673 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14675 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14676 # Insert the option either (1) after the last *FLAGS variable, or
14677 # (2) before a word containing "conftest.", or (3) at the end.
14678 # Note that $ac_compile itself does not contain backslashes and begins
14679 # with a dollar sign (not a hyphen), so the echo should work correctly.
14680 lt_compile
=`echo "$ac_compile" | $SED \
14681 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14682 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14683 -e 's:$: $lt_compiler_flag:'`
14684 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14685 (eval "$lt_compile" 2>out
/conftest.err
)
14687 cat out
/conftest.err
>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14691 # The compiler can only warn and ignore the option if not recognized
14692 # So say no if there are warnings
14693 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14694 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14695 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14696 lt_cv_prog_compiler_c_o_CXX
=yes
14701 # SGI C++ compiler will create directory out/ii_files/ for
14702 # template instantiation
14703 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14704 $RM out
/* && rmdir out
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14711 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14716 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14717 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14718 $as_echo_n "(cached) " >&6
14720 lt_cv_prog_compiler_c_o_CXX
=no
14721 $RM -r conftest
2>/dev
/null
14725 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14727 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14728 # Insert the option either (1) after the last *FLAGS variable, or
14729 # (2) before a word containing "conftest.", or (3) at the end.
14730 # Note that $ac_compile itself does not contain backslashes and begins
14731 # with a dollar sign (not a hyphen), so the echo should work correctly.
14732 lt_compile
=`echo "$ac_compile" | $SED \
14733 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14734 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14735 -e 's:$: $lt_compiler_flag:'`
14736 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14737 (eval "$lt_compile" 2>out
/conftest.err
)
14739 cat out
/conftest.err
>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14743 # The compiler can only warn and ignore the option if not recognized
14744 # So say no if there are warnings
14745 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14746 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14747 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14748 lt_cv_prog_compiler_c_o_CXX
=yes
14753 # SGI C++ compiler will create directory out/ii_files/ for
14754 # template instantiation
14755 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14756 $RM out
/* && rmdir out
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14763 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14768 hard_links
="nottested"
14769 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14770 # do not overwrite the value of need_locks provided by the user
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14772 $as_echo_n "checking if we can lock with hard links... " >&6; }
14775 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14777 ln conftest.a conftest.b
2>&5 || hard_links
=no
14778 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14780 $as_echo "$hard_links" >&6; }
14781 if test "$hard_links" = no
; then
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14783 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14793 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14795 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14796 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14799 # If we're using GNU nm, then we don't want the "-C" option.
14800 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14801 # Also, AIX nm treats weak defined symbols like other global defined
14802 # symbols, whereas GNU nm marks them as "W".
14803 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14804 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'
14806 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'
14810 export_symbols_cmds_CXX
="$ltdll_cmds"
14812 cygwin
* | mingw
* | cegcc
*)
14813 case $cc_basename in
14815 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14818 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'
14819 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14824 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14829 $as_echo "$ld_shlibs_CXX" >&6; }
14830 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14832 with_gnu_ld_CXX
=$with_gnu_ld
14840 # Do we need to explicitly link libc?
14842 case "x$archive_cmds_need_lc_CXX" in
14844 # Assume -lc should be added
14845 archive_cmds_need_lc_CXX
=yes
14847 if test "$enable_shared" = yes && test "$GCC" = yes; then
14848 case $archive_cmds_CXX in
14850 # FIXME: we may have to deal with multi-command sequences.
14853 # Test whether the compiler implicitly links with -lc since on some
14854 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14855 # to ld, don't add -lc before -lgcc.
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14857 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14858 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14859 $as_echo_n "(cached) " >&6
14862 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14865 (eval $ac_compile) 2>&5
14867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14868 test $ac_status = 0; } 2>conftest.err
; then
14871 libobjs
=conftest.
$ac_objext
14873 wl
=$lt_prog_compiler_wl_CXX
14874 pic_flag
=$lt_prog_compiler_pic_CXX
14880 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14881 allow_undefined_flag_CXX
=
14882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14883 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14886 test $ac_status = 0; }
14888 lt_cv_archive_cmds_need_lc_CXX
=no
14890 lt_cv_archive_cmds_need_lc_CXX
=yes
14892 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14894 cat conftest.err
1>&5
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14900 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14901 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14970 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14972 library_names_spec
=
14973 libname_spec
='lib$name'
14977 postuninstall_cmds
=
14981 shlibpath_overrides_runpath
=unknown
14983 dynamic_linker
="$host_os ld.so"
14984 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14985 need_lib_prefix
=unknown
14986 hardcode_into_libs
=no
14988 # when you set need_version to no, make sure it does not cause -set_version
14989 # flags to be left without arguments
14990 need_version
=unknown
14994 version_type
=linux
# correct to gnu/linux during the next big refactor
14995 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14996 shlibpath_var
=LIBPATH
14998 # AIX 3 has no versioning support, so we append a major version to the name.
14999 soname_spec
='${libname}${release}${shared_ext}$major'
15003 version_type
=linux
# correct to gnu/linux during the next big refactor
15006 hardcode_into_libs
=yes
15007 if test "$host_cpu" = ia64
; then
15008 # AIX 5 supports IA64
15009 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15010 shlibpath_var
=LD_LIBRARY_PATH
15012 # With GCC up to 2.95.x, collect2 would create an import file
15013 # for dependence libraries. The import file would start with
15014 # the line `#! .'. This would cause the generated library to
15015 # depend on `.', always an invalid library. This was fixed in
15016 # development snapshots of GCC prior to 3.0.
15018 aix4
| aix4.
[01] | aix4.
[01].
*)
15019 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15021 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15024 can_build_shared
=no
15028 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15029 # soname into executable. Probably we can add versioning support to
15030 # collect2, so additional links can be useful in future.
15031 if test "$aix_use_runtimelinking" = yes; then
15032 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15033 # instead of lib<name>.a to let people know that these are not
15034 # typical AIX shared libraries.
15035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037 # We preserve .a as extension for shared libraries through AIX4.2
15038 # and later when we are not doing run time linking.
15039 library_names_spec
='${libname}${release}.a $libname.a'
15040 soname_spec
='${libname}${release}${shared_ext}$major'
15042 shlibpath_var
=LIBPATH
15049 # Since July 2007 AmigaOS4 officially supports .so libraries.
15050 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15054 library_names_spec
='$libname.ixlibrary $libname.a'
15055 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15056 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'
15062 library_names_spec
='${libname}${shared_ext}'
15063 dynamic_linker
="$host_os ld.so"
15064 shlibpath_var
=LIBRARY_PATH
15068 version_type
=linux
# correct to gnu/linux during the next big refactor
15070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15071 soname_spec
='${libname}${release}${shared_ext}$major'
15072 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15073 shlibpath_var
=LD_LIBRARY_PATH
15074 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15075 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15076 # the default ld.so.conf also contains /usr/contrib/lib and
15077 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15078 # libtool to hard-code these into programs
15081 cygwin
* | mingw
* | pw32
* | cegcc
*)
15082 version_type
=windows
15087 case $GCC,$cc_basename in
15090 library_names_spec
='$libname.dll.a'
15091 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15092 postinstall_cmds
='base_file=`basename \${file}`~
15093 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15094 dldir=$destdir/`dirname \$dlpath`~
15095 test -d \$dldir || mkdir -p \$dldir~
15096 $install_prog $dir/$dlname \$dldir/$dlname~
15097 chmod a+x \$dldir/$dlname~
15098 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15099 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15101 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15102 dlpath=$dir/\$dldll~
15104 shlibpath_overrides_runpath
=yes
15108 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15109 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15113 # MinGW DLLs use traditional 'lib' prefix
15114 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15117 # pw32 DLLs use 'pw' prefix rather than 'lib'
15118 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15121 dynamic_linker
='Win32 ld.exe'
15126 libname_spec
='$name'
15127 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15128 library_names_spec
='${libname}.dll.lib'
15132 sys_lib_search_path_spec
=
15135 for lt_path
in $LIB
15138 # Let DOS variable expansion print the short 8.3 style file name.
15139 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15140 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15143 # Convert to MSYS style.
15144 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15147 # Convert to unix form, then to dos form, then back to unix form
15148 # but this time dos style (no spaces!) so that the unix form looks
15149 # like /cygdrive/c/PROGRA~1:/cygdr...
15150 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15151 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15152 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15155 sys_lib_search_path_spec
="$LIB"
15156 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15157 # It is most probably a Windows format PATH.
15158 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15160 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15162 # FIXME: find the short name or the path components, as spaces are
15163 # common. (e.g. "Program Files" -> "PROGRA~1")
15167 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15168 postinstall_cmds
='base_file=`basename \${file}`~
15169 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15170 dldir=$destdir/`dirname \$dlpath`~
15171 test -d \$dldir || mkdir -p \$dldir~
15172 $install_prog $dir/$dlname \$dldir/$dlname'
15173 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15174 dlpath=$dir/\$dldll~
15176 shlibpath_overrides_runpath
=yes
15177 dynamic_linker
='Win32 link.exe'
15181 # Assume MSVC wrapper
15182 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15183 dynamic_linker
='Win32 ld.exe'
15186 # FIXME: first we should search . and the directory the executable is in
15190 darwin
* | rhapsody
*)
15191 dynamic_linker
="$host_os dyld"
15192 version_type
=darwin
15195 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15196 soname_spec
='${libname}${release}${major}$shared_ext'
15197 shlibpath_overrides_runpath
=yes
15198 shlibpath_var
=DYLD_LIBRARY_PATH
15199 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15201 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15205 version_type
=linux
# correct to gnu/linux during the next big refactor
15208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15209 soname_spec
='${libname}${release}${shared_ext}$major'
15210 shlibpath_var
=LD_LIBRARY_PATH
15213 freebsd
* | dragonfly
*)
15214 # DragonFly does not have aout. When/if they implement a new
15215 # versioning mechanism, adjust this.
15216 if test -x /usr
/bin
/objformat
; then
15217 objformat
=`/usr/bin/objformat`
15220 freebsd
[23].
*) objformat
=aout
;;
15221 *) objformat
=elf
;;
15224 version_type
=freebsd
-$objformat
15225 case $version_type in
15227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15232 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15236 shlibpath_var
=LD_LIBRARY_PATH
15239 shlibpath_overrides_runpath
=yes
15241 freebsd3.
[01]* | freebsdelf3.
[01]*)
15242 shlibpath_overrides_runpath
=yes
15243 hardcode_into_libs
=yes
15245 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15246 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15247 shlibpath_overrides_runpath
=no
15248 hardcode_into_libs
=yes
15250 *) # from 4.6 on, and DragonFly
15251 shlibpath_overrides_runpath
=yes
15252 hardcode_into_libs
=yes
15258 version_type
=linux
# correct to gnu/linux during the next big refactor
15261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15262 soname_spec
='${libname}${release}${shared_ext}$major'
15263 shlibpath_var
=LD_LIBRARY_PATH
15264 shlibpath_overrides_runpath
=no
15265 hardcode_into_libs
=yes
15269 version_type
=linux
# correct to gnu/linux during the next big refactor
15272 dynamic_linker
="$host_os runtime_loader"
15273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15274 soname_spec
='${libname}${release}${shared_ext}$major'
15275 shlibpath_var
=LIBRARY_PATH
15276 shlibpath_overrides_runpath
=yes
15277 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15278 hardcode_into_libs
=yes
15281 hpux9
* | hpux10
* | hpux11
*)
15282 # Give a soname corresponding to the major version so that dld.sl refuses to
15283 # link against other versions.
15290 hardcode_into_libs
=yes
15291 dynamic_linker
="$host_os dld.so"
15292 shlibpath_var
=LD_LIBRARY_PATH
15293 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15295 soname_spec
='${libname}${release}${shared_ext}$major'
15296 if test "X$HPUX_IA64_MODE" = X32
; then
15297 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15299 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15301 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15305 hardcode_into_libs
=yes
15306 dynamic_linker
="$host_os dld.sl"
15307 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15308 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15310 soname_spec
='${libname}${release}${shared_ext}$major'
15311 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15312 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15316 dynamic_linker
="$host_os dld.sl"
15317 shlibpath_var
=SHLIB_PATH
15318 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15320 soname_spec
='${libname}${release}${shared_ext}$major'
15323 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15324 postinstall_cmds
='chmod 555 $lib'
15325 # or fails outright, so override atomically:
15326 install_override_mode
=555
15330 version_type
=linux
# correct to gnu/linux during the next big refactor
15333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15334 soname_spec
='${libname}${release}${shared_ext}$major'
15335 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15336 shlibpath_var
=LD_LIBRARY_PATH
15337 shlibpath_overrides_runpath
=no
15338 hardcode_into_libs
=yes
15341 irix5
* | irix6
* | nonstopux
*)
15343 nonstopux
*) version_type
=nonstopux
;;
15345 if test "$lt_cv_prog_gnu_ld" = yes; then
15346 version_type
=linux
# correct to gnu/linux during the next big refactor
15353 soname_spec
='${libname}${release}${shared_ext}$major'
15354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15356 irix5
* | nonstopux
*)
15357 libsuff
= shlibsuff
=
15360 case $LD in # libtool.m4 will add one of these switches to LD
15361 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15362 libsuff
= shlibsuff
= libmagic
=32-bit;;
15363 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15364 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15365 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15366 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15367 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15371 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15372 shlibpath_overrides_runpath
=no
15373 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15374 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15375 hardcode_into_libs
=yes
15378 # No shared lib support for Linux oldld, aout, or coff.
15379 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15383 # This must be glibc/ELF.
15384 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15385 version_type
=linux
# correct to gnu/linux during the next big refactor
15388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15389 soname_spec
='${libname}${release}${shared_ext}$major'
15390 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15391 shlibpath_var
=LD_LIBRARY_PATH
15392 shlibpath_overrides_runpath
=no
15394 # Some binutils ld are patched to set DT_RUNPATH
15395 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15396 $as_echo_n "(cached) " >&6
15398 lt_cv_shlibpath_overrides_runpath
=no
15399 save_LDFLAGS
=$LDFLAGS
15400 save_libdir
=$libdir
15401 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15402 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15404 /* end confdefs.h. */
15414 if ac_fn_cxx_try_link
"$LINENO"; then :
15415 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15416 lt_cv_shlibpath_overrides_runpath
=yes
15419 rm -f core conftest.err conftest.
$ac_objext \
15420 conftest
$ac_exeext conftest.
$ac_ext
15421 LDFLAGS
=$save_LDFLAGS
15422 libdir
=$save_libdir
15426 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15428 # This implies no fast_install, which is unacceptable.
15429 # Some rework will be needed to allow for fast_install
15430 # before this can be enabled.
15431 hardcode_into_libs
=yes
15433 # Append ld.so.conf contents to the search path
15434 if test -f /etc
/ld.so.conf
; then
15435 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' ' '`
15436 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15439 # We used to test for /lib/ld.so.1 and disable shared libraries on
15440 # powerpc, because MkLinux only supported shared libraries with the
15441 # GNU dynamic linker. Since this was broken with cross compilers,
15442 # most powerpc-linux boxes support dynamic linking these days and
15443 # people can always --disable-shared, the test was removed, and we
15444 # assume the GNU/Linux dynamic linker is in use.
15445 dynamic_linker
='GNU/Linux ld.so'
15452 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15454 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15455 dynamic_linker
='NetBSD (a.out) ld.so'
15457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15458 soname_spec
='${libname}${release}${shared_ext}$major'
15459 dynamic_linker
='NetBSD ld.elf_so'
15461 shlibpath_var
=LD_LIBRARY_PATH
15462 shlibpath_overrides_runpath
=yes
15463 hardcode_into_libs
=yes
15467 version_type
=linux
# correct to gnu/linux during the next big refactor
15468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15469 shlibpath_var
=LD_LIBRARY_PATH
15470 shlibpath_overrides_runpath
=yes
15477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15478 soname_spec
='${libname}${release}${shared_ext}$major'
15479 shlibpath_var
=LD_LIBRARY_PATH
15480 shlibpath_overrides_runpath
=no
15481 hardcode_into_libs
=yes
15482 dynamic_linker
='ldqnx.so'
15487 sys_lib_dlsearch_path_spec
="/usr/lib"
15489 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15491 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15492 *) need_version
=no
;;
15494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15495 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15496 shlibpath_var
=LD_LIBRARY_PATH
15497 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15499 openbsd2.
[89] | openbsd2.
[89].
*)
15500 shlibpath_overrides_runpath
=no
15503 shlibpath_overrides_runpath
=yes
15507 shlibpath_overrides_runpath
=yes
15512 libname_spec
='$name'
15515 library_names_spec
='$libname${shared_ext} $libname.a'
15516 dynamic_linker
='OS/2 ld.exe'
15517 shlibpath_var
=LIBPATH
15520 osf3
* | osf4
* | osf5
*)
15524 soname_spec
='${libname}${release}${shared_ext}$major'
15525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15526 shlibpath_var
=LD_LIBRARY_PATH
15527 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15528 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15536 version_type
=linux
# correct to gnu/linux during the next big refactor
15539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15540 soname_spec
='${libname}${release}${shared_ext}$major'
15541 shlibpath_var
=LD_LIBRARY_PATH
15542 shlibpath_overrides_runpath
=yes
15543 hardcode_into_libs
=yes
15544 # ldd complains unless libraries are executable
15545 postinstall_cmds
='chmod +x $lib'
15550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15551 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15552 shlibpath_var
=LD_LIBRARY_PATH
15553 shlibpath_overrides_runpath
=yes
15554 if test "$with_gnu_ld" = yes; then
15561 version_type
=linux
# correct to gnu/linux during the next big refactor
15562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15563 soname_spec
='${libname}${release}${shared_ext}$major'
15564 shlibpath_var
=LD_LIBRARY_PATH
15565 case $host_vendor in
15567 shlibpath_overrides_runpath
=no
15569 runpath_var
=LD_RUN_PATH
15577 shlibpath_overrides_runpath
=no
15578 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15584 if test -d /usr
/nec
;then
15585 version_type
=linux
# correct to gnu/linux during the next big refactor
15586 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15587 soname_spec
='$libname${shared_ext}.$major'
15588 shlibpath_var
=LD_LIBRARY_PATH
15592 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15593 version_type
=freebsd
-elf
15596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15597 soname_spec
='${libname}${release}${shared_ext}$major'
15598 shlibpath_var
=LD_LIBRARY_PATH
15599 shlibpath_overrides_runpath
=yes
15600 hardcode_into_libs
=yes
15601 if test "$with_gnu_ld" = yes; then
15602 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15604 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15607 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15611 sys_lib_dlsearch_path_spec
='/usr/lib'
15615 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15616 version_type
=linux
# correct to gnu/linux during the next big refactor
15619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15620 shlibpath_var
=LD_LIBRARY_PATH
15621 shlibpath_overrides_runpath
=no
15622 hardcode_into_libs
=yes
15626 version_type
=linux
# correct to gnu/linux during the next big refactor
15627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15628 soname_spec
='${libname}${release}${shared_ext}$major'
15629 shlibpath_var
=LD_LIBRARY_PATH
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15637 $as_echo "$dynamic_linker" >&6; }
15638 test "$dynamic_linker" = no
&& can_build_shared
=no
15640 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15641 if test "$GCC" = yes; then
15642 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15645 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15646 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15648 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15649 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15690 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15691 hardcode_action_CXX
=
15692 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15693 test -n "$runpath_var_CXX" ||
15694 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15696 # We can hardcode non-existent directories.
15697 if test "$hardcode_direct_CXX" != no
&&
15698 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15699 # have to relink, otherwise we might link with an installed library
15700 # when we should be linking with a yet-to-be-installed one
15701 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15702 test "$hardcode_minus_L_CXX" != no
; then
15703 # Linking always hardcodes the temporary library directory.
15704 hardcode_action_CXX
=relink
15706 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15707 hardcode_action_CXX
=immediate
15710 # We cannot hardcode anything, or else we can only hardcode existing
15712 hardcode_action_CXX
=unsupported
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15715 $as_echo "$hardcode_action_CXX" >&6; }
15717 if test "$hardcode_action_CXX" = relink
||
15718 test "$inherit_rpath_CXX" = yes; then
15719 # Fast installation is not supported
15720 enable_fast_install
=no
15721 elif test "$shlibpath_overrides_runpath" = yes ||
15722 test "$enable_shared" = no
; then
15723 # Fast installation is not necessary
15724 enable_fast_install
=needless
15733 fi # test -n "$compiler"
15736 CFLAGS
=$lt_save_CFLAGS
15740 with_gnu_ld
=$lt_save_with_gnu_ld
15741 lt_cv_path_LDCXX
=$lt_cv_path_LD
15742 lt_cv_path_LD
=$lt_save_path_LD
15743 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15744 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15745 fi # test "$_lt_caught_CXX_error" != yes
15748 ac_cpp
='$CPP $CPPFLAGS'
15749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15767 ac_config_commands
="$ac_config_commands libtool"
15772 # Only expand once:
15777 ac_cpp
='$CXXCPP $CPPFLAGS'
15778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15789 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15790 if test -n "$ac_tool_prefix"; then
15791 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15792 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15794 $as_echo_n "checking for $ac_word... " >&6; }
15795 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15796 $as_echo_n "(cached) " >&6
15798 case $PKG_CONFIG in
15800 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15804 for as_dir
in $PATH
15807 test -z "$as_dir" && as_dir
=.
15808 for ac_exec_ext
in '' $ac_executable_extensions; do
15809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15810 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15821 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15822 if test -n "$PKG_CONFIG"; then
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15824 $as_echo "$PKG_CONFIG" >&6; }
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15827 $as_echo "no" >&6; }
15832 if test -z "$ac_cv_path_PKG_CONFIG"; then
15833 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15834 # Extract the first word of "pkg-config", so it can be a program name with args.
15835 set dummy pkg
-config; ac_word
=$2
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15837 $as_echo_n "checking for $ac_word... " >&6; }
15838 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15839 $as_echo_n "(cached) " >&6
15841 case $ac_pt_PKG_CONFIG in
15843 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15847 for as_dir
in $PATH
15850 test -z "$as_dir" && as_dir
=.
15851 for ac_exec_ext
in '' $ac_executable_extensions; do
15852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15853 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15864 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15865 if test -n "$ac_pt_PKG_CONFIG"; then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15867 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15870 $as_echo "no" >&6; }
15873 if test "x$ac_pt_PKG_CONFIG" = x
; then
15876 case $cross_compiling:$ac_tool_warned in
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15880 ac_tool_warned
=yes ;;
15882 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15885 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15889 if test -n "$PKG_CONFIG"; then
15890 _pkg_min_version
=0.22
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15892 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15893 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15895 $as_echo "yes" >&6; }
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15898 $as_echo "no" >&6; }
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
15904 $as_echo_n "checking for GNU make... " >&6; }
15905 if ${_cv_gnu_make_command+:} false
; then :
15906 $as_echo_n "(cached) " >&6
15908 _cv_gnu_make_command
='' ;
15909 for a
in "$MAKE" make gmake gnumake
; do
15910 if test -z "$a" ; then continue ; fi ;
15911 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
15912 _cv_gnu_make_command
=$a ;
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
15919 $as_echo "$_cv_gnu_make_command" >&6; } ;
15920 if test "x$_cv_gnu_make_command" != "x" ; then
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
15925 $as_echo "\"Not found\"" >&6; };
15929 GMAKE
=$_cv_gnu_make_command
15931 if test "x$GMAKE" = x
; then :
15932 as_fn_error $?
"You need GNU make" "$LINENO" 5
15935 # Extract the first word of "bash", so it can be a program name with args.
15936 set dummy bash
; ac_word
=$2
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15938 $as_echo_n "checking for $ac_word... " >&6; }
15939 if ${ac_cv_path__BASH+:} false
; then :
15940 $as_echo_n "(cached) " >&6
15944 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
15947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15948 for as_dir
in $PATH
15951 test -z "$as_dir" && as_dir
=.
15952 for ac_exec_ext
in '' $ac_executable_extensions; do
15953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15954 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
15955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15962 test -z "$ac_cv_path__BASH" && ac_cv_path__BASH
="as_fn_error $? "missing
\"bash
\"" "$LINENO" 5"
15966 _BASH
=$ac_cv_path__BASH
15967 if test -n "$_BASH"; then
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
15969 $as_echo "$_BASH" >&6; }
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15972 $as_echo "no" >&6; }
15976 # Extract the first word of "git", so it can be a program name with args.
15977 set dummy git
; ac_word
=$2
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15979 $as_echo_n "checking for $ac_word... " >&6; }
15980 if ${ac_cv_path_GIT+:} false
; then :
15981 $as_echo_n "(cached) " >&6
15985 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
15988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15989 for as_dir
in $PATH
15992 test -z "$as_dir" && as_dir
=.
15993 for ac_exec_ext
in '' $ac_executable_extensions; do
15994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15995 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
15996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16006 GIT
=$ac_cv_path_GIT
16007 if test -n "$GIT"; then
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16009 $as_echo "$GIT" >&6; }
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16012 $as_echo "no" >&6; }
16016 # Extract the first word of "time", so it can be a program name with args.
16017 set dummy
time; ac_word
=$2
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16019 $as_echo_n "checking for $ac_word... " >&6; }
16020 if ${ac_cv_path_TIME+:} false
; then :
16021 $as_echo_n "(cached) " >&6
16025 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16029 for as_dir
in $PATH
16032 test -z "$as_dir" && as_dir
=.
16033 for ac_exec_ext
in '' $ac_executable_extensions; do
16034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16035 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16046 TIME
=$ac_cv_path_TIME
16047 if test -n "$TIME"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16049 $as_echo "$TIME" >&6; }
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16062 $as_echo_n "checking for bison >= 2.3... " >&6; }
16063 if test -z "$BISON"; then
16064 ac_path_BISON_found
=false
16065 # Loop through the user's path and test for each of PROGNAME-LIST
16066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16067 for as_dir
in $PATH
16070 test -z "$as_dir" && as_dir
=.
16071 for ac_prog
in bison
; do
16072 for ac_exec_ext
in '' $ac_executable_extensions; do
16073 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16074 as_fn_executable_p
"$ac_path_BISON" || continue
16075 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16076 if ${version:+false} :; then :
16079 as_awk_strverscmp
='
16080 # Use only awk features that work with 7th edition Unix awk (1978).
16081 # My, what an old awk you have, Mr. Solaris!
16083 while (length(v1) && length(v2)) {
16084 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16085 # Normally this is a single character, but if v1 and v2 contain digits,
16086 # compare them as integers and fractions as strverscmp does.
16087 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16088 # Split v1 and v2 into their leading digit string components d1 and d2,
16089 # and advance v1 and v2 past the leading digit strings.
16090 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16091 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16092 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16093 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16096 # Compare two fractions.
16097 while (d1 ~ /^0/ && d2 ~ /^0/) {
16098 d1 = substr(d1, 2); len1--
16099 d2 = substr(d2, 2); len2--
16101 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16102 # The two components differ in length, and the common prefix
16103 # contains only leading zeros. Consider the longer to be less.
16107 # Otherwise, compare as strings.
16112 # A fraction is less than an integer.
16117 # An integer is greater than a fraction.
16120 # Compare two integers.
16126 # The normal case, without worrying about digits.
16127 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16128 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16130 if (d1 < d2) exit 1
16131 if (d1 > d2) exit 2
16133 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16134 # which mishandles some comparisons of empty strings to integers.
16135 if (length(v2)) exit 1
16136 if (length(v1)) exit 2
16141 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16146 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16148 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16154 $ac_path_BISON_found && break 3
16159 if test -z "$ac_cv_path_BISON"; then
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16161 $as_echo "no" >&6; }
16164 ac_cv_path_BISON
=$BISON
16170 BISON
=$ac_cv_path_BISON
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16173 $as_echo "$BISON" >&6; }
16178 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16185 $as_echo "no" >&6; }
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16194 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16195 if test -z "$FLEX"; then
16196 ac_path_FLEX_found
=false
16197 # Loop through the user's path and test for each of PROGNAME-LIST
16198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16199 for as_dir
in $PATH
16202 test -z "$as_dir" && as_dir
=.
16203 for ac_prog
in flex
; do
16204 for ac_exec_ext
in '' $ac_executable_extensions; do
16205 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16206 as_fn_executable_p
"$ac_path_FLEX" || continue
16207 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16208 if ${version:+false} :; then :
16213 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16218 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16220 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16226 $ac_path_FLEX_found && break 3
16231 if test -z "$ac_cv_path_FLEX"; then
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16233 $as_echo "no" >&6; }
16236 ac_cv_path_FLEX
=$FLEX
16242 FLEX
=$ac_cv_path_FLEX
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16245 $as_echo "$FLEX" >&6; }
16250 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16257 $as_echo "no" >&6; }
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16266 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16267 if test -z "$GPERF"; then
16268 ac_path_GPERF_found
=false
16269 # Loop through the user's path and test for each of PROGNAME-LIST
16270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16271 for as_dir
in $PATH
16274 test -z "$as_dir" && as_dir
=.
16275 for ac_prog
in gperf
; do
16276 for ac_exec_ext
in '' $ac_executable_extensions; do
16277 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16278 as_fn_executable_p
"$ac_path_GPERF" || continue
16279 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16280 if ${version:+false} :; then :
16285 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16290 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16292 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16298 $ac_path_GPERF_found && break 3
16303 if test -z "$ac_cv_path_GPERF"; then
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16305 $as_echo "no" >&6; }
16308 ac_cv_path_GPERF
=$GPERF
16314 GPERF
=$ac_cv_path_GPERF
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16317 $as_echo "$GPERF" >&6; }
16322 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16329 $as_echo "no" >&6; }
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16338 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16339 if test -z "$GNUTAR"; then
16340 ac_path_GNUTAR_found
=false
16341 # Loop through the user's path and test for each of PROGNAME-LIST
16342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16343 for as_dir
in $PATH
16346 test -z "$as_dir" && as_dir
=.
16347 for ac_prog
in tar gtar gnutar
; do
16348 for ac_exec_ext
in '' $ac_executable_extensions; do
16349 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16350 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16351 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16352 if ${version:+false} :; then :
16357 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16362 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16364 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16370 $ac_path_GNUTAR_found && break 3
16375 if test -z "$ac_cv_path_GNUTAR"; then
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16377 $as_echo "no" >&6; }
16380 ac_cv_path_GNUTAR
=$GNUTAR
16386 GNUTAR
=$ac_cv_path_GNUTAR
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16389 $as_echo "$GNUTAR" >&6; }
16394 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16401 $as_echo "no" >&6; }
16415 if ${CFLAGS+:} false
; then :
16416 case " $CFLAGS " in
16418 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16419 (: CFLAGS already contains
) 2>&5
16421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16422 test $ac_status = 0; }
16425 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16426 (: CFLAGS
="$CFLAGS ") 2>&5
16428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16429 test $ac_status = 0; }
16438 ac_cpp
='$CPP $CPPFLAGS'
16439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16444 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16445 if ${ac_cv_cflags_warn_all+:} false
; then :
16446 $as_echo_n "(cached) " >&6
16448 ac_cv_cflags_warn_all
="no, unknown"
16449 ac_save_CFLAGS
="$CFLAGS"
16450 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" #
16451 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16463 if ac_fn_c_try_compile
"$LINENO"; then :
16464 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16468 CFLAGS
="$ac_save_CFLAGS"
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16472 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16474 case ".$ac_cv_cflags_warn_all" in
16477 *) if ${CFLAGS+:} false
; then :
16478 case " $CFLAGS " in
16479 *" $ac_cv_cflags_warn_all "*)
16480 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16481 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16484 test $ac_status = 0; }
16487 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16488 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16491 test $ac_status = 0; }
16492 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16496 CFLAGS
="$ac_cv_cflags_warn_all"
16502 ac_cpp
='$CXXCPP $CPPFLAGS'
16503 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16504 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16505 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16509 ac_cpp
='$CXXCPP $CPPFLAGS'
16510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16515 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16516 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16517 $as_echo_n "(cached) " >&6
16519 ac_cv_cxxflags_warn_all
="no, unknown"
16520 ac_save_CXXFLAGS
="$CXXFLAGS"
16521 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" #
16522 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16534 if ac_fn_cxx_try_compile
"$LINENO"; then :
16535 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16539 CXXFLAGS
="$ac_save_CXXFLAGS"
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16543 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16545 case ".$ac_cv_cxxflags_warn_all" in
16548 *) if ${CXXFLAGS+:} false
; then :
16549 case " $CXXFLAGS " in
16550 *" $ac_cv_cxxflags_warn_all "*)
16551 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16552 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16555 test $ac_status = 0; }
16558 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16559 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16562 test $ac_status = 0; }
16563 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16567 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16573 ac_cpp
='$CXXCPP $CPPFLAGS'
16574 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16575 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16576 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-overloaded-virtual" >&5
16582 $as_echo_n "checking for -Wno-overloaded-virtual... " >&6; }
16586 for element
in -Wno-overloaded-virtual; do
16588 for x
in $CXXFLAGS; do
16590 acl_save_prefix
="$prefix"
16591 prefix
="$acl_final_prefix"
16592 acl_save_exec_prefix
="$exec_prefix"
16593 exec_prefix
="$acl_final_exec_prefix"
16595 exec_prefix
="$acl_save_exec_prefix"
16596 prefix
="$acl_save_prefix"
16598 if test "X$x" = "X$element"; then
16603 if test -z "$haveit"; then
16604 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h. */
16613 if ac_fn_cxx_try_compile
"$LINENO"; then :
16618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16621 if test "x$cy_good" = x1
; then :
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16623 $as_echo "yes" >&6; }
16626 for element
in -Wno-overloaded-virtual; do
16628 for x
in $CFLAGS; do
16630 acl_save_prefix
="$prefix"
16631 prefix
="$acl_final_prefix"
16632 acl_save_exec_prefix
="$exec_prefix"
16633 exec_prefix
="$acl_final_exec_prefix"
16635 exec_prefix
="$acl_save_exec_prefix"
16636 prefix
="$acl_save_prefix"
16638 if test "X$x" = "X$element"; then
16643 if test -z "$haveit"; then
16644 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16649 for element
in -Wno-overloaded-virtual; do
16651 for x
in $CXXFLAGS; do
16653 acl_save_prefix
="$prefix"
16654 prefix
="$acl_final_prefix"
16655 acl_save_exec_prefix
="$exec_prefix"
16656 exec_prefix
="$acl_final_exec_prefix"
16658 exec_prefix
="$acl_save_exec_prefix"
16659 prefix
="$acl_save_prefix"
16661 if test "X$x" = "X$element"; then
16666 if test -z "$haveit"; then
16667 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16672 for element
in -Wno-overloaded-virtual; do
16674 for x
in $OBJCCXXFLAGS; do
16676 acl_save_prefix
="$prefix"
16677 prefix
="$acl_final_prefix"
16678 acl_save_exec_prefix
="$exec_prefix"
16679 exec_prefix
="$acl_final_exec_prefix"
16681 exec_prefix
="$acl_save_exec_prefix"
16682 prefix
="$acl_save_prefix"
16684 if test "X$x" = "X$element"; then
16689 if test -z "$haveit"; then
16690 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16698 $as_echo "no" >&6; }
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-parentheses" >&5
16704 $as_echo_n "checking for -Wno-parentheses... " >&6; }
16708 for element
in -Wno-parentheses; do
16710 for x
in $CXXFLAGS; do
16712 acl_save_prefix
="$prefix"
16713 prefix
="$acl_final_prefix"
16714 acl_save_exec_prefix
="$exec_prefix"
16715 exec_prefix
="$acl_final_exec_prefix"
16717 exec_prefix
="$acl_save_exec_prefix"
16718 prefix
="$acl_save_prefix"
16720 if test "X$x" = "X$element"; then
16725 if test -z "$haveit"; then
16726 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16735 if ac_fn_cxx_try_compile
"$LINENO"; then :
16740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16743 if test "x$cy_good" = x1
; then :
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16745 $as_echo "yes" >&6; }
16748 for element
in -Wno-parentheses; do
16750 for x
in $CFLAGS; do
16752 acl_save_prefix
="$prefix"
16753 prefix
="$acl_final_prefix"
16754 acl_save_exec_prefix
="$exec_prefix"
16755 exec_prefix
="$acl_final_exec_prefix"
16757 exec_prefix
="$acl_save_exec_prefix"
16758 prefix
="$acl_save_prefix"
16760 if test "X$x" = "X$element"; then
16765 if test -z "$haveit"; then
16766 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16771 for element
in -Wno-parentheses; do
16773 for x
in $CXXFLAGS; do
16775 acl_save_prefix
="$prefix"
16776 prefix
="$acl_final_prefix"
16777 acl_save_exec_prefix
="$exec_prefix"
16778 exec_prefix
="$acl_final_exec_prefix"
16780 exec_prefix
="$acl_save_exec_prefix"
16781 prefix
="$acl_save_prefix"
16783 if test "X$x" = "X$element"; then
16788 if test -z "$haveit"; then
16789 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16794 for element
in -Wno-parentheses; do
16796 for x
in $OBJCCXXFLAGS; do
16798 acl_save_prefix
="$prefix"
16799 prefix
="$acl_final_prefix"
16800 acl_save_exec_prefix
="$exec_prefix"
16801 exec_prefix
="$acl_final_exec_prefix"
16803 exec_prefix
="$acl_save_exec_prefix"
16804 prefix
="$acl_save_prefix"
16806 if test "X$x" = "X$element"; then
16811 if test -z "$haveit"; then
16812 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16820 $as_echo "no" >&6; }
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-unneeded-internal-declaration" >&5
16826 $as_echo_n "checking for -Wno-unneeded-internal-declaration... " >&6; }
16830 for element
in -Wno-unneeded-internal-declaration; do
16832 for x
in $CXXFLAGS; do
16834 acl_save_prefix
="$prefix"
16835 prefix
="$acl_final_prefix"
16836 acl_save_exec_prefix
="$exec_prefix"
16837 exec_prefix
="$acl_final_exec_prefix"
16839 exec_prefix
="$acl_save_exec_prefix"
16840 prefix
="$acl_save_prefix"
16842 if test "X$x" = "X$element"; then
16847 if test -z "$haveit"; then
16848 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16857 if ac_fn_cxx_try_compile
"$LINENO"; then :
16862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16865 if test "x$cy_good" = x1
; then :
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16867 $as_echo "yes" >&6; }
16870 for element
in -Wno-unneeded-internal-declaration; do
16872 for x
in $CFLAGS; do
16874 acl_save_prefix
="$prefix"
16875 prefix
="$acl_final_prefix"
16876 acl_save_exec_prefix
="$exec_prefix"
16877 exec_prefix
="$acl_final_exec_prefix"
16879 exec_prefix
="$acl_save_exec_prefix"
16880 prefix
="$acl_save_prefix"
16882 if test "X$x" = "X$element"; then
16887 if test -z "$haveit"; then
16888 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16893 for element
in -Wno-unneeded-internal-declaration; do
16895 for x
in $CXXFLAGS; do
16897 acl_save_prefix
="$prefix"
16898 prefix
="$acl_final_prefix"
16899 acl_save_exec_prefix
="$exec_prefix"
16900 exec_prefix
="$acl_final_exec_prefix"
16902 exec_prefix
="$acl_save_exec_prefix"
16903 prefix
="$acl_save_prefix"
16905 if test "X$x" = "X$element"; then
16910 if test -z "$haveit"; then
16911 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16916 for element
in -Wno-unneeded-internal-declaration; do
16918 for x
in $OBJCCXXFLAGS; do
16920 acl_save_prefix
="$prefix"
16921 prefix
="$acl_final_prefix"
16922 acl_save_exec_prefix
="$exec_prefix"
16923 exec_prefix
="$acl_final_exec_prefix"
16925 exec_prefix
="$acl_save_exec_prefix"
16926 prefix
="$acl_save_prefix"
16928 if test "X$x" = "X$element"; then
16933 if test -z "$haveit"; then
16934 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16942 $as_echo "no" >&6; }
16947 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
16949 $as_echo_n "checking for -arch $cy_arch... " >&6; }
16953 for element
in "-arch $cy_arch"; do
16955 for x
in $CXXFLAGS; do
16957 acl_save_prefix
="$prefix"
16958 prefix
="$acl_final_prefix"
16959 acl_save_exec_prefix
="$exec_prefix"
16960 exec_prefix
="$acl_final_exec_prefix"
16962 exec_prefix
="$acl_save_exec_prefix"
16963 prefix
="$acl_save_prefix"
16965 if test "X$x" = "X$element"; then
16970 if test -z "$haveit"; then
16971 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16987 if ac_fn_cxx_try_link
"$LINENO"; then :
16992 rm -f core conftest.err conftest.
$ac_objext \
16993 conftest
$ac_exeext conftest.
$ac_ext
16996 if test "x$cy_good" = x1
; then :
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16998 $as_echo "yes" >&6; }
17000 for element
in "-arch $cy_arch"; do
17002 for x
in $CY_ARCH; do
17004 acl_save_prefix
="$prefix"
17005 prefix
="$acl_final_prefix"
17006 acl_save_exec_prefix
="$exec_prefix"
17007 exec_prefix
="$acl_final_exec_prefix"
17009 exec_prefix
="$acl_save_exec_prefix"
17010 prefix
="$acl_save_prefix"
17012 if test "X$x" = "X$element"; then
17017 if test -z "$haveit"; then
17018 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17025 $as_echo "no" >&6; }
17032 # Check whether --with-frameworks was given.
17033 if test "${with_frameworks+set}" = set; then :
17034 withval
=$with_frameworks;
17035 for cy_framework
in $withval; do
17038 for element
in -F$cy_framework; do
17040 for x
in $CFLAGS; do
17042 acl_save_prefix
="$prefix"
17043 prefix
="$acl_final_prefix"
17044 acl_save_exec_prefix
="$exec_prefix"
17045 exec_prefix
="$acl_final_exec_prefix"
17047 exec_prefix
="$acl_save_exec_prefix"
17048 prefix
="$acl_save_prefix"
17050 if test "X$x" = "X$element"; then
17055 if test -z "$haveit"; then
17056 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17061 for element
in -F$cy_framework; do
17063 for x
in $CXXFLAGS; do
17065 acl_save_prefix
="$prefix"
17066 prefix
="$acl_final_prefix"
17067 acl_save_exec_prefix
="$exec_prefix"
17068 exec_prefix
="$acl_final_exec_prefix"
17070 exec_prefix
="$acl_save_exec_prefix"
17071 prefix
="$acl_save_prefix"
17073 if test "X$x" = "X$element"; then
17078 if test -z "$haveit"; then
17079 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17084 for element
in -F$cy_framework; do
17086 for x
in $OBJCCXXFLAGS; do
17088 acl_save_prefix
="$prefix"
17089 prefix
="$acl_final_prefix"
17090 acl_save_exec_prefix
="$exec_prefix"
17091 exec_prefix
="$acl_final_exec_prefix"
17093 exec_prefix
="$acl_save_exec_prefix"
17094 prefix
="$acl_save_prefix"
17096 if test "X$x" = "X$element"; then
17101 if test -z "$haveit"; then
17102 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
17114 # Check whether --enable-javascript was given.
17115 if test "${enable_javascript+set}" = set; then :
17116 enableval
=$enable_javascript;
17117 case $enableval in #(
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17125 $as_echo_n "checking for WEBKIT... " >&6; }
17127 if test -n "$WEBKIT_CFLAGS"; then
17128 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17129 elif test -n "$PKG_CONFIG"; then
17130 if test -n "$PKG_CONFIG" && \
17131 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17132 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17135 test $ac_status = 0; }; then
17136 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17143 if test -n "$WEBKIT_LIBS"; then
17144 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17145 elif test -n "$PKG_CONFIG"; then
17146 if test -n "$PKG_CONFIG" && \
17147 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17148 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17151 test $ac_status = 0; }; then
17152 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17162 if test $pkg_failed = yes; then
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17164 $as_echo "no" >&6; }
17166 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17167 _pkg_short_errors_supported
=yes
17169 _pkg_short_errors_supported
=no
17171 if test $_pkg_short_errors_supported = yes; then
17172 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17174 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17176 # Put the nasty error message in config.log where it belongs
17177 echo "$WEBKIT_PKG_ERRORS" >&5
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17183 $as_echo_n "checking for WEBKIT... " >&6; }
17185 if test -n "$WEBKIT_CFLAGS"; then
17186 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17187 elif test -n "$PKG_CONFIG"; then
17188 if test -n "$PKG_CONFIG" && \
17189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17190 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17193 test $ac_status = 0; }; then
17194 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17201 if test -n "$WEBKIT_LIBS"; then
17202 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17203 elif test -n "$PKG_CONFIG"; then
17204 if test -n "$PKG_CONFIG" && \
17205 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17206 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17209 test $ac_status = 0; }; then
17210 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17220 if test $pkg_failed = yes; then
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17222 $as_echo "no" >&6; }
17224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17225 _pkg_short_errors_supported
=yes
17227 _pkg_short_errors_supported
=no
17229 if test $_pkg_short_errors_supported = yes; then
17230 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17232 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17234 # Put the nasty error message in config.log where it belongs
17235 echo "$WEBKIT_PKG_ERRORS" >&5
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17240 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17241 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17242 $as_echo_n "(cached) " >&6
17245 ac_check_framework_save_LIBS
=$LIBS
17246 LIBS
="-framework JavaScriptCore $LIBS"
17247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17250 #include <JavaScriptCore/JSBase.h>
17256 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17262 if ac_fn_cxx_try_link
"$LINENO"; then :
17264 ac_cv_framework_JavaScriptCore
=yes
17267 ac_cv_framework_JavaScriptCore
=no
17269 rm -f core conftest.err conftest.
$ac_objext \
17270 conftest
$ac_exeext conftest.
$ac_ext
17271 LIBS
=$ac_check_framework_save_LIBS
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17275 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17276 if test $ac_cv_framework_JavaScriptCore = yes; then :
17279 for element
in "-framework JavaScriptCore $LIBS"; do
17283 acl_save_prefix
="$prefix"
17284 prefix
="$acl_final_prefix"
17285 acl_save_exec_prefix
="$exec_prefix"
17286 exec_prefix
="$acl_final_exec_prefix"
17288 exec_prefix
="$acl_save_exec_prefix"
17289 prefix
="$acl_save_prefix"
17291 if test "X$x" = "X$element"; then
17296 if test -z "$haveit"; then
17297 LIBS
="${LIBS}${LIBS:+ }$element"
17308 elif test $pkg_failed = untried
; then
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17310 $as_echo "no" >&6; }
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17314 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17315 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17316 $as_echo_n "(cached) " >&6
17319 ac_check_framework_save_LIBS
=$LIBS
17320 LIBS
="-framework JavaScriptCore $LIBS"
17321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17322 /* end confdefs.h. */
17324 #include <JavaScriptCore/JSBase.h>
17330 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17336 if ac_fn_cxx_try_link
"$LINENO"; then :
17338 ac_cv_framework_JavaScriptCore
=yes
17341 ac_cv_framework_JavaScriptCore
=no
17343 rm -f core conftest.err conftest.
$ac_objext \
17344 conftest
$ac_exeext conftest.
$ac_ext
17345 LIBS
=$ac_check_framework_save_LIBS
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17349 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17350 if test $ac_cv_framework_JavaScriptCore = yes; then :
17353 for element
in "-framework JavaScriptCore $LIBS"; do
17357 acl_save_prefix
="$prefix"
17358 prefix
="$acl_final_prefix"
17359 acl_save_exec_prefix
="$exec_prefix"
17360 exec_prefix
="$acl_final_exec_prefix"
17362 exec_prefix
="$acl_save_exec_prefix"
17363 prefix
="$acl_save_prefix"
17365 if test "X$x" = "X$element"; then
17370 if test -z "$haveit"; then
17371 LIBS
="${LIBS}${LIBS:+ }$element"
17383 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17384 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17386 $as_echo "yes" >&6; }
17391 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17393 for x
in $CXXFLAGS; do
17395 acl_save_prefix
="$prefix"
17396 prefix
="$acl_final_prefix"
17397 acl_save_exec_prefix
="$exec_prefix"
17398 exec_prefix
="$acl_final_exec_prefix"
17400 exec_prefix
="$acl_save_exec_prefix"
17401 prefix
="$acl_save_prefix"
17403 if test "X$x" = "X$element"; then
17408 if test -z "$haveit"; then
17409 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17414 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17418 acl_save_prefix
="$prefix"
17419 prefix
="$acl_final_prefix"
17420 acl_save_exec_prefix
="$exec_prefix"
17421 exec_prefix
="$acl_final_exec_prefix"
17423 exec_prefix
="$acl_save_exec_prefix"
17424 prefix
="$acl_save_prefix"
17426 if test "X$x" = "X$element"; then
17431 if test -z "$haveit"; then
17432 LIBS
="${LIBS}${LIBS:+ }$element"
17439 elif test $pkg_failed = untried
; then
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17441 $as_echo "no" >&6; }
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17446 $as_echo_n "checking for WEBKIT... " >&6; }
17448 if test -n "$WEBKIT_CFLAGS"; then
17449 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17450 elif test -n "$PKG_CONFIG"; then
17451 if test -n "$PKG_CONFIG" && \
17452 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17453 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17456 test $ac_status = 0; }; then
17457 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17464 if test -n "$WEBKIT_LIBS"; then
17465 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17466 elif test -n "$PKG_CONFIG"; then
17467 if test -n "$PKG_CONFIG" && \
17468 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17469 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17472 test $ac_status = 0; }; then
17473 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17483 if test $pkg_failed = yes; then
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17485 $as_echo "no" >&6; }
17487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17488 _pkg_short_errors_supported
=yes
17490 _pkg_short_errors_supported
=no
17492 if test $_pkg_short_errors_supported = yes; then
17493 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17495 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17497 # Put the nasty error message in config.log where it belongs
17498 echo "$WEBKIT_PKG_ERRORS" >&5
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17503 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17504 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17505 $as_echo_n "(cached) " >&6
17508 ac_check_framework_save_LIBS
=$LIBS
17509 LIBS
="-framework JavaScriptCore $LIBS"
17510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17513 #include <JavaScriptCore/JSBase.h>
17519 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17525 if ac_fn_cxx_try_link
"$LINENO"; then :
17527 ac_cv_framework_JavaScriptCore
=yes
17530 ac_cv_framework_JavaScriptCore
=no
17532 rm -f core conftest.err conftest.
$ac_objext \
17533 conftest
$ac_exeext conftest.
$ac_ext
17534 LIBS
=$ac_check_framework_save_LIBS
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17538 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17539 if test $ac_cv_framework_JavaScriptCore = yes; then :
17542 for element
in "-framework JavaScriptCore $LIBS"; do
17546 acl_save_prefix
="$prefix"
17547 prefix
="$acl_final_prefix"
17548 acl_save_exec_prefix
="$exec_prefix"
17549 exec_prefix
="$acl_final_exec_prefix"
17551 exec_prefix
="$acl_save_exec_prefix"
17552 prefix
="$acl_save_prefix"
17554 if test "X$x" = "X$element"; then
17559 if test -z "$haveit"; then
17560 LIBS
="${LIBS}${LIBS:+ }$element"
17571 elif test $pkg_failed = untried
; then
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17573 $as_echo "no" >&6; }
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17577 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17578 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17579 $as_echo_n "(cached) " >&6
17582 ac_check_framework_save_LIBS
=$LIBS
17583 LIBS
="-framework JavaScriptCore $LIBS"
17584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17587 #include <JavaScriptCore/JSBase.h>
17593 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17599 if ac_fn_cxx_try_link
"$LINENO"; then :
17601 ac_cv_framework_JavaScriptCore
=yes
17604 ac_cv_framework_JavaScriptCore
=no
17606 rm -f core conftest.err conftest.
$ac_objext \
17607 conftest
$ac_exeext conftest.
$ac_ext
17608 LIBS
=$ac_check_framework_save_LIBS
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17612 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17613 if test $ac_cv_framework_JavaScriptCore = yes; then :
17616 for element
in "-framework JavaScriptCore $LIBS"; do
17620 acl_save_prefix
="$prefix"
17621 prefix
="$acl_final_prefix"
17622 acl_save_exec_prefix
="$exec_prefix"
17623 exec_prefix
="$acl_final_exec_prefix"
17625 exec_prefix
="$acl_save_exec_prefix"
17626 prefix
="$acl_save_prefix"
17628 if test "X$x" = "X$element"; then
17633 if test -z "$haveit"; then
17634 LIBS
="${LIBS}${LIBS:+ }$element"
17646 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17647 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17649 $as_echo "yes" >&6; }
17654 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17656 for x
in $CXXFLAGS; do
17658 acl_save_prefix
="$prefix"
17659 prefix
="$acl_final_prefix"
17660 acl_save_exec_prefix
="$exec_prefix"
17661 exec_prefix
="$acl_final_exec_prefix"
17663 exec_prefix
="$acl_save_exec_prefix"
17664 prefix
="$acl_save_prefix"
17666 if test "X$x" = "X$element"; then
17671 if test -z "$haveit"; then
17672 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17677 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17681 acl_save_prefix
="$prefix"
17682 prefix
="$acl_final_prefix"
17683 acl_save_exec_prefix
="$exec_prefix"
17684 exec_prefix
="$acl_final_exec_prefix"
17686 exec_prefix
="$acl_save_exec_prefix"
17687 prefix
="$acl_save_prefix"
17689 if test "X$x" = "X$element"; then
17694 if test -z "$haveit"; then
17695 LIBS
="${LIBS}${LIBS:+ }$element"
17703 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17704 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17706 $as_echo "yes" >&6; }
17711 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
17713 for x
in $CXXFLAGS; do
17715 acl_save_prefix
="$prefix"
17716 prefix
="$acl_final_prefix"
17717 acl_save_exec_prefix
="$exec_prefix"
17718 exec_prefix
="$acl_final_exec_prefix"
17720 exec_prefix
="$acl_save_exec_prefix"
17721 prefix
="$acl_save_prefix"
17723 if test "X$x" = "X$element"; then
17728 if test -z "$haveit"; then
17729 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17734 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
17738 acl_save_prefix
="$prefix"
17739 prefix
="$acl_final_prefix"
17740 acl_save_exec_prefix
="$exec_prefix"
17741 exec_prefix
="$acl_final_exec_prefix"
17743 exec_prefix
="$acl_save_exec_prefix"
17744 prefix
="$acl_save_prefix"
17746 if test "X$x" = "X$element"; then
17751 if test -z "$haveit"; then
17752 LIBS
="${LIBS}${LIBS:+ }$element"
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17769 $as_echo_n "checking for WEBKIT... " >&6; }
17771 if test -n "$WEBKIT_CFLAGS"; then
17772 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17773 elif test -n "$PKG_CONFIG"; then
17774 if test -n "$PKG_CONFIG" && \
17775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17776 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17779 test $ac_status = 0; }; then
17780 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17787 if test -n "$WEBKIT_LIBS"; then
17788 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17789 elif test -n "$PKG_CONFIG"; then
17790 if test -n "$PKG_CONFIG" && \
17791 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17792 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17795 test $ac_status = 0; }; then
17796 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17806 if test $pkg_failed = yes; then
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17808 $as_echo "no" >&6; }
17810 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17811 _pkg_short_errors_supported
=yes
17813 _pkg_short_errors_supported
=no
17815 if test $_pkg_short_errors_supported = yes; then
17816 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17818 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17820 # Put the nasty error message in config.log where it belongs
17821 echo "$WEBKIT_PKG_ERRORS" >&5
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17827 $as_echo_n "checking for WEBKIT... " >&6; }
17829 if test -n "$WEBKIT_CFLAGS"; then
17830 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17831 elif test -n "$PKG_CONFIG"; then
17832 if test -n "$PKG_CONFIG" && \
17833 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17834 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17837 test $ac_status = 0; }; then
17838 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17845 if test -n "$WEBKIT_LIBS"; then
17846 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17847 elif test -n "$PKG_CONFIG"; then
17848 if test -n "$PKG_CONFIG" && \
17849 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17850 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17853 test $ac_status = 0; }; then
17854 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17864 if test $pkg_failed = yes; then
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17866 $as_echo "no" >&6; }
17868 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17869 _pkg_short_errors_supported
=yes
17871 _pkg_short_errors_supported
=no
17873 if test $_pkg_short_errors_supported = yes; then
17874 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17876 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17878 # Put the nasty error message in config.log where it belongs
17879 echo "$WEBKIT_PKG_ERRORS" >&5
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17884 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17885 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17886 $as_echo_n "(cached) " >&6
17889 ac_check_framework_save_LIBS
=$LIBS
17890 LIBS
="-framework JavaScriptCore $LIBS"
17891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17892 /* end confdefs.h. */
17894 #include <JavaScriptCore/JSBase.h>
17900 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17906 if ac_fn_cxx_try_link
"$LINENO"; then :
17908 ac_cv_framework_JavaScriptCore
=yes
17911 ac_cv_framework_JavaScriptCore
=no
17913 rm -f core conftest.err conftest.
$ac_objext \
17914 conftest
$ac_exeext conftest.
$ac_ext
17915 LIBS
=$ac_check_framework_save_LIBS
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17919 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17920 if test $ac_cv_framework_JavaScriptCore = yes; then :
17923 for element
in "-framework JavaScriptCore $LIBS"; do
17927 acl_save_prefix
="$prefix"
17928 prefix
="$acl_final_prefix"
17929 acl_save_exec_prefix
="$exec_prefix"
17930 exec_prefix
="$acl_final_exec_prefix"
17932 exec_prefix
="$acl_save_exec_prefix"
17933 prefix
="$acl_save_prefix"
17935 if test "X$x" = "X$element"; then
17940 if test -z "$haveit"; then
17941 LIBS
="${LIBS}${LIBS:+ }$element"
17952 elif test $pkg_failed = untried
; then
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17954 $as_echo "no" >&6; }
17957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17958 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17959 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17960 $as_echo_n "(cached) " >&6
17963 ac_check_framework_save_LIBS
=$LIBS
17964 LIBS
="-framework JavaScriptCore $LIBS"
17965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17966 /* end confdefs.h. */
17968 #include <JavaScriptCore/JSBase.h>
17974 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17980 if ac_fn_cxx_try_link
"$LINENO"; then :
17982 ac_cv_framework_JavaScriptCore
=yes
17985 ac_cv_framework_JavaScriptCore
=no
17987 rm -f core conftest.err conftest.
$ac_objext \
17988 conftest
$ac_exeext conftest.
$ac_ext
17989 LIBS
=$ac_check_framework_save_LIBS
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17993 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17994 if test $ac_cv_framework_JavaScriptCore = yes; then :
17997 for element
in "-framework JavaScriptCore $LIBS"; do
18001 acl_save_prefix
="$prefix"
18002 prefix
="$acl_final_prefix"
18003 acl_save_exec_prefix
="$exec_prefix"
18004 exec_prefix
="$acl_final_exec_prefix"
18006 exec_prefix
="$acl_save_exec_prefix"
18007 prefix
="$acl_save_prefix"
18009 if test "X$x" = "X$element"; then
18014 if test -z "$haveit"; then
18015 LIBS
="${LIBS}${LIBS:+ }$element"
18027 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18028 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18030 $as_echo "yes" >&6; }
18035 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18037 for x
in $CXXFLAGS; 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 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18058 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18062 acl_save_prefix
="$prefix"
18063 prefix
="$acl_final_prefix"
18064 acl_save_exec_prefix
="$exec_prefix"
18065 exec_prefix
="$acl_final_exec_prefix"
18067 exec_prefix
="$acl_save_exec_prefix"
18068 prefix
="$acl_save_prefix"
18070 if test "X$x" = "X$element"; then
18075 if test -z "$haveit"; then
18076 LIBS
="${LIBS}${LIBS:+ }$element"
18083 elif test $pkg_failed = untried
; then
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18085 $as_echo "no" >&6; }
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18090 $as_echo_n "checking for WEBKIT... " >&6; }
18092 if test -n "$WEBKIT_CFLAGS"; then
18093 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18094 elif test -n "$PKG_CONFIG"; then
18095 if test -n "$PKG_CONFIG" && \
18096 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18097 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18100 test $ac_status = 0; }; then
18101 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18108 if test -n "$WEBKIT_LIBS"; then
18109 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18110 elif test -n "$PKG_CONFIG"; then
18111 if test -n "$PKG_CONFIG" && \
18112 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18113 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18116 test $ac_status = 0; }; then
18117 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18127 if test $pkg_failed = yes; then
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18129 $as_echo "no" >&6; }
18131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18132 _pkg_short_errors_supported
=yes
18134 _pkg_short_errors_supported
=no
18136 if test $_pkg_short_errors_supported = yes; then
18137 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18139 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18141 # Put the nasty error message in config.log where it belongs
18142 echo "$WEBKIT_PKG_ERRORS" >&5
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18147 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18148 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18149 $as_echo_n "(cached) " >&6
18152 ac_check_framework_save_LIBS
=$LIBS
18153 LIBS
="-framework JavaScriptCore $LIBS"
18154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18157 #include <JavaScriptCore/JSBase.h>
18163 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18169 if ac_fn_cxx_try_link
"$LINENO"; then :
18171 ac_cv_framework_JavaScriptCore
=yes
18174 ac_cv_framework_JavaScriptCore
=no
18176 rm -f core conftest.err conftest.
$ac_objext \
18177 conftest
$ac_exeext conftest.
$ac_ext
18178 LIBS
=$ac_check_framework_save_LIBS
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18182 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18183 if test $ac_cv_framework_JavaScriptCore = yes; then :
18186 for element
in "-framework JavaScriptCore $LIBS"; do
18190 acl_save_prefix
="$prefix"
18191 prefix
="$acl_final_prefix"
18192 acl_save_exec_prefix
="$exec_prefix"
18193 exec_prefix
="$acl_final_exec_prefix"
18195 exec_prefix
="$acl_save_exec_prefix"
18196 prefix
="$acl_save_prefix"
18198 if test "X$x" = "X$element"; then
18203 if test -z "$haveit"; then
18204 LIBS
="${LIBS}${LIBS:+ }$element"
18215 elif test $pkg_failed = untried
; then
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18217 $as_echo "no" >&6; }
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18221 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18222 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18223 $as_echo_n "(cached) " >&6
18226 ac_check_framework_save_LIBS
=$LIBS
18227 LIBS
="-framework JavaScriptCore $LIBS"
18228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18231 #include <JavaScriptCore/JSBase.h>
18237 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18243 if ac_fn_cxx_try_link
"$LINENO"; then :
18245 ac_cv_framework_JavaScriptCore
=yes
18248 ac_cv_framework_JavaScriptCore
=no
18250 rm -f core conftest.err conftest.
$ac_objext \
18251 conftest
$ac_exeext conftest.
$ac_ext
18252 LIBS
=$ac_check_framework_save_LIBS
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18256 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18257 if test $ac_cv_framework_JavaScriptCore = yes; then :
18260 for element
in "-framework JavaScriptCore $LIBS"; do
18264 acl_save_prefix
="$prefix"
18265 prefix
="$acl_final_prefix"
18266 acl_save_exec_prefix
="$exec_prefix"
18267 exec_prefix
="$acl_final_exec_prefix"
18269 exec_prefix
="$acl_save_exec_prefix"
18270 prefix
="$acl_save_prefix"
18272 if test "X$x" = "X$element"; then
18277 if test -z "$haveit"; then
18278 LIBS
="${LIBS}${LIBS:+ }$element"
18290 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18291 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18293 $as_echo "yes" >&6; }
18298 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18300 for x
in $CXXFLAGS; do
18302 acl_save_prefix
="$prefix"
18303 prefix
="$acl_final_prefix"
18304 acl_save_exec_prefix
="$exec_prefix"
18305 exec_prefix
="$acl_final_exec_prefix"
18307 exec_prefix
="$acl_save_exec_prefix"
18308 prefix
="$acl_save_prefix"
18310 if test "X$x" = "X$element"; then
18315 if test -z "$haveit"; then
18316 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18321 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18325 acl_save_prefix
="$prefix"
18326 prefix
="$acl_final_prefix"
18327 acl_save_exec_prefix
="$exec_prefix"
18328 exec_prefix
="$acl_final_exec_prefix"
18330 exec_prefix
="$acl_save_exec_prefix"
18331 prefix
="$acl_save_prefix"
18333 if test "X$x" = "X$element"; then
18338 if test -z "$haveit"; then
18339 LIBS
="${LIBS}${LIBS:+ }$element"
18347 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18348 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18350 $as_echo "yes" >&6; }
18355 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
18357 for x
in $CXXFLAGS; do
18359 acl_save_prefix
="$prefix"
18360 prefix
="$acl_final_prefix"
18361 acl_save_exec_prefix
="$exec_prefix"
18362 exec_prefix
="$acl_final_exec_prefix"
18364 exec_prefix
="$acl_save_exec_prefix"
18365 prefix
="$acl_save_prefix"
18367 if test "X$x" = "X$element"; then
18372 if test -z "$haveit"; then
18373 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18378 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
18382 acl_save_prefix
="$prefix"
18383 prefix
="$acl_final_prefix"
18384 acl_save_exec_prefix
="$exec_prefix"
18385 exec_prefix
="$acl_final_exec_prefix"
18387 exec_prefix
="$acl_save_exec_prefix"
18388 prefix
="$acl_save_prefix"
18390 if test "X$x" = "X$element"; then
18395 if test -z "$haveit"; then
18396 LIBS
="${LIBS}${LIBS:+ }$element"
18404 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18413 $as_echo_n "checking for WEBKIT... " >&6; }
18415 if test -n "$WEBKIT_CFLAGS"; then
18416 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18417 elif test -n "$PKG_CONFIG"; then
18418 if test -n "$PKG_CONFIG" && \
18419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18420 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18423 test $ac_status = 0; }; then
18424 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
18431 if test -n "$WEBKIT_LIBS"; then
18432 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18433 elif test -n "$PKG_CONFIG"; then
18434 if test -n "$PKG_CONFIG" && \
18435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18436 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18439 test $ac_status = 0; }; then
18440 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
18450 if test $pkg_failed = yes; then
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18452 $as_echo "no" >&6; }
18454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18455 _pkg_short_errors_supported
=yes
18457 _pkg_short_errors_supported
=no
18459 if test $_pkg_short_errors_supported = yes; then
18460 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
18462 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
18464 # Put the nasty error message in config.log where it belongs
18465 echo "$WEBKIT_PKG_ERRORS" >&5
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18471 $as_echo_n "checking for WEBKIT... " >&6; }
18473 if test -n "$WEBKIT_CFLAGS"; then
18474 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18475 elif test -n "$PKG_CONFIG"; then
18476 if test -n "$PKG_CONFIG" && \
18477 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18478 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18481 test $ac_status = 0; }; then
18482 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18489 if test -n "$WEBKIT_LIBS"; then
18490 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18491 elif test -n "$PKG_CONFIG"; then
18492 if test -n "$PKG_CONFIG" && \
18493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18494 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18497 test $ac_status = 0; }; then
18498 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18508 if test $pkg_failed = yes; then
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18510 $as_echo "no" >&6; }
18512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18513 _pkg_short_errors_supported
=yes
18515 _pkg_short_errors_supported
=no
18517 if test $_pkg_short_errors_supported = yes; then
18518 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18520 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18522 # Put the nasty error message in config.log where it belongs
18523 echo "$WEBKIT_PKG_ERRORS" >&5
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18528 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18529 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18530 $as_echo_n "(cached) " >&6
18533 ac_check_framework_save_LIBS
=$LIBS
18534 LIBS
="-framework JavaScriptCore $LIBS"
18535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18538 #include <JavaScriptCore/JSBase.h>
18544 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18550 if ac_fn_cxx_try_link
"$LINENO"; then :
18552 ac_cv_framework_JavaScriptCore
=yes
18555 ac_cv_framework_JavaScriptCore
=no
18557 rm -f core conftest.err conftest.
$ac_objext \
18558 conftest
$ac_exeext conftest.
$ac_ext
18559 LIBS
=$ac_check_framework_save_LIBS
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18563 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18564 if test $ac_cv_framework_JavaScriptCore = yes; then :
18567 for element
in "-framework JavaScriptCore $LIBS"; do
18571 acl_save_prefix
="$prefix"
18572 prefix
="$acl_final_prefix"
18573 acl_save_exec_prefix
="$exec_prefix"
18574 exec_prefix
="$acl_final_exec_prefix"
18576 exec_prefix
="$acl_save_exec_prefix"
18577 prefix
="$acl_save_prefix"
18579 if test "X$x" = "X$element"; then
18584 if test -z "$haveit"; then
18585 LIBS
="${LIBS}${LIBS:+ }$element"
18596 elif test $pkg_failed = untried
; then
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18598 $as_echo "no" >&6; }
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18602 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18603 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18604 $as_echo_n "(cached) " >&6
18607 ac_check_framework_save_LIBS
=$LIBS
18608 LIBS
="-framework JavaScriptCore $LIBS"
18609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18612 #include <JavaScriptCore/JSBase.h>
18618 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18624 if ac_fn_cxx_try_link
"$LINENO"; then :
18626 ac_cv_framework_JavaScriptCore
=yes
18629 ac_cv_framework_JavaScriptCore
=no
18631 rm -f core conftest.err conftest.
$ac_objext \
18632 conftest
$ac_exeext conftest.
$ac_ext
18633 LIBS
=$ac_check_framework_save_LIBS
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18637 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18638 if test $ac_cv_framework_JavaScriptCore = yes; then :
18641 for element
in "-framework JavaScriptCore $LIBS"; do
18645 acl_save_prefix
="$prefix"
18646 prefix
="$acl_final_prefix"
18647 acl_save_exec_prefix
="$exec_prefix"
18648 exec_prefix
="$acl_final_exec_prefix"
18650 exec_prefix
="$acl_save_exec_prefix"
18651 prefix
="$acl_save_prefix"
18653 if test "X$x" = "X$element"; then
18658 if test -z "$haveit"; then
18659 LIBS
="${LIBS}${LIBS:+ }$element"
18671 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18672 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18674 $as_echo "yes" >&6; }
18679 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18681 for x
in $CXXFLAGS; do
18683 acl_save_prefix
="$prefix"
18684 prefix
="$acl_final_prefix"
18685 acl_save_exec_prefix
="$exec_prefix"
18686 exec_prefix
="$acl_final_exec_prefix"
18688 exec_prefix
="$acl_save_exec_prefix"
18689 prefix
="$acl_save_prefix"
18691 if test "X$x" = "X$element"; then
18696 if test -z "$haveit"; then
18697 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18702 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18706 acl_save_prefix
="$prefix"
18707 prefix
="$acl_final_prefix"
18708 acl_save_exec_prefix
="$exec_prefix"
18709 exec_prefix
="$acl_final_exec_prefix"
18711 exec_prefix
="$acl_save_exec_prefix"
18712 prefix
="$acl_save_prefix"
18714 if test "X$x" = "X$element"; then
18719 if test -z "$haveit"; then
18720 LIBS
="${LIBS}${LIBS:+ }$element"
18727 elif test $pkg_failed = untried
; then
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18729 $as_echo "no" >&6; }
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18734 $as_echo_n "checking for WEBKIT... " >&6; }
18736 if test -n "$WEBKIT_CFLAGS"; then
18737 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18738 elif test -n "$PKG_CONFIG"; then
18739 if test -n "$PKG_CONFIG" && \
18740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18741 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18744 test $ac_status = 0; }; then
18745 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18752 if test -n "$WEBKIT_LIBS"; then
18753 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18754 elif test -n "$PKG_CONFIG"; then
18755 if test -n "$PKG_CONFIG" && \
18756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18757 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18760 test $ac_status = 0; }; then
18761 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18771 if test $pkg_failed = yes; then
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18773 $as_echo "no" >&6; }
18775 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18776 _pkg_short_errors_supported
=yes
18778 _pkg_short_errors_supported
=no
18780 if test $_pkg_short_errors_supported = yes; then
18781 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18783 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18785 # Put the nasty error message in config.log where it belongs
18786 echo "$WEBKIT_PKG_ERRORS" >&5
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18791 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18792 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18793 $as_echo_n "(cached) " >&6
18796 ac_check_framework_save_LIBS
=$LIBS
18797 LIBS
="-framework JavaScriptCore $LIBS"
18798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18799 /* end confdefs.h. */
18801 #include <JavaScriptCore/JSBase.h>
18807 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18813 if ac_fn_cxx_try_link
"$LINENO"; then :
18815 ac_cv_framework_JavaScriptCore
=yes
18818 ac_cv_framework_JavaScriptCore
=no
18820 rm -f core conftest.err conftest.
$ac_objext \
18821 conftest
$ac_exeext conftest.
$ac_ext
18822 LIBS
=$ac_check_framework_save_LIBS
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18826 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18827 if test $ac_cv_framework_JavaScriptCore = yes; then :
18830 for element
in "-framework JavaScriptCore $LIBS"; do
18834 acl_save_prefix
="$prefix"
18835 prefix
="$acl_final_prefix"
18836 acl_save_exec_prefix
="$exec_prefix"
18837 exec_prefix
="$acl_final_exec_prefix"
18839 exec_prefix
="$acl_save_exec_prefix"
18840 prefix
="$acl_save_prefix"
18842 if test "X$x" = "X$element"; then
18847 if test -z "$haveit"; then
18848 LIBS
="${LIBS}${LIBS:+ }$element"
18859 elif test $pkg_failed = untried
; then
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18861 $as_echo "no" >&6; }
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18865 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18866 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18867 $as_echo_n "(cached) " >&6
18870 ac_check_framework_save_LIBS
=$LIBS
18871 LIBS
="-framework JavaScriptCore $LIBS"
18872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18875 #include <JavaScriptCore/JSBase.h>
18881 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18887 if ac_fn_cxx_try_link
"$LINENO"; then :
18889 ac_cv_framework_JavaScriptCore
=yes
18892 ac_cv_framework_JavaScriptCore
=no
18894 rm -f core conftest.err conftest.
$ac_objext \
18895 conftest
$ac_exeext conftest.
$ac_ext
18896 LIBS
=$ac_check_framework_save_LIBS
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18900 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18901 if test $ac_cv_framework_JavaScriptCore = yes; then :
18904 for element
in "-framework JavaScriptCore $LIBS"; do
18908 acl_save_prefix
="$prefix"
18909 prefix
="$acl_final_prefix"
18910 acl_save_exec_prefix
="$exec_prefix"
18911 exec_prefix
="$acl_final_exec_prefix"
18913 exec_prefix
="$acl_save_exec_prefix"
18914 prefix
="$acl_save_prefix"
18916 if test "X$x" = "X$element"; then
18921 if test -z "$haveit"; then
18922 LIBS
="${LIBS}${LIBS:+ }$element"
18934 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18935 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18937 $as_echo "yes" >&6; }
18942 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18944 for x
in $CXXFLAGS; do
18946 acl_save_prefix
="$prefix"
18947 prefix
="$acl_final_prefix"
18948 acl_save_exec_prefix
="$exec_prefix"
18949 exec_prefix
="$acl_final_exec_prefix"
18951 exec_prefix
="$acl_save_exec_prefix"
18952 prefix
="$acl_save_prefix"
18954 if test "X$x" = "X$element"; then
18959 if test -z "$haveit"; then
18960 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18965 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18969 acl_save_prefix
="$prefix"
18970 prefix
="$acl_final_prefix"
18971 acl_save_exec_prefix
="$exec_prefix"
18972 exec_prefix
="$acl_final_exec_prefix"
18974 exec_prefix
="$acl_save_exec_prefix"
18975 prefix
="$acl_save_prefix"
18977 if test "X$x" = "X$element"; then
18982 if test -z "$haveit"; then
18983 LIBS
="${LIBS}${LIBS:+ }$element"
18991 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18992 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18994 $as_echo "yes" >&6; }
18999 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
19001 for x
in $CXXFLAGS; do
19003 acl_save_prefix
="$prefix"
19004 prefix
="$acl_final_prefix"
19005 acl_save_exec_prefix
="$exec_prefix"
19006 exec_prefix
="$acl_final_exec_prefix"
19008 exec_prefix
="$acl_save_exec_prefix"
19009 prefix
="$acl_save_prefix"
19011 if test "X$x" = "X$element"; then
19016 if test -z "$haveit"; then
19017 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19022 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
19026 acl_save_prefix
="$prefix"
19027 prefix
="$acl_final_prefix"
19028 acl_save_exec_prefix
="$exec_prefix"
19029 exec_prefix
="$acl_final_exec_prefix"
19031 exec_prefix
="$acl_save_exec_prefix"
19032 prefix
="$acl_save_prefix"
19034 if test "X$x" = "X$element"; then
19039 if test -z "$haveit"; then
19040 LIBS
="${LIBS}${LIBS:+ }$element"
19053 if test "$target_os" = "os2-emx"; then
19054 # Scripts don't pass test -x on OS/2
19060 acceptable_majors
="1"
19062 apr_temp_acceptable_apr_config
=""
19063 for apr_temp_major
in $acceptable_majors
19065 case $apr_temp_major in
19067 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19070 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19076 $as_echo_n "checking for APR... " >&6; }
19078 # Check whether --with-apr was given.
19079 if test "${with_apr+set}" = set; then :
19081 if test "$withval" = "no" || test "$withval" = "yes"; then
19082 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19085 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19087 for lookdir
in "$withval/bin" "$withval"
19089 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19090 apr_config
="$lookdir/$apr_temp_apr_config_file"
19098 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19099 apr_config
="$withval"
19103 if test "$apr_found" != "yes"; then
19104 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
19109 if test -n "1" && test "1" = "1"; then
19110 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19112 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19113 apr_config
="$apr_temp_apr_config_file"
19118 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19119 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19120 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19129 if test "$apr_found" = "no" && test -d ""; then
19130 apr_temp_abs_srcdir
="`cd && pwd`"
19131 apr_found
="reconfig"
19132 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19133 case $apr_bundled_major in
19135 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19138 apr_temp_apr_config_file
="apr-config"
19141 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19144 if test -n ""; then
19145 apr_config
="/$apr_temp_apr_config_file"
19147 apr_config
="/$apr_temp_apr_config_file"
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19155 $as_echo "$apr_found" >&6; }
19157 case $apr_found in #(
19161 for element
in `$apr_config --includes`; do
19163 for x
in $CPPFLAGS; do
19165 acl_save_prefix
="$prefix"
19166 prefix
="$acl_final_prefix"
19167 acl_save_exec_prefix
="$exec_prefix"
19168 exec_prefix
="$acl_final_exec_prefix"
19170 exec_prefix
="$acl_save_exec_prefix"
19171 prefix
="$acl_save_prefix"
19173 if test "X$x" = "X$element"; then
19178 if test -z "$haveit"; then
19179 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19184 for element
in `$apr_config --link-libtool`; do
19186 for x
in $LTLIBAPR; do
19188 acl_save_prefix
="$prefix"
19189 prefix
="$acl_final_prefix"
19190 acl_save_exec_prefix
="$exec_prefix"
19191 exec_prefix
="$acl_final_exec_prefix"
19193 exec_prefix
="$acl_save_exec_prefix"
19194 prefix
="$acl_save_prefix"
19196 if test "X$x" = "X$element"; then
19201 if test -z "$haveit"; then
19202 LTLIBAPR
="${LTLIBAPR}${LTLIBAPR:+ }$element"
19209 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5 ;;
19214 if test "x$CY_EXECUTE" = x1
; then
19216 CY_EXECUTE_FALSE
='#'
19218 CY_EXECUTE_TRUE
='#'
19225 case $CY_EXECUTE in #(
19228 for ac_header
in ffi.h ffi
/ffi.h
19230 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19231 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19232 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19233 cat >>confdefs.h
<<_ACEOF
19234 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19241 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19247 $as_echo_n "checking for LIBFFI... " >&6; }
19249 if test -n "$LIBFFI_CFLAGS"; then
19250 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19251 elif test -n "$PKG_CONFIG"; then
19252 if test -n "$PKG_CONFIG" && \
19253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19254 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19257 test $ac_status = 0; }; then
19258 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19265 if test -n "$LIBFFI_LIBS"; then
19266 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19267 elif test -n "$PKG_CONFIG"; then
19268 if test -n "$PKG_CONFIG" && \
19269 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19270 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19273 test $ac_status = 0; }; then
19274 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19284 if test $pkg_failed = yes; then
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19286 $as_echo "no" >&6; }
19288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19289 _pkg_short_errors_supported
=yes
19291 _pkg_short_errors_supported
=no
19293 if test $_pkg_short_errors_supported = yes; then
19294 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19296 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19298 # Put the nasty error message in config.log where it belongs
19299 echo "$LIBFFI_PKG_ERRORS" >&5
19301 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19302 elif test $pkg_failed = untried
; then
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19304 $as_echo "no" >&6; }
19305 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19307 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19308 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19310 $as_echo "yes" >&6; }
19313 for element
in `$PKG_CONFIG --cflags libffi`; do
19315 for x
in $CXXFLAGS; do
19317 acl_save_prefix
="$prefix"
19318 prefix
="$acl_final_prefix"
19319 acl_save_exec_prefix
="$exec_prefix"
19320 exec_prefix
="$acl_final_exec_prefix"
19322 exec_prefix
="$acl_save_exec_prefix"
19323 prefix
="$acl_save_prefix"
19325 if test "X$x" = "X$element"; then
19330 if test -z "$haveit"; then
19331 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19336 for element
in `$PKG_CONFIG --libs libffi`; do
19340 acl_save_prefix
="$prefix"
19341 prefix
="$acl_final_prefix"
19342 acl_save_exec_prefix
="$exec_prefix"
19343 exec_prefix
="$acl_final_exec_prefix"
19345 exec_prefix
="$acl_save_exec_prefix"
19346 prefix
="$acl_save_prefix"
19348 if test "X$x" = "X$element"; then
19353 if test -z "$haveit"; then
19354 LIBS
="${LIBS}${LIBS:+ }$element"
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19364 $as_echo_n "checking for library containing ffi_call... " >&6; }
19365 if ${ac_cv_search_ffi_call+:} false
; then :
19366 $as_echo_n "(cached) " >&6
19368 ac_func_search_save_LIBS
=$LIBS
19369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19370 /* end confdefs.h. */
19372 /* Override any GCC internal prototype to avoid an error.
19373 Use char because int might match the return type of a GCC
19374 builtin and then its argument prototype would still apply. */
19382 return ffi_call ();
19387 for ac_lib
in '' ffi
; do
19388 if test -z "$ac_lib"; then
19389 ac_res
="none required"
19392 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19394 if ac_fn_cxx_try_link
"$LINENO"; then :
19395 ac_cv_search_ffi_call
=$ac_res
19397 rm -f core conftest.err conftest.
$ac_objext \
19399 if ${ac_cv_search_ffi_call+:} false
; then :
19403 if ${ac_cv_search_ffi_call+:} false
; then :
19406 ac_cv_search_ffi_call
=no
19408 rm conftest.
$ac_ext
19409 LIBS
=$ac_func_search_save_LIBS
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19412 $as_echo "$ac_cv_search_ffi_call" >&6; }
19413 ac_res
=$ac_cv_search_ffi_call
19414 if test "$ac_res" != no
; then :
19415 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19419 case $ac_cv_search_ffi_call in #(
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19425 $as_echo_n "checking for LIBFFI... " >&6; }
19427 if test -n "$LIBFFI_CFLAGS"; then
19428 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19429 elif test -n "$PKG_CONFIG"; then
19430 if test -n "$PKG_CONFIG" && \
19431 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19432 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19435 test $ac_status = 0; }; then
19436 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19443 if test -n "$LIBFFI_LIBS"; then
19444 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19445 elif test -n "$PKG_CONFIG"; then
19446 if test -n "$PKG_CONFIG" && \
19447 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19448 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19451 test $ac_status = 0; }; then
19452 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19462 if test $pkg_failed = yes; then
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19464 $as_echo "no" >&6; }
19466 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19467 _pkg_short_errors_supported
=yes
19469 _pkg_short_errors_supported
=no
19471 if test $_pkg_short_errors_supported = yes; then
19472 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19474 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19476 # Put the nasty error message in config.log where it belongs
19477 echo "$LIBFFI_PKG_ERRORS" >&5
19479 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19480 elif test $pkg_failed = untried
; then
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19482 $as_echo "no" >&6; }
19483 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19485 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19486 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19488 $as_echo "yes" >&6; }
19491 for element
in `$PKG_CONFIG --cflags libffi`; do
19493 for x
in $CXXFLAGS; do
19495 acl_save_prefix
="$prefix"
19496 prefix
="$acl_final_prefix"
19497 acl_save_exec_prefix
="$exec_prefix"
19498 exec_prefix
="$acl_final_exec_prefix"
19500 exec_prefix
="$acl_save_exec_prefix"
19501 prefix
="$acl_save_prefix"
19503 if test "X$x" = "X$element"; then
19508 if test -z "$haveit"; then
19509 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19514 for element
in `$PKG_CONFIG --libs libffi`; do
19518 acl_save_prefix
="$prefix"
19519 prefix
="$acl_final_prefix"
19520 acl_save_exec_prefix
="$exec_prefix"
19521 exec_prefix
="$acl_final_exec_prefix"
19523 exec_prefix
="$acl_save_exec_prefix"
19524 prefix
="$acl_save_prefix"
19526 if test "X$x" = "X$element"; then
19531 if test -z "$haveit"; then
19532 LIBS
="${LIBS}${LIBS:+ }$element"
19545 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19546 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19547 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19548 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19552 $as_echo_n "checking if we really have Objective C++... " >&6; }
19553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19557 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19561 $as_echo "yes" >&6; }
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19565 $as_echo "no" >&6; }
19567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19569 if test "x$CY_OBJECTIVEC" = x1
; then :
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19573 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19574 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19575 $as_echo_n "(cached) " >&6
19578 ac_check_framework_save_LIBS
=$LIBS
19579 LIBS
="-framework CoreFoundation $LIBS"
19580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19581 /* end confdefs.h. */
19583 #include <CoreFoundation/CFBase.h>
19588 CFAllocatorGetDefault();
19593 if ac_fn_objcxx_try_link
"$LINENO"; then :
19595 ac_cv_framework_CoreFoundation
=yes
19598 ac_cv_framework_CoreFoundation
=no
19600 rm -f core conftest.err conftest.
$ac_objext \
19601 conftest
$ac_exeext conftest.
$ac_ext
19602 LIBS
=$ac_check_framework_save_LIBS
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19606 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19607 if test $ac_cv_framework_CoreFoundation = yes; then :
19610 for element
in "-framework CoreFoundation $LIBS"; do
19614 acl_save_prefix
="$prefix"
19615 prefix
="$acl_final_prefix"
19616 acl_save_exec_prefix
="$exec_prefix"
19617 exec_prefix
="$acl_final_exec_prefix"
19619 exec_prefix
="$acl_save_exec_prefix"
19620 prefix
="$acl_save_prefix"
19622 if test "X$x" = "X$element"; then
19627 if test -z "$haveit"; then
19628 LIBS
="${LIBS}${LIBS:+ }$element"
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19638 $as_echo_n "checking for framework Foundation... " >&6; }
19639 if ${ac_cv_framework_Foundation+:} false
; then :
19640 $as_echo_n "(cached) " >&6
19643 ac_check_framework_save_LIBS
=$LIBS
19644 LIBS
="-framework Foundation $LIBS"
19645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19646 /* end confdefs.h. */
19648 #include <Foundation/NSObject.h>
19653 [[NSObject alloc] init];
19658 if ac_fn_objcxx_try_link
"$LINENO"; then :
19660 ac_cv_framework_Foundation
=yes
19663 ac_cv_framework_Foundation
=no
19665 rm -f core conftest.err conftest.
$ac_objext \
19666 conftest
$ac_exeext conftest.
$ac_ext
19667 LIBS
=$ac_check_framework_save_LIBS
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19671 $as_echo "$ac_cv_framework_Foundation" >&6; }
19672 if test $ac_cv_framework_Foundation = yes; then :
19675 for element
in "-framework Foundation $LIBS"; do
19679 acl_save_prefix
="$prefix"
19680 prefix
="$acl_final_prefix"
19681 acl_save_exec_prefix
="$exec_prefix"
19682 exec_prefix
="$acl_final_exec_prefix"
19684 exec_prefix
="$acl_save_exec_prefix"
19685 prefix
="$acl_save_prefix"
19687 if test "X$x" = "X$element"; then
19692 if test -z "$haveit"; then
19693 LIBS
="${LIBS}${LIBS:+ }$element"
19697 cat >>confdefs.h
<<_ACEOF
19698 #define HAVE_FRAMEWORK_FOUNDATION 1
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
19707 $as_echo_n "checking for framework WebKit... " >&6; }
19708 if ${ac_cv_framework_WebKit+:} false
; then :
19709 $as_echo_n "(cached) " >&6
19712 ac_check_framework_save_LIBS
=$LIBS
19713 LIBS
="-framework WebKit $LIBS"
19714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19717 #include <WebKit/WebScriptObject.h>
19722 [[WebScriptObject alloc] init];
19727 if ac_fn_objcxx_try_link
"$LINENO"; then :
19729 ac_cv_framework_WebKit
=yes
19732 ac_cv_framework_WebKit
=no
19734 rm -f core conftest.err conftest.
$ac_objext \
19735 conftest
$ac_exeext conftest.
$ac_ext
19736 LIBS
=$ac_check_framework_save_LIBS
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
19740 $as_echo "$ac_cv_framework_WebKit" >&6; }
19741 if test $ac_cv_framework_WebKit = yes; then :
19744 for element
in "-framework WebKit $LIBS"; do
19748 acl_save_prefix
="$prefix"
19749 prefix
="$acl_final_prefix"
19750 acl_save_exec_prefix
="$exec_prefix"
19751 exec_prefix
="$acl_final_exec_prefix"
19753 exec_prefix
="$acl_save_exec_prefix"
19754 prefix
="$acl_save_prefix"
19756 if test "X$x" = "X$element"; then
19761 if test -z "$haveit"; then
19762 LIBS
="${LIBS}${LIBS:+ }$element"
19766 cat >>confdefs.h
<<_ACEOF
19767 #define HAVE_FRAMEWORK_WEBKIT 1
19777 for ac_prog
in gnustep
-config
19779 # Extract the first word of "$ac_prog", so it can be a program name with args.
19780 set dummy
$ac_prog; ac_word
=$2
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19782 $as_echo_n "checking for $ac_word... " >&6; }
19783 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19784 $as_echo_n "(cached) " >&6
19786 if test -n "$GNUSTEP_CONFIG"; then
19787 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19790 for as_dir
in $PATH
19793 test -z "$as_dir" && as_dir
=.
19794 for ac_exec_ext
in '' $ac_executable_extensions; do
19795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19796 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19806 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19807 if test -n "$GNUSTEP_CONFIG"; then
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19809 $as_echo "$GNUSTEP_CONFIG" >&6; }
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19812 $as_echo "no" >&6; }
19816 test -n "$GNUSTEP_CONFIG" && break
19820 if test "x$GNUSTEP_CONFIG" != x
; then :
19824 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19826 for x
in $OBJCXXFLAGS; do
19828 acl_save_prefix
="$prefix"
19829 prefix
="$acl_final_prefix"
19830 acl_save_exec_prefix
="$exec_prefix"
19831 exec_prefix
="$acl_final_exec_prefix"
19833 exec_prefix
="$acl_save_exec_prefix"
19834 prefix
="$acl_save_prefix"
19836 if test "X$x" = "X$element"; then
19841 if test -z "$haveit"; then
19842 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19847 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19851 acl_save_prefix
="$prefix"
19852 prefix
="$acl_final_prefix"
19853 acl_save_exec_prefix
="$exec_prefix"
19854 exec_prefix
="$acl_final_exec_prefix"
19856 exec_prefix
="$acl_save_exec_prefix"
19857 prefix
="$acl_save_prefix"
19859 if test "X$x" = "X$element"; then
19864 if test -z "$haveit"; then
19865 LIBS
="${LIBS}${LIBS:+ }$element"
19880 ac_cpp
='$CXXCPP $CPPFLAGS'
19881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19890 if test "x$CY_OBJECTIVEC" = x1
; then
19891 CY_OBJECTIVEC_TRUE
=
19892 CY_OBJECTIVEC_FALSE
='#'
19894 CY_OBJECTIVEC_TRUE
='#'
19895 CY_OBJECTIVEC_FALSE
=
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19901 $as_echo_n "checking for a readline compatible library... " >&6; }
19902 if ${ax_cv_lib_readline+:} false
; then :
19903 $as_echo_n "(cached) " >&6
19907 for readline_lib
in readline edit editline
; do
19908 for termcap_lib
in "" termcap curses ncurses
; do
19909 if test -z "$termcap_lib"; then
19910 TRY_LIB
="-l$readline_lib"
19912 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19914 LIBS
="$ORIG_LIBS $TRY_LIB"
19915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h. */
19918 /* Override any GCC internal prototype to avoid an error.
19919 Use char because int might match the return type of a GCC
19920 builtin and then its argument prototype would still apply. */
19928 return readline ();
19933 if ac_fn_cxx_try_link
"$LINENO"; then :
19934 ax_cv_lib_readline
="$TRY_LIB"
19936 rm -f core conftest.err conftest.
$ac_objext \
19937 conftest
$ac_exeext conftest.
$ac_ext
19938 if test -n "$ax_cv_lib_readline"; then
19942 if test -n "$ax_cv_lib_readline"; then
19946 if test -z "$ax_cv_lib_readline"; then
19947 ax_cv_lib_readline
="no"
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19953 $as_echo "$ax_cv_lib_readline" >&6; }
19955 if test "$ax_cv_lib_readline" != "no"; then
19956 LIBS
="$LIBS $ax_cv_lib_readline"
19958 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19960 for ac_header
in readline.h readline
/readline.h
19962 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19963 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19964 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19965 cat >>confdefs.h
<<_ACEOF
19966 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19974 $as_echo_n "checking whether readline supports history... " >&6; }
19975 if ${ax_cv_lib_readline_history+:} false
; then :
19976 $as_echo_n "(cached) " >&6
19979 ax_cv_lib_readline_history
="no"
19980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19981 /* end confdefs.h. */
19983 /* Override any GCC internal prototype to avoid an error.
19984 Use char because int might match the return type of a GCC
19985 builtin and then its argument prototype would still apply. */
19989 char add_history ();
19993 return add_history ();
19998 if ac_fn_cxx_try_link
"$LINENO"; then :
19999 ax_cv_lib_readline_history
="yes"
20001 rm -f core conftest.err conftest.
$ac_objext \
20002 conftest
$ac_exeext conftest.
$ac_ext
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
20006 $as_echo "$ax_cv_lib_readline_history" >&6; }
20007 if test "$ax_cv_lib_readline_history" = "yes"; then
20009 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
20011 for ac_header
in history.h readline
/history.h
20013 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20014 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20015 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20016 cat >>confdefs.h
<<_ACEOF
20017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20027 case $vl_cv_lib_readline in #(
20029 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20035 $as_echo_n "checking for library containing cur_term... " >&6; }
20036 if ${ac_cv_search_cur_term+:} false
; then :
20037 $as_echo_n "(cached) " >&6
20039 ac_func_search_save_LIBS
=$LIBS
20040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20043 /* Override any GCC internal prototype to avoid an error.
20044 Use char because int might match the return type of a GCC
20045 builtin and then its argument prototype would still apply. */
20053 return cur_term ();
20058 for ac_lib
in '' termcap
; do
20059 if test -z "$ac_lib"; then
20060 ac_res
="none required"
20063 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20065 if ac_fn_cxx_try_link
"$LINENO"; then :
20066 ac_cv_search_cur_term
=$ac_res
20068 rm -f core conftest.err conftest.
$ac_objext \
20070 if ${ac_cv_search_cur_term+:} false
; then :
20074 if ${ac_cv_search_cur_term+:} false
; then :
20077 ac_cv_search_cur_term
=no
20079 rm conftest.
$ac_ext
20080 LIBS
=$ac_func_search_save_LIBS
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20083 $as_echo "$ac_cv_search_cur_term" >&6; }
20084 ac_res
=$ac_cv_search_cur_term
20085 if test "$ac_res" != no
; then :
20086 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20092 ac_cpp
='$CPP $CPPFLAGS'
20093 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20094 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20095 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20098 if test "X$prefix" = "XNONE"; then
20099 acl_final_prefix
="$ac_default_prefix"
20101 acl_final_prefix
="$prefix"
20103 if test "X$exec_prefix" = "XNONE"; then
20104 acl_final_exec_prefix
='${prefix}'
20106 acl_final_exec_prefix
="$exec_prefix"
20108 acl_save_prefix
="$prefix"
20109 prefix
="$acl_final_prefix"
20110 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
20111 prefix
="$acl_save_prefix"
20115 # Check whether --with-gnu-ld was given.
20116 if test "${with_gnu_ld+set}" = set; then :
20117 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
20122 # Prepare PATH_SEPARATOR.
20123 # The user is always right.
20124 if test "${PATH_SEPARATOR+set}" != set; then
20125 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
20126 # contains only /bin. Note that ksh looks also at the FPATH variable,
20127 # so we have to set that as well for the test.
20129 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
20130 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
20131 || PATH_SEPARATOR
=';'
20136 if test "$GCC" = yes; then
20137 # Check if gcc -print-prog-name=ld gives a path.
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20139 $as_echo_n "checking for ld used by $CC... " >&6; }
20142 # gcc leaves a trailing carriage return which upsets mingw
20143 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20145 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
20148 # Accept absolute paths.
20150 re_direlt
='/[^/][^/]*/\.\./'
20151 # Canonicalize the pathname of ld
20152 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
20153 while echo "$ac_prog" | grep "$re_direlt" > /dev
/null
2>&1; do
20154 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
20156 test -z "$LD" && LD
="$ac_prog"
20159 # If it fails, then pretend we aren't using GCC.
20163 # If it is relative, then search for the first ld in PATH.
20164 with_gnu_ld
=unknown
20167 elif test "$with_gnu_ld" = yes; then
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20169 $as_echo_n "checking for GNU ld... " >&6; }
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20172 $as_echo_n "checking for non-GNU ld... " >&6; }
20174 if ${acl_cv_path_LD+:} false
; then :
20175 $as_echo_n "(cached) " >&6
20177 if test -z "$LD"; then
20178 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
20179 for ac_dir
in $PATH; do
20180 IFS
="$acl_save_ifs"
20181 test -z "$ac_dir" && ac_dir
=.
20182 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20183 acl_cv_path_LD
="$ac_dir/$ac_prog"
20184 # Check to see if the program is GNU ld. I'd rather use --version,
20185 # but apparently some variants of GNU ld only accept -v.
20186 # Break only if it was the GNU/non-GNU ld that we prefer.
20187 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
20188 *GNU
* | *'with BFD'*)
20189 test "$with_gnu_ld" != no
&& break
20192 test "$with_gnu_ld" != yes && break
20197 IFS
="$acl_save_ifs"
20199 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
20203 LD
="$acl_cv_path_LD"
20204 if test -n "$LD"; then
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20206 $as_echo "$LD" >&6; }
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20209 $as_echo "no" >&6; }
20211 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20213 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20214 if ${acl_cv_prog_gnu_ld+:} false
; then :
20215 $as_echo_n "(cached) " >&6
20217 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20218 case `$LD -v 2>&1 </dev/null` in
20219 *GNU
* | *'with BFD'*)
20220 acl_cv_prog_gnu_ld
=yes
20223 acl_cv_prog_gnu_ld
=no
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
20228 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
20229 with_gnu_ld
=$acl_cv_prog_gnu_ld
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
20235 $as_echo_n "checking for shared library run path origin... " >&6; }
20236 if ${acl_cv_rpath+:} false
; then :
20237 $as_echo_n "(cached) " >&6
20240 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
20241 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
20243 rm -f .
/conftest.sh
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
20248 $as_echo "$acl_cv_rpath" >&6; }
20250 acl_libext
="$acl_cv_libext"
20251 acl_shlibext
="$acl_cv_shlibext"
20252 acl_libname_spec
="$acl_cv_libname_spec"
20253 acl_library_names_spec
="$acl_cv_library_names_spec"
20254 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
20255 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
20256 acl_hardcode_direct
="$acl_cv_hardcode_direct"
20257 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
20258 # Check whether --enable-rpath was given.
20259 if test "${enable_rpath+set}" = set; then :
20260 enableval
=$enable_rpath; :
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
20273 $as_echo_n "checking for 64-bit host... " >&6; }
20274 if ${gl_cv_solaris_64bit+:} false
; then :
20275 $as_echo_n "(cached) " >&6
20277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20278 /* end confdefs.h. */
20285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20286 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
20287 gl_cv_solaris_64bit
=yes
20289 gl_cv_solaris_64bit
=no
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
20296 $as_echo "$gl_cv_solaris_64bit" >&6; }
20297 if test $gl_cv_solaris_64bit = yes; then
20298 acl_libdirstem
=lib
/64
20299 case "$host_cpu" in
20300 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
20301 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
20306 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
20307 if test -n "$searchpath"; then
20308 acl_save_IFS
="${IFS= }"; IFS
=":"
20309 for searchdir
in $searchpath; do
20310 if test -d "$searchdir"; then
20311 case "$searchdir" in
20312 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
20314 # Better ignore directories of this form. They are misleading.
20316 *) searchdir
=`cd "$searchdir" && pwd`
20317 case "$searchdir" in
20318 */lib64
) acl_libdirstem
=lib64
;;
20323 IFS
="$acl_save_IFS"
20327 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
20342 acl_save_prefix
="$prefix"
20343 prefix
="$acl_final_prefix"
20344 acl_save_exec_prefix
="$exec_prefix"
20345 exec_prefix
="$acl_final_exec_prefix"
20347 eval additional_includedir
=\"$includedir\"
20348 eval additional_libdir
=\"$libdir\"
20350 exec_prefix
="$acl_save_exec_prefix"
20351 prefix
="$acl_save_prefix"
20354 # Check whether --with-libiconv-prefix was given.
20355 if test "${with_libiconv_prefix+set}" = set; then :
20356 withval
=$with_libiconv_prefix;
20357 if test "X$withval" = "Xno"; then
20360 if test "X$withval" = "X"; then
20362 acl_save_prefix
="$prefix"
20363 prefix
="$acl_final_prefix"
20364 acl_save_exec_prefix
="$exec_prefix"
20365 exec_prefix
="$acl_final_exec_prefix"
20367 eval additional_includedir
=\"$includedir\"
20368 eval additional_libdir
=\"$libdir\"
20370 exec_prefix
="$acl_save_exec_prefix"
20371 prefix
="$acl_save_prefix"
20374 additional_includedir
="$withval/include"
20375 additional_libdir
="$withval/$acl_libdirstem"
20376 if test "$acl_libdirstem2" != "$acl_libdirstem" \
20377 && ! test -d "$withval/$acl_libdirstem"; then
20378 additional_libdir
="$withval/$acl_libdirstem2"
20392 names_already_handled
=
20393 names_next_round
='iconv '
20394 while test -n "$names_next_round"; do
20395 names_this_round
="$names_next_round"
20397 for name
in $names_this_round; do
20399 for n
in $names_already_handled; do
20400 if test "$n" = "$name"; then
20401 already_handled
=yes
20405 if test -z "$already_handled"; then
20406 names_already_handled
="$names_already_handled $name"
20407 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
20408 eval value
=\"\
$HAVE_LIB$uppername\"
20409 if test -n "$value"; then
20410 if test "$value" = yes; then
20411 eval value
=\"\
$LIB$uppername\"
20412 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
20413 eval value
=\"\
$LTLIB$uppername\"
20414 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
20423 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
20424 if test -n "$acl_shlibext"; then
20425 shrext
=".$acl_shlibext" # typically: shrext=.so
20429 if test $use_additional = yes; then
20430 dir
="$additional_libdir"
20431 if test -n "$acl_shlibext"; then
20432 if test -f "$dir/$libname$shrext"; then
20434 found_so
="$dir/$libname$shrext"
20436 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20437 ver
=`(cd "$dir" && \
20438 for f in "$libname$shrext".*; do echo "$f"; done \
20439 | sed -e "s,^$libname$shrext\\\\.,," \
20440 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20441 | sed 1q ) 2>/dev/null`
20442 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20444 found_so
="$dir/$libname$shrext.$ver"
20447 eval library_names
=\"$acl_library_names_spec\"
20448 for f
in $library_names; do
20449 if test -f "$dir/$f"; then
20458 if test "X$found_dir" = "X"; then
20459 if test -f "$dir/$libname.$acl_libext"; then
20461 found_a
="$dir/$libname.$acl_libext"
20464 if test "X$found_dir" != "X"; then
20465 if test -f "$dir/$libname.la"; then
20466 found_la
="$dir/$libname.la"
20470 if test "X$found_dir" = "X"; then
20471 for x
in $LDFLAGS $LTLIBICONV; do
20473 acl_save_prefix
="$prefix"
20474 prefix
="$acl_final_prefix"
20475 acl_save_exec_prefix
="$exec_prefix"
20476 exec_prefix
="$acl_final_exec_prefix"
20478 exec_prefix
="$acl_save_exec_prefix"
20479 prefix
="$acl_save_prefix"
20483 dir
=`echo "X$x" | sed -e 's/^X-L//'`
20484 if test -n "$acl_shlibext"; then
20485 if test -f "$dir/$libname$shrext"; then
20487 found_so
="$dir/$libname$shrext"
20489 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20490 ver
=`(cd "$dir" && \
20491 for f in "$libname$shrext".*; do echo "$f"; done \
20492 | sed -e "s,^$libname$shrext\\\\.,," \
20493 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20494 | sed 1q ) 2>/dev/null`
20495 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20497 found_so
="$dir/$libname$shrext.$ver"
20500 eval library_names
=\"$acl_library_names_spec\"
20501 for f
in $library_names; do
20502 if test -f "$dir/$f"; then
20511 if test "X$found_dir" = "X"; then
20512 if test -f "$dir/$libname.$acl_libext"; then
20514 found_a
="$dir/$libname.$acl_libext"
20517 if test "X$found_dir" != "X"; then
20518 if test -f "$dir/$libname.la"; then
20519 found_la
="$dir/$libname.la"
20524 if test "X$found_dir" != "X"; then
20529 if test "X$found_dir" != "X"; then
20530 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20531 if test "X$found_so" != "X"; then
20532 if test "$enable_rpath" = no \
20533 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20534 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20535 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20538 for x
in $ltrpathdirs; do
20539 if test "X$x" = "X$found_dir"; then
20544 if test -z "$haveit"; then
20545 ltrpathdirs
="$ltrpathdirs $found_dir"
20547 if test "$acl_hardcode_direct" = yes; then
20548 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20550 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
20551 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20553 for x
in $rpathdirs; do
20554 if test "X$x" = "X$found_dir"; then
20559 if test -z "$haveit"; then
20560 rpathdirs
="$rpathdirs $found_dir"
20564 for x
in $LDFLAGS $LIBICONV; do
20566 acl_save_prefix
="$prefix"
20567 prefix
="$acl_final_prefix"
20568 acl_save_exec_prefix
="$exec_prefix"
20569 exec_prefix
="$acl_final_exec_prefix"
20571 exec_prefix
="$acl_save_exec_prefix"
20572 prefix
="$acl_save_prefix"
20574 if test "X$x" = "X-L$found_dir"; then
20579 if test -z "$haveit"; then
20580 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20582 if test "$acl_hardcode_minus_L" != no
; then
20583 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20585 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20591 if test "X$found_a" != "X"; then
20592 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
20594 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20597 additional_includedir
=
20598 case "$found_dir" in
20599 */$acl_libdirstem | */$acl_libdirstem/)
20600 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20601 if test "$name" = 'iconv'; then
20602 LIBICONV_PREFIX
="$basedir"
20604 additional_includedir
="$basedir/include"
20606 */$acl_libdirstem2 | */$acl_libdirstem2/)
20607 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20608 if test "$name" = 'iconv'; then
20609 LIBICONV_PREFIX
="$basedir"
20611 additional_includedir
="$basedir/include"
20614 if test "X$additional_includedir" != "X"; then
20615 if test "X$additional_includedir" != "X/usr/include"; then
20617 if test "X$additional_includedir" = "X/usr/local/include"; then
20618 if test -n "$GCC"; then
20620 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20624 if test -z "$haveit"; then
20625 for x
in $CPPFLAGS $INCICONV; do
20627 acl_save_prefix
="$prefix"
20628 prefix
="$acl_final_prefix"
20629 acl_save_exec_prefix
="$exec_prefix"
20630 exec_prefix
="$acl_final_exec_prefix"
20632 exec_prefix
="$acl_save_exec_prefix"
20633 prefix
="$acl_save_prefix"
20635 if test "X$x" = "X-I$additional_includedir"; then
20640 if test -z "$haveit"; then
20641 if test -d "$additional_includedir"; then
20642 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20648 if test -n "$found_la"; then
20649 save_libdir
="$libdir"
20650 case "$found_la" in
20651 */* | *\\*) .
"$found_la" ;;
20652 *) .
"./$found_la" ;;
20654 libdir
="$save_libdir"
20655 for dep
in $dependency_libs; do
20658 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20659 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20660 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20662 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20663 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20664 if test -n "$GCC"; then
20666 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20670 if test -z "$haveit"; then
20672 for x
in $LDFLAGS $LIBICONV; do
20674 acl_save_prefix
="$prefix"
20675 prefix
="$acl_final_prefix"
20676 acl_save_exec_prefix
="$exec_prefix"
20677 exec_prefix
="$acl_final_exec_prefix"
20679 exec_prefix
="$acl_save_exec_prefix"
20680 prefix
="$acl_save_prefix"
20682 if test "X$x" = "X-L$additional_libdir"; then
20687 if test -z "$haveit"; then
20688 if test -d "$additional_libdir"; then
20689 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20693 for x
in $LDFLAGS $LTLIBICONV; do
20695 acl_save_prefix
="$prefix"
20696 prefix
="$acl_final_prefix"
20697 acl_save_exec_prefix
="$exec_prefix"
20698 exec_prefix
="$acl_final_exec_prefix"
20700 exec_prefix
="$acl_save_exec_prefix"
20701 prefix
="$acl_save_prefix"
20703 if test "X$x" = "X-L$additional_libdir"; then
20708 if test -z "$haveit"; then
20709 if test -d "$additional_libdir"; then
20710 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20717 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20718 if test "$enable_rpath" != no
; then
20720 for x
in $rpathdirs; do
20721 if test "X$x" = "X$dir"; then
20726 if test -z "$haveit"; then
20727 rpathdirs
="$rpathdirs $dir"
20730 for x
in $ltrpathdirs; do
20731 if test "X$x" = "X$dir"; then
20736 if test -z "$haveit"; then
20737 ltrpathdirs
="$ltrpathdirs $dir"
20742 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20745 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20748 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
20749 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20755 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20756 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20762 if test "X$rpathdirs" != "X"; then
20763 if test -n "$acl_hardcode_libdir_separator"; then
20765 for found_dir
in $rpathdirs; do
20766 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20768 acl_save_libdir
="$libdir"
20770 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20771 libdir
="$acl_save_libdir"
20772 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20774 for found_dir
in $rpathdirs; do
20775 acl_save_libdir
="$libdir"
20776 libdir
="$found_dir"
20777 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20778 libdir
="$acl_save_libdir"
20779 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20783 if test "X$ltrpathdirs" != "X"; then
20784 for found_dir
in $ltrpathdirs; do
20785 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20800 am_save_CPPFLAGS
="$CPPFLAGS"
20802 for element
in $INCICONV; do
20804 for x
in $CPPFLAGS; do
20806 acl_save_prefix
="$prefix"
20807 prefix
="$acl_final_prefix"
20808 acl_save_exec_prefix
="$exec_prefix"
20809 exec_prefix
="$acl_final_exec_prefix"
20811 exec_prefix
="$acl_save_exec_prefix"
20812 prefix
="$acl_save_prefix"
20814 if test "X$x" = "X$element"; then
20819 if test -z "$haveit"; then
20820 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20826 $as_echo_n "checking for iconv... " >&6; }
20827 if ${am_cv_func_iconv+:} false
; then :
20828 $as_echo_n "(cached) " >&6
20831 am_cv_func_iconv
="no, consider installing GNU libiconv"
20833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20836 #include <stdlib.h>
20842 iconv_t cd = iconv_open("","");
20843 iconv(cd,NULL,NULL,NULL,NULL);
20849 if ac_fn_c_try_link
"$LINENO"; then :
20850 am_cv_func_iconv
=yes
20852 rm -f core conftest.err conftest.
$ac_objext \
20853 conftest
$ac_exeext conftest.
$ac_ext
20854 if test "$am_cv_func_iconv" != yes; then
20855 am_save_LIBS
="$LIBS"
20856 LIBS
="$LIBS $LIBICONV"
20857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20860 #include <stdlib.h>
20866 iconv_t cd = iconv_open("","");
20867 iconv(cd,NULL,NULL,NULL,NULL);
20873 if ac_fn_c_try_link
"$LINENO"; then :
20874 am_cv_lib_iconv
=yes
20875 am_cv_func_iconv
=yes
20877 rm -f core conftest.err conftest.
$ac_objext \
20878 conftest
$ac_exeext conftest.
$ac_ext
20879 LIBS
="$am_save_LIBS"
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
20884 $as_echo "$am_cv_func_iconv" >&6; }
20885 if test "$am_cv_func_iconv" = yes; then
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
20887 $as_echo_n "checking for working iconv... " >&6; }
20888 if ${am_cv_func_iconv_works+:} false
; then :
20889 $as_echo_n "(cached) " >&6
20892 am_save_LIBS
="$LIBS"
20893 if test $am_cv_lib_iconv = yes; then
20894 LIBS
="$LIBS $LIBICONV"
20896 if test "$cross_compiling" = yes; then :
20899 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
20900 *) am_cv_func_iconv_works
="guessing yes" ;;
20904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20905 /* end confdefs.h. */
20908 #include <string.h>
20912 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
20915 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
20916 if (cd_utf8_to_88591 != (iconv_t)(-1))
20918 static const char input[] = "\342\202\254"; /* EURO SIGN */
20920 const char *inptr = input;
20921 size_t inbytesleft = strlen (input);
20922 char *outptr = buf;
20923 size_t outbytesleft = sizeof (buf);
20924 size_t res = iconv (cd_utf8_to_88591,
20925 (char **) &inptr, &inbytesleft,
20926 &outptr, &outbytesleft);
20929 iconv_close (cd_utf8_to_88591);
20932 /* Test against Solaris 10 bug: Failures are not distinguishable from
20933 successful returns. */
20935 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
20936 if (cd_ascii_to_88591 != (iconv_t)(-1))
20938 static const char input[] = "\263";
20940 const char *inptr = input;
20941 size_t inbytesleft = strlen (input);
20942 char *outptr = buf;
20943 size_t outbytesleft = sizeof (buf);
20944 size_t res = iconv (cd_ascii_to_88591,
20945 (char **) &inptr, &inbytesleft,
20946 &outptr, &outbytesleft);
20949 iconv_close (cd_ascii_to_88591);
20952 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
20954 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
20955 if (cd_88591_to_utf8 != (iconv_t)(-1))
20957 static const char input[] = "\304";
20958 static char buf[2] = { (char)0xDE, (char)0xAD };
20959 const char *inptr = input;
20960 size_t inbytesleft = 1;
20961 char *outptr = buf;
20962 size_t outbytesleft = 1;
20963 size_t res = iconv (cd_88591_to_utf8,
20964 (char **) &inptr, &inbytesleft,
20965 &outptr, &outbytesleft);
20966 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
20968 iconv_close (cd_88591_to_utf8);
20971 #if 0 /* This bug could be worked around by the caller. */
20972 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
20974 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
20975 if (cd_88591_to_utf8 != (iconv_t)(-1))
20977 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
20979 const char *inptr = input;
20980 size_t inbytesleft = strlen (input);
20981 char *outptr = buf;
20982 size_t outbytesleft = sizeof (buf);
20983 size_t res = iconv (cd_88591_to_utf8,
20984 (char **) &inptr, &inbytesleft,
20985 &outptr, &outbytesleft);
20988 iconv_close (cd_88591_to_utf8);
20992 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
20994 if (/* Try standardized names. */
20995 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
20996 /* Try IRIX, OSF/1 names. */
20997 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
20998 /* Try AIX names. */
20999 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
21000 /* Try HP-UX names. */
21001 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
21006 if ac_fn_c_try_run
"$LINENO"; then :
21007 am_cv_func_iconv_works
=yes
21009 am_cv_func_iconv_works
=no
21011 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21012 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21015 LIBS
="$am_save_LIBS"
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
21019 $as_echo "$am_cv_func_iconv_works" >&6; }
21020 case "$am_cv_func_iconv_works" in
21021 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
21022 *) am_func_iconv
=yes ;;
21025 am_func_iconv
=no am_cv_lib_iconv
=no
21027 if test "$am_func_iconv" = yes; then
21029 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21032 if test "$am_cv_lib_iconv" = yes; then
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21034 $as_echo_n "checking how to link with libiconv... " >&6; }
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21036 $as_echo "$LIBICONV" >&6; }
21038 CPPFLAGS
="$am_save_CPPFLAGS"
21045 if test "$am_cv_func_iconv" = yes; then
21046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21047 $as_echo_n "checking for iconv declaration... " >&6; }
21048 if ${am_cv_proto_iconv+:} false
; then :
21049 $as_echo_n "(cached) " >&6
21052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21053 /* end confdefs.h. */
21055 #include <stdlib.h>
21061 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
21062 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21075 if ac_fn_c_try_compile
"$LINENO"; then :
21076 am_cv_proto_iconv_arg1
=""
21078 am_cv_proto_iconv_arg1
="const"
21080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21081 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
21084 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
21086 $am_cv_proto_iconv" >&5
21088 $am_cv_proto_iconv" >&6; }
21090 cat >>confdefs.h
<<_ACEOF
21091 #define ICONV_CONST $am_cv_proto_iconv_arg1
21097 case $am_cv_func_iconv in #(
21102 for cy_iconv_prefix_arg
in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
21103 case $cy_iconv_prefix_arg in #(
21107 for element
in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
21109 for x
in $cy_iconv_prefixes; do
21111 acl_save_prefix
="$prefix"
21112 prefix
="$acl_final_prefix"
21113 acl_save_exec_prefix
="$exec_prefix"
21114 exec_prefix
="$acl_final_exec_prefix"
21116 exec_prefix
="$acl_save_exec_prefix"
21117 prefix
="$acl_save_prefix"
21119 if test "X$x" = "X$element"; then
21124 if test -z "$haveit"; then
21125 cy_iconv_prefixes
="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
21133 for element
in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
21135 for x
in $cy_iconv_prefixes; do
21137 acl_save_prefix
="$prefix"
21138 prefix
="$acl_final_prefix"
21139 acl_save_exec_prefix
="$exec_prefix"
21140 exec_prefix
="$acl_final_exec_prefix"
21142 exec_prefix
="$acl_save_exec_prefix"
21143 prefix
="$acl_save_prefix"
21145 if test "X$x" = "X$element"; then
21150 if test -z "$haveit"; then
21151 cy_iconv_prefixes
="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
21160 for with_libiconv_prefix
in $cy_iconv_prefixes; do
21161 { am_cv_func_iconv
=; unset am_cv_func_iconv
;}
21175 acl_save_prefix
="$prefix"
21176 prefix
="$acl_final_prefix"
21177 acl_save_exec_prefix
="$exec_prefix"
21178 exec_prefix
="$acl_final_exec_prefix"
21180 eval additional_includedir
=\"$includedir\"
21181 eval additional_libdir
=\"$libdir\"
21183 exec_prefix
="$acl_save_exec_prefix"
21184 prefix
="$acl_save_prefix"
21187 # Check whether --with-libiconv-prefix was given.
21188 if test "${with_libiconv_prefix+set}" = set; then :
21189 withval
=$with_libiconv_prefix;
21190 if test "X$withval" = "Xno"; then
21193 if test "X$withval" = "X"; then
21195 acl_save_prefix
="$prefix"
21196 prefix
="$acl_final_prefix"
21197 acl_save_exec_prefix
="$exec_prefix"
21198 exec_prefix
="$acl_final_exec_prefix"
21200 eval additional_includedir
=\"$includedir\"
21201 eval additional_libdir
=\"$libdir\"
21203 exec_prefix
="$acl_save_exec_prefix"
21204 prefix
="$acl_save_prefix"
21207 additional_includedir
="$withval/include"
21208 additional_libdir
="$withval/$acl_libdirstem"
21209 if test "$acl_libdirstem2" != "$acl_libdirstem" \
21210 && ! test -d "$withval/$acl_libdirstem"; then
21211 additional_libdir
="$withval/$acl_libdirstem2"
21225 names_already_handled
=
21226 names_next_round
='iconv '
21227 while test -n "$names_next_round"; do
21228 names_this_round
="$names_next_round"
21230 for name
in $names_this_round; do
21232 for n
in $names_already_handled; do
21233 if test "$n" = "$name"; then
21234 already_handled
=yes
21238 if test -z "$already_handled"; then
21239 names_already_handled
="$names_already_handled $name"
21240 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
21241 eval value
=\"\
$HAVE_LIB$uppername\"
21242 if test -n "$value"; then
21243 if test "$value" = yes; then
21244 eval value
=\"\
$LIB$uppername\"
21245 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21246 eval value
=\"\
$LTLIB$uppername\"
21247 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21256 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
21257 if test -n "$acl_shlibext"; then
21258 shrext
=".$acl_shlibext" # typically: shrext=.so
21262 if test $use_additional = yes; then
21263 dir
="$additional_libdir"
21264 if test -n "$acl_shlibext"; then
21265 if test -f "$dir/$libname$shrext"; then
21267 found_so
="$dir/$libname$shrext"
21269 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21270 ver
=`(cd "$dir" && \
21271 for f in "$libname$shrext".*; do echo "$f"; done \
21272 | sed -e "s,^$libname$shrext\\\\.,," \
21273 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21274 | sed 1q ) 2>/dev/null`
21275 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21277 found_so
="$dir/$libname$shrext.$ver"
21280 eval library_names
=\"$acl_library_names_spec\"
21281 for f
in $library_names; do
21282 if test -f "$dir/$f"; then
21291 if test "X$found_dir" = "X"; then
21292 if test -f "$dir/$libname.$acl_libext"; then
21294 found_a
="$dir/$libname.$acl_libext"
21297 if test "X$found_dir" != "X"; then
21298 if test -f "$dir/$libname.la"; then
21299 found_la
="$dir/$libname.la"
21303 if test "X$found_dir" = "X"; then
21304 for x
in $LDFLAGS $LTLIBICONV; do
21306 acl_save_prefix
="$prefix"
21307 prefix
="$acl_final_prefix"
21308 acl_save_exec_prefix
="$exec_prefix"
21309 exec_prefix
="$acl_final_exec_prefix"
21311 exec_prefix
="$acl_save_exec_prefix"
21312 prefix
="$acl_save_prefix"
21316 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21317 if test -n "$acl_shlibext"; then
21318 if test -f "$dir/$libname$shrext"; then
21320 found_so
="$dir/$libname$shrext"
21322 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21323 ver
=`(cd "$dir" && \
21324 for f in "$libname$shrext".*; do echo "$f"; done \
21325 | sed -e "s,^$libname$shrext\\\\.,," \
21326 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21327 | sed 1q ) 2>/dev/null`
21328 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21330 found_so
="$dir/$libname$shrext.$ver"
21333 eval library_names
=\"$acl_library_names_spec\"
21334 for f
in $library_names; do
21335 if test -f "$dir/$f"; then
21344 if test "X$found_dir" = "X"; then
21345 if test -f "$dir/$libname.$acl_libext"; then
21347 found_a
="$dir/$libname.$acl_libext"
21350 if test "X$found_dir" != "X"; then
21351 if test -f "$dir/$libname.la"; then
21352 found_la
="$dir/$libname.la"
21357 if test "X$found_dir" != "X"; then
21362 if test "X$found_dir" != "X"; then
21363 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21364 if test "X$found_so" != "X"; then
21365 if test "$enable_rpath" = no \
21366 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
21367 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
21368 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21371 for x
in $ltrpathdirs; do
21372 if test "X$x" = "X$found_dir"; then
21377 if test -z "$haveit"; then
21378 ltrpathdirs
="$ltrpathdirs $found_dir"
21380 if test "$acl_hardcode_direct" = yes; then
21381 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21383 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
21384 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21386 for x
in $rpathdirs; do
21387 if test "X$x" = "X$found_dir"; then
21392 if test -z "$haveit"; then
21393 rpathdirs
="$rpathdirs $found_dir"
21397 for x
in $LDFLAGS $LIBICONV; do
21399 acl_save_prefix
="$prefix"
21400 prefix
="$acl_final_prefix"
21401 acl_save_exec_prefix
="$exec_prefix"
21402 exec_prefix
="$acl_final_exec_prefix"
21404 exec_prefix
="$acl_save_exec_prefix"
21405 prefix
="$acl_save_prefix"
21407 if test "X$x" = "X-L$found_dir"; then
21412 if test -z "$haveit"; then
21413 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21415 if test "$acl_hardcode_minus_L" != no
; then
21416 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21418 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21424 if test "X$found_a" != "X"; then
21425 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21427 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21430 additional_includedir
=
21431 case "$found_dir" in
21432 */$acl_libdirstem | */$acl_libdirstem/)
21433 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
21434 if test "$name" = 'iconv'; then
21435 LIBICONV_PREFIX
="$basedir"
21437 additional_includedir
="$basedir/include"
21439 */$acl_libdirstem2 | */$acl_libdirstem2/)
21440 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
21441 if test "$name" = 'iconv'; then
21442 LIBICONV_PREFIX
="$basedir"
21444 additional_includedir
="$basedir/include"
21447 if test "X$additional_includedir" != "X"; then
21448 if test "X$additional_includedir" != "X/usr/include"; then
21450 if test "X$additional_includedir" = "X/usr/local/include"; then
21451 if test -n "$GCC"; then
21453 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
21457 if test -z "$haveit"; then
21458 for x
in $CPPFLAGS $INCICONV; do
21460 acl_save_prefix
="$prefix"
21461 prefix
="$acl_final_prefix"
21462 acl_save_exec_prefix
="$exec_prefix"
21463 exec_prefix
="$acl_final_exec_prefix"
21465 exec_prefix
="$acl_save_exec_prefix"
21466 prefix
="$acl_save_prefix"
21468 if test "X$x" = "X-I$additional_includedir"; then
21473 if test -z "$haveit"; then
21474 if test -d "$additional_includedir"; then
21475 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21481 if test -n "$found_la"; then
21482 save_libdir
="$libdir"
21483 case "$found_la" in
21484 */* | *\\*) .
"$found_la" ;;
21485 *) .
"./$found_la" ;;
21487 libdir
="$save_libdir"
21488 for dep
in $dependency_libs; do
21491 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21492 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
21493 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
21495 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
21496 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
21497 if test -n "$GCC"; then
21499 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
21503 if test -z "$haveit"; then
21505 for x
in $LDFLAGS $LIBICONV; do
21507 acl_save_prefix
="$prefix"
21508 prefix
="$acl_final_prefix"
21509 acl_save_exec_prefix
="$exec_prefix"
21510 exec_prefix
="$acl_final_exec_prefix"
21512 exec_prefix
="$acl_save_exec_prefix"
21513 prefix
="$acl_save_prefix"
21515 if test "X$x" = "X-L$additional_libdir"; then
21520 if test -z "$haveit"; then
21521 if test -d "$additional_libdir"; then
21522 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21526 for x
in $LDFLAGS $LTLIBICONV; do
21528 acl_save_prefix
="$prefix"
21529 prefix
="$acl_final_prefix"
21530 acl_save_exec_prefix
="$exec_prefix"
21531 exec_prefix
="$acl_final_exec_prefix"
21533 exec_prefix
="$acl_save_exec_prefix"
21534 prefix
="$acl_save_prefix"
21536 if test "X$x" = "X-L$additional_libdir"; then
21541 if test -z "$haveit"; then
21542 if test -d "$additional_libdir"; then
21543 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21550 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21551 if test "$enable_rpath" != no
; then
21553 for x
in $rpathdirs; do
21554 if test "X$x" = "X$dir"; then
21559 if test -z "$haveit"; then
21560 rpathdirs
="$rpathdirs $dir"
21563 for x
in $ltrpathdirs; do
21564 if test "X$x" = "X$dir"; then
21569 if test -z "$haveit"; then
21570 ltrpathdirs
="$ltrpathdirs $dir"
21575 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21578 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21581 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21582 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21588 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21589 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21595 if test "X$rpathdirs" != "X"; then
21596 if test -n "$acl_hardcode_libdir_separator"; then
21598 for found_dir
in $rpathdirs; do
21599 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
21601 acl_save_libdir
="$libdir"
21603 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
21604 libdir
="$acl_save_libdir"
21605 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21607 for found_dir
in $rpathdirs; do
21608 acl_save_libdir
="$libdir"
21609 libdir
="$found_dir"
21610 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
21611 libdir
="$acl_save_libdir"
21612 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21616 if test "X$ltrpathdirs" != "X"; then
21617 for found_dir
in $ltrpathdirs; do
21618 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21632 case $am_cv_func_iconv in #(
21636 as_fn_error $?
"missing \"libiconv\"" "$LINENO" 5 ;;
21639 ac_cpp
='$CXXCPP $CPPFLAGS'
21640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21649 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
21650 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
21652 if test -n "$ac_tool_prefix"; then
21653 for ac_prog
in lipo
21655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21656 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21658 $as_echo_n "checking for $ac_word... " >&6; }
21659 if ${ac_cv_prog__LIPO+:} false
; then :
21660 $as_echo_n "(cached) " >&6
21662 if test -n "$_LIPO"; then
21663 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
21665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21666 for as_dir
in $PATH
21669 test -z "$as_dir" && as_dir
=.
21670 for ac_exec_ext
in '' $ac_executable_extensions; do
21671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21672 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
21673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21682 _LIPO
=$ac_cv_prog__LIPO
21683 if test -n "$_LIPO"; then
21684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
21685 $as_echo "$_LIPO" >&6; }
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21688 $as_echo "no" >&6; }
21692 test -n "$_LIPO" && break
21695 if test -z "$_LIPO"; then
21697 for ac_prog
in lipo
21699 # Extract the first word of "$ac_prog", so it can be a program name with args.
21700 set dummy
$ac_prog; ac_word
=$2
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21702 $as_echo_n "checking for $ac_word... " >&6; }
21703 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
21704 $as_echo_n "(cached) " >&6
21706 if test -n "$ac_ct__LIPO"; then
21707 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
21709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21710 for as_dir
in $PATH
21713 test -z "$as_dir" && as_dir
=.
21714 for ac_exec_ext
in '' $ac_executable_extensions; do
21715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21716 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
21717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21726 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
21727 if test -n "$ac_ct__LIPO"; then
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
21729 $as_echo "$ac_ct__LIPO" >&6; }
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21732 $as_echo "no" >&6; }
21736 test -n "$ac_ct__LIPO" && break
21739 if test "x$ac_ct__LIPO" = x
; then
21740 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
21742 case $cross_compiling:$ac_tool_warned in
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21746 ac_tool_warned
=yes ;;
21752 if test -n "$ac_tool_prefix"; then
21755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21756 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21758 $as_echo_n "checking for $ac_word... " >&6; }
21759 if ${ac_cv_prog__NM+:} false
; then :
21760 $as_echo_n "(cached) " >&6
21762 if test -n "$_NM"; then
21763 ac_cv_prog__NM
="$_NM" # Let the user override the test.
21765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21766 for as_dir
in $PATH
21769 test -z "$as_dir" && as_dir
=.
21770 for ac_exec_ext
in '' $ac_executable_extensions; do
21771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21772 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
21773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21782 _NM
=$ac_cv_prog__NM
21783 if test -n "$_NM"; then
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
21785 $as_echo "$_NM" >&6; }
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21788 $as_echo "no" >&6; }
21792 test -n "$_NM" && break
21795 if test -z "$_NM"; then
21799 # Extract the first word of "$ac_prog", so it can be a program name with args.
21800 set dummy
$ac_prog; ac_word
=$2
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21802 $as_echo_n "checking for $ac_word... " >&6; }
21803 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
21804 $as_echo_n "(cached) " >&6
21806 if test -n "$ac_ct__NM"; then
21807 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
21809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21810 for as_dir
in $PATH
21813 test -z "$as_dir" && as_dir
=.
21814 for ac_exec_ext
in '' $ac_executable_extensions; do
21815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21816 ac_cv_prog_ac_ct__NM
="$ac_prog"
21817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21826 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
21827 if test -n "$ac_ct__NM"; then
21828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
21829 $as_echo "$ac_ct__NM" >&6; }
21831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21832 $as_echo "no" >&6; }
21836 test -n "$ac_ct__NM" && break
21839 if test "x$ac_ct__NM" = x
; then
21840 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
21842 case $cross_compiling:$ac_tool_warned in
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21846 ac_tool_warned
=yes ;;
21852 if test -n "$ac_tool_prefix"; then
21853 for ac_prog
in otool
21855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21856 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21858 $as_echo_n "checking for $ac_word... " >&6; }
21859 if ${ac_cv_prog__OTOOL+:} false
; then :
21860 $as_echo_n "(cached) " >&6
21862 if test -n "$_OTOOL"; then
21863 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
21865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21866 for as_dir
in $PATH
21869 test -z "$as_dir" && as_dir
=.
21870 for ac_exec_ext
in '' $ac_executable_extensions; do
21871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21872 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
21873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21882 _OTOOL
=$ac_cv_prog__OTOOL
21883 if test -n "$_OTOOL"; then
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
21885 $as_echo "$_OTOOL" >&6; }
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21888 $as_echo "no" >&6; }
21892 test -n "$_OTOOL" && break
21895 if test -z "$_OTOOL"; then
21896 ac_ct__OTOOL
=$_OTOOL
21897 for ac_prog
in otool
21899 # Extract the first word of "$ac_prog", so it can be a program name with args.
21900 set dummy
$ac_prog; ac_word
=$2
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21902 $as_echo_n "checking for $ac_word... " >&6; }
21903 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
21904 $as_echo_n "(cached) " >&6
21906 if test -n "$ac_ct__OTOOL"; then
21907 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
21909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21910 for as_dir
in $PATH
21913 test -z "$as_dir" && as_dir
=.
21914 for ac_exec_ext
in '' $ac_executable_extensions; do
21915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21916 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
21917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21926 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
21927 if test -n "$ac_ct__OTOOL"; then
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
21929 $as_echo "$ac_ct__OTOOL" >&6; }
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21932 $as_echo "no" >&6; }
21936 test -n "$ac_ct__OTOOL" && break
21939 if test "x$ac_ct__OTOOL" = x
; then
21940 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
21942 case $cross_compiling:$ac_tool_warned in
21944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21946 ac_tool_warned
=yes ;;
21948 _OTOOL
=$ac_ct__OTOOL
21954 CY_ATTACH_GROUP
=procmod
21961 if test "x$CY_MACH" = x1
; then
21970 ac_config_files
="$ac_config_files Makefile"
21972 cat >confcache
<<\_ACEOF
21973 # This file is a shell script that caches the results of configure
21974 # tests run on this system so they can be shared between configure
21975 # scripts and configure runs, see configure's option --config-cache.
21976 # It is not useful on other systems. If it contains results you don't
21977 # want to keep, you may remove or edit it.
21979 # config.status only pays attention to the cache file if you give it
21980 # the --recheck option to rerun configure.
21982 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21983 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21984 # following values.
21988 # The following way of writing the cache mishandles newlines in values,
21989 # but we know of no workaround that is simple, portable, and efficient.
21990 # So, we kill variables containing newlines.
21991 # Ultrix sh set writes to stderr and can't be redirected directly,
21992 # and sets the high bit in the cache file unless we assign to the vars.
21994 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21995 eval ac_val
=\$
$ac_var
21999 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22000 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22003 _
| IFS
| as_nl
) ;; #(
22004 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22005 *) { eval $ac_var=; unset $ac_var;} ;;
22011 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22012 *${as_nl}ac_space
=\
*)
22013 # `set' does not quote correctly, so add quotes: double-quote
22014 # substitution turns \\\\ into \\, and sed turns \\ into \.
22017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22020 # `set' quotes correctly as required by POSIX, so do not add quotes.
22021 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22032 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22034 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22035 if test -w "$cache_file"; then
22036 if test "x$cache_file" != "x/dev/null"; then
22037 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22038 $as_echo "$as_me: updating cache $cache_file" >&6;}
22039 if test ! -f "$cache_file" || test -h "$cache_file"; then
22040 cat confcache
>"$cache_file"
22042 case $cache_file in #(
22044 mv -f confcache
"$cache_file"$$
&&
22045 mv -f "$cache_file"$$
"$cache_file" ;; #(
22047 mv -f confcache
"$cache_file" ;;
22052 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22053 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22058 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22059 # Let make expand exec_prefix.
22060 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22062 # Transform confdefs.h into DEFS.
22063 # Protect against shell expansion while executing Makefile rules.
22064 # Protect against Makefile macro expansion.
22066 # If the first sed substitution is executed (which looks for macros that
22067 # take arguments), then branch to the quote section. Otherwise,
22068 # look for a macro that doesn't take arguments.
22078 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
22080 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
22084 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
22097 DEFS
=`sed -n "$ac_script" confdefs.h`
22103 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22104 # 1. Remove the extension, and $U if already installed.
22105 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22106 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22107 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22108 # will be set to the directory where LIBOBJS objects are built.
22109 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22110 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22112 LIBOBJS
=$ac_libobjs
22114 LTLIBOBJS
=$ac_ltlibobjs
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22118 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22119 if test -n "$am_sleep_pid"; then
22120 # Hide warnings about reused PIDs.
22121 wait $am_sleep_pid 2>/dev
/null
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22124 $as_echo "done" >&6; }
22125 if test -n "$EXEEXT"; then
22127 am__EXEEXT_FALSE
='#'
22129 am__EXEEXT_TRUE
='#'
22133 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22134 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22137 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22138 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22141 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
22142 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
22143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22145 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22146 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22149 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
22150 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
22151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22153 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
22154 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
22155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22157 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
22158 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
22159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22162 : "${CONFIG_STATUS=./config.status}"
22164 ac_clean_files_save
=$ac_clean_files
22165 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22167 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22169 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22171 # Generated by $as_me.
22172 # Run this file to recreate the current configuration.
22173 # Compiler output produced by configure, useful for debugging
22174 # configure, is in config.log if it exists.
22177 ac_cs_recheck=false
22180 SHELL=\${CONFIG_SHELL-$SHELL}
22183 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
22184 ## -------------------- ##
22185 ## M4sh Initialization. ##
22186 ## -------------------- ##
22188 # Be more Bourne compatible
22189 DUALCASE
=1; export DUALCASE
# for MKS sh
22190 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22193 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22194 # is contrary to our usage. Disable this feature.
22195 alias -g '${1+"$@"}'='"$@"'
22196 setopt NO_GLOB_SUBST
22198 case `(set -o) 2>/dev/null` in #(
22210 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22211 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22212 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22213 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22214 # Prefer a ksh shell builtin over an external printf program on Solaris,
22215 # but without wasting forks for bash or zsh.
22216 if test -z "$BASH_VERSION$ZSH_VERSION" \
22217 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22218 as_echo='print
-r --'
22219 as_echo_n='print
-rn --'
22220 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22221 as_echo='printf %s
\n'
22222 as_echo_n='printf %s
'
22224 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22225 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22226 as_echo_n='/usr
/ucb
/echo -n'
22228 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22229 as_echo_n_body='eval
22233 expr "X$arg" : "X\\(.*\\)$as_nl";
22234 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22236 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22238 export as_echo_n_body
22239 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22241 export as_echo_body
22242 as_echo='sh
-c $as_echo_body as_echo
'
22245 # The user is always right.
22246 if test "${PATH_SEPARATOR+set}" != set; then
22248 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22249 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22256 # We need space, tab and new line, in precisely that order. Quoting is
22257 # there to prevent editors from complaining about space-tab.
22258 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22259 # splitting by setting IFS to empty value.)
22262 # Find who we are. Look in the path if we contain no directory separator.
22265 *[\\/]* ) as_myself=$0 ;;
22266 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22267 for as_dir in $PATH
22270 test -z "$as_dir" && as_dir=.
22271 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22277 # We did not find ourselves, most probably we were run as `sh COMMAND'
22278 # in which case we are not to be found in the path.
22279 if test "x$as_myself" = x
; then
22282 if test ! -f "$as_myself"; then
22283 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22287 # Unset variables that we do not need and which cause bugs (e.g. in
22288 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22289 # suppresses any "Segmentation fault" message there. '((' could
22290 # trigger a bug in pdksh 5.2.14.
22291 for as_var
in BASH_ENV ENV MAIL MAILPATH
22292 do eval test x\
${$as_var+set} = xset \
22293 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
22306 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22309 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22310 # ----------------------------------------
22311 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22312 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22313 # script with STATUS, using 1 if that was 0.
22316 as_status
=$1; test $as_status -eq 0 && as_status
=1
22318 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22319 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22321 $as_echo "$as_me: error: $2" >&2
22322 as_fn_exit
$as_status
22326 # as_fn_set_status STATUS
22327 # -----------------------
22328 # Set $? to STATUS, without forking.
22329 as_fn_set_status
()
22332 } # as_fn_set_status
22334 # as_fn_exit STATUS
22335 # -----------------
22336 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22340 as_fn_set_status
$1
22346 # Portably unset VAR.
22349 { eval $1=; unset $1;}
22351 as_unset
=as_fn_unset
22352 # as_fn_append VAR VALUE
22353 # ----------------------
22354 # Append the text in VALUE to the end of the definition contained in VAR. Take
22355 # advantage of any shell optimizations that allow amortized linear growth over
22356 # repeated appends, instead of the typical quadratic growth present in naive
22358 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22359 eval 'as_fn_append ()
22370 # as_fn_arith ARG...
22371 # ------------------
22372 # Perform arithmetic evaluation on the ARGs, and store the result in the
22373 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22374 # must be portable across $(()) and expr.
22375 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22376 eval 'as_fn_arith ()
22383 as_val
=`expr "$@" || test $? -eq 1`
22388 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22389 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22395 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22396 as_basename
=basename
22401 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22407 as_me
=`$as_basename -- "$0" ||
22408 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22409 X"$0" : 'X\(//\)$' \| \
22410 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22412 sed '/^.*\/\([^/][^/]*\)\/*$/{
22426 # Avoid depending upon Character Ranges.
22427 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22428 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22429 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22430 as_cr_digits
='0123456789'
22431 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22433 ECHO_C
= ECHO_N
= ECHO_T
=
22434 case `echo -n x` in #(((((
22436 case `echo 'xy\c'` in
22437 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22439 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22446 rm -f conf$$ conf$$.exe conf$$.
file
22447 if test -d conf$$.dir
; then
22448 rm -f conf$$.dir
/conf$$.
file
22451 mkdir conf$$.dir
2>/dev
/null
22453 if (echo >conf$$.
file) 2>/dev
/null
; then
22454 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22456 # ... but there are two gotchas:
22457 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22458 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22459 # In both cases, we have to default to `cp -pR'.
22460 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22462 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22470 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22471 rmdir conf$$.dir
2>/dev
/null
22476 # Create "$as_dir" as a directory, including parents if necessary.
22481 -*) as_dir
=.
/$as_dir;;
22483 test -d "$as_dir" || eval $as_mkdir_p || {
22487 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22488 *) as_qdir
=$as_dir;;
22490 as_dirs
="'$as_qdir' $as_dirs"
22491 as_dir
=`$as_dirname -- "$as_dir" ||
22492 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22493 X"$as_dir" : 'X\(//\)[^/]' \| \
22494 X"$as_dir" : 'X\(//\)$' \| \
22495 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22496 $as_echo X"$as_dir" |
22497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22501 /^X\(\/\/\)[^/].*/{
22514 test -d "$as_dir" && break
22516 test -z "$as_dirs" || eval "mkdir $as_dirs"
22517 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22521 if mkdir -p .
2>/dev
/null
; then
22522 as_mkdir_p
='mkdir -p "$as_dir"'
22524 test -d .
/-p && rmdir .
/-p
22529 # as_fn_executable_p FILE
22530 # -----------------------
22531 # Test if FILE is an executable regular file.
22532 as_fn_executable_p
()
22534 test -f "$1" && test -x "$1"
22535 } # as_fn_executable_p
22536 as_test_x
='test -x'
22537 as_executable_p
=as_fn_executable_p
22539 # Sed expression to map a string onto a valid CPP name.
22540 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22542 # Sed expression to map a string onto a valid variable name.
22543 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22547 ## ----------------------------------- ##
22548 ## Main body of $CONFIG_STATUS script. ##
22549 ## ----------------------------------- ##
22551 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22553 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22554 # Save the log message, to keep $0 and so on meaningful, and to
22555 # report actual input values of CONFIG_FILES etc. instead of their
22556 # values after options handling.
22558 This file was extended by Cycript $as_me 0.9, which was
22559 generated by GNU Autoconf 2.69. Invocation command line was
22561 CONFIG_FILES = $CONFIG_FILES
22562 CONFIG_HEADERS = $CONFIG_HEADERS
22563 CONFIG_LINKS = $CONFIG_LINKS
22564 CONFIG_COMMANDS = $CONFIG_COMMANDS
22567 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22572 case $ac_config_files in *"
22573 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22579 # Files that config.status was made for.
22580 config_files="$ac_config_files"
22581 config_commands="$ac_config_commands"
22585 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22587 \`$as_me' instantiates files and other configuration actions
22588 from templates according to the current configuration. Unless the files
22589 and actions are specified as TAGs, all are instantiated by default.
22591 Usage: $0 [OPTION]... [TAG]...
22593 -h, --help print this help, then exit
22594 -V, --version print version number and configuration settings, then exit
22595 --config print configuration, then exit
22596 -q, --quiet, --silent
22597 do not print progress messages
22598 -d, --debug don't remove temporary files
22599 --recheck update $as_me by reconfiguring in the same conditions
22600 --file=FILE[:TEMPLATE]
22601 instantiate the configuration file FILE
22603 Configuration files:
22606 Configuration commands:
22609 Report bugs to <saurik@saurik.com>.
22610 Cycript home page: <http://www.cycript.org/>."
22613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22614 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22616 Cycript config.status 0.9
22617 configured by $0, generated by GNU Autoconf 2.69,
22618 with options \\"\$ac_cs_config\\"
22620 Copyright (C) 2012 Free Software Foundation, Inc.
22621 This config.status script is free software; the Free Software Foundation
22622 gives unlimited permission to copy, distribute and modify it."
22629 test -n "\$AWK" || AWK=awk
22632 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22633 # The default lists apply if the user does not specify any file.
22639 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22640 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22644 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22656 # Handling of the options.
22657 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22659 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22660 $as_echo "$ac_cs_version"; exit ;;
22661 --config | --confi | --conf | --con | --co | --c )
22662 $as_echo "$ac_cs_config"; exit ;;
22663 --debug | --debu | --deb | --de | --d | -d )
22665 --file | --fil | --fi | --f )
22668 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22669 '') as_fn_error $?
"missing file argument" ;;
22671 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22672 ac_need_defaults
=false
;;
22673 --he | --h | --help | --hel | -h )
22674 $as_echo "$ac_cs_usage"; exit ;;
22675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22676 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22679 # This is an error.
22680 -*) as_fn_error $?
"unrecognized option: \`$1'
22681 Try \`$0 --help' for more information." ;;
22683 *) as_fn_append ac_config_targets
" $1"
22684 ac_need_defaults
=false
;;
22690 ac_configure_extra_args
=
22692 if $ac_cs_silent; then
22694 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22699 if \$ac_cs_recheck; then
22700 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22702 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22703 CONFIG_SHELL='$SHELL'
22704 export CONFIG_SHELL
22709 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22713 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22714 ## Running $as_me. ##
22720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22724 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22727 # The HP-UX ksh and POSIX shell print the target directory to stdout
22728 # if CDPATH is set.
22729 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22731 sed_quote_subst='$sed_quote_subst'
22732 double_quote_subst='$double_quote_subst'
22733 delay_variable_subst='$delay_variable_subst'
22734 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22735 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22736 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22737 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22738 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22739 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22740 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22741 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22742 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22743 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22744 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22745 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22746 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22747 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22748 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22749 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22750 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22751 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22752 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22753 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22754 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22755 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22756 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22757 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22758 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22759 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22760 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22761 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22762 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22763 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22764 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22765 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22766 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22767 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22768 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22769 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22770 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22771 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22772 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22773 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22774 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22775 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22776 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22777 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22778 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22779 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22780 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22781 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22782 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22783 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22784 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22785 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22786 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22787 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22788 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22789 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22790 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"`'
22791 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22792 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22793 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22794 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22795 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22796 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22797 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22798 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22799 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22800 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22801 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22802 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22803 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22804 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22805 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22806 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22807 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22808 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22809 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22810 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22811 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22812 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22813 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22814 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22815 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22816 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22817 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22818 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22819 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22820 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22821 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22822 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22823 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22824 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22825 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22826 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22827 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22828 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22829 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22830 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22831 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22832 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22833 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22834 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22835 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22836 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22837 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22838 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22839 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22840 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22841 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22842 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22843 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22844 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22845 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22846 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22847 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22848 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22849 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22850 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22851 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22852 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22853 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22854 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22855 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22856 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22857 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22858 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22859 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22860 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22861 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22862 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22863 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22864 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22865 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22866 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22867 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22868 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22869 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22870 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22871 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22872 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22873 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22874 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22875 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22876 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22877 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22878 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22879 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22880 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22881 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22882 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22883 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22884 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22885 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22886 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22887 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22888 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22889 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22890 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22891 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22892 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22893 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22894 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22895 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22896 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22897 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22898 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22899 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22900 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22901 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22902 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22903 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22904 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22905 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22906 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22907 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22908 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22909 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22910 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22911 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22912 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22913 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22914 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22915 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22916 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22917 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22920 LTCFLAGS='$LTCFLAGS'
22921 compiler='$compiler_DEFAULT'
22923 # A function that is used when there is no print builtin or printf.
22924 func_fallback_echo ()
22926 eval 'cat <<_LTECHO_EOF
22931 # Quote evaled strings.
22946 deplibs_check_method \
22951 sharedlib_from_linklib_cmd \
22954 archiver_list_spec \
22960 lt_cv_sys_global_symbol_pipe \
22961 lt_cv_sys_global_symbol_to_cdecl \
22962 lt_cv_sys_global_symbol_to_c_name_address \
22963 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22964 nm_file_list_spec \
22965 lt_prog_compiler_no_builtin_flag \
22966 lt_prog_compiler_pic \
22967 lt_prog_compiler_wl \
22968 lt_prog_compiler_static \
22969 lt_cv_prog_compiler_c_o \
22978 export_dynamic_flag_spec \
22979 whole_archive_flag_spec \
22980 compiler_needs_object \
22982 allow_undefined_flag \
22983 no_undefined_flag \
22984 hardcode_libdir_flag_spec \
22985 hardcode_libdir_separator \
22989 variables_saved_for_relink \
22991 library_names_spec \
22993 install_override_mode \
22997 compiler_lib_search_dirs \
23002 compiler_lib_search_path \
23006 lt_prog_compiler_no_builtin_flag_CXX \
23007 lt_prog_compiler_pic_CXX \
23008 lt_prog_compiler_wl_CXX \
23009 lt_prog_compiler_static_CXX \
23010 lt_cv_prog_compiler_c_o_CXX \
23011 export_dynamic_flag_spec_CXX \
23012 whole_archive_flag_spec_CXX \
23013 compiler_needs_object_CXX \
23015 allow_undefined_flag_CXX \
23016 no_undefined_flag_CXX \
23017 hardcode_libdir_flag_spec_CXX \
23018 hardcode_libdir_separator_CXX \
23019 exclude_expsyms_CXX \
23020 include_expsyms_CXX \
23021 file_list_spec_CXX \
23022 compiler_lib_search_dirs_CXX \
23023 predep_objects_CXX \
23024 postdep_objects_CXX \
23027 compiler_lib_search_path_CXX; do
23028 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23029 *[\\\\\\\`\\"\\\$]*)
23030 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23033 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23038 # Double-quote double-evaled strings.
23039 for var in reload_cmds \
23040 old_postinstall_cmds \
23041 old_postuninstall_cmds \
23043 extract_expsyms_cmds \
23044 old_archive_from_new_cmds \
23045 old_archive_from_expsyms_cmds \
23047 archive_expsym_cmds \
23049 module_expsym_cmds \
23050 export_symbols_cmds \
23054 postuninstall_cmds \
23056 sys_lib_search_path_spec \
23057 sys_lib_dlsearch_path_spec \
23059 old_archive_cmds_CXX \
23060 old_archive_from_new_cmds_CXX \
23061 old_archive_from_expsyms_cmds_CXX \
23063 archive_expsym_cmds_CXX \
23065 module_expsym_cmds_CXX \
23066 export_symbols_cmds_CXX \
23068 postlink_cmds_CXX; do
23069 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23070 *[\\\\\\\`\\"\\\$]*)
23071 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23074 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23079 ac_aux_dir='$ac_aux_dir'
23080 xsi_shell='$xsi_shell'
23081 lt_shell_append='$lt_shell_append'
23083 # See if we are running on zsh, and set the options which allow our
23084 # commands through without removal of \ escapes INIT.
23085 if test -n "\${ZSH_VERSION+set}" ; then
23086 setopt NO_GLOB_SUBST
23092 TIMESTAMP='$TIMESTAMP'
23103 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23105 # Handling of arguments.
23106 for ac_config_target
in $ac_config_targets
23108 case $ac_config_target in
23109 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23110 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23111 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23113 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23118 # If the user did not use the arguments to specify the items to instantiate,
23119 # then the envvar interface is used. Set only those that are not.
23120 # We use the long form for the default assignment because of an extremely
23121 # bizarre bug on SunOS 4.1.3.
23122 if $ac_need_defaults; then
23123 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23124 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23127 # Have a temporary directory for convenience. Make it in the build tree
23128 # simply because there is no reason against having it here, and in addition,
23129 # creating and moving files from /tmp can sometimes cause problems.
23130 # Hook for its removal unless debugging.
23131 # Note that there is a small window in which the directory will not be cleaned:
23132 # after its creation but before its name has been assigned to `$tmp'.
23136 trap 'exit_status=$?
23137 : "${ac_tmp:=$tmp}"
23138 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23140 trap 'as_fn_exit 1' 1 2 13 15
23142 # Create a (secure) tmp directory for tmp files.
23145 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23149 tmp
=.
/conf$$
-$RANDOM
23150 (umask 077 && mkdir "$tmp")
23151 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23154 # Set up the scripts for CONFIG_FILES section.
23155 # No need to generate them if there are no CONFIG_FILES.
23156 # This happens for instance with `./config.status config.h'.
23157 if test -n "$CONFIG_FILES"; then
23160 ac_cr
=`echo X | tr X '\015'`
23161 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23162 # But we know of no other shell where ac_cr would be empty at this
23163 # point, so we can use a bashism as a fallback.
23164 if test "x$ac_cr" = x
; then
23165 eval ac_cr
=\$
\'\\r
\'
23167 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23168 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23171 ac_cs_awk_cr
=$ac_cr
23174 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23179 echo "cat >conf$$subs.awk <<_ACEOF" &&
23180 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23182 } >conf$$subs.sh ||
23183 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23184 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23186 for ac_last_try in false false false false false :; do
23187 . ./conf$$subs.sh ||
23188 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23190 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23191 if test $ac_delim_n = $ac_delim_num; then
23193 elif $ac_last_try; then
23194 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23196 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23199 rm -f conf$$subs.sh
23201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23202 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23206 s/^/S["/; s
/!.
*/"]=/
23216 s/\(.\{148\}\)..*/\1/
23218 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23223 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23230 s/\(.\{148\}\)..*/\1/
23232 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23236 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23241 ' <conf$$subs.awk | sed '
23246 ' >>$CONFIG_STATUS || ac_write_fail=1
23247 rm -f conf$$subs.awk
23248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23250 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23251 for (key in S) S_is_set[key] = 1
23257 nfields = split(line, field, "@
")
23259 len = length(field[1])
23260 for (i = 2; i < nfields; i++) {
23262 keylen = length(key)
23263 if (S_is_set[key]) {
23265 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23266 len += length(value) + length(field[++i])
23277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23278 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23279 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23282 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23283 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23286 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23287 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23288 # trailing colons and then remove the whole line if VPATH becomes empty
23289 # (actually we leave an empty line to preserve line numbers).
23290 if test "x
$srcdir" = x.; then
23291 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23310 fi # test -n "$CONFIG_FILES"
23313 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
23318 :[FHLC]) ac_mode=$ac_tag; continue;;
23320 case $ac_mode$ac_tag in
23322 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
23323 :[FH]-) ac_tag=-:-;;
23324 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23341 -) ac_f="$ac_tmp/stdin";;
23342 *) # Look for the file first in the build tree, then in the source tree
23343 # (if the path is not absolute). The absolute path cannot be DOS-style,
23344 # because $ac_f cannot contain `:'.
23348 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23350 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23352 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
23353 as_fn_append ac_file_inputs " '$ac_f'"
23356 # Let's still pretend it is `configure' which instantiates (i.e., don't
23357 # use $as_me), people would be surprised to read:
23358 # /* config.h. Generated by config.status. */
23359 configure_input='Generated from '`
23360 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23362 if test x"$ac_file" != x-; then
23363 configure_input="$ac_file.
$configure_input"
23364 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
23365 $as_echo "$as_me: creating
$ac_file" >&6;}
23367 # Neutralize special characters interpreted by sed in replacement strings.
23368 case $configure_input in #(
23369 *\&* | *\|* | *\\* )
23370 ac_sed_conf_input=`$as_echo "$configure_input" |
23371 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23372 *) ac_sed_conf_input=$configure_input;;
23376 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
23377 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
23382 ac_dir=`$as_dirname -- "$ac_file" ||
23383 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23384 X"$ac_file" : 'X\(//\)[^/]' \| \
23385 X"$ac_file" : 'X\(//\)$' \| \
23386 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23387 $as_echo X"$ac_file" |
23388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23392 /^X\(\/\/\)[^/].*/{
23405 as_dir="$ac_dir"; as_fn_mkdir_p
23409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23411 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23412 # A "..
" for each directory in $ac_dir_suffix.
23413 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23414 case $ac_top_builddir_sub in
23415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23419 ac_abs_top_builddir=$ac_pwd
23420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23421 # for backward compatibility:
23422 ac_top_builddir=$ac_top_build_prefix
23425 .) # We are building in place.
23427 ac_top_srcdir=$ac_top_builddir_sub
23428 ac_abs_top_srcdir=$ac_pwd ;;
23429 [\\/]* | ?:[\\/]* ) # Absolute name.
23430 ac_srcdir=$srcdir$ac_dir_suffix;
23431 ac_top_srcdir=$srcdir
23432 ac_abs_top_srcdir=$srcdir ;;
23433 *) # Relative name.
23434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23435 ac_top_srcdir=$ac_top_build_prefix$srcdir
23436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23448 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23449 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23451 ac_MKDIR_P=$MKDIR_P
23453 [\\/$]* | ?:[\\/]* ) ;;
23454 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23459 # If the template does not know about datarootdir, expand it.
23460 # FIXME: This hack should be removed a few years after 2.60.
23461 ac_datarootdir_hack=; ac_datarootdir_seen=
23472 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
23473 *datarootdir*) ac_datarootdir_seen=yes;;
23474 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
23476 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
23478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23479 ac_datarootdir_hack='
23480 s&@datadir@&$datadir&g
23481 s&@docdir@&$docdir&g
23482 s&@infodir@&$infodir&g
23483 s&@localedir@&$localedir&g
23484 s&@mandir@&$mandir&g
23485 s&\\\${datarootdir}&$datarootdir&g' ;;
23489 # Neutralize VPATH when `$srcdir' = `.'.
23490 # Shell code in configure.ac might set extrasub.
23491 # FIXME: do we really want to maintain this feature?
23492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23493 ac_sed_extra="$ac_vpsub
23496 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23498 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23499 s
|@configure_input@
|$ac_sed_conf_input|;t t
23500 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23501 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23502 s
&@srcdir@
&$ac_srcdir&;t t
23503 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23504 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23505 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23506 s
&@builddir@
&$ac_builddir&;t t
23507 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23508 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23509 s
&@INSTALL@
&$ac_INSTALL&;t t
23510 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23511 $ac_datarootdir_hack
23513 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23514 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23516 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23517 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23518 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23519 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23521 which seems to be undefined. Please make sure it is defined" >&5
23522 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23523 which seems to be undefined. Please make sure it is defined" >&2;}
23525 rm -f "$ac_tmp/stdin"
23527 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23528 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23534 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23535 $as_echo "$as_me: executing $ac_file commands" >&6;}
23540 case $ac_file$ac_mode in
23541 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23542 # Older Autoconf quotes --file arguments for eval, but not when files
23543 # are listed without --file. Let's play safe and only
enable the
eval
23544 # if we detect the quoting.
23545 case $CONFIG_FILES in
23546 *\'*) eval set x
"$CONFIG_FILES" ;;
23547 *) set x
$CONFIG_FILES ;;
23552 # Strip MF so we end up with the name of the file.
23553 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23554 # Check whether this is an Automake generated Makefile or not.
23555 # We used to match only the files named 'Makefile.in', but
23556 # some people rename them; so instead we look at the file content.
23557 # Grep'ing the first line is not enough: some people post-process
23558 # each Makefile.in and add a new line on top of each file to say so.
23559 # Grep'ing the whole file is not good either: AIX grep has a line
23560 # limit of 2048, but all sed's we know have understand at least 4000.
23561 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23562 dirpart
=`$as_dirname -- "$mf" ||
23563 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23564 X"$mf" : 'X\(//\)[^/]' \| \
23565 X"$mf" : 'X\(//\)$' \| \
23566 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23572 /^X\(\/\/\)[^/].*/{
23588 # Extract the definition of DEPDIR, am__include, and am__quote
23589 # from the Makefile without running 'make'.
23590 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23591 test -z "$DEPDIR" && continue
23592 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23593 test -z "am__include" && continue
23594 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23595 # Find all dependency output files, they are included files with
23596 # $(DEPDIR) in their names. We invoke sed twice because it is the
23597 # simplest approach to changing $(DEPDIR) to its actual value in the
23599 for file in `sed -n "
23600 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23601 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23602 # Make sure the directory exists.
23603 test -f "$dirpart/$file" && continue
23604 fdir
=`$as_dirname -- "$file" ||
23605 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23606 X"$file" : 'X\(//\)[^/]' \| \
23607 X"$file" : 'X\(//\)$' \| \
23608 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23609 $as_echo X"$file" |
23610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23614 /^X\(\/\/\)[^/].*/{
23627 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23628 # echo "creating $dirpart/$file"
23629 echo '# dummy' > "$dirpart/$file"
23636 # See if we are running on zsh, and set the options which allow our
23637 # commands through without removal of \ escapes.
23638 if test -n "${ZSH_VERSION+set}" ; then
23639 setopt NO_GLOB_SUBST
23642 cfgfile
="${ofile}T"
23643 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23646 cat <<_LT_EOF >> "$cfgfile"
23649 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23650 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23651 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23652 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23654 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23655 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23657 # Written by Gordon Matzigkeit, 1996
23659 # This file is part of GNU Libtool.
23661 # GNU Libtool is free software; you can redistribute it and/or
23662 # modify it under the terms of the GNU General Public License as
23663 # published by the Free Software Foundation; either version 2 of
23664 # the License, or (at your option) any later version.
23666 # As a special exception to the GNU General Public License,
23667 # if you distribute this file as part of a program or library that
23668 # is built using GNU Libtool, you may include this file under the
23669 # same distribution terms that you use for the rest of that program.
23671 # GNU Libtool is distributed in the hope that it will be useful,
23672 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23673 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23674 # GNU General Public License for more details.
23676 # You should have received a copy of the GNU General Public License
23677 # along with GNU Libtool; see the file COPYING. If not, a copy
23678 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23679 # obtained by writing to the Free Software Foundation, Inc.,
23680 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23683 # The names of the tagged configurations supported by this script.
23684 available_tags="CXX "
23686 # ### BEGIN LIBTOOL CONFIG
23688 # Which release of libtool.m4 was used?
23689 macro_version=$macro_version
23690 macro_revision=$macro_revision
23692 # Whether or not to build static libraries.
23693 build_old_libs=$enable_static
23695 # Whether or not to build shared libraries.
23696 build_libtool_libs=$enable_shared
23698 # What type of objects to build.
23701 # Whether or not to optimize for fast installation.
23702 fast_install=$enable_fast_install
23704 # Shell to use when invoking shell scripts.
23707 # An echo program that protects backslashes.
23710 # The PATH separator for the build system.
23711 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23714 host_alias=$host_alias
23718 # The build system.
23719 build_alias=$build_alias
23723 # A sed program that does not truncate output.
23726 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23727 Xsed="\$SED -e 1s/^X//"
23729 # A grep program that handles long lines.
23735 # A literal string matcher.
23738 # A BSD- or MS-compatible name lister.
23741 # Whether we need soft or hard links.
23744 # What is the maximum length of a command?
23745 max_cmd_len=$max_cmd_len
23747 # Object file suffix (normally "o").
23750 # Executable file suffix (normally "").
23753 # whether the shell understands "unset".
23756 # turn spaces into newlines.
23759 # turn newlines into spaces.
23762 # convert \$build file names to \$host format.
23763 to_host_file_cmd=$lt_cv_to_host_file_cmd
23765 # convert \$build files to toolchain format.
23766 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23768 # An object symbol dumper.
23769 OBJDUMP=$lt_OBJDUMP
23771 # Method to check whether dependent libraries are shared objects.
23772 deplibs_check_method=$lt_deplibs_check_method
23774 # Command to use when deplibs_check_method = "file_magic".
23775 file_magic_cmd=$lt_file_magic_cmd
23777 # How to find potential files when deplibs_check_method = "file_magic".
23778 file_magic_glob=$lt_file_magic_glob
23780 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23781 want_nocaseglob=$lt_want_nocaseglob
23783 # DLL creation program.
23784 DLLTOOL=$lt_DLLTOOL
23786 # Command to associate shared and link libraries.
23787 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23792 # Flags to create an archive.
23793 AR_FLAGS=$lt_AR_FLAGS
23795 # How to feed a file listing to the archiver.
23796 archiver_list_spec=$lt_archiver_list_spec
23798 # A symbol stripping program.
23801 # Commands used to install an old-style archive.
23803 old_postinstall_cmds=$lt_old_postinstall_cmds
23804 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23806 # Whether to use a lock for old archive extraction.
23807 lock_old_archive_extraction=$lock_old_archive_extraction
23812 # LTCC compiler flags.
23813 LTCFLAGS=$lt_CFLAGS
23815 # Take the output of nm and produce a listing of raw symbols and C names.
23816 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23818 # Transform the output of nm in a proper C declaration.
23819 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23821 # Transform the output of nm in a C name address pair.
23822 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23824 # Transform the output of nm in a C name address pair when lib prefix is needed.
23825 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23827 # Specify filename containing input files for \$NM.
23828 nm_file_list_spec=$lt_nm_file_list_spec
23830 # The root where to search for dependent libraries,and in which our libraries should be installed.
23831 lt_sysroot=$lt_sysroot
23833 # The name of the directory that contains temporary libtool files.
23836 # Used to examine libraries when file_magic_cmd begins with "file".
23837 MAGIC_CMD=$MAGIC_CMD
23839 # Must we lock files when doing compilation?
23840 need_locks=$lt_need_locks
23843 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23845 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23846 DSYMUTIL=$lt_DSYMUTIL
23848 # Tool to change global to local symbols on Mac OS X.
23851 # Tool to manipulate fat objects and archives on Mac OS X.
23854 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23857 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23858 OTOOL64=$lt_OTOOL64
23860 # Old archive suffix (normally "a").
23863 # Shared library suffix (normally ".so").
23864 shrext_cmds=$lt_shrext_cmds
23866 # The commands to extract the exported symbol list from a shared archive.
23867 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23869 # Variables whose values should be saved in libtool wrapper scripts and
23870 # restored at link time.
23871 variables_saved_for_relink=$lt_variables_saved_for_relink
23873 # Do we need the "lib" prefix for modules?
23874 need_lib_prefix=$need_lib_prefix
23876 # Do we need a version for libraries?
23877 need_version=$need_version
23879 # Library versioning type.
23880 version_type=$version_type
23882 # Shared library runtime path variable.
23883 runpath_var=$runpath_var
23885 # Shared library path variable.
23886 shlibpath_var=$shlibpath_var
23888 # Is shlibpath searched before the hard-coded library search path?
23889 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23891 # Format of library name prefix.
23892 libname_spec=$lt_libname_spec
23894 # List of archive names. First name is the real one, the rest are links.
23895 # The last name is the one that the linker finds with -lNAME
23896 library_names_spec=$lt_library_names_spec
23898 # The coded name of the library, if different from the real name.
23899 soname_spec=$lt_soname_spec
23901 # Permission mode override for installation of shared libraries.
23902 install_override_mode=$lt_install_override_mode
23904 # Command to use after installation of a shared archive.
23905 postinstall_cmds=$lt_postinstall_cmds
23907 # Command to use after uninstallation of a shared archive.
23908 postuninstall_cmds=$lt_postuninstall_cmds
23910 # Commands used to finish a libtool library installation in a directory.
23911 finish_cmds=$lt_finish_cmds
23913 # As "finish_cmds", except a single script fragment to be evaled but
23915 finish_eval=$lt_finish_eval
23917 # Whether we should hardcode library paths into libraries.
23918 hardcode_into_libs=$hardcode_into_libs
23920 # Compile-time system search path for libraries.
23921 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23923 # Run-time system search path for libraries.
23924 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23926 # Whether dlopen is supported.
23927 dlopen_support=$enable_dlopen
23929 # Whether dlopen of programs is supported.
23930 dlopen_self=$enable_dlopen_self
23932 # Whether dlopen of statically linked programs is supported.
23933 dlopen_self_static=$enable_dlopen_self_static
23935 # Commands to strip libraries.
23936 old_striplib=$lt_old_striplib
23937 striplib=$lt_striplib
23940 # The linker used to build libraries.
23943 # How to create reloadable object files.
23944 reload_flag=$lt_reload_flag
23945 reload_cmds=$lt_reload_cmds
23947 # Commands used to build an old-style archive.
23948 old_archive_cmds=$lt_old_archive_cmds
23950 # A language specific compiler.
23953 # Is the compiler the GNU compiler?
23956 # Compiler flag to turn off builtin functions.
23957 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23959 # Additional compiler flags for building library objects.
23960 pic_flag=$lt_lt_prog_compiler_pic
23962 # How to pass a linker flag through the compiler.
23963 wl=$lt_lt_prog_compiler_wl
23965 # Compiler flag to prevent dynamic linking.
23966 link_static_flag=$lt_lt_prog_compiler_static
23968 # Does compiler simultaneously support -c and -o options?
23969 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23971 # Whether or not to add -lc for building shared libraries.
23972 build_libtool_need_lc=$archive_cmds_need_lc
23974 # Whether or not to disallow shared libs when runtime libs are static.
23975 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23977 # Compiler flag to allow reflexive dlopens.
23978 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23980 # Compiler flag to generate shared objects directly from archives.
23981 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23983 # Whether the compiler copes with passing no objects directly.
23984 compiler_needs_object=$lt_compiler_needs_object
23986 # Create an old-style archive from a shared archive.
23987 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23989 # Create a temporary old-style archive to link instead of a shared archive.
23990 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23992 # Commands used to build a shared archive.
23993 archive_cmds=$lt_archive_cmds
23994 archive_expsym_cmds=$lt_archive_expsym_cmds
23996 # Commands used to build a loadable module if different from building
23997 # a shared archive.
23998 module_cmds=$lt_module_cmds
23999 module_expsym_cmds=$lt_module_expsym_cmds
24001 # Whether we are building with GNU ld or not.
24002 with_gnu_ld=$lt_with_gnu_ld
24004 # Flag that allows shared libraries with undefined symbols to be built.
24005 allow_undefined_flag=$lt_allow_undefined_flag
24007 # Flag that enforces no undefined symbols.
24008 no_undefined_flag=$lt_no_undefined_flag
24010 # Flag to hardcode \$libdir into a binary during linking.
24011 # This must work even if \$libdir does not exist
24012 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24014 # Whether we need a single "-rpath" flag with a separated argument.
24015 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24017 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24018 # DIR into the resulting binary.
24019 hardcode_direct=$hardcode_direct
24021 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24022 # DIR into the resulting binary and the resulting library dependency is
24023 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24024 # library is relocated.
24025 hardcode_direct_absolute=$hardcode_direct_absolute
24027 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24028 # into the resulting binary.
24029 hardcode_minus_L=$hardcode_minus_L
24031 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24032 # into the resulting binary.
24033 hardcode_shlibpath_var=$hardcode_shlibpath_var
24035 # Set to "yes" if building a shared library automatically hardcodes DIR
24036 # into the library and all subsequent libraries and executables linked
24038 hardcode_automatic=$hardcode_automatic
24040 # Set to yes if linker adds runtime paths of dependent libraries
24041 # to runtime path list.
24042 inherit_rpath=$inherit_rpath
24044 # Whether libtool must link a program against all its dependency libraries.
24045 link_all_deplibs=$link_all_deplibs
24047 # Set to "yes" if exported symbols are required.
24048 always_export_symbols=$always_export_symbols
24050 # The commands to list exported symbols.
24051 export_symbols_cmds=$lt_export_symbols_cmds
24053 # Symbols that should not be listed in the preloaded symbols.
24054 exclude_expsyms=$lt_exclude_expsyms
24056 # Symbols that must always be exported.
24057 include_expsyms=$lt_include_expsyms
24059 # Commands necessary for linking programs (against libraries) with templates.
24060 prelink_cmds=$lt_prelink_cmds
24062 # Commands necessary for finishing linking programs.
24063 postlink_cmds=$lt_postlink_cmds
24065 # Specify filename containing input files.
24066 file_list_spec=$lt_file_list_spec
24068 # How to hardcode a shared library path into an executable.
24069 hardcode_action=$hardcode_action
24071 # The directories searched by this compiler when creating a shared library.
24072 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24074 # Dependencies to place before and after the objects being linked to
24075 # create a shared library.
24076 predep_objects=$lt_predep_objects
24077 postdep_objects=$lt_postdep_objects
24078 predeps=$lt_predeps
24079 postdeps=$lt_postdeps
24081 # The library search path used internally by the compiler when linking
24082 # a shared library.
24083 compiler_lib_search_path=$lt_compiler_lib_search_path
24085 # ### END LIBTOOL CONFIG
24091 cat <<\_LT_EOF
>> "$cfgfile"
24092 # AIX sometimes has problems with the GCC collect2 program. For some
24093 # reason, if we set the COLLECT_NAMES environment variable, the problems
24094 # vanish in a puff of smoke.
24095 if test "X${COLLECT_NAMES+set}" != Xset
; then
24097 export COLLECT_NAMES
24104 ltmain
="$ac_aux_dir/ltmain.sh"
24107 # We use sed instead of cat because bash on DJGPP gets confused if
24108 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24109 # text mode, it properly converts lines to CR/LF. This bash problem
24110 # is reportedly fixed, but why not run on old versions too?
24111 sed '$q' "$ltmain" >> "$cfgfile" \
24112 || (rm -f "$cfgfile"; exit 1)
24114 if test x
"$xsi_shell" = xyes
; then
24115 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
24119 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24120 \ * ) func_dirname_result="${3}" ;;\
24122 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
24123 && mv -f "$cfgfile.tmp" "$cfgfile" \
24124 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24125 test 0 -eq $?
|| _lt_function_replace_fail
=:
24128 sed -e '/^func_basename ()$/,/^} # func_basename /c\
24131 \ func_basename_result="${1##*/}"\
24132 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
24133 && mv -f "$cfgfile.tmp" "$cfgfile" \
24134 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24135 test 0 -eq $?
|| _lt_function_replace_fail
=:
24138 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
24139 func_dirname_and_basename ()\
24142 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24143 \ * ) func_dirname_result="${3}" ;;\
24145 \ func_basename_result="${1##*/}"\
24146 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
24147 && mv -f "$cfgfile.tmp" "$cfgfile" \
24148 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24149 test 0 -eq $?
|| _lt_function_replace_fail
=:
24152 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
24155 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
24156 \ # positional parameters, so assign one to ordinary parameter first.\
24157 \ func_stripname_result=${3}\
24158 \ func_stripname_result=${func_stripname_result#"${1}"}\
24159 \ func_stripname_result=${func_stripname_result%"${2}"}\
24160 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
24161 && mv -f "$cfgfile.tmp" "$cfgfile" \
24162 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24163 test 0 -eq $?
|| _lt_function_replace_fail
=:
24166 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
24167 func_split_long_opt ()\
24169 \ func_split_long_opt_name=${1%%=*}\
24170 \ func_split_long_opt_arg=${1#*=}\
24171 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
24172 && mv -f "$cfgfile.tmp" "$cfgfile" \
24173 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24174 test 0 -eq $?
|| _lt_function_replace_fail
=:
24177 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
24178 func_split_short_opt ()\
24180 \ func_split_short_opt_arg=${1#??}\
24181 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
24182 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
24183 && mv -f "$cfgfile.tmp" "$cfgfile" \
24184 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24185 test 0 -eq $?
|| _lt_function_replace_fail
=:
24188 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
24192 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
24193 \ *) func_lo2o_result=${1} ;;\
24195 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
24196 && mv -f "$cfgfile.tmp" "$cfgfile" \
24197 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24198 test 0 -eq $?
|| _lt_function_replace_fail
=:
24201 sed -e '/^func_xform ()$/,/^} # func_xform /c\
24204 func_xform_result=${1%.*}.lo\
24205 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
24206 && mv -f "$cfgfile.tmp" "$cfgfile" \
24207 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24208 test 0 -eq $?
|| _lt_function_replace_fail
=:
24211 sed -e '/^func_arith ()$/,/^} # func_arith /c\
24214 func_arith_result=$(( $* ))\
24215 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24216 && mv -f "$cfgfile.tmp" "$cfgfile" \
24217 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24218 test 0 -eq $?
|| _lt_function_replace_fail
=:
24221 sed -e '/^func_len ()$/,/^} # func_len /c\
24224 func_len_result=${#1}\
24225 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24226 && mv -f "$cfgfile.tmp" "$cfgfile" \
24227 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24228 test 0 -eq $?
|| _lt_function_replace_fail
=:
24232 if test x
"$lt_shell_append" = xyes
; then
24233 sed -e '/^func_append ()$/,/^} # func_append /c\
24236 eval "${1}+=\\${2}"\
24237 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
24238 && mv -f "$cfgfile.tmp" "$cfgfile" \
24239 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24240 test 0 -eq $?
|| _lt_function_replace_fail
=:
24243 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24244 func_append_quoted ()\
24246 \ func_quote_for_eval "${2}"\
24247 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24248 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24249 && mv -f "$cfgfile.tmp" "$cfgfile" \
24250 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24251 test 0 -eq $?
|| _lt_function_replace_fail
=:
24254 # Save a `func_append' function call where possible by direct use of '+='
24255 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24256 && mv -f "$cfgfile.tmp" "$cfgfile" \
24257 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24258 test 0 -eq $?
|| _lt_function_replace_fail
=:
24260 # Save a `func_append' function call even when '+=' is not available
24261 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24262 && mv -f "$cfgfile.tmp" "$cfgfile" \
24263 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24264 test 0 -eq $?
|| _lt_function_replace_fail
=:
24267 if test x
"$_lt_function_replace_fail" = x
":"; then
24268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24269 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24273 mv -f "$cfgfile" "$ofile" ||
24274 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24278 cat <<_LT_EOF >> "$ofile"
24280 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24282 # The linker used to build libraries.
24285 # How to create reloadable object files.
24286 reload_flag=$lt_reload_flag_CXX
24287 reload_cmds=$lt_reload_cmds_CXX
24289 # Commands used to build an old-style archive.
24290 old_archive_cmds=$lt_old_archive_cmds_CXX
24292 # A language specific compiler.
24293 CC=$lt_compiler_CXX
24295 # Is the compiler the GNU compiler?
24298 # Compiler flag to turn off builtin functions.
24299 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24301 # Additional compiler flags for building library objects.
24302 pic_flag=$lt_lt_prog_compiler_pic_CXX
24304 # How to pass a linker flag through the compiler.
24305 wl=$lt_lt_prog_compiler_wl_CXX
24307 # Compiler flag to prevent dynamic linking.
24308 link_static_flag=$lt_lt_prog_compiler_static_CXX
24310 # Does compiler simultaneously support -c and -o options?
24311 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24313 # Whether or not to add -lc for building shared libraries.
24314 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24316 # Whether or not to disallow shared libs when runtime libs are static.
24317 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24319 # Compiler flag to allow reflexive dlopens.
24320 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24322 # Compiler flag to generate shared objects directly from archives.
24323 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24325 # Whether the compiler copes with passing no objects directly.
24326 compiler_needs_object=$lt_compiler_needs_object_CXX
24328 # Create an old-style archive from a shared archive.
24329 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24331 # Create a temporary old-style archive to link instead of a shared archive.
24332 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24334 # Commands used to build a shared archive.
24335 archive_cmds=$lt_archive_cmds_CXX
24336 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24338 # Commands used to build a loadable module if different from building
24339 # a shared archive.
24340 module_cmds=$lt_module_cmds_CXX
24341 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24343 # Whether we are building with GNU ld or not.
24344 with_gnu_ld=$lt_with_gnu_ld_CXX
24346 # Flag that allows shared libraries with undefined symbols to be built.
24347 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24349 # Flag that enforces no undefined symbols.
24350 no_undefined_flag=$lt_no_undefined_flag_CXX
24352 # Flag to hardcode \$libdir into a binary during linking.
24353 # This must work even if \$libdir does not exist
24354 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24356 # Whether we need a single "-rpath" flag with a separated argument.
24357 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24359 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24360 # DIR into the resulting binary.
24361 hardcode_direct=$hardcode_direct_CXX
24363 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24364 # DIR into the resulting binary and the resulting library dependency is
24365 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24366 # library is relocated.
24367 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24369 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24370 # into the resulting binary.
24371 hardcode_minus_L=$hardcode_minus_L_CXX
24373 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24374 # into the resulting binary.
24375 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24377 # Set to "yes" if building a shared library automatically hardcodes DIR
24378 # into the library and all subsequent libraries and executables linked
24380 hardcode_automatic=$hardcode_automatic_CXX
24382 # Set to yes if linker adds runtime paths of dependent libraries
24383 # to runtime path list.
24384 inherit_rpath=$inherit_rpath_CXX
24386 # Whether libtool must link a program against all its dependency libraries.
24387 link_all_deplibs=$link_all_deplibs_CXX
24389 # Set to "yes" if exported symbols are required.
24390 always_export_symbols=$always_export_symbols_CXX
24392 # The commands to list exported symbols.
24393 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24395 # Symbols that should not be listed in the preloaded symbols.
24396 exclude_expsyms=$lt_exclude_expsyms_CXX
24398 # Symbols that must always be exported.
24399 include_expsyms=$lt_include_expsyms_CXX
24401 # Commands necessary for linking programs (against libraries) with templates.
24402 prelink_cmds=$lt_prelink_cmds_CXX
24404 # Commands necessary for finishing linking programs.
24405 postlink_cmds=$lt_postlink_cmds_CXX
24407 # Specify filename containing input files.
24408 file_list_spec=$lt_file_list_spec_CXX
24410 # How to hardcode a shared library path into an executable.
24411 hardcode_action=$hardcode_action_CXX
24413 # The directories searched by this compiler when creating a shared library.
24414 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24416 # Dependencies to place before and after the objects being linked to
24417 # create a shared library.
24418 predep_objects=$lt_predep_objects_CXX
24419 postdep_objects=$lt_postdep_objects_CXX
24420 predeps=$lt_predeps_CXX
24421 postdeps=$lt_postdeps_CXX
24423 # The library search path used internally by the compiler when linking
24424 # a shared library.
24425 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24427 # ### END LIBTOOL TAG CONFIG: CXX
24438 ac_clean_files
=$ac_clean_files_save
24440 test $ac_write_fail = 0 ||
24441 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24444 # configure is writing to config.log, and then calls config.status.
24445 # config.status does its own redirection, appending to config.log.
24446 # Unfortunately, on DOS this fails, as config.log is still kept open
24447 # by configure, so config.status won't be able to write to it; its
24448 # output is simply discarded. So we exec the FD to /dev/null,
24449 # effectively closing config.log, so it can be properly (re)opened and
24450 # appended to by config.status. When coming back to configure, we
24451 # need to make the FD available again.
24452 if test "$no_create" != yes; then
24454 ac_config_status_args
=
24455 test "$silent" = yes &&
24456 ac_config_status_args
="$ac_config_status_args --quiet"
24458 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24460 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24461 # would make configure fail if this is the last instruction.
24462 $ac_cs_success || as_fn_exit
1
24464 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24466 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}