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
716 am__fastdepOBJCXX_FALSE
717 am__fastdepOBJCXX_TRUE
751 INSTALL_STRIP_PROGRAM
793 program_transform_name
806 enable_option_checking
808 enable_dependency_tracking
822 ac_precious_vars
='build_alias
851 # Initialize some variables set by options.
853 ac_init_version
=false
854 ac_unrecognized_opts
=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
865 program_transform_name
=s
,x
,x
,
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir
='${exec_prefix}/bin'
880 sbindir
='${exec_prefix}/sbin'
881 libexecdir
='${exec_prefix}/libexec'
882 datarootdir
='${prefix}/share'
883 datadir
='${datarootdir}'
884 sysconfdir
='${prefix}/etc'
885 sharedstatedir
='${prefix}/com'
886 localstatedir
='${prefix}/var'
887 includedir
='${prefix}/include'
888 oldincludedir
='/usr/include'
889 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
890 infodir
='${datarootdir}/info'
895 libdir
='${exec_prefix}/lib'
896 localedir
='${datarootdir}/locale'
897 mandir
='${datarootdir}/man'
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\
$ac_option
911 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
916 # Accept the important Cygnus configure options, so we can diagnose typos.
918 case $ac_dashdash$ac_option in
922 -bindir | --bindir | --bindi | --bind | --bin | --bi)
924 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
927 -build | --build | --buil | --bui | --bu)
928 ac_prev
=build_alias
;;
929 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930 build_alias
=$ac_optarg ;;
932 -cache-file | --cache-file | --cache-fil | --cache-fi \
933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
934 ac_prev
=cache_file
;;
935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937 cache_file
=$ac_optarg ;;
940 cache_file
=config.cache
;;
942 -datadir | --datadir | --datadi | --datad)
944 -datadir=* | --datadir=* | --datadi=* | --datad=*)
945 datadir
=$ac_optarg ;;
947 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
948 | --dataroo | --dataro | --datar)
949 ac_prev
=datarootdir
;;
950 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
951 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952 datarootdir
=$ac_optarg ;;
954 -disable-* | --disable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error $?
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=no
;;
970 -docdir | --docdir | --docdi | --doc | --do)
972 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
975 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
977 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
980 -enable-* | --enable-*)
981 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 as_fn_error $?
"invalid feature name: $ac_useropt"
985 ac_useropt_orig
=$ac_useropt
986 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
987 case $ac_user_opts in
991 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
992 ac_unrecognized_sep
=', ';;
994 eval enable_
$ac_useropt=\
$ac_optarg ;;
996 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
997 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
998 | --exec | --exe | --ex)
999 ac_prev
=exec_prefix
;;
1000 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1001 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1002 | --exec=* | --exe=* | --ex=*)
1003 exec_prefix
=$ac_optarg ;;
1005 -gas | --gas | --ga | --g)
1006 # Obsolete; use --with-gas.
1009 -help | --help | --hel | --he | -h)
1010 ac_init_help
=long
;;
1011 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1012 ac_init_help
=recursive
;;
1013 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1014 ac_init_help
=short
;;
1016 -host | --host | --hos | --ho)
1017 ac_prev
=host_alias
;;
1018 -host=* | --host=* | --hos=* | --ho=*)
1019 host_alias
=$ac_optarg ;;
1021 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1023 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1025 htmldir
=$ac_optarg ;;
1027 -includedir | --includedir | --includedi | --included | --include \
1028 | --includ | --inclu | --incl | --inc)
1029 ac_prev
=includedir
;;
1030 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1031 | --includ=* | --inclu=* | --incl=* | --inc=*)
1032 includedir
=$ac_optarg ;;
1034 -infodir | --infodir | --infodi | --infod | --info | --inf)
1036 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1037 infodir
=$ac_optarg ;;
1039 -libdir | --libdir | --libdi | --libd)
1041 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1042 libdir
=$ac_optarg ;;
1044 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1045 | --libexe | --libex | --libe)
1046 ac_prev
=libexecdir
;;
1047 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1048 | --libexe=* | --libex=* | --libe=*)
1049 libexecdir
=$ac_optarg ;;
1051 -localedir | --localedir | --localedi | --localed | --locale)
1052 ac_prev
=localedir
;;
1053 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1054 localedir
=$ac_optarg ;;
1056 -localstatedir | --localstatedir | --localstatedi | --localstated \
1057 | --localstate | --localstat | --localsta | --localst | --locals)
1058 ac_prev
=localstatedir
;;
1059 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1060 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1061 localstatedir
=$ac_optarg ;;
1063 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1065 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1066 mandir
=$ac_optarg ;;
1068 -nfp | --nfp | --nf)
1069 # Obsolete; use --without-fp.
1072 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1073 | --no-cr | --no-c | -n)
1076 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1077 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1080 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1081 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1082 | --oldin | --oldi | --old | --ol | --o)
1083 ac_prev
=oldincludedir
;;
1084 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1085 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1086 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1087 oldincludedir
=$ac_optarg ;;
1089 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1091 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1092 prefix
=$ac_optarg ;;
1094 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1095 | --program-pre | --program-pr | --program-p)
1096 ac_prev
=program_prefix
;;
1097 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1098 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1099 program_prefix
=$ac_optarg ;;
1101 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1102 | --program-suf | --program-su | --program-s)
1103 ac_prev
=program_suffix
;;
1104 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1105 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1106 program_suffix
=$ac_optarg ;;
1108 -program-transform-name | --program-transform-name \
1109 | --program-transform-nam | --program-transform-na \
1110 | --program-transform-n | --program-transform- \
1111 | --program-transform | --program-transfor \
1112 | --program-transfo | --program-transf \
1113 | --program-trans | --program-tran \
1114 | --progr-tra | --program-tr | --program-t)
1115 ac_prev
=program_transform_name
;;
1116 -program-transform-name=* | --program-transform-name=* \
1117 | --program-transform-nam=* | --program-transform-na=* \
1118 | --program-transform-n=* | --program-transform-=* \
1119 | --program-transform=* | --program-transfor=* \
1120 | --program-transfo=* | --program-transf=* \
1121 | --program-trans=* | --program-tran=* \
1122 | --progr-tra=* | --program-tr=* | --program-t=*)
1123 program_transform_name
=$ac_optarg ;;
1125 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1127 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1128 pdfdir
=$ac_optarg ;;
1130 -psdir | --psdir | --psdi | --psd | --ps)
1132 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1136 | -silent | --silent | --silen | --sile | --sil)
1139 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1141 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1143 sbindir
=$ac_optarg ;;
1145 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1146 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1147 | --sharedst | --shareds | --shared | --share | --shar \
1149 ac_prev
=sharedstatedir
;;
1150 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1151 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1152 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1154 sharedstatedir
=$ac_optarg ;;
1156 -site | --site | --sit)
1158 -site=* | --site=* | --sit=*)
1161 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1163 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1164 srcdir
=$ac_optarg ;;
1166 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1167 | --syscon | --sysco | --sysc | --sys | --sy)
1168 ac_prev
=sysconfdir
;;
1169 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1170 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1171 sysconfdir
=$ac_optarg ;;
1173 -target | --target | --targe | --targ | --tar | --ta | --t)
1174 ac_prev
=target_alias
;;
1175 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1176 target_alias
=$ac_optarg ;;
1178 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1181 -version | --version | --versio | --versi | --vers | -V)
1182 ac_init_version
=: ;;
1185 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1188 as_fn_error $?
"invalid package name: $ac_useropt"
1189 ac_useropt_orig
=$ac_useropt
1190 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep
=', ';;
1198 eval with_
$ac_useropt=\
$ac_optarg ;;
1200 -without-* | --without-*)
1201 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1204 as_fn_error $?
"invalid package name: $ac_useropt"
1205 ac_useropt_orig
=$ac_useropt
1206 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1212 ac_unrecognized_sep
=', ';;
1214 eval with_
$ac_useropt=no
;;
1217 # Obsolete; use --with-x.
1220 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1221 | --x-incl | --x-inc | --x-in | --x-i)
1222 ac_prev
=x_includes
;;
1223 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1224 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1225 x_includes
=$ac_optarg ;;
1227 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1228 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1229 ac_prev
=x_libraries
;;
1230 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1231 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1232 x_libraries
=$ac_optarg ;;
1234 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1235 Try \`$0 --help' for more information"
1239 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1240 # Reject names that are not valid shell variable names.
1241 case $ac_envvar in #(
1242 '' | [0-9]* | *[!_$as_cr_alnum]* )
1243 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1245 eval $ac_envvar=\
$ac_optarg
1246 export $ac_envvar ;;
1249 # FIXME: should be removed in autoconf 3.0.
1250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1259 if test -n "$ac_prev"; then
1260 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1261 as_fn_error $?
"missing argument to $ac_option"
1264 if test -n "$ac_unrecognized_opts"; then
1265 case $enable_option_checking in
1267 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 # Check all directory arguments for consistency.
1273 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1274 datadir sysconfdir sharedstatedir localstatedir includedir \
1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1276 libdir localedir mandir
1278 eval ac_val
=\$
$ac_var
1279 # Remove trailing slashes.
1282 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1283 eval $ac_var=\
$ac_val;;
1285 # Be sure to have absolute directory names.
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1290 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1298 target
=$target_alias
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x
; then
1302 if test "x$build_alias" = x
; then
1303 cross_compiling
=maybe
1304 elif test "x$build_alias" != "x$host_alias"; then
1310 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1312 test "$silent" = yes && exec 6>/dev
/null
1315 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1316 ac_ls_di
=`ls -di .` &&
1317 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1318 as_fn_error $?
"working directory cannot be determined"
1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1320 as_fn_error $?
"pwd does not report name of working directory"
1323 # Find the source files, if location was not specified.
1324 if test -z "$srcdir"; then
1325 ac_srcdir_defaulted
=yes
1326 # Try the directory containing this script, then the parent directory.
1327 ac_confdir
=`$as_dirname -- "$as_myself" ||
1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1329 X"$as_myself" : 'X\(//\)[^/]' \| \
1330 X"$as_myself" : 'X\(//\)$' \| \
1331 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1332 $as_echo X"$as_myself" |
1333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1355 ac_srcdir_defaulted
=no
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1359 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1361 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1363 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1365 # When building in place, set srcdir=.
1366 if test "$ac_abs_confdir" = "$ac_pwd"; then
1369 # Remove unnecessary trailing slashes from srcdir.
1370 # Double slashes in file names in object file debugging info
1371 # mess up M-x gdb in Emacs.
1373 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1375 for ac_var
in $ac_precious_vars; do
1376 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1377 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1378 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1379 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1383 # Report the --help message.
1385 if test "$ac_init_help" = "long"; then
1386 # Omit some internal or obsolete options to make the list less imposing.
1387 # This message is too long to be a string in the A/UX 3.1 sh.
1389 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1391 Usage: $0 [OPTION]... [VAR=VALUE]...
1393 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1394 VAR=VALUE. See below for descriptions of some of the useful variables.
1396 Defaults for the options are specified in brackets.
1399 -h, --help display this help and exit
1400 --help=short display options specific to this package
1401 --help=recursive display the short help of all the included packages
1402 -V, --version display version information and exit
1403 -q, --quiet, --silent do not print \`checking ...' messages
1404 --cache-file=FILE cache test results in FILE [disabled]
1405 -C, --config-cache alias for \`--cache-file=config.cache'
1406 -n, --no-create do not create output files
1407 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1409 Installation directories:
1410 --prefix=PREFIX install architecture-independent files in PREFIX
1411 [$ac_default_prefix]
1412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1415 By default, \`make install' will install all the files in
1416 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1417 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1418 for instance \`--prefix=\$HOME'.
1420 For better control, use the options below.
1422 Fine tuning of the installation directories:
1423 --bindir=DIR user executables [EPREFIX/bin]
1424 --sbindir=DIR system admin executables [EPREFIX/sbin]
1425 --libexecdir=DIR program executables [EPREFIX/libexec]
1426 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1427 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1428 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1429 --libdir=DIR object code libraries [EPREFIX/lib]
1430 --includedir=DIR C header files [PREFIX/include]
1431 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1432 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1433 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1434 --infodir=DIR info documentation [DATAROOTDIR/info]
1435 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1436 --mandir=DIR man documentation [DATAROOTDIR/man]
1437 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1438 --htmldir=DIR html documentation [DOCDIR]
1439 --dvidir=DIR dvi documentation [DOCDIR]
1440 --pdfdir=DIR pdf documentation [DOCDIR]
1441 --psdir=DIR ps documentation [DOCDIR]
1447 --program-prefix=PREFIX prepend PREFIX to installed program names
1448 --program-suffix=SUFFIX append SUFFIX to installed program names
1449 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1452 --build=BUILD configure
for building on BUILD
[guessed
]
1453 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1457 if test -n "$ac_init_help"; then
1458 case $ac_init_help in
1459 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1464 --disable-option-checking ignore unrecognized
--enable/--with options
1465 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1466 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1467 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1468 --disable-silent-rules verbose build output
(undo
: "make V=0")
1469 --enable-dependency-tracking
1470 do not reject slow dependency extractors
1471 --disable-dependency-tracking
1472 speeds up one
-time build
1473 --enable-static[=PKGS
] build static libraries
[default
=no
]
1474 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1475 --enable-fast-install[=PKGS
]
1476 optimize
for fast installation
[default
=yes]
1477 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1478 --enable-javascript[=ENGINE
]
1479 use a JavaScript runtime
(currently the only
1480 available option
for ENGINE is JavaScriptCore
)
1482 --disable-rpath do not hardcode runtime library paths
1485 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1486 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1487 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1489 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1490 --with-sysroot=DIR Search
for dependent libraries within DIR
1491 (or the compiler
's sysroot if not specified).
1492 --with-frameworks=DIRS add to DIRS (space separated) to the Darwin include
1493 path for frameworks with -F
1494 --with-apr=PATH prefix for installed APR or the full path to
1496 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1497 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1498 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1500 Some influential environment variables
:
1501 CXX C
++ compiler
command
1502 CXXFLAGS C
++ compiler flags
1503 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1504 nonstandard directory
<lib dir
>
1505 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1506 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1507 you have headers
in a nonstandard directory
<include dir
>
1508 OBJCXX Objective C
++ compiler
command
1509 OBJCXXFLAGS Objective C
++ compiler flags
1510 CC C compiler
command
1511 CFLAGS C compiler flags
1513 CXXCPP C
++ preprocessor
1514 PKG_CONFIG path to pkg
-config utility
1516 directories to add to pkg
-config's search path
1518 path overriding pkg-config's built
-in search path
1519 BISON GNU Project parser generator
(yacc replacement
)
1520 FLEX the fast lexical analyser generator
1521 GPERF perfect
hash function generator
1522 GNUTAR a very sticky lump of files
1524 C compiler flags
for WEBKIT
, overriding pkg
-config
1525 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
1527 C compiler flags
for LIBFFI
, overriding pkg
-config
1528 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
1530 prints information about the current gnustep installation
1532 Use these variables to override the choices made by
`configure' or to help
1533 it to find libraries and programs with nonstandard names/locations.
1535 Report bugs to <saurik@saurik.com>.
1536 Cycript home page: <http://www.cycript.org/>.
1541 if test "$ac_init_help" = "recursive"; then
1542 # If there are subdirs, report their specific --help.
1543 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1553 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1555 case $ac_top_builddir_sub in
1556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1560 ac_abs_top_builddir=$ac_pwd
1561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir=$ac_top_build_prefix
1566 .) # We are building in place.
1568 ac_top_srcdir=$ac_top_builddir_sub
1569 ac_abs_top_srcdir=$ac_pwd ;;
1570 [\\/]* | ?:[\\/]* ) # Absolute name.
1571 ac_srcdir=$srcdir$ac_dir_suffix;
1572 ac_top_srcdir=$srcdir
1573 ac_abs_top_srcdir=$srcdir ;;
1575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576 ac_top_srcdir=$ac_top_build_prefix$srcdir
1577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581 cd "$ac_dir" || { ac_status=$?; continue; }
1582 # Check for guested configure.
1583 if test -f "$ac_srcdir/configure.gnu"; then
1585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586 elif test -f "$ac_srcdir/configure"; then
1588 $SHELL "$ac_srcdir/configure" --help=recursive
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 cd "$ac_pwd" || { ac_status=$?; break; }
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1599 Cycript configure 0.9
1600 generated by GNU Autoconf 2.69
1602 Copyright (C) 2012 Free Software Foundation, Inc.
1603 This configure script is free software; the Free Software Foundation
1604 gives unlimited permission to copy, distribute and modify it.
1606 Copyright (C) 2009-2012 Jay Freeman (saurik)
1611 ## ------------------------ ##
1612 ## Autoconf initialization. ##
1613 ## ------------------------ ##
1615 # ac_fn_cxx_try_compile LINENO
1616 # ----------------------------
1617 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1618 ac_fn_cxx_try_compile ()
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 rm -f conftest.$ac_objext
1622 if { { ac_try="$ac_compile"
1624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1625 *) ac_try_echo
=$ac_try;;
1627 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_compile") 2>conftest.err
1631 if test -s conftest.err
; then
1632 grep -v '^ *+' conftest.err
>conftest.er1
1633 cat conftest.er1
>&5
1634 mv -f conftest.er1 conftest.err
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && {
1638 test -z "$ac_cxx_werror_flag" ||
1639 test ! -s conftest.err
1640 } && test -s conftest.
$ac_objext; then :
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.
$ac_ext >&5
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 as_fn_set_status
$ac_retval
1651 } # ac_fn_cxx_try_compile
1653 # ac_fn_objcxx_try_compile LINENO
1654 # -------------------------------
1655 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1656 ac_fn_objcxx_try_compile
()
1658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1659 rm -f conftest.
$ac_objext
1660 if { { ac_try
="$ac_compile"
1662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_compile") 2>conftest.err
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_objcxx_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest.$ac_objext; then :
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687 as_fn_set_status $ac_retval
1689 } # ac_fn_objcxx_try_compile
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1701 *) ac_try_echo
=$ac_try;;
1703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1707 if test -s conftest.err
; then
1708 grep -v '^ *+' conftest.err
>conftest.er1
1709 cat conftest.er1
>&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.
$ac_objext; then :
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.
$ac_ext >&5
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 as_fn_set_status
$ac_retval
1727 } # ac_fn_c_try_compile
1729 # ac_fn_c_try_link LINENO
1730 # -----------------------
1731 # Try to link conftest.$ac_ext, and return whether this succeeded.
1734 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1735 rm -f conftest.
$ac_objext conftest
$ac_exeext
1736 if { { ac_try
="$ac_link"
1738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_link") 2>conftest.err
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest$ac_exeext && {
1755 test "$cross_compiling" = yes ||
1756 test -x conftest$ac_exeext
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.$ac_ext >&5
1765 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1766 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1767 # interfere with the next link command; also delete a directory that is
1768 # left behind by Apple's compiler. We do this before executing the actions.
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1773 } # ac_fn_c_try_link
1775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1776 # -------------------------------------------------------
1777 # Tests whether HEADER exists and can be compiled using the include files in
1778 # INCLUDES, setting the cache variable VAR accordingly.
1779 ac_fn_c_check_header_compile ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval \${$3+:} false; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1792 if ac_fn_c_try_compile "$LINENO"; then :
1797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804 } # ac_fn_c_check_header_compile
1806 # ac_fn_c_try_cpp LINENO
1807 # ----------------------
1808 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 if { { ac_try="$ac_cpp conftest.$ac_ext"
1814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1815 *) ac_try_echo
=$ac_try;;
1817 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1821 if test -s conftest.err
; then
1822 grep -v '^ *+' conftest.err
>conftest.er1
1823 cat conftest.er1
>&5
1824 mv -f conftest.er1 conftest.err
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } > conftest.i
&& {
1828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1829 test ! -s conftest.err
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.
$ac_ext >&5
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839 as_fn_set_status
$ac_retval
1843 # ac_fn_c_try_run LINENO
1844 # ----------------------
1845 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1846 # that executables *can* be run.
1849 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1850 if { { ac_try
="$ac_link"
1852 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_link") 2>&5
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1861 { { case "(($ac_try" in
1862 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1863 *) ac_try_echo
=$ac_try;;
1865 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_try") 2>&5
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; }; }; then :
1873 $as_echo "$as_me: program exited with status $ac_status" >&5
1874 $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.
$ac_ext >&5
1877 ac_retval
=$ac_status
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 as_fn_set_status
$ac_retval
1885 # ac_fn_c_check_func LINENO FUNC VAR
1886 # ----------------------------------
1887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1888 ac_fn_c_check_func
()
1890 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if eval \
${$3+:} false
; then :
1894 $as_echo_n "(cached) " >&6
1896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1900 #define $2 innocuous_$2
1902 /* System header to define __stub macros and hopefully few prototypes,
1903 which can conflict with char $2 (); below.
1904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1905 <limits.h> exists even on freestanding compilers. */
1908 # include <limits.h>
1910 # include <assert.h>
1915 /* Override any GCC internal prototype to avoid an error.
1916 Use char because int might match the return type of a GCC
1917 builtin and then its argument prototype would still apply. */
1922 /* The GNU C library defines this for functions which it implements
1923 to always fail with ENOSYS. Some functions are actually named
1924 something starting with __ and the normal name is an alias. */
1925 #if defined __stub_$2 || defined __stub___$2
1937 if ac_fn_c_try_link
"$LINENO"; then :
1942 rm -f core conftest.err conftest.
$ac_objext \
1943 conftest
$ac_exeext conftest.
$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950 } # ac_fn_c_check_func
1952 # ac_fn_cxx_try_cpp LINENO
1953 # ------------------------
1954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1955 ac_fn_cxx_try_cpp
()
1957 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1958 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1960 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1961 *) ac_try_echo=$ac_try;;
1963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964 $as_echo "$ac_try_echo"; } >&5
1965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1967 if test -s conftest.err; then
1968 grep -v '^ *+' conftest.err >conftest.er1
1969 cat conftest.er1 >&5
1970 mv -f conftest.er1 conftest.err
1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 test $ac_status = 0; } > conftest.i && {
1974 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1975 test ! -s conftest.err
1979 $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.$ac_ext >&5
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 as_fn_set_status $ac_retval
1987 } # ac_fn_cxx_try_cpp
1989 # ac_fn_cxx_try_link LINENO
1990 # -------------------------
1991 # Try to link conftest.$ac_ext, and return whether this succeeded.
1992 ac_fn_cxx_try_link ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 rm -f conftest.$ac_objext conftest$ac_exeext
1996 if { { ac_try="$ac_link"
1998 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1999 *) ac_try_echo
=$ac_try;;
2001 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_link") 2>conftest.err
2005 if test -s conftest.err
; then
2006 grep -v '^ *+' conftest.err
>conftest.er1
2007 cat conftest.er1
>&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } && {
2012 test -z "$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2014 } && test -s conftest
$ac_exeext && {
2015 test "$cross_compiling" = yes ||
2016 test -x conftest
$ac_exeext
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.
$ac_ext >&5
2025 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2026 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2027 # interfere with the next link command; also delete a directory that is
2028 # left behind by Apple's compiler. We do this before executing the actions.
2029 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031 as_fn_set_status
$ac_retval
2033 } # ac_fn_cxx_try_link
2035 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2036 # ---------------------------------------------------------
2037 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2038 # the include files in INCLUDES and setting the cache variable VAR
2040 ac_fn_cxx_check_header_mongrel
()
2042 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2043 if eval \
${$3+:} false
; then :
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045 $as_echo_n "checking for $2... " >&6; }
2046 if eval \
${$3+:} false
; then :
2047 $as_echo_n "(cached) " >&6
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2053 # Is the header compilable?
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2055 $as_echo_n "checking $2 usability... " >&6; }
2056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2061 if ac_fn_cxx_try_compile
"$LINENO"; then :
2062 ac_header_compiler
=yes
2064 ac_header_compiler
=no
2066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2068 $as_echo "$ac_header_compiler" >&6; }
2070 # Is the header present?
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2072 $as_echo_n "checking $2 presence... " >&6; }
2073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2077 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2078 ac_header_preproc
=yes
2080 ac_header_preproc
=no
2082 rm -f conftest.err conftest.i conftest.
$ac_ext
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2084 $as_echo "$ac_header_preproc" >&6; }
2086 # So? What about this header?
2087 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2090 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2092 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2096 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2098 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2100 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2102 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2104 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2105 ( $as_echo "## -------------------------------- ##
2106 ## Report this to saurik@saurik.com ##
2107 ## -------------------------------- ##"
2108 ) | sed "s/^/$as_me: WARNING: /" >&2
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if eval \
${$3+:} false
; then :
2114 $as_echo_n "(cached) " >&6
2116 eval "$3=\$ac_header_compiler"
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2122 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2124 } # ac_fn_cxx_check_header_mongrel
2126 # ac_fn_objcxx_try_link LINENO
2127 # ----------------------------
2128 # Try to link conftest.$ac_ext, and return whether this succeeded.
2129 ac_fn_objcxx_try_link
()
2131 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2132 rm -f conftest.
$ac_objext conftest
$ac_exeext
2133 if { { ac_try
="$ac_link"
2135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2136 *) ac_try_echo=$ac_try;;
2138 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2139 $as_echo "$ac_try_echo"; } >&5
2140 (eval "$ac_link") 2>conftest.err
2142 if test -s conftest.err; then
2143 grep -v '^ *+' conftest.err >conftest.er1
2144 cat conftest.er1 >&5
2145 mv -f conftest.er1 conftest.err
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; } && {
2149 test -z "$ac_objcxx_werror_flag" ||
2150 test ! -s conftest.err
2151 } && test -s conftest$ac_exeext && {
2152 test "$cross_compiling" = yes ||
2153 test -x conftest$ac_exeext
2157 $as_echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.$ac_ext >&5
2162 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2163 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2164 # interfere with the next link command; also delete a directory that is
2165 # left behind by Apple's compiler. We do this before executing the actions.
2166 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2168 as_fn_set_status $ac_retval
2170 } # ac_fn_objcxx_try_link
2171 cat >config.log <<_ACEOF
2172 This file contains any messages produced by compilers while
2173 running configure, to aid debugging if configure makes a mistake.
2175 It was created by Cycript $as_me 0.9, which was
2176 generated by GNU Autoconf 2.69. Invocation command line was
2188 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2189 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2190 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2191 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2192 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2194 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2195 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2197 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2198 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2199 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2200 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2201 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2202 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2203 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir=.
2212 $as_echo "PATH: $as_dir"
2228 # Keep a trace of the command line.
2229 # Strip out --no-create and --no-recursion so they do not pile up.
2230 # Strip out --silent because we don't want to record it for future runs.
2231 # Also quote any args containing shell meta-characters.
2232 # Make two passes to allow for proper duplicate-argument suppression.
2236 ac_must_keep_next=false
2242 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2244 | -silent | --silent | --silen | --sile | --sil)
2247 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2250 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2252 as_fn_append ac_configure_args1 " '$ac_arg'"
2253 if test $ac_must_keep_next = true; then
2254 ac_must_keep_next=false # Got value, back to normal.
2257 *=* | --config-cache | -C | -disable-* | --disable-* \
2258 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2259 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2260 | -with-* | --with-* | -without-* | --without-* | --x)
2261 case "$ac_configure_args0 " in
2262 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2265 -* ) ac_must_keep_next=true ;;
2268 as_fn_append ac_configure_args " '$ac_arg'"
2273 { ac_configure_args0=; unset ac_configure_args0;}
2274 { ac_configure_args1=; unset ac_configure_args1;}
2276 # When interrupted or exit'd, cleanup temporary files, and complete
2277 # config.log. We remove comments because anyway the quotes in there
2278 # would cause problems or look ugly.
2279 # WARNING: Use '\'' to represent an apostrophe within the trap.
2280 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2281 trap 'exit_status=$?
2282 # Save into config.log some information that might help in debugging.
2286 $as_echo "## ---------------- ##
2287 ## Cache variables. ##
2288 ## ---------------- ##"
2290 # The following way of writing the cache mishandles newlines in values,
2292 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2293 eval ac_val=\$$ac_var
2297 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2298 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2301 _ | IFS | as_nl) ;; #(
2302 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2303 *) { eval $ac_var=; unset $ac_var;} ;;
2308 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2309 *${as_nl}ac_space=\ *)
2311 "s/'\''/'\''\\\\'\'''\''/g;
2312 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2315 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2322 $as_echo "## ----------------- ##
2323 ## Output variables. ##
2324 ## ----------------- ##"
2326 for ac_var in $ac_subst_vars
2328 eval ac_val=\$$ac_var
2330 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2332 $as_echo "$ac_var='\''$ac_val'\''"
2336 if test -n "$ac_subst_files"; then
2337 $as_echo "## ------------------- ##
2338 ## File substitutions. ##
2339 ## ------------------- ##"
2341 for ac_var in $ac_subst_files
2343 eval ac_val=\$$ac_var
2345 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2347 $as_echo "$ac_var='\''$ac_val'\''"
2352 if test -s confdefs.h; then
2353 $as_echo "## ----------- ##
2360 test "$ac_signal" != 0 &&
2361 $as_echo "$as_me: caught signal $ac_signal"
2362 $as_echo "$as_me: exit $exit_status"
2364 rm -f core *.core core.conftest.* &&
2365 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2368 for ac_signal in 1 2 13 15; do
2369 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2373 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2374 rm -f -r conftest* confdefs.h
2376 $as_echo "/* confdefs.h */" > confdefs.h
2378 # Predefined preprocessor variables.
2380 cat >>confdefs.h <<_ACEOF
2381 #define PACKAGE_NAME "$PACKAGE_NAME"
2384 cat >>confdefs.h <<_ACEOF
2385 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2392 cat >>confdefs.h <<_ACEOF
2393 #define PACKAGE_STRING "$PACKAGE_STRING"
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2400 cat >>confdefs.h <<_ACEOF
2401 #define PACKAGE_URL "$PACKAGE_URL"
2405 # Let the site file select an alternate cache file if it wants to.
2406 # Prefer an explicitly selected file to automatically selected ones.
2409 if test -n "$CONFIG_SITE"; then
2410 # We do not want a PATH search for config.site.
2411 case $CONFIG_SITE in #((
2412 -*) ac_site_file1=./$CONFIG_SITE;;
2413 */*) ac_site_file1=$CONFIG_SITE;;
2414 *) ac_site_file1=./$CONFIG_SITE;;
2416 elif test "x$prefix" != xNONE; then
2417 ac_site_file1=$prefix/share/config.site
2418 ac_site_file2=$prefix/etc/config.site
2420 ac_site_file1=$ac_default_prefix/share/config.site
2421 ac_site_file2=$ac_default_prefix/etc/config.site
2423 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2425 test "x$ac_site_file" = xNONE && continue
2426 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2428 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2429 sed 's/^/| /' "$ac_site_file" >&5
2431 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2433 as_fn_error $? "failed to load site
script $ac_site_file
2434 See \
`config.log' for more details" "$LINENO" 5; }
2438 if test -r "$cache_file"; then
2439 # Some versions of bash will fail to source /dev/null (special files
2440 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2441 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2443 $as_echo "$as_me: loading cache $cache_file" >&6;}
2445 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2446 *) . "./$cache_file";;
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2451 $as_echo "$as_me: creating cache $cache_file" >&6;}
2455 # Check that the precious variables saved in the cache have kept the same
2457 ac_cache_corrupted=false
2458 for ac_var in $ac_precious_vars; do
2459 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2460 eval ac_new_set=\$ac_env_${ac_var}_set
2461 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2462 eval ac_new_val=\$ac_env_${ac_var}_value
2463 case $ac_old_set,$ac_new_set in
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2466 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2467 ac_cache_corrupted=: ;;
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2470 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2471 ac_cache_corrupted=: ;;
2474 if test "x$ac_old_val" != "x$ac_new_val"; then
2475 # differences in whitespace do not lead to failure.
2476 ac_old_val_w=`echo x
$ac_old_val`
2477 ac_new_val_w=`echo x
$ac_new_val`
2478 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2480 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2481 ac_cache_corrupted=:
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2484 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2485 eval $ac_var=\$ac_old_val
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2488 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2490 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2493 # Pass precious variables to config.status.
2494 if test "$ac_new_set" = set; then
2496 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2497 *) ac_arg=$ac_var=$ac_new_val ;;
2499 case " $ac_configure_args " in
2500 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2501 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2505 if $ac_cache_corrupted; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2509 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2510 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2512 ## -------------------- ##
2513 ## Main body of script. ##
2514 ## -------------------- ##
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2527 for ac_dir in . "$srcdir"/.; do
2528 if test -f "$ac_dir/install-sh"; then
2530 ac_install_sh="$ac_aux_dir/install-sh -c"
2532 elif test -f "$ac_dir/install.sh"; then
2534 ac_install_sh="$ac_aux_dir/install.sh -c"
2536 elif test -f "$ac_dir/shtool"; then
2538 ac_install_sh="$ac_aux_dir/shtool install -c"
2542 if test -z "$ac_aux_dir"; then
2543 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2546 # These three variables are undocumented and unsupported,
2547 # and are intended to be withdrawn in a future Autoconf release.
2548 # They can cause serious problems if a builder's source tree is in a directory
2549 # whose full name contains unusual characters.
2550 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2551 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2552 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2557 am__api_version='1.13'
2559 # Find a good install program. We prefer a C program (faster),
2560 # so one script is as good as another. But avoid the broken or
2561 # incompatible versions:
2562 # SysV /etc/install, /usr/sbin/install
2563 # SunOS /usr/etc/install
2564 # IRIX /sbin/install
2566 # AmigaOS /C/install, which installs bootblocks on floppy discs
2567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2570 # OS/2's system install, which has a completely different semantic
2571 # ./install, which can be erroneously created by make from ./install.sh.
2572 # Reject install programs that cannot install multiple files.
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2574 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2575 if test -z "$INSTALL"; then
2576 if ${ac_cv_path_install+:} false; then :
2577 $as_echo_n "(cached) " >&6
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir=.
2584 # Account for people who put trailing slashes in PATH elements.
2585 case $as_dir/ in #((
2586 ./ | .// | /[cC]/* | \
2587 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2588 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2591 # OSF1 and SCO ODT 3.0 have their own names for install.
2592 # Don't use installbsd from OSF since it installs stuff as root
2594 for ac_prog in ginstall scoinst install; do
2595 for ac_exec_ext in '' $ac_executable_extensions; do
2596 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2597 if test $ac_prog = install &&
2598 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2599 # AIX install. It has an incompatible calling convention.
2601 elif test $ac_prog = install &&
2602 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2603 # program-specific install script used by HP pwplus--don't use.
2606 rm -rf conftest.one conftest.two conftest.dir
2607 echo one > conftest.one
2608 echo two > conftest.two
2610 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2611 test -s conftest.one && test -s conftest.two &&
2612 test -s conftest.dir/conftest.one &&
2613 test -s conftest.dir/conftest.two
2615 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2628 rm -rf conftest.one conftest.two conftest.dir
2631 if test "${ac_cv_path_install+set}" = set; then
2632 INSTALL=$ac_cv_path_install
2634 # As a last resort, use the slow shell script. Don't cache a
2635 # value for INSTALL within a source directory, because that will
2636 # break other packages using the cache if that directory is
2637 # removed, or if the value is a relative name.
2638 INSTALL=$ac_install_sh
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2642 $as_echo "$INSTALL" >&6; }
2644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2645 # It thinks the first close brace ends the variable substitution.
2646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2650 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2653 $as_echo_n "checking whether build environment is sane... " >&6; }
2654 # Reject unsafe characters in $srcdir or the absolute working directory
2655 # name. Accept space and tab only in the latter.
2659 *[\\\"\#\$\&\'\`$am_lf]*)
2660 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2663 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2664 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2667 # Do 'set' in a subshell so we don't clobber the current shell's
2668 # arguments. Must try -L first in case configure is actually a
2669 # symlink; some systems play weird games with the mod time of symlinks
2670 # (eg FreeBSD returns the mod time of the symlink's containing
2674 for am_try in 1 2; do
2675 echo "timestamp, slept: $am_has_slept" > conftest.file
2676 set X `ls -Lt "$srcdir/configure" conftest.
file 2> /dev
/null
`
2677 if test "$*" = "X"; then
2679 set X `ls -t "$srcdir/configure" conftest.
file`
2681 if test "$*" != "X $srcdir/configure conftest.file" \
2682 && test "$*" != "X conftest.file $srcdir/configure"; then
2684 # If neither matched, then we have a broken ls. This can happen
2685 # if, for instance, CONFIG_SHELL is bash and it inherits a
2686 # broken ls alias from the environment. This has actually
2687 # happened. Such a system could not be considered "sane".
2688 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2689 alias in your environment" "$LINENO" 5
2691 if test "$2" = conftest.file || test $am_try -eq 2; then
2698 test "$2" = conftest.file
2704 as_fn_error $? "newly created file is older than distributed files!
2705 Check your system clock" "$LINENO" 5
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2708 $as_echo "yes" >&6; }
2709 # If we didn't sleep, we still need to ensure time stamps of config.status and
2710 # generated files are strictly newer.
2712 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2719 test "$program_prefix" != NONE &&
2720 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2721 # Use a double $ so make ignores it.
2722 test "$program_suffix" != NONE &&
2723 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2724 # Double any \ or $.
2725 # By default was `s
,x
,x
', remove it if useless.
2726 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2727 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2729 # expand $ac_aux_dir to an absolute path
2730 am_aux_dir=`cd $ac_aux_dir && pwd`
2732 if test x"${MISSING+set}" != xset; then
2735 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2737 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2740 # Use eval to expand $SHELL
2741 if eval "$MISSING --is-lightweight"; then
2742 am_missing_run="$MISSING "
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing
' script is too old or missing" >&5
2746 $as_echo "$as_me: WARNING: 'missing
' script is too old or missing" >&2;}
2749 if test x"${install_sh}" != xset; then
2752 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2754 install_sh="\${SHELL} $am_aux_dir/install-sh"
2758 # Installed binaries are usually stripped using 'strip
' when the user
2759 # run "make install-strip". However 'strip
' might not be the right
2760 # tool to use in cross-compilation environments, therefore Automake
2761 # will honor the 'STRIP
' environment variable to overrule this program.
2762 if test "$cross_compiling" != no; then
2763 if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2765 set dummy ${ac_tool_prefix}strip; ac_word=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_STRIP+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$STRIP"; then
2772 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir=.
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 STRIP=$ac_cv_prog_STRIP
2792 if test -n "$STRIP"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2794 $as_echo "$STRIP" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$ac_cv_prog_STRIP"; then
2804 # Extract the first word of "strip", so it can be a program name with args.
2805 set dummy strip; ac_word=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2809 $as_echo_n "(cached) " >&6
2811 if test -n "$ac_ct_STRIP"; then
2812 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_ac_ct_STRIP="strip"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2832 if test -n "$ac_ct_STRIP"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2834 $as_echo "$ac_ct_STRIP" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2840 if test "x$ac_ct_STRIP" = x; then
2843 case $cross_compiling:$ac_tool_warned in
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned=yes ;;
2852 STRIP="$ac_cv_prog_STRIP"
2856 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2859 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2860 if test -z "$MKDIR_P"; then
2861 if ${ac_cv_path_mkdir+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2868 test -z "$as_dir" && as_dir=.
2869 for ac_prog in mkdir gmkdir; do
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2872 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2873 'mkdir (GNU coreutils
) '* | \
2874 'mkdir (coreutils
) '* | \
2875 'mkdir (fileutils
) '4.1*)
2876 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2886 test -d ./--version && rmdir ./--version
2887 if test "${ac_cv_path_mkdir+set}" = set; then
2888 MKDIR_P="$ac_cv_path_mkdir -p"
2890 # As a last resort, use the slow shell script. Don't cache a
2891 # value for MKDIR_P within a source directory, because that will
2892 # break other packages using the cache if that directory is
2893 # removed, or if the value is a relative name.
2894 MKDIR_P
="$ac_install_sh -d"
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2898 $as_echo "$MKDIR_P" >&6; }
2900 for ac_prog
in gawk mawk nawk
awk
2902 # Extract the first word of "$ac_prog", so it can be a program name with args.
2903 set dummy
$ac_prog; ac_word
=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if ${ac_cv_prog_AWK+:} false
; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$AWK"; then
2910 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir
=.
2917 for ac_exec_ext
in '' $ac_executable_extensions; do
2918 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2919 ac_cv_prog_AWK
="$ac_prog"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 if test -n "$AWK"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2932 $as_echo "$AWK" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2939 test -n "$AWK" && break
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2943 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2945 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2946 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2947 $as_echo_n "(cached) " >&6
2949 cat >conftest.
make <<\_ACEOF
2952 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2954 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2955 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2957 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2959 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2963 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2965 $as_echo "yes" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2970 SET_MAKE
="MAKE=${MAKE-make}"
2973 rm -rf .tst
2>/dev
/null
2974 mkdir .tst
2>/dev
/null
2975 if test -d .tst
; then
2980 rmdir .tst
2>/dev
/null
2982 # Check whether --enable-silent-rules was given.
2983 if test "${enable_silent_rules+set}" = set; then :
2984 enableval
=$enable_silent_rules;
2987 case $enable_silent_rules in # (((
2988 yes) AM_DEFAULT_VERBOSITY
=0;;
2989 no
) AM_DEFAULT_VERBOSITY
=1;;
2990 *) AM_DEFAULT_VERBOSITY
=1;;
2992 am_make
=${MAKE-make}
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2994 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2995 if ${am_cv_make_support_nested_variables+:} false
; then :
2996 $as_echo_n "(cached) " >&6
2998 if $as_echo 'TRUE=$(BAR$(V))
3004 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3005 am_cv_make_support_nested_variables
=yes
3007 am_cv_make_support_nested_variables
=no
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3011 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3012 if test $am_cv_make_support_nested_variables = yes; then
3014 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3016 AM_V
=$AM_DEFAULT_VERBOSITY
3017 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3021 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3022 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3023 # is not polluted with repeated "-I."
3024 am__isrc
=' -I$(srcdir)'
3025 # test to see if srcdir already configured
3026 if test -f $srcdir/config.status
; then
3027 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3031 # test whether we have cygpath
3032 if test -z "$CYGPATH_W"; then
3033 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3034 CYGPATH_W
='cygpath -w'
3041 # Define the identity of the package.
3046 cat >>confdefs.h
<<_ACEOF
3047 #define PACKAGE "$PACKAGE"
3051 cat >>confdefs.h
<<_ACEOF
3052 #define VERSION "$VERSION"
3055 # Some tools Automake needs.
3057 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3060 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3063 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3066 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3069 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3071 # For better backward compatibility. To be removed once Automake 1.9.x
3072 # dies out for good. For more background, see:
3073 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3074 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3075 mkdir_p
='$(MKDIR_P)'
3077 # We need awk for the "check" target. The system "awk" is bad on
3079 # Always define AMTAR for backward compatibility. Yes, it's still used
3080 # in the wild :-( We should find a proper way to deprecate it ...
3083 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3091 ac_cpp
='$CXXCPP $CPPFLAGS'
3092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3095 if test -z "$CXX"; then
3096 if test -n "$CCC"; then
3099 if test -n "$ac_tool_prefix"; then
3100 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3103 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if ${ac_cv_prog_CXX+:} false
; then :
3107 $as_echo_n "(cached) " >&6
3109 if test -n "$CXX"; then
3110 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir
=.
3117 for ac_exec_ext
in '' $ac_executable_extensions; do
3118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3119 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 if test -n "$CXX"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3132 $as_echo "$CXX" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3139 test -n "$CXX" && break
3142 if test -z "$CXX"; then
3144 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3146 # Extract the first word of "$ac_prog", so it can be a program name with args.
3147 set dummy
$ac_prog; ac_word
=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3151 $as_echo_n "(cached) " >&6
3153 if test -n "$ac_ct_CXX"; then
3154 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir
=.
3161 for ac_exec_ext
in '' $ac_executable_extensions; do
3162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3174 if test -n "$ac_ct_CXX"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3176 $as_echo "$ac_ct_CXX" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3183 test -n "$ac_ct_CXX" && break
3186 if test "x$ac_ct_CXX" = x
; then
3189 case $cross_compiling:$ac_tool_warned in
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3193 ac_tool_warned
=yes ;;
3201 # Provide some information about the compiler.
3202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3205 for ac_option
in --version -v -V -qversion; do
3206 { { ac_try
="$ac_compiler $ac_option >&5"
3208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3212 $as_echo "$ac_try_echo"; } >&5
3213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3215 if test -s conftest.err; then
3217 ... rest of stderr output deleted ...
3218 10q' conftest.err >conftest.er1
3219 cat conftest.er1 >&5
3221 rm -f conftest.er1 conftest.err
3222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3223 test $ac_status = 0; }
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3237 ac_clean_files_save=$ac_clean_files
3238 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3239 # Try to create an executable without -o first, disregard a.out.
3240 # It will help us diagnose broken compilers, and finding out an intuition
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3243 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3244 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3246 # The possible output files:
3247 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3250 for ac_file in $ac_files
3253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3254 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3259 if { { ac_try="$ac_link_default"
3261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3262 *) ac_try_echo
=$ac_try;;
3264 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3265 $as_echo "$ac_try_echo"; } >&5
3266 (eval "$ac_link_default") 2>&5
3268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3269 test $ac_status = 0; }; then :
3270 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3271 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3272 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3273 # so that the user can short-circuit this test for compilers unknown to
3275 for ac_file
in $ac_files ''
3277 test -f "$ac_file" || continue
3279 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3282 # We found the default executable, but exeext='' is most
3286 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3288 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3290 # We set ac_cv_exeext here because the later test for it is not
3291 # safe: cross compilers may not add the suffix if given an `-o'
3292 # argument, so we may need to know it at that point already.
3293 # Even if this section looks crufty: it has the advantage of
3300 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3305 if test -z "$ac_file"; then :
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3308 $as_echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.
$ac_ext >&5
3311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3313 as_fn_error
77 "C++ compiler cannot create executables
3314 See \`config.log' for more details" "$LINENO" 5; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3317 $as_echo "yes" >&6; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3320 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3322 $as_echo "$ac_file" >&6; }
3323 ac_exeext
=$ac_cv_exeext
3325 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3326 ac_clean_files
=$ac_clean_files_save
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3328 $as_echo_n "checking for suffix of executables... " >&6; }
3329 if { { ac_try
="$ac_link"
3331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336 (eval "$ac_link") 2>&5
3338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3339 test $ac_status = 0; }; then :
3340 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3341 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3342 # work properly (i.e., refer to `conftest.exe'), while it won't with
3344 for ac_file
in conftest.exe conftest conftest.
*; do
3345 test -f "$ac_file" || continue
3347 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3348 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3357 See \`config.log' for more details" "$LINENO" 5; }
3359 rm -f conftest conftest
$ac_cv_exeext
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3361 $as_echo "$ac_cv_exeext" >&6; }
3363 rm -f conftest.
$ac_ext
3364 EXEEXT
=$ac_cv_exeext
3366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3372 FILE *f = fopen ("conftest.out", "w");
3373 return ferror (f) || fclose (f) != 0;
3379 ac_clean_files
="$ac_clean_files conftest.out"
3380 # Check that the compiler produces executables we can run. If not, either
3381 # the compiler is broken, or we cross compile.
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3383 $as_echo_n "checking whether we are cross compiling... " >&6; }
3384 if test "$cross_compiling" != yes; then
3385 { { ac_try
="$ac_link"
3387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_link") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }
3396 if { ac_try='./conftest$ac_cv_exeext'
3397 { { case "(($ac_try" in
3398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3399 *) ac_try_echo
=$ac_try;;
3401 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402 $as_echo "$ac_try_echo"; } >&5
3403 (eval "$ac_try") 2>&5
3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406 test $ac_status = 0; }; }; then
3409 if test "$cross_compiling" = maybe
; then
3412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3414 as_fn_error $?
"cannot run C++ compiled programs.
3415 If you meant to cross compile, use \`--host'.
3416 See \`config.log' for more details" "$LINENO" 5; }
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3421 $as_echo "$cross_compiling" >&6; }
3423 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3424 ac_clean_files
=$ac_clean_files_save
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3426 $as_echo_n "checking for suffix of object files... " >&6; }
3427 if ${ac_cv_objext+:} false
; then :
3428 $as_echo_n "(cached) " >&6
3430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3441 rm -f conftest.o conftest.obj
3442 if { { ac_try
="$ac_compile"
3444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448 $as_echo "$ac_try_echo"; } >&5
3449 (eval "$ac_compile") 2>&5
3451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452 test $ac_status = 0; }; then :
3453 for ac_file in conftest.o conftest.obj conftest.*; do
3454 test -f "$ac_file" || continue;
3456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3457 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3462 $as_echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3467 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3468 See \
`config.log' for more details" "$LINENO" 5; }
3470 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3473 $as_echo "$ac_cv_objext" >&6; }
3474 OBJEXT=$ac_cv_objext
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3477 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3478 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3479 $as_echo_n "(cached) " >&6
3481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3482 /* end confdefs.h. */
3495 if ac_fn_cxx_try_compile "$LINENO"; then :
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3505 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3506 if test $ac_compiler_gnu = yes; then
3511 ac_test_CXXFLAGS=${CXXFLAGS+set}
3512 ac_save_CXXFLAGS=$CXXFLAGS
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3514 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3515 if ${ac_cv_prog_cxx_g+:} false; then :
3516 $as_echo_n "(cached) " >&6
3518 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3519 ac_cxx_werror_flag=yes
3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523 /* end confdefs.h. */
3533 if ac_fn_cxx_try_compile "$LINENO"; then :
3534 ac_cv_prog_cxx_g=yes
3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3538 /* end confdefs.h. */
3548 if ac_fn_cxx_try_compile "$LINENO"; then :
3551 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 if ac_fn_cxx_try_compile "$LINENO"; then :
3565 ac_cv_prog_cxx_g=yes
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3575 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3576 if test "$ac_test_CXXFLAGS" = set; then
3577 CXXFLAGS=$ac_save_CXXFLAGS
3578 elif test $ac_cv_prog_cxx_g = yes; then
3579 if test "$GXX" = yes; then
3585 if test "$GXX" = yes; then
3592 ac_cpp='$CPP $CPPFLAGS'
3593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 DEPDIR="${am__leading_dot}deps"
3598 ac_config_commands="$ac_config_commands depfiles"
3601 am_make=${MAKE-make}
3602 cat > confinc << 'END'
3604 @echo this is the am__doit target
3607 # If we don't find an include directive, just comment out the code.
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3609 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3613 # First try GNU make style include.
3614 echo "include confinc" > confmf
3615 # Ignore all kinds of additional output from 'make'.
3616 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3617 *the\ am__doit\ target*)
3623 # Now try BSD make style include.
3624 if test "$am__include" = "#"; then
3625 echo '.include "confinc"' > confmf
3626 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3627 *the\ am__doit\ target*)
3628 am__include=.include
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3637 $as_echo "$_am_result" >&6; }
3638 rm -f confinc confmf
3640 # Check whether --enable-dependency-tracking was given.
3641 if test "${enable_dependency_tracking+set}" = set; then :
3642 enableval=$enable_dependency_tracking;
3645 if test "x$enable_dependency_tracking" != xno; then
3646 am_depcomp="$ac_aux_dir/depcomp"
3650 if test "x$enable_dependency_tracking" != xno; then
3660 depcc="$CXX" am_compiler_list=
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3663 $as_echo_n "checking dependency style of $depcc... " >&6; }
3664 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3665 $as_echo_n "(cached) " >&6
3667 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3668 # We make a subdir and do the tests there. Otherwise we can end up
3669 # making bogus files that we don't know about and never remove. For
3670 # instance it was reported that on HP-UX the gcc test will end up
3671 # making a dummy file named 'D' -- because '-MD' means "put the output
3675 # Copy depcomp to subdir because otherwise we won't find it if we're
3676 # using a relative directory.
3677 cp "$am_depcomp" conftest.dir
3679 # We will build objects and dependencies in a subdirectory because
3680 # it helps to detect inapplicable dependency modes. For instance
3681 # both Tru64's cc and ICC support -MD to output dependencies as a
3682 # side effect of compilation, but ICC will put the dependencies in
3683 # the current directory while Tru64 will put them in the object
3687 am_cv_CXX_dependencies_compiler_type=none
3688 if test "$am_compiler_list" = ""; then
3689 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3692 case " $depcc " in #(
3693 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3696 for depmode in $am_compiler_list; do
3697 # Setup a source with many dependencies, because some compilers
3698 # like to wrap large dependency lists on column 80 (with \), and
3699 # we should not choose a depcomp mode which is confused by this.
3701 # We need to recreate these files for each test, as the compiler may
3702 # overwrite some of them when testing with obscure command lines.
3703 # This happens at least with the AIX C compiler.
3705 for i in 1 2 3 4 5 6; do
3706 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3707 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3708 # Solaris 10 /bin/sh.
3709 echo '/* dummy */' > sub/conftst$i.h
3711 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3713 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3714 # mode. It turns out that the SunPro C++ compiler does not properly
3715 # handle '-M -o', and we need to detect this. Also, some Intel
3716 # versions had trouble with output in subdirs.
3717 am__obj=sub/conftest.${OBJEXT-o}
3718 am__minus_obj="-o $am__obj"
3721 # This depmode causes a compiler race in universal mode.
3722 test "$am__universal" = false || continue
3725 # After this tag, mechanisms are not by side-effect, so they'll
3726 # only be used when explicitly requested.
3727 if test "x$enable_dependency_tracking" = xyes; then
3733 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3734 # This compiler won't grok '-c -o', but also, the minuso test has
3735 # not run yet. These depmodes are late enough in the game, and
3736 # so weak that their functioning should not be impacted.
3737 am__obj=conftest.${OBJEXT-o}
3742 if depmode=$depmode \
3743 source=sub/conftest.c object=$am__obj \
3744 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3745 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3746 >/dev/null 2>conftest.err &&
3747 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3748 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3749 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3750 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3751 # icc doesn't choke on unknown options, it will just issue warnings
3752 # or remarks (even with -Werror). So we grep stderr for any message
3753 # that says an option was ignored or not supported.
3754 # When given -MP, icc 7.0 and 7.1 complain thusly:
3755 # icc: Command line warning: ignoring option '-M'; no argument required
3756 # The diagnosis changed in icc 8.0:
3757 # icc: Command line remark: option '-MP' not supported
3758 if (grep 'ignoring option' conftest.err ||
3759 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3760 am_cv_CXX_dependencies_compiler_type=$depmode
3769 am_cv_CXX_dependencies_compiler_type=none
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3774 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3775 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3778 test "x$enable_dependency_tracking" != xno \
3779 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3780 am__fastdepCXX_TRUE=
3781 am__fastdepCXX_FALSE='#'
3783 am__fastdepCXX_TRUE='#'
3784 am__fastdepCXX_FALSE=
3789 ac_cpp='$OBJCXXCPP $CPPFLAGS'
3790 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3791 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
3793 if test -n "$ac_tool_prefix"; then
3794 for ac_prog in g++ objc++ objcxx c++ CXX
3796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_OBJCXX+:} false; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -n "$OBJCXX"; then
3804 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 OBJCXX=$ac_cv_prog_OBJCXX
3824 if test -n "$OBJCXX"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
3826 $as_echo "$OBJCXX" >&6; }
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$OBJCXX" && break
3836 if test -z "$OBJCXX"; then
3837 ac_ct_OBJCXX=$OBJCXX
3838 for ac_prog in g++ objc++ objcxx c++ CXX
3840 # Extract the first word of "$ac_prog", so it can be a program name with args.
3841 set dummy $ac_prog; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_ac_ct_OBJCXX+:} false; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -n "$ac_ct_OBJCXX"; then
3848 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
3868 if test -n "$ac_ct_OBJCXX"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
3870 $as_echo "$ac_ct_OBJCXX" >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3877 test -n "$ac_ct_OBJCXX" && break
3880 if test "x$ac_ct_OBJCXX" = x; then
3883 case $cross_compiling:$ac_tool_warned in
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3887 ac_tool_warned=yes ;;
3889 OBJCXX=$ac_ct_OBJCXX
3893 # Provide some information about the compiler.
3894 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
3897 for ac_option in --version -v -V -qversion; do
3898 { { ac_try="$ac_compiler $ac_option >&5"
3900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3901 *) ac_try_echo
=$ac_try;;
3903 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3907 if test -s conftest.err
; then
3909 ... rest of stderr output deleted ...
3910 10q' conftest.err
>conftest.er1
3911 cat conftest.er1
>&5
3913 rm -f conftest.er1 conftest.err
3914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915 test $ac_status = 0; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
3919 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
3920 if ${ac_cv_objcxx_compiler_gnu+:} false
; then :
3921 $as_echo_n "(cached) " >&6
3923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3937 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3943 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
3947 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
3948 if test $ac_compiler_gnu = yes; then
3953 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
3954 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
3956 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
3957 if ${ac_cv_prog_objcxx_g+:} false
; then :
3958 $as_echo_n "(cached) " >&6
3960 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
3961 ac_objcxx_werror_flag
=yes
3962 ac_cv_prog_objcxx_g
=no
3964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3975 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3976 ac_cv_prog_objcxx_g
=yes
3979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3990 if ac_fn_objcxx_try_compile
"$LINENO"; then :
3993 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
3995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h. */
4006 if ac_fn_objcxx_try_compile
"$LINENO"; then :
4007 ac_cv_prog_objcxx_g
=yes
4009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4014 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4017 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4018 if test "$ac_test_OBJCXXFLAGS" = set; then
4019 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
4020 elif test $ac_cv_prog_objcxx_g = yes; then
4021 if test "$GOBJCXX" = yes; then
4022 OBJCXXFLAGS
="-g -O2"
4027 if test "$GOBJCXX" = yes; then
4034 ac_cpp
='$CPP $CPPFLAGS'
4035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4039 depcc
="$OBJCXX" am_compiler_list
='gcc3 gcc'
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4042 $as_echo_n "checking dependency style of $depcc... " >&6; }
4043 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false
; then :
4044 $as_echo_n "(cached) " >&6
4046 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4047 # We make a subdir and do the tests there. Otherwise we can end up
4048 # making bogus files that we don't know about and never remove. For
4049 # instance it was reported that on HP-UX the gcc test will end up
4050 # making a dummy file named 'D' -- because '-MD' means "put the output
4054 # Copy depcomp to subdir because otherwise we won't find it if we're
4055 # using a relative directory.
4056 cp "$am_depcomp" conftest.dir
4058 # We will build objects and dependencies in a subdirectory because
4059 # it helps to detect inapplicable dependency modes. For instance
4060 # both Tru64's cc and ICC support -MD to output dependencies as a
4061 # side effect of compilation, but ICC will put the dependencies in
4062 # the current directory while Tru64 will put them in the object
4066 am_cv_OBJCXX_dependencies_compiler_type
=none
4067 if test "$am_compiler_list" = ""; then
4068 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4073 for depmode
in $am_compiler_list; do
4074 # Setup a source with many dependencies, because some compilers
4075 # like to wrap large dependency lists on column 80 (with \), and
4076 # we should not choose a depcomp mode which is confused by this.
4078 # We need to recreate these files for each test, as the compiler may
4079 # overwrite some of them when testing with obscure command lines.
4080 # This happens at least with the AIX C compiler.
4082 for i
in 1 2 3 4 5 6; do
4083 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4084 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4085 # Solaris 10 /bin/sh.
4086 echo '/* dummy */' > sub
/conftst
$i.h
4088 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4090 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4091 # mode. It turns out that the SunPro C++ compiler does not properly
4092 # handle '-M -o', and we need to detect this. Also, some Intel
4093 # versions had trouble with output in subdirs.
4094 am__obj
=sub
/conftest.
${OBJEXT-o}
4095 am__minus_obj
="-o $am__obj"
4098 # This depmode causes a compiler race in universal mode.
4099 test "$am__universal" = false
|| continue
4102 # After this tag, mechanisms are not by side-effect, so they'll
4103 # only be used when explicitly requested.
4104 if test "x$enable_dependency_tracking" = xyes
; then
4110 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4111 # This compiler won't grok '-c -o', but also, the minuso test has
4112 # not run yet. These depmodes are late enough in the game, and
4113 # so weak that their functioning should not be impacted.
4114 am__obj
=conftest.
${OBJEXT-o}
4119 if depmode
=$depmode \
4120 source=sub
/conftest.c object
=$am__obj \
4121 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4122 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4123 >/dev
/null
2>conftest.err
&&
4124 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4125 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4126 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4127 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4128 # icc doesn't choke on unknown options, it will just issue warnings
4129 # or remarks (even with -Werror). So we grep stderr for any message
4130 # that says an option was ignored or not supported.
4131 # When given -MP, icc 7.0 and 7.1 complain thusly:
4132 # icc: Command line warning: ignoring option '-M'; no argument required
4133 # The diagnosis changed in icc 8.0:
4134 # icc: Command line remark: option '-MP' not supported
4135 if (grep 'ignoring option' conftest.err
||
4136 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4137 am_cv_OBJCXX_dependencies_compiler_type
=$depmode
4146 am_cv_OBJCXX_dependencies_compiler_type
=none
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4151 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4152 OBJCXXDEPMODE
=depmode
=$am_cv_OBJCXX_dependencies_compiler_type
4155 test "x$enable_dependency_tracking" != xno \
4156 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3
; then
4157 am__fastdepOBJCXX_TRUE
=
4158 am__fastdepOBJCXX_FALSE
='#'
4160 am__fastdepOBJCXX_TRUE
='#'
4161 am__fastdepOBJCXX_FALSE
=
4166 ac_cpp
='$CPP $CPPFLAGS'
4167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4170 if test -n "$ac_tool_prefix"; then
4171 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4172 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4174 $as_echo_n "checking for $ac_word... " >&6; }
4175 if ${ac_cv_prog_CC+:} false
; then :
4176 $as_echo_n "(cached) " >&6
4178 if test -n "$CC"; then
4179 ac_cv_prog_CC
="$CC" # Let the user override the test.
4181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4185 test -z "$as_dir" && as_dir
=.
4186 for ac_exec_ext
in '' $ac_executable_extensions; do
4187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4188 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 if test -n "$CC"; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4201 $as_echo "$CC" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4209 if test -z "$ac_cv_prog_CC"; then
4211 # Extract the first word of "gcc", so it can be a program name with args.
4212 set dummy gcc
; ac_word
=$2
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4214 $as_echo_n "checking for $ac_word... " >&6; }
4215 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4216 $as_echo_n "(cached) " >&6
4218 if test -n "$ac_ct_CC"; then
4219 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4225 test -z "$as_dir" && as_dir
=.
4226 for ac_exec_ext
in '' $ac_executable_extensions; do
4227 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4228 ac_cv_prog_ac_ct_CC
="gcc"
4229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4239 if test -n "$ac_ct_CC"; then
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4241 $as_echo "$ac_ct_CC" >&6; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244 $as_echo "no" >&6; }
4247 if test "x$ac_ct_CC" = x
; then
4250 case $cross_compiling:$ac_tool_warned in
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4254 ac_tool_warned
=yes ;;
4262 if test -z "$CC"; then
4263 if test -n "$ac_tool_prefix"; then
4264 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4265 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267 $as_echo_n "checking for $ac_word... " >&6; }
4268 if ${ac_cv_prog_CC+:} false
; then :
4269 $as_echo_n "(cached) " >&6
4271 if test -n "$CC"; then
4272 ac_cv_prog_CC
="$CC" # Let the user override the test.
4274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4278 test -z "$as_dir" && as_dir
=.
4279 for ac_exec_ext
in '' $ac_executable_extensions; do
4280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4281 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 if test -n "$CC"; then
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4294 $as_echo "$CC" >&6; }
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297 $as_echo "no" >&6; }
4303 if test -z "$CC"; then
4304 # Extract the first word of "cc", so it can be a program name with args.
4305 set dummy cc
; ac_word
=$2
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4307 $as_echo_n "checking for $ac_word... " >&6; }
4308 if ${ac_cv_prog_CC+:} false
; then :
4309 $as_echo_n "(cached) " >&6
4311 if test -n "$CC"; then
4312 ac_cv_prog_CC
="$CC" # Let the user override the test.
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4322 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4323 ac_prog_rejected
=yes
4327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 if test $ac_prog_rejected = yes; then
4335 # We found a bogon in the path, so make sure we never use it.
4336 set dummy
$ac_cv_prog_CC
4338 if test $# != 0; then
4339 # We chose a different compiler from the bogus one.
4340 # However, it has the same basename, so the bogon will be chosen
4341 # first if we set CC to just the basename; use the full file name.
4343 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4349 if test -n "$CC"; then
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4351 $as_echo "$CC" >&6; }
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4354 $as_echo "no" >&6; }
4359 if test -z "$CC"; then
4360 if test -n "$ac_tool_prefix"; then
4361 for ac_prog
in cl.exe
4363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366 $as_echo_n "checking for $ac_word... " >&6; }
4367 if ${ac_cv_prog_CC+:} false
; then :
4368 $as_echo_n "(cached) " >&6
4370 if test -n "$CC"; then
4371 ac_cv_prog_CC
="$CC" # Let the user override the test.
4373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir
=.
4378 for ac_exec_ext
in '' $ac_executable_extensions; do
4379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 if test -n "$CC"; then
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4393 $as_echo "$CC" >&6; }
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4400 test -n "$CC" && break
4403 if test -z "$CC"; then
4405 for ac_prog
in cl.exe
4407 # Extract the first word of "$ac_prog", so it can be a program name with args.
4408 set dummy
$ac_prog; ac_word
=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$ac_ct_CC"; then
4415 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir
=.
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4424 ac_cv_prog_ac_ct_CC
="$ac_prog"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4435 if test -n "$ac_ct_CC"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4437 $as_echo "$ac_ct_CC" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4444 test -n "$ac_ct_CC" && break
4447 if test "x$ac_ct_CC" = x
; then
4450 case $cross_compiling:$ac_tool_warned in
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4454 ac_tool_warned
=yes ;;
4463 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4465 as_fn_error $?
"no acceptable C compiler found in \$PATH
4466 See \`config.log' for more details" "$LINENO" 5; }
4468 # Provide some information about the compiler.
4469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4472 for ac_option
in --version -v -V -qversion; do
4473 { { ac_try
="$ac_compiler $ac_option >&5"
4475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4476 *) ac_try_echo=$ac_try;;
4478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4482 if test -s conftest.err; then
4484 ... rest of stderr output deleted ...
4485 10q' conftest.err >conftest.er1
4486 cat conftest.er1 >&5
4488 rm -f conftest.er1 conftest.err
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4494 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4495 if ${ac_cv_c_compiler_gnu+:} false; then :
4496 $as_echo_n "(cached) " >&6
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4512 if ac_fn_c_try_compile "$LINENO"; then :
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4522 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4523 if test $ac_compiler_gnu = yes; then
4528 ac_test_CFLAGS=${CFLAGS+set}
4529 ac_save_CFLAGS=$CFLAGS
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4531 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4532 if ${ac_cv_prog_cc_g+:} false; then :
4533 $as_echo_n "(cached) " >&6
4535 ac_save_c_werror_flag=$ac_c_werror_flag
4536 ac_c_werror_flag=yes
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4550 if ac_fn_c_try_compile "$LINENO"; then :
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4565 if ac_fn_c_try_compile "$LINENO"; then :
4568 ac_c_werror_flag=$ac_save_c_werror_flag
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4581 if ac_fn_c_try_compile "$LINENO"; then :
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 ac_c_werror_flag=$ac_save_c_werror_flag
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4592 $as_echo "$ac_cv_prog_cc_g" >&6; }
4593 if test "$ac_test_CFLAGS" = set; then
4594 CFLAGS=$ac_save_CFLAGS
4595 elif test $ac_cv_prog_cc_g = yes; then
4596 if test "$GCC" = yes; then
4602 if test "$GCC" = yes; then
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4609 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4610 if ${ac_cv_prog_cc_c89+:} false; then :
4611 $as_echo_n "(cached) " >&6
4613 ac_cv_prog_cc_c89=no
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4621 struct buf { int x; };
4622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4623 static char *e (p, i)
4629 static char *f (char * (*g) (char **, int), char **p, ...)
4634 s = g (p, va_arg (v,int));
4639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4640 function prototypes and stuff, but not '\xHH' hex character constants.
4641 These don't provoke an error unfortunately, instead are silently treated
4642 as 'x'. The following induces an error, until -std is added to get
4643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4644 array size at least. It's necessary to write '\x00'==0 to get something
4645 that's true only with -std. */
4646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4648 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4649 inside strings and character constants. */
4651 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4653 int test (int i, double x);
4654 struct s1 {int (*f) (int a);};
4655 struct s2 {int (*f) (double a);};
4656 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4662 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4667 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4668 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4670 CC="$ac_save_CC $ac_arg"
4671 if ac_fn_c_try_compile "$LINENO"; then :
4672 ac_cv_prog_cc_c89=$ac_arg
4674 rm -f core conftest.err conftest.$ac_objext
4675 test "x$ac_cv_prog_cc_c89" != "xno" && break
4677 rm -f conftest.$ac_ext
4682 case "x$ac_cv_prog_cc_c89" in
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4685 $as_echo "none needed" >&6; } ;;
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4688 $as_echo "unsupported" >&6; } ;;
4690 CC="$CC $ac_cv_prog_cc_c89"
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4692 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4694 if test "x$ac_cv_prog_cc_c89" != xno; then :
4699 ac_cpp='$CPP $CPPFLAGS'
4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4704 depcc="$CC" am_compiler_list=
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4707 $as_echo_n "checking dependency style of $depcc... " >&6; }
4708 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4709 $as_echo_n "(cached) " >&6
4711 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4712 # We make a subdir and do the tests there. Otherwise we can end up
4713 # making bogus files that we don't know about and never remove. For
4714 # instance it was reported that on HP-UX the gcc test will end up
4715 # making a dummy file named 'D' -- because '-MD' means "put the output
4719 # Copy depcomp to subdir because otherwise we won't find it if we're
4720 # using a relative directory.
4721 cp "$am_depcomp" conftest.dir
4723 # We will build objects and dependencies in a subdirectory because
4724 # it helps to detect inapplicable dependency modes. For instance
4725 # both Tru64's cc and ICC support -MD to output dependencies as a
4726 # side effect of compilation, but ICC will put the dependencies in
4727 # the current directory while Tru64 will put them in the object
4731 am_cv_CC_dependencies_compiler_type=none
4732 if test "$am_compiler_list" = ""; then
4733 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4736 case " $depcc " in #(
4737 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4740 for depmode in $am_compiler_list; do
4741 # Setup a source with many dependencies, because some compilers
4742 # like to wrap large dependency lists on column 80 (with \), and
4743 # we should not choose a depcomp mode which is confused by this.
4745 # We need to recreate these files for each test, as the compiler may
4746 # overwrite some of them when testing with obscure command lines.
4747 # This happens at least with the AIX C compiler.
4749 for i in 1 2 3 4 5 6; do
4750 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4751 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4752 # Solaris 10 /bin/sh.
4753 echo '/* dummy */' > sub/conftst$i.h
4755 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4757 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4758 # mode. It turns out that the SunPro C++ compiler does not properly
4759 # handle '-M -o', and we need to detect this. Also, some Intel
4760 # versions had trouble with output in subdirs.
4761 am__obj=sub/conftest.${OBJEXT-o}
4762 am__minus_obj="-o $am__obj"
4765 # This depmode causes a compiler race in universal mode.
4766 test "$am__universal" = false || continue
4769 # After this tag, mechanisms are not by side-effect, so they'll
4770 # only be used when explicitly requested.
4771 if test "x$enable_dependency_tracking" = xyes; then
4777 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4778 # This compiler won't grok '-c -o', but also, the minuso test has
4779 # not run yet. These depmodes are late enough in the game, and
4780 # so weak that their functioning should not be impacted.
4781 am__obj=conftest.${OBJEXT-o}
4786 if depmode=$depmode \
4787 source=sub/conftest.c object=$am__obj \
4788 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4789 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4790 >/dev/null 2>conftest.err &&
4791 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4792 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4793 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4794 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4795 # icc doesn't choke on unknown options, it will just issue warnings
4796 # or remarks (even with -Werror). So we grep stderr for any message
4797 # that says an option was ignored or not supported.
4798 # When given -MP, icc 7.0 and 7.1 complain thusly:
4799 # icc: Command line warning: ignoring option '-M'; no argument required
4800 # The diagnosis changed in icc 8.0:
4801 # icc: Command line remark: option '-MP' not supported
4802 if (grep 'ignoring option' conftest.err ||
4803 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4804 am_cv_CC_dependencies_compiler_type=$depmode
4813 am_cv_CC_dependencies_compiler_type=none
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4818 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4819 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4822 test "x$enable_dependency_tracking" != xno \
4823 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4825 am__fastdepCC_FALSE='#'
4827 am__fastdepCC_TRUE='#'
4828 am__fastdepCC_FALSE=
4833 if test -n "$ac_tool_prefix"; then
4834 for ac_prog in ar lib "link -lib"
4836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if ${ac_cv_prog_AR+:} false; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$AR"; then
4844 ac_cv_prog_AR="$AR" # Let the user override the test.
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4853 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 if test -n "$AR"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4866 $as_echo "$AR" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4873 test -n "$AR" && break
4876 if test -z "$AR"; then
4878 for ac_prog in ar lib "link -lib"
4880 # Extract the first word of "$ac_prog", so it can be a program name with args.
4881 set dummy $ac_prog; ac_word=$2
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883 $as_echo_n "checking for $ac_word... " >&6; }
4884 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4885 $as_echo_n "(cached) " >&6
4887 if test -n "$ac_ct_AR"; then
4888 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 test -z "$as_dir" && as_dir=.
4895 for ac_exec_ext in '' $ac_executable_extensions; do
4896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4897 ac_cv_prog_ac_ct_AR="$ac_prog"
4898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4908 if test -n "$ac_ct_AR"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4910 $as_echo "$ac_ct_AR" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4917 test -n "$ac_ct_AR" && break
4920 if test "x$ac_ct_AR" = x; then
4923 case $cross_compiling:$ac_tool_warned in
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4927 ac_tool_warned=yes ;;
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4936 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4937 if ${am_cv_ar_interface+:} false; then :
4938 $as_echo_n "(cached) " >&6
4940 am_cv_ar_interface=ar
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4943 int some_variable = 0;
4945 if ac_fn_c_try_compile "$LINENO"; then :
4946 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4947 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4948 (eval $am_ar_try) 2>&5
4950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4951 test $ac_status = 0; }
4952 if test "$ac_status" -eq 0; then
4953 am_cv_ar_interface=ar
4955 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4956 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4957 (eval $am_ar_try) 2>&5
4959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4960 test $ac_status = 0; }
4961 if test "$ac_status" -eq 0; then
4962 am_cv_ar_interface=lib
4964 am_cv_ar_interface=unknown
4967 rm -f conftest.lib libconftest.a
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4974 $as_echo "$am_cv_ar_interface" >&6; }
4976 case $am_cv_ar_interface in
4980 # Microsoft lib, so override with the ar-lib wrapper script.
4981 # FIXME: It is wrong to rewrite AR.
4982 # But if we don't then we get into trouble of one sort or another.
4983 # A longer-term fix would be to have automake use am__AR in this case,
4984 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4986 AR="$am_aux_dir/ar-lib $AR"
4989 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4998 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5003 macro_version='2.4.2'
5004 macro_revision='1.3337'
5018 ltmain="$ac_aux_dir/ltmain.sh"
5020 # Make sure we can run config.sub.
5021 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5022 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5025 $as_echo_n "checking build system type... " >&6; }
5026 if ${ac_cv_build+:} false; then :
5027 $as_echo_n "(cached) " >&6
5029 ac_build_alias=$build_alias
5030 test "x$ac_build_alias" = x &&
5031 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5032 test "x$ac_build_alias" = x &&
5033 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5034 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5035 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5039 $as_echo "$ac_cv_build" >&6; }
5040 case $ac_cv_build in
5042 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5045 ac_save_IFS=$IFS; IFS='-'
5051 # Remember, the first character of IFS is used to create $*,
5052 # except with old shells:
5055 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5059 $as_echo_n "checking host system type... " >&6; }
5060 if ${ac_cv_host+:} false; then :
5061 $as_echo_n "(cached) " >&6
5063 if test "x$host_alias" = x; then
5064 ac_cv_host=$ac_cv_build
5066 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5067 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5072 $as_echo "$ac_cv_host" >&6; }
5075 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5078 ac_save_IFS=$IFS; IFS='-'
5084 # Remember, the first character of IFS is used to create $*,
5085 # except with old shells:
5088 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5091 # Backslashify metacharacters that are still active within
5092 # double-quoted strings.
5093 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5095 # Same as above, but do not quote variable references.
5096 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5098 # Sed substitution to delay expansion of an escaped shell variable in a
5099 # double_quote_subst'ed string.
5100 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5102 # Sed substitution to delay expansion of an escaped single quote.
5103 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5105 # Sed substitution to avoid accidental globbing in evaled expressions
5106 no_glob_subst='s/\*/\\\*/g'
5108 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5109 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5110 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5113 $as_echo_n "checking how to print
strings...
" >&6; }
5114 # Test print first, because it will be a builtin if present.
5115 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5116 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5118 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5121 # Use this function as a fallback that always works.
5122 func_fallback_echo ()
5124 eval 'cat <<_LTECHO_EOF
5128 ECHO='func_fallback_echo'
5131 # func_echo_all arg...
5132 # Invoke $ECHO with all args, space-separated.
5139 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5140 $as_echo "printf" >&6; } ;;
5141 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5142 $as_echo "print
-r" >&6; } ;;
5143 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5144 $as_echo "cat" >&6; } ;;
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5161 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5162 if ${ac_cv_path_SED+:} false; then :
5163 $as_echo_n "(cached
) " >&6
5165 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5166 for ac_i in 1 2 3 4 5 6 7; do
5167 ac_script="$ac_script$as_nl$ac_script"
5169 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5170 { ac_script=; unset ac_script;}
5171 if test -z "$SED"; then
5172 ac_path_SED_found=false
5173 # Loop through the user's path and test for each of PROGNAME-LIST
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir=.
5179 for ac_prog in sed gsed; do
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5182 as_fn_executable_p "$ac_path_SED" || continue
5183 # Check for GNU ac_path_SED and select it if it is found.
5184 # Check for GNU $ac_path_SED
5185 case `"$ac_path_SED" --version 2>&1` in
5187 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5190 $as_echo_n 0123456789 >"conftest.
in"
5193 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5194 mv "conftest.tmp
" "conftest.
in"
5195 cp "conftest.
in" "conftest.
nl"
5196 $as_echo '' >> "conftest.
nl"
5197 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5198 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5199 as_fn_arith $ac_count + 1 && ac_count=$as_val
5200 if test $ac_count -gt ${ac_path_SED_max-0}; then
5201 # Best one so far, save it but keep looking for a better one
5202 ac_cv_path_SED="$ac_path_SED"
5203 ac_path_SED_max=$ac_count
5205 # 10*(2^10) chars as input seems more than enough
5206 test $ac_count -gt 10 && break
5208 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5211 $ac_path_SED_found && break 3
5216 if test -z "$ac_cv_path_SED"; then
5217 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5225 $as_echo "$ac_cv_path_SED" >&6; }
5226 SED="$ac_cv_path_SED"
5229 test -z "$SED" && SED=sed
5230 Xsed="$SED -e 1s
/^X
//"
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5243 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5244 if ${ac_cv_path_GREP+:} false; then :
5245 $as_echo_n "(cached
) " >&6
5247 if test -z "$GREP"; then
5248 ac_path_GREP_found=false
5249 # Loop through the user's path and test for each of PROGNAME-LIST
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5254 test -z "$as_dir" && as_dir=.
5255 for ac_prog in grep ggrep; do
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5258 as_fn_executable_p "$ac_path_GREP" || continue
5259 # Check for GNU ac_path_GREP and select it if it is found.
5260 # Check for GNU $ac_path_GREP
5261 case `"$ac_path_GREP" --version 2>&1` in
5263 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5266 $as_echo_n 0123456789 >"conftest.
in"
5269 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5270 mv "conftest.tmp
" "conftest.
in"
5271 cp "conftest.
in" "conftest.
nl"
5272 $as_echo 'GREP' >> "conftest.
nl"
5273 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5274 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5275 as_fn_arith $ac_count + 1 && ac_count=$as_val
5276 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5277 # Best one so far, save it but keep looking for a better one
5278 ac_cv_path_GREP="$ac_path_GREP"
5279 ac_path_GREP_max=$ac_count
5281 # 10*(2^10) chars as input seems more than enough
5282 test $ac_count -gt 10 && break
5284 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5287 $ac_path_GREP_found && break 3
5292 if test -z "$ac_cv_path_GREP"; then
5293 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5296 ac_cv_path_GREP=$GREP
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5301 $as_echo "$ac_cv_path_GREP" >&6; }
5302 GREP="$ac_cv_path_GREP"
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5306 $as_echo_n "checking
for egrep...
" >&6; }
5307 if ${ac_cv_path_EGREP+:} false; then :
5308 $as_echo_n "(cached
) " >&6
5310 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5311 then ac_cv_path_EGREP="$GREP -E"
5313 if test -z "$EGREP"; then
5314 ac_path_EGREP_found=false
5315 # Loop through the user's path and test for each of PROGNAME-LIST
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5320 test -z "$as_dir" && as_dir=.
5321 for ac_prog in egrep; do
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5324 as_fn_executable_p "$ac_path_EGREP" || continue
5325 # Check for GNU ac_path_EGREP and select it if it is found.
5326 # Check for GNU $ac_path_EGREP
5327 case `"$ac_path_EGREP" --version 2>&1` in
5329 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5332 $as_echo_n 0123456789 >"conftest.
in"
5335 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5336 mv "conftest.tmp
" "conftest.
in"
5337 cp "conftest.
in" "conftest.
nl"
5338 $as_echo 'EGREP' >> "conftest.
nl"
5339 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5340 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5341 as_fn_arith $ac_count + 1 && ac_count=$as_val
5342 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5343 # Best one so far, save it but keep looking for a better one
5344 ac_cv_path_EGREP="$ac_path_EGREP"
5345 ac_path_EGREP_max=$ac_count
5347 # 10*(2^10) chars as input seems more than enough
5348 test $ac_count -gt 10 && break
5350 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5353 $ac_path_EGREP_found && break 3
5358 if test -z "$ac_cv_path_EGREP"; then
5359 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5362 ac_cv_path_EGREP=$EGREP
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5368 $as_echo "$ac_cv_path_EGREP" >&6; }
5369 EGREP="$ac_cv_path_EGREP"
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5373 $as_echo_n "checking
for fgrep...
" >&6; }
5374 if ${ac_cv_path_FGREP+:} false; then :
5375 $as_echo_n "(cached
) " >&6
5377 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5378 then ac_cv_path_FGREP="$GREP -F"
5380 if test -z "$FGREP"; then
5381 ac_path_FGREP_found=false
5382 # Loop through the user's path and test for each of PROGNAME-LIST
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5387 test -z "$as_dir" && as_dir=.
5388 for ac_prog in fgrep; do
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5391 as_fn_executable_p "$ac_path_FGREP" || continue
5392 # Check for GNU ac_path_FGREP and select it if it is found.
5393 # Check for GNU $ac_path_FGREP
5394 case `"$ac_path_FGREP" --version 2>&1` in
5396 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5399 $as_echo_n 0123456789 >"conftest.
in"
5402 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5403 mv "conftest.tmp
" "conftest.
in"
5404 cp "conftest.
in" "conftest.
nl"
5405 $as_echo 'FGREP' >> "conftest.
nl"
5406 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5407 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5408 as_fn_arith $ac_count + 1 && ac_count=$as_val
5409 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5410 # Best one so far, save it but keep looking for a better one
5411 ac_cv_path_FGREP="$ac_path_FGREP"
5412 ac_path_FGREP_max=$ac_count
5414 # 10*(2^10) chars as input seems more than enough
5415 test $ac_count -gt 10 && break
5417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5420 $ac_path_FGREP_found && break 3
5425 if test -z "$ac_cv_path_FGREP"; then
5426 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5429 ac_cv_path_FGREP=$FGREP
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5435 $as_echo "$ac_cv_path_FGREP" >&6; }
5436 FGREP="$ac_cv_path_FGREP"
5439 test -z "$GREP" && GREP=grep
5459 # Check whether --with-gnu-ld was given.
5460 if test "${with_gnu_ld+set}" = set; then :
5461 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5467 if test "$GCC" = yes; then
5468 # Check if gcc -print-prog-name=ld gives a path.
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5470 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5473 # gcc leaves a trailing carriage return which upsets mingw
5474 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5476 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5479 # Accept absolute paths.
5481 re_direlt='/[^/][^/]*/\.\./'
5482 # Canonicalize the pathname of ld
5483 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5484 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5485 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5487 test -z "$LD" && LD="$ac_prog"
5490 # If it fails, then pretend we aren't using GCC.
5494 # If it is relative, then search for the first ld in PATH.
5498 elif test "$with_gnu_ld" = yes; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5500 $as_echo_n "checking
for GNU ld...
" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5503 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5505 if ${lt_cv_path_LD+:} false; then :
5506 $as_echo_n "(cached
) " >&6
5508 if test -z "$LD"; then
5509 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5510 for ac_dir in $PATH; do
5512 test -z "$ac_dir" && ac_dir=.
5513 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5514 lt_cv_path_LD="$ac_dir/$ac_prog"
5515 # Check to see if the program is GNU ld. I'd rather use --version,
5516 # but apparently some variants of GNU ld only accept -v.
5517 # Break only if it was the GNU/non-GNU ld that we prefer.
5518 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5519 *GNU* | *'with BFD'*)
5520 test "$with_gnu_ld" != no && break
5523 test "$with_gnu_ld" != yes && break
5530 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5535 if test -n "$LD"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5537 $as_echo "$LD" >&6; }
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5540 $as_echo "no
" >&6; }
5542 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5544 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5545 if ${lt_cv_prog_gnu_ld+:} false; then :
5546 $as_echo_n "(cached
) " >&6
5548 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5549 case `$LD -v 2>&1 </dev/null` in
5550 *GNU* | *'with BFD'*)
5551 lt_cv_prog_gnu_ld=yes
5554 lt_cv_prog_gnu_ld=no
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5559 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5560 with_gnu_ld=$lt_cv_prog_gnu_ld
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5571 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5572 if ${lt_cv_path_NM+:} false; then :
5573 $as_echo_n "(cached
) " >&6
5575 if test -n "$NM"; then
5576 # Let the user override the test.
5579 lt_nm_to_check="${ac_tool_prefix}nm
"
5580 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5581 lt_nm_to_check="$lt_nm_to_check nm
"
5583 for lt_tmp_nm in $lt_nm_to_check; do
5584 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5585 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5587 test -z "$ac_dir" && ac_dir=.
5588 tmp_nm="$ac_dir/$lt_tmp_nm"
5589 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5590 # Check to see if the nm accepts a BSD-compat flag.
5591 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5592 # nm: unknown option "B
" ignored
5593 # Tru64's nm complains that /dev/null is an invalid object file
5594 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5595 */dev/null* | *'Invalid file or object type'*)
5596 lt_cv_path_NM="$tmp_nm -B"
5600 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5602 lt_cv_path_NM="$tmp_nm -p"
5606 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5607 continue # so that we can try to find one that supports BSD flags
5616 : ${lt_cv_path_NM=no}
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5620 $as_echo "$lt_cv_path_NM" >&6; }
5621 if test "$lt_cv_path_NM" != "no
"; then
5624 # Didn't find any BSD compatible name lister, look for dumpbin.
5625 if test -n "$DUMPBIN"; then :
5626 # Let the user override the test.
5628 if test -n "$ac_tool_prefix"; then
5629 for ac_prog in dumpbin "link
-dump"
5631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5632 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5634 $as_echo_n "checking
for $ac_word...
" >&6; }
5635 if ${ac_cv_prog_DUMPBIN+:} false; then :
5636 $as_echo_n "(cached
) " >&6
5638 if test -n "$DUMPBIN"; then
5639 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 test -z "$as_dir" && as_dir=.
5646 for ac_exec_ext in '' $ac_executable_extensions; do
5647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5648 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5658 DUMPBIN=$ac_cv_prog_DUMPBIN
5659 if test -n "$DUMPBIN"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5661 $as_echo "$DUMPBIN" >&6; }
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5664 $as_echo "no
" >&6; }
5668 test -n "$DUMPBIN" && break
5671 if test -z "$DUMPBIN"; then
5672 ac_ct_DUMPBIN=$DUMPBIN
5673 for ac_prog in dumpbin "link
-dump"
5675 # Extract the first word of "$ac_prog", so it can be a program name with args.
5676 set dummy $ac_prog; ac_word=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5678 $as_echo_n "checking
for $ac_word...
" >&6; }
5679 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5680 $as_echo_n "(cached
) " >&6
5682 if test -n "$ac_ct_DUMPBIN"; then
5683 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir=.
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5702 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5703 if test -n "$ac_ct_DUMPBIN"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5705 $as_echo "$ac_ct_DUMPBIN" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5708 $as_echo "no
" >&6; }
5712 test -n "$ac_ct_DUMPBIN" && break
5715 if test "x
$ac_ct_DUMPBIN" = x; then
5718 case $cross_compiling:$ac_tool_warned in
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5721 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5722 ac_tool_warned=yes ;;
5724 DUMPBIN=$ac_ct_DUMPBIN
5728 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5730 DUMPBIN="$DUMPBIN -symbols"
5738 if test "$DUMPBIN" != ":"; then
5742 test -z "$NM" && NM=nm
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5750 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5751 if ${lt_cv_nm_interface+:} false; then :
5752 $as_echo_n "(cached
) " >&6
5754 lt_cv_nm_interface="BSD nm
"
5755 echo "int some_variable
= 0;" > conftest.$ac_ext
5756 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5757 (eval "$ac_compile" 2>conftest.err)
5758 cat conftest.err >&5
5759 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5760 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5761 cat conftest.err >&5
5762 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5763 cat conftest.out >&5
5764 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5765 lt_cv_nm_interface="MS dumpbin
"
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5770 $as_echo "$lt_cv_nm_interface" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5773 $as_echo_n "checking whether
ln -s works...
" >&6; }
5775 if test "$LN_S" = "ln -s"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5777 $as_echo "yes" >&6; }
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5780 $as_echo "no
, using
$LN_S" >&6; }
5783 # find the maximum length of command line arguments
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5785 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5786 if ${lt_cv_sys_max_cmd_len+:} false; then :
5787 $as_echo_n "(cached
) " >&6
5794 # On DJGPP, this test can blow up pretty badly due to problems in libc
5795 # (any single argument exceeding 2000 bytes causes a buffer overrun
5796 # during glob expansion). Even if it were fixed, the result of this
5797 # check would be larger than it should be.
5798 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5802 # Under GNU Hurd, this test is not required because there is
5803 # no limit to the length of command line arguments.
5804 # Libtool will interpret -1 as no limit whatsoever
5805 lt_cv_sys_max_cmd_len=-1;
5808 cygwin* | mingw* | cegcc*)
5809 # On Win9x/ME, this test blows up -- it succeeds, but takes
5810 # about 5 minutes as the teststring grows exponentially.
5811 # Worse, since 9x/ME are not pre-emptively multitasking,
5812 # you end up with a "frozen
" computer, even though with patience
5813 # the test eventually succeeds (with a max line length of 256k).
5814 # Instead, let's just punt: use the minimum linelength reported by
5815 # all of the supported platforms: 8192 (on NT/2K/XP).
5816 lt_cv_sys_max_cmd_len=8192;
5820 # On MiNT this can take a long time and run out of memory.
5821 lt_cv_sys_max_cmd_len=8192;
5825 # On AmigaOS with pdksh, this test takes hours, literally.
5826 # So we just punt and use a minimum line length of 8192.
5827 lt_cv_sys_max_cmd_len=8192;
5830 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5831 # This has been around since 386BSD, at least. Likely further.
5832 if test -x /sbin/sysctl; then
5833 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5834 elif test -x /usr/sbin/sysctl; then
5835 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5837 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5839 # And add a safety zone
5840 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5841 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5845 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5846 lt_cv_sys_max_cmd_len=196608
5850 # The test takes a long time on OS/2.
5851 lt_cv_sys_max_cmd_len=8192
5855 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5856 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5857 # nice to cause kernel panics so lets avoid the loop below.
5858 # First set a reasonable default.
5859 lt_cv_sys_max_cmd_len=16384
5861 if test -x /sbin/sysconfig; then
5862 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5863 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5868 lt_cv_sys_max_cmd_len=102400
5870 sysv5* | sco5v6* | sysv4.2uw2*)
5871 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5872 if test -n "$kargmax"; then
5873 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5875 lt_cv_sys_max_cmd_len=32768
5879 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5880 if test -n "$lt_cv_sys_max_cmd_len"; then
5881 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5882 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5884 # Make teststring a little bigger before we do anything with it.
5885 # a 1K string should be a reasonable start.
5886 for i in 1 2 3 4 5 6 7 8 ; do
5887 teststring=$teststring$teststring
5889 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5890 # If test is not a shell built-in, we'll probably end up computing a
5891 # maximum length that is only half of the actual maximum length, but
5893 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5894 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5895 test $i != 17 # 1/2 MB should be enough
5898 teststring=$teststring$teststring
5900 # Only check the string length outside the loop.
5901 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5903 # Add a significant safety factor because C++ compilers can tack on
5904 # massive amounts of additional arguments before passing them to the
5905 # linker. It appears as though 1/2 is a usable value.
5906 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5913 if test -n $lt_cv_sys_max_cmd_len ; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5915 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5918 $as_echo "none
" >&6; }
5920 max_cmd_len=$lt_cv_sys_max_cmd_len
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5932 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5933 # Try some XSI features
5936 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5938 && eval 'test $(( 1 + 1 )) -eq 2 \
5939 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5942 $as_echo "$xsi_shell" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5946 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5948 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5950 && lt_shell_append=yes
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5952 $as_echo "$lt_shell_append" >&6; }
5955 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5965 # test EBCDIC or ASCII
5966 case `echo X|tr X '\101'` in
5967 A) # ASCII based system
5968 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5969 lt_SP2NL='tr \040 \012'
5970 lt_NL2SP='tr \015\012 \040\040'
5972 *) # EBCDIC based system
5973 lt_SP2NL='tr \100 \n'
5974 lt_NL2SP='tr \r\n \100\100'
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5987 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5988 if ${lt_cv_to_host_file_cmd+:} false; then :
5989 $as_echo_n "(cached
) " >&6
5994 *-*-mingw* ) # actually msys
5995 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5998 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6000 * ) # otherwise, assume *nix
6001 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6007 *-*-mingw* ) # actually msys
6008 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6011 lt_cv_to_host_file_cmd=func_convert_file_noop
6013 * ) # otherwise, assume *nix
6014 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6018 * ) # unhandled hosts (and "normal
" native builds)
6019 lt_cv_to_host_file_cmd=func_convert_file_noop
6025 to_host_file_cmd=$lt_cv_to_host_file_cmd
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6027 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6034 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6035 if ${lt_cv_to_tool_file_cmd+:} false; then :
6036 $as_echo_n "(cached
) " >&6
6038 #assume ordinary cross tools, or native build.
6039 lt_cv_to_tool_file_cmd=func_convert_file_noop
6043 *-*-mingw* ) # actually msys
6044 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6052 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6054 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6061 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6062 if ${lt_cv_ld_reload_flag+:} false; then :
6063 $as_echo_n "(cached
) " >&6
6065 lt_cv_ld_reload_flag='-r'
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6068 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6069 reload_flag=$lt_cv_ld_reload_flag
6070 case $reload_flag in
6072 *) reload_flag=" $reload_flag" ;;
6074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6076 cygwin* | mingw* | pw32* | cegcc*)
6077 if test "$GCC" != yes; then
6082 if test "$GCC" = yes; then
6083 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6098 if test -n "$ac_tool_prefix"; then
6099 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6100 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6102 $as_echo_n "checking
for $ac_word...
" >&6; }
6103 if ${ac_cv_prog_OBJDUMP+:} false; then :
6104 $as_echo_n "(cached
) " >&6
6106 if test -n "$OBJDUMP"; then
6107 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6126 OBJDUMP=$ac_cv_prog_OBJDUMP
6127 if test -n "$OBJDUMP"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6129 $as_echo "$OBJDUMP" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6132 $as_echo "no
" >&6; }
6137 if test -z "$ac_cv_prog_OBJDUMP"; then
6138 ac_ct_OBJDUMP=$OBJDUMP
6139 # Extract the first word of "objdump
", so it can be a program name with args.
6140 set dummy objdump; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6142 $as_echo_n "checking
for $ac_word...
" >&6; }
6143 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6144 $as_echo_n "(cached
) " >&6
6146 if test -n "$ac_ct_OBJDUMP"; then
6147 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6166 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6167 if test -n "$ac_ct_OBJDUMP"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6169 $as_echo "$ac_ct_OBJDUMP" >&6; }
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6172 $as_echo "no
" >&6; }
6175 if test "x
$ac_ct_OBJDUMP" = x; then
6178 case $cross_compiling:$ac_tool_warned in
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6181 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6182 ac_tool_warned=yes ;;
6184 OBJDUMP=$ac_ct_OBJDUMP
6187 OBJDUMP="$ac_cv_prog_OBJDUMP"
6190 test -z "$OBJDUMP" && OBJDUMP=objdump
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6201 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6202 if ${lt_cv_deplibs_check_method+:} false; then :
6203 $as_echo_n "(cached
) " >&6
6205 lt_cv_file_magic_cmd='$MAGIC_CMD'
6206 lt_cv_file_magic_test_file=
6207 lt_cv_deplibs_check_method='unknown'
6208 # Need to set the preceding variable on all platforms that support
6209 # interlibrary dependencies.
6210 # 'none' -- dependencies not supported.
6211 # `unknown' -- same as none, but documents that we really don't know.
6212 # 'pass_all' -- all dependencies passed with no checks.
6213 # 'test_compile' -- check by making test program.
6214 # 'file_magic [[regex]]' -- check by looking for files in library path
6215 # which responds to the $file_magic_cmd with a given extended regex.
6216 # If you have `file' or equivalent on your system and you're not sure
6217 # whether `pass_all' will *always* work, you probably want this one.
6221 lt_cv_deplibs_check_method=pass_all
6225 lt_cv_deplibs_check_method=pass_all
6229 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6230 lt_cv_file_magic_cmd='/usr/bin/file -L'
6231 lt_cv_file_magic_test_file=/shlib/libc.so
6235 # func_win32_libid is a shell function defined in ltmain.sh
6236 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6237 lt_cv_file_magic_cmd='func_win32_libid'
6241 # Base MSYS/MinGW do not provide the 'file' command needed by
6242 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6243 # unless we find 'file', for example because we are cross-compiling.
6244 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6245 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6246 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6247 lt_cv_file_magic_cmd='func_win32_libid'
6249 # Keep this pattern in sync with the one in func_win32_libid.
6250 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6251 lt_cv_file_magic_cmd='$OBJDUMP -f'
6256 # use the weaker test based on 'objdump'. See mingw*.
6257 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6258 lt_cv_file_magic_cmd='$OBJDUMP -f'
6261 darwin* | rhapsody*)
6262 lt_cv_deplibs_check_method=pass_all
6265 freebsd* | dragonfly*)
6266 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6269 # Not sure whether the presence of OpenBSD here was a mistake.
6270 # Let's accept both of them until this is cleared up.
6271 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6272 lt_cv_file_magic_cmd=/usr/bin/file
6273 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6277 lt_cv_deplibs_check_method=pass_all
6282 lt_cv_deplibs_check_method=pass_all
6286 lt_cv_deplibs_check_method=pass_all
6289 hpux10.20* | hpux11*)
6290 lt_cv_file_magic_cmd=/usr/bin/file
6293 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6294 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6297 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]'
6298 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6301 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6302 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6308 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6312 irix5* | irix6* | nonstopux*)
6314 *-32|*"-32 ") libmagic=32-bit;;
6315 *-n32|*"-n32 ") libmagic=N32;;
6316 *-64|*"-64 ") libmagic=64-bit;;
6317 *) libmagic=never-match;;
6319 lt_cv_deplibs_check_method=pass_all
6322 # This must be glibc/ELF.
6323 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6324 lt_cv_deplibs_check_method=pass_all
6328 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6329 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6336 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6337 lt_cv_file_magic_cmd=/usr/bin/file
6338 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6342 lt_cv_deplibs_check_method=pass_all
6346 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6347 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6349 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6353 osf3* | osf4* | osf5*)
6354 lt_cv_deplibs_check_method=pass_all
6358 lt_cv_deplibs_check_method=pass_all
6362 lt_cv_deplibs_check_method=pass_all
6365 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6366 lt_cv_deplibs_check_method=pass_all
6370 case $host_vendor in
6372 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]'
6373 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6376 lt_cv_deplibs_check_method=pass_all
6379 lt_cv_file_magic_cmd='/bin/file'
6380 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6383 lt_cv_file_magic_cmd='/bin/file'
6384 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6385 lt_cv_file_magic_test_file=/lib/libc.so
6388 lt_cv_deplibs_check_method=pass_all
6391 lt_cv_deplibs_check_method=pass_all
6397 lt_cv_deplibs_check_method=pass_all
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6403 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6407 if test "$build" = "$host"; then
6410 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6413 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6419 file_magic_cmd=$lt_cv_file_magic_cmd
6420 deplibs_check_method=$lt_cv_deplibs_check_method
6421 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6444 if test -n "$ac_tool_prefix"; then
6445 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6446 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6448 $as_echo_n "checking
for $ac_word...
" >&6; }
6449 if ${ac_cv_prog_DLLTOOL+:} false; then :
6450 $as_echo_n "(cached
) " >&6
6452 if test -n "$DLLTOOL"; then
6453 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6462 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6472 DLLTOOL=$ac_cv_prog_DLLTOOL
6473 if test -n "$DLLTOOL"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6475 $as_echo "$DLLTOOL" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6478 $as_echo "no
" >&6; }
6483 if test -z "$ac_cv_prog_DLLTOOL"; then
6484 ac_ct_DLLTOOL=$DLLTOOL
6485 # Extract the first word of "dlltool
", so it can be a program name with args.
6486 set dummy dlltool; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6488 $as_echo_n "checking
for $ac_word...
" >&6; }
6489 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6490 $as_echo_n "(cached
) " >&6
6492 if test -n "$ac_ct_DLLTOOL"; then
6493 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6502 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6512 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6513 if test -n "$ac_ct_DLLTOOL"; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6515 $as_echo "$ac_ct_DLLTOOL" >&6; }
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6518 $as_echo "no
" >&6; }
6521 if test "x
$ac_ct_DLLTOOL" = x; then
6524 case $cross_compiling:$ac_tool_warned in
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6527 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6528 ac_tool_warned=yes ;;
6530 DLLTOOL=$ac_ct_DLLTOOL
6533 DLLTOOL="$ac_cv_prog_DLLTOOL"
6536 test -z "$DLLTOOL" && DLLTOOL=dlltool
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6548 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6549 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6550 $as_echo_n "(cached
) " >&6
6552 lt_cv_sharedlib_from_linklib_cmd='unknown'
6555 cygwin* | mingw* | pw32* | cegcc*)
6556 # two different shell functions defined in ltmain.sh
6557 # decide which to use based on capabilities of $DLLTOOL
6558 case `$DLLTOOL --help 2>&1` in
6559 *--identify-strict*)
6560 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6563 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6568 # fallback: assume linklib IS sharedlib
6569 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6575 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6576 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6577 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6585 if test -n "$ac_tool_prefix"; then
6588 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6589 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6591 $as_echo_n "checking
for $ac_word...
" >&6; }
6592 if ${ac_cv_prog_AR+:} false; then :
6593 $as_echo_n "(cached
) " >&6
6595 if test -n "$AR"; then
6596 ac_cv_prog_AR="$AR" # Let the user override the test.
6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6602 test -z "$as_dir" && as_dir=.
6603 for ac_exec_ext in '' $ac_executable_extensions; do
6604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6605 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6616 if test -n "$AR"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6618 $as_echo "$AR" >&6; }
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6621 $as_echo "no
" >&6; }
6625 test -n "$AR" && break
6628 if test -z "$AR"; then
6632 # Extract the first word of "$ac_prog", so it can be a program name with args.
6633 set dummy $ac_prog; ac_word=$2
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6635 $as_echo_n "checking
for $ac_word...
" >&6; }
6636 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6637 $as_echo_n "(cached
) " >&6
6639 if test -n "$ac_ct_AR"; then
6640 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6646 test -z "$as_dir" && as_dir=.
6647 for ac_exec_ext in '' $ac_executable_extensions; do
6648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6649 ac_cv_prog_ac_ct_AR="$ac_prog"
6650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6659 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6660 if test -n "$ac_ct_AR"; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6662 $as_echo "$ac_ct_AR" >&6; }
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6665 $as_echo "no
" >&6; }
6669 test -n "$ac_ct_AR" && break
6672 if test "x
$ac_ct_AR" = x; then
6675 case $cross_compiling:$ac_tool_warned in
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6678 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6679 ac_tool_warned=yes ;;
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6699 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6700 if ${lt_cv_ar_at_file+:} false; then :
6701 $as_echo_n "(cached
) " >&6
6704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6715 if ac_fn_c_try_compile "$LINENO"; then :
6716 echo conftest.$ac_objext > conftest.lst
6717 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6718 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6719 (eval $lt_ar_try) 2>&5
6721 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6722 test $ac_status = 0; }
6723 if test "$ac_status" -eq 0; then
6724 # Ensure the archiver fails upon bogus file names.
6725 rm -f conftest.$ac_objext libconftest.a
6726 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6727 (eval $lt_ar_try) 2>&5
6729 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6730 test $ac_status = 0; }
6731 if test "$ac_status" -ne 0; then
6735 rm -f conftest.* libconftest.a
6738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6742 $as_echo "$lt_cv_ar_at_file" >&6; }
6744 if test "x
$lt_cv_ar_at_file" = xno; then
6747 archiver_list_spec=$lt_cv_ar_at_file
6756 if test -n "$ac_tool_prefix"; then
6757 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6758 set dummy ${ac_tool_prefix}strip; ac_word=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6760 $as_echo_n "checking
for $ac_word...
" >&6; }
6761 if ${ac_cv_prog_STRIP+:} false; then :
6762 $as_echo_n "(cached
) " >&6
6764 if test -n "$STRIP"; then
6765 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir=.
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6784 STRIP=$ac_cv_prog_STRIP
6785 if test -n "$STRIP"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6787 $as_echo "$STRIP" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6790 $as_echo "no
" >&6; }
6795 if test -z "$ac_cv_prog_STRIP"; then
6797 # Extract the first word of "strip
", so it can be a program name with args.
6798 set dummy strip; ac_word=$2
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6800 $as_echo_n "checking
for $ac_word...
" >&6; }
6801 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6802 $as_echo_n "(cached
) " >&6
6804 if test -n "$ac_ct_STRIP"; then
6805 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 test -z "$as_dir" && as_dir=.
6812 for ac_exec_ext in '' $ac_executable_extensions; do
6813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6814 ac_cv_prog_ac_ct_STRIP="strip
"
6815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6824 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6825 if test -n "$ac_ct_STRIP"; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6827 $as_echo "$ac_ct_STRIP" >&6; }
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6830 $as_echo "no
" >&6; }
6833 if test "x
$ac_ct_STRIP" = x; then
6836 case $cross_compiling:$ac_tool_warned in
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6839 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6840 ac_tool_warned=yes ;;
6845 STRIP="$ac_cv_prog_STRIP"
6848 test -z "$STRIP" && STRIP=:
6855 if test -n "$ac_tool_prefix"; then
6856 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6857 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6859 $as_echo_n "checking
for $ac_word...
" >&6; }
6860 if ${ac_cv_prog_RANLIB+:} false; then :
6861 $as_echo_n "(cached
) " >&6
6863 if test -n "$RANLIB"; then
6864 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6870 test -z "$as_dir" && as_dir=.
6871 for ac_exec_ext in '' $ac_executable_extensions; do
6872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6873 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6874 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6883 RANLIB=$ac_cv_prog_RANLIB
6884 if test -n "$RANLIB"; then
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6886 $as_echo "$RANLIB" >&6; }
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6889 $as_echo "no
" >&6; }
6894 if test -z "$ac_cv_prog_RANLIB"; then
6895 ac_ct_RANLIB=$RANLIB
6896 # Extract the first word of "ranlib
", so it can be a program name with args.
6897 set dummy ranlib; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6899 $as_echo_n "checking
for $ac_word...
" >&6; }
6900 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6901 $as_echo_n "(cached
) " >&6
6903 if test -n "$ac_ct_RANLIB"; then
6904 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910 test -z "$as_dir" && as_dir=.
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6913 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6923 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6924 if test -n "$ac_ct_RANLIB"; then
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6926 $as_echo "$ac_ct_RANLIB" >&6; }
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6929 $as_echo "no
" >&6; }
6932 if test "x
$ac_ct_RANLIB" = x; then
6935 case $cross_compiling:$ac_tool_warned in
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6938 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6939 ac_tool_warned=yes ;;
6941 RANLIB=$ac_ct_RANLIB
6944 RANLIB="$ac_cv_prog_RANLIB"
6947 test -z "$RANLIB" && RANLIB=:
6954 # Determine commands to create old-style static archives.
6955 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6956 old_postinstall_cmds='chmod 644 $oldlib'
6957 old_postuninstall_cmds=
6959 if test -n "$RANLIB"; then
6962 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6965 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6968 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6973 lock_old_archive_extraction=yes ;;
6975 lock_old_archive_extraction=no ;;
7016 # If no C compiler was specified, use CC.
7019 # If no C compiler flags were specified, use CFLAGS.
7020 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7022 # Allow CC to be a program name with arguments.
7026 # Check for command to grab the raw symbol name followed by C symbol from nm.
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7028 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7029 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7030 $as_echo_n "(cached
) " >&6
7033 # These are sane defaults that work on at least a few old systems.
7034 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7036 # Character class describing NM global symbol codes.
7037 symcode='[BCDEGRST]'
7039 # Regexp to match symbols that can be accessed directly from C.
7040 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7042 # Define system-specific variables.
7047 cygwin* | mingw* | pw32* | cegcc*)
7048 symcode='[ABCDGISTW]'
7051 if test "$host_cpu" = ia64; then
7052 symcode='[ABCDEGRST]'
7056 symcode='[BCDEGRST]'
7059 symcode='[BCDEGQRST]'
7070 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7078 # If we're using GNU nm, then use its standard symbol codes.
7079 case `$NM -V 2>&1` in
7080 *GNU* | *'with BFD'*)
7081 symcode='[ABCDGIRSTW]' ;;
7084 # Transform an extracted symbol line into a proper C declaration.
7085 # Some systems (esp. on ia64) link data and code symbols differently,
7086 # so use this general approach.
7087 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7089 # Transform an extracted symbol line into symbol name and symbol address
7090 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7091 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'"
7093 # Handle CRLF in mingw tool chain
7097 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7101 # Try without a prefix underscore, then with it.
7102 for ac_symprfx in "" "_
"; do
7104 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7105 symxfrm="\\1 $ac_symprfx\\2 \\2"
7107 # Write the raw and C identifiers.
7108 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7109 # Fake it for dumpbin and say T for any non-static function
7110 # and D for any global variable.
7111 # Also find C++ and __fastcall symbols from MSVC++,
7112 # which start with @ or ?.
7113 lt_cv_sys_global_symbol_pipe="$AWK '"\
7114 " {last_section=section; section=\$ 3};"\
7115 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7116 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7117 " \$ 0!~/External *\|/{next};"\
7118 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7119 " {if(hide[section]) next};"\
7120 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7121 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7122 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7123 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7124 " ' prfx
=^
$ac_symprfx"
7126 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7128 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7130 # Check to see that the pipe works correctly.
7134 cat > conftest.$ac_ext <<_LT_EOF
7139 void nm_test_func(void);
7140 void nm_test_func(void){}
7144 int main(){nm_test_var='a';nm_test_func();return(0);}
7147 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7148 (eval $ac_compile) 2>&5
7150 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7151 test $ac_status = 0; }; then
7152 # Now try to grab the symbols.
7154 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7155 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7157 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7158 test $ac_status = 0; } && test -s "$nlist"; then
7159 # Try sorting and uniquifying the output.
7160 if sort "$nlist" | uniq > "$nlist"T; then
7161 mv -f "$nlist"T "$nlist"
7166 # Make sure that we snagged all the symbols we need.
7167 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7168 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7169 cat <<_LT_EOF > conftest.$ac_ext
7170 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7171 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7172 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7173 relocations are performed -- see ld's documentation on pseudo-relocs. */
7174 # define LT_DLSYM_CONST
7175 #elif defined(__osf__)
7176 /* This system does not cope well with relocations in const data. */
7177 # define LT_DLSYM_CONST
7179 # define LT_DLSYM_CONST const
7187 # Now generate the symbol file.
7188 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7190 cat <<_LT_EOF >> conftest.$ac_ext
7192 /* The mapping between symbol names and symbols. */
7193 LT_DLSYM_CONST struct {
7197 lt__PROGRAM__LTX_preloaded_symbols[] =
7199 { "@PROGRAM@
", (void *) 0 },
7201 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7202 cat <<\_LT_EOF >> conftest.$ac_ext
7206 /* This works around a problem in FreeBSD linker */
7207 #ifdef FREEBSD_WORKAROUND
7208 static const void *lt_preloaded_setup() {
7209 return lt__PROGRAM__LTX_preloaded_symbols;
7217 # Now try linking the two files.
7218 mv conftest.$ac_objext conftstm.$ac_objext
7219 lt_globsym_save_LIBS=$LIBS
7220 lt_globsym_save_CFLAGS=$CFLAGS
7221 LIBS="conftstm.
$ac_objext"
7222 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7223 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7224 (eval $ac_link) 2>&5
7226 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7227 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7230 LIBS=$lt_globsym_save_LIBS
7231 CFLAGS=$lt_globsym_save_CFLAGS
7233 echo "cannot
find nm_test_func
in $nlist" >&5
7236 echo "cannot
find nm_test_var
in $nlist" >&5
7239 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7242 echo "$progname: failed program was
:" >&5
7243 cat conftest.$ac_ext >&5
7245 rm -rf conftest* conftst*
7247 # Do not use the global_symbol_pipe unless it works.
7248 if test "$pipe_works" = yes; then
7251 lt_cv_sys_global_symbol_pipe=
7257 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7258 lt_cv_sys_global_symbol_to_cdecl=
7260 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7262 $as_echo "failed
" >&6; }
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7265 $as_echo "ok
" >&6; }
7268 # Response file support.
7269 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7270 nm_file_list_spec='@'
7271 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7272 nm_file_list_spec='@'
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7302 $as_echo_n "checking
for sysroot...
" >&6; }
7304 # Check whether --with-sysroot was given.
7305 if test "${with_sysroot+set}" = set; then :
7306 withval=$with_sysroot;
7313 case ${with_sysroot} in #(
7315 if test "$GCC" = yes; then
7316 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7320 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
7326 $as_echo "${with_sysroot}" >&6; }
7327 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7332 $as_echo "${lt_sysroot:-no}" >&6; }
7338 # Check whether --enable-libtool-lock was given.
7339 if test "${enable_libtool_lock+set}" = set; then :
7340 enableval=$enable_libtool_lock;
7343 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7345 # Some flags need to be propagated to the compiler or linker for good
7349 # Find out which ABI we are using.
7350 echo 'int i;' > conftest.$ac_ext
7351 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7352 (eval $ac_compile) 2>&5
7354 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7355 test $ac_status = 0; }; then
7356 case `/usr/bin/file conftest.$ac_objext` in
7368 # Find out which ABI we are using.
7369 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7370 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7371 (eval $ac_compile) 2>&5
7373 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7374 test $ac_status = 0; }; then
7375 if test "$lt_cv_prog_gnu_ld" = yes; then
7376 case `/usr/bin/file conftest.$ac_objext` in
7378 LD="${LD-ld} -melf32bsmip"
7381 LD="${LD-ld} -melf32bmipn32"
7384 LD="${LD-ld} -melf64bmip"
7388 case `/usr/bin/file conftest.$ac_objext` in
7404 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7405 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7406 # Find out which ABI we are using.
7407 echo 'int i;' > conftest.$ac_ext
7408 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7409 (eval $ac_compile) 2>&5
7411 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7412 test $ac_status = 0; }; then
7413 case `/usr/bin/file conftest.o` in
7416 x86_64-*kfreebsd*-gnu)
7417 LD="${LD-ld} -m elf_i386_fbsd
"
7420 LD="${LD-ld} -m elf_i386
"
7422 ppc64-*linux*|powerpc64-*linux*)
7423 LD="${LD-ld} -m elf32ppclinux
"
7426 LD="${LD-ld} -m elf_s390
"
7429 LD="${LD-ld} -m elf32_sparc
"
7435 x86_64-*kfreebsd*-gnu)
7436 LD="${LD-ld} -m elf_x86_64_fbsd
"
7439 LD="${LD-ld} -m elf_x86_64
"
7441 ppc*-*linux*|powerpc*-*linux*)
7442 LD="${LD-ld} -m elf64ppc
"
7444 s390*-*linux*|s390*-*tpf*)
7445 LD="${LD-ld} -m elf64_s390
"
7448 LD="${LD-ld} -m elf64_sparc
"
7458 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7459 SAVE_CFLAGS="$CFLAGS"
7460 CFLAGS="$CFLAGS -belf"
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7462 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7463 if ${lt_cv_cc_needs_belf+:} false; then :
7464 $as_echo_n "(cached
) " >&6
7467 ac_cpp='$CPP $CPPFLAGS'
7468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7473 /* end confdefs.h. */
7483 if ac_fn_c_try_link "$LINENO"; then :
7484 lt_cv_cc_needs_belf=yes
7486 lt_cv_cc_needs_belf=no
7488 rm -f core conftest.err conftest.$ac_objext \
7489 conftest$ac_exeext conftest.$ac_ext
7491 ac_cpp='$CPP $CPPFLAGS'
7492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7498 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7499 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7500 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7501 CFLAGS="$SAVE_CFLAGS"
7505 # Find out which ABI we are using.
7506 echo 'int i;' > conftest.$ac_ext
7507 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7508 (eval $ac_compile) 2>&5
7510 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7511 test $ac_status = 0; }; then
7512 case `/usr/bin/file conftest.o` in
7514 case $lt_cv_prog_gnu_ld in
7518 LD="${LD-ld} -m elf_x86_64
"
7521 LD="${LD-ld} -m elf64_sparc
"
7524 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7525 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7530 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7542 need_locks="$enable_libtool_lock"
7544 if test -n "$ac_tool_prefix"; then
7545 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7546 set dummy ${ac_tool_prefix}mt; ac_word=$2
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7548 $as_echo_n "checking
for $ac_word...
" >&6; }
7549 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7550 $as_echo_n "(cached
) " >&6
7552 if test -n "$MANIFEST_TOOL"; then
7553 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 test -z "$as_dir" && as_dir=.
7560 for ac_exec_ext in '' $ac_executable_extensions; do
7561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7572 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7573 if test -n "$MANIFEST_TOOL"; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7575 $as_echo "$MANIFEST_TOOL" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7578 $as_echo "no
" >&6; }
7583 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7584 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7585 # Extract the first word of "mt
", so it can be a program name with args.
7586 set dummy mt; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7588 $as_echo_n "checking
for $ac_word...
" >&6; }
7589 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7590 $as_echo_n "(cached
) " >&6
7592 if test -n "$ac_ct_MANIFEST_TOOL"; then
7593 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7612 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7613 if test -n "$ac_ct_MANIFEST_TOOL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7615 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7618 $as_echo "no
" >&6; }
7621 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7624 case $cross_compiling:$ac_tool_warned in
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7627 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7628 ac_tool_warned=yes ;;
7630 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7633 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7636 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7638 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7639 if ${lt_cv_path_mainfest_tool+:} false; then :
7640 $as_echo_n "(cached
) " >&6
7642 lt_cv_path_mainfest_tool=no
7643 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7644 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7645 cat conftest.err >&5
7646 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7647 lt_cv_path_mainfest_tool=yes
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7652 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7653 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
7663 rhapsody* | darwin*)
7664 if test -n "$ac_tool_prefix"; then
7665 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7666 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7668 $as_echo_n "checking
for $ac_word...
" >&6; }
7669 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7670 $as_echo_n "(cached
) " >&6
7672 if test -n "$DSYMUTIL"; then
7673 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7679 test -z "$as_dir" && as_dir=.
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7682 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7692 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7693 if test -n "$DSYMUTIL"; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7695 $as_echo "$DSYMUTIL" >&6; }
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7698 $as_echo "no
" >&6; }
7703 if test -z "$ac_cv_prog_DSYMUTIL"; then
7704 ac_ct_DSYMUTIL=$DSYMUTIL
7705 # Extract the first word of "dsymutil
", so it can be a program name with args.
7706 set dummy dsymutil; ac_word=$2
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7708 $as_echo_n "checking
for $ac_word...
" >&6; }
7709 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7710 $as_echo_n "(cached
) " >&6
7712 if test -n "$ac_ct_DSYMUTIL"; then
7713 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7719 test -z "$as_dir" && as_dir=.
7720 for ac_exec_ext in '' $ac_executable_extensions; do
7721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7722 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7732 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7733 if test -n "$ac_ct_DSYMUTIL"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7735 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7738 $as_echo "no
" >&6; }
7741 if test "x
$ac_ct_DSYMUTIL" = x; then
7744 case $cross_compiling:$ac_tool_warned in
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7747 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7748 ac_tool_warned=yes ;;
7750 DSYMUTIL=$ac_ct_DSYMUTIL
7753 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7756 if test -n "$ac_tool_prefix"; then
7757 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7758 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7760 $as_echo_n "checking
for $ac_word...
" >&6; }
7761 if ${ac_cv_prog_NMEDIT+:} false; then :
7762 $as_echo_n "(cached
) " >&6
7764 if test -n "$NMEDIT"; then
7765 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7774 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7784 NMEDIT=$ac_cv_prog_NMEDIT
7785 if test -n "$NMEDIT"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7787 $as_echo "$NMEDIT" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7790 $as_echo "no
" >&6; }
7795 if test -z "$ac_cv_prog_NMEDIT"; then
7796 ac_ct_NMEDIT=$NMEDIT
7797 # Extract the first word of "nmedit
", so it can be a program name with args.
7798 set dummy nmedit; ac_word=$2
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7800 $as_echo_n "checking
for $ac_word...
" >&6; }
7801 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7802 $as_echo_n "(cached
) " >&6
7804 if test -n "$ac_ct_NMEDIT"; then
7805 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 test -z "$as_dir" && as_dir=.
7812 for ac_exec_ext in '' $ac_executable_extensions; do
7813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7814 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7824 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7825 if test -n "$ac_ct_NMEDIT"; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7827 $as_echo "$ac_ct_NMEDIT" >&6; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7830 $as_echo "no
" >&6; }
7833 if test "x
$ac_ct_NMEDIT" = x; then
7836 case $cross_compiling:$ac_tool_warned in
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7839 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7840 ac_tool_warned=yes ;;
7842 NMEDIT=$ac_ct_NMEDIT
7845 NMEDIT="$ac_cv_prog_NMEDIT"
7848 if test -n "$ac_tool_prefix"; then
7849 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7850 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7852 $as_echo_n "checking
for $ac_word...
" >&6; }
7853 if ${ac_cv_prog_LIPO+:} false; then :
7854 $as_echo_n "(cached
) " >&6
7856 if test -n "$LIPO"; then
7857 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 test -z "$as_dir" && as_dir=.
7864 for ac_exec_ext in '' $ac_executable_extensions; do
7865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7866 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7876 LIPO=$ac_cv_prog_LIPO
7877 if test -n "$LIPO"; then
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7879 $as_echo "$LIPO" >&6; }
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7882 $as_echo "no
" >&6; }
7887 if test -z "$ac_cv_prog_LIPO"; then
7889 # Extract the first word of "lipo
", so it can be a program name with args.
7890 set dummy lipo; ac_word=$2
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7892 $as_echo_n "checking
for $ac_word...
" >&6; }
7893 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7894 $as_echo_n "(cached
) " >&6
7896 if test -n "$ac_ct_LIPO"; then
7897 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903 test -z "$as_dir" && as_dir=.
7904 for ac_exec_ext in '' $ac_executable_extensions; do
7905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906 ac_cv_prog_ac_ct_LIPO="lipo
"
7907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7916 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7917 if test -n "$ac_ct_LIPO"; then
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7919 $as_echo "$ac_ct_LIPO" >&6; }
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7922 $as_echo "no
" >&6; }
7925 if test "x
$ac_ct_LIPO" = x; then
7928 case $cross_compiling:$ac_tool_warned in
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7931 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7932 ac_tool_warned=yes ;;
7937 LIPO="$ac_cv_prog_LIPO"
7940 if test -n "$ac_tool_prefix"; then
7941 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7942 set dummy ${ac_tool_prefix}otool; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7944 $as_echo_n "checking
for $ac_word...
" >&6; }
7945 if ${ac_cv_prog_OTOOL+:} false; then :
7946 $as_echo_n "(cached
) " >&6
7948 if test -n "$OTOOL"; then
7949 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7968 OTOOL=$ac_cv_prog_OTOOL
7969 if test -n "$OTOOL"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7971 $as_echo "$OTOOL" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7974 $as_echo "no
" >&6; }
7979 if test -z "$ac_cv_prog_OTOOL"; then
7981 # Extract the first word of "otool
", so it can be a program name with args.
7982 set dummy otool; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7984 $as_echo_n "checking
for $ac_word...
" >&6; }
7985 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7986 $as_echo_n "(cached
) " >&6
7988 if test -n "$ac_ct_OTOOL"; then
7989 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_ac_ct_OTOOL="otool
"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8008 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8009 if test -n "$ac_ct_OTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8011 $as_echo "$ac_ct_OTOOL" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8014 $as_echo "no
" >&6; }
8017 if test "x
$ac_ct_OTOOL" = x; then
8020 case $cross_compiling:$ac_tool_warned in
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8023 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8024 ac_tool_warned=yes ;;
8029 OTOOL="$ac_cv_prog_OTOOL"
8032 if test -n "$ac_tool_prefix"; then
8033 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8034 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8036 $as_echo_n "checking
for $ac_word...
" >&6; }
8037 if ${ac_cv_prog_OTOOL64+:} false; then :
8038 $as_echo_n "(cached
) " >&6
8040 if test -n "$OTOOL64"; then
8041 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8060 OTOOL64=$ac_cv_prog_OTOOL64
8061 if test -n "$OTOOL64"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8063 $as_echo "$OTOOL64" >&6; }
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8066 $as_echo "no
" >&6; }
8071 if test -z "$ac_cv_prog_OTOOL64"; then
8072 ac_ct_OTOOL64=$OTOOL64
8073 # Extract the first word of "otool64
", so it can be a program name with args.
8074 set dummy otool64; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8076 $as_echo_n "checking
for $ac_word...
" >&6; }
8077 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8078 $as_echo_n "(cached
) " >&6
8080 if test -n "$ac_ct_OTOOL64"; then
8081 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8100 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8101 if test -n "$ac_ct_OTOOL64"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8103 $as_echo "$ac_ct_OTOOL64" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8106 $as_echo "no
" >&6; }
8109 if test "x
$ac_ct_OTOOL64" = x; then
8112 case $cross_compiling:$ac_tool_warned in
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8115 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8116 ac_tool_warned=yes ;;
8118 OTOOL64=$ac_ct_OTOOL64
8121 OTOOL64="$ac_cv_prog_OTOOL64"
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8151 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8152 if ${lt_cv_apple_cc_single_mod+:} false; then :
8153 $as_echo_n "(cached
) " >&6
8155 lt_cv_apple_cc_single_mod=no
8156 if test -z "${LT_MULTI_MODULE}"; then
8157 # By default we will add the -single_module flag. You can override
8158 # by either setting the environment variable LT_MULTI_MODULE
8159 # non-empty at configure time, or by adding -multi_module to the
8161 rm -rf libconftest.dylib*
8162 echo "int foo
(void
){return 1;}" > conftest.c
8163 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8164 -dynamiclib -Wl,-single_module conftest.c
" >&5
8165 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8166 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8168 # If there is a non-empty error log, and "single_module
"
8169 # appears in it, assume the flag caused a linker warning
8170 if test -s conftest.err && $GREP single_module conftest.err; then
8171 cat conftest.err >&5
8172 # Otherwise, if the output was created with a 0 exit code from
8173 # the compiler, it worked.
8174 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8175 lt_cv_apple_cc_single_mod=yes
8177 cat conftest.err >&5
8179 rm -rf libconftest.dylib*
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8184 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8187 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8188 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8189 $as_echo_n "(cached
) " >&6
8191 lt_cv_ld_exported_symbols_list=no
8192 save_LDFLAGS=$LDFLAGS
8193 echo "_main
" > conftest.sym
8194 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8206 if ac_fn_c_try_link "$LINENO"; then :
8207 lt_cv_ld_exported_symbols_list=yes
8209 lt_cv_ld_exported_symbols_list=no
8211 rm -f core conftest.err conftest.$ac_objext \
8212 conftest$ac_exeext conftest.$ac_ext
8213 LDFLAGS="$save_LDFLAGS"
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8217 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8220 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8221 if ${lt_cv_ld_force_load+:} false; then :
8222 $as_echo_n "(cached
) " >&6
8224 lt_cv_ld_force_load=no
8225 cat > conftest.c << _LT_EOF
8226 int forced_loaded() { return 2;}
8228 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8229 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8230 echo "$AR cru libconftest.a conftest.o
" >&5
8231 $AR cru libconftest.a conftest.o 2>&5
8232 echo "$RANLIB libconftest.a
" >&5
8233 $RANLIB libconftest.a 2>&5
8234 cat > conftest.c << _LT_EOF
8235 int main() { return 0;}
8237 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8238 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8240 if test -s conftest.err && $GREP force_load conftest.err; then
8241 cat conftest.err >&5
8242 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8243 lt_cv_ld_force_load=yes
8245 cat conftest.err >&5
8247 rm -f conftest.err libconftest.a conftest conftest.c
8248 rm -rf conftest.dSYM
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8252 $as_echo "$lt_cv_ld_force_load" >&6; }
8254 rhapsody* | darwin1.[012])
8255 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8257 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8258 darwin*) # darwin 5.x on
8259 # if running on 10.5 or later, the deployment target defaults
8260 # to the OS version, if on x86, and 10.4, the deployment
8261 # target defaults to 10.4. Don't you love it?
8262 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8263 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8264 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8266 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8268 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8272 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8273 _lt_dar_single_mod='$single_module'
8275 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8276 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8278 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8280 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8281 _lt_dsymutil='~$DSYMUTIL $lib || :'
8289 ac_cpp='$CPP $CPPFLAGS'
8290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8294 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8295 # On Suns, sometimes $CPP names a directory.
8296 if test -n "$CPP" && test -d "$CPP"; then
8299 if test -z "$CPP"; then
8300 if ${ac_cv_prog_CPP+:} false; then :
8301 $as_echo_n "(cached
) " >&6
8303 # Double quotes because CPP needs to be expanded
8304 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8307 for ac_c_preproc_warn_flag in '' yes
8309 # Use a header file that comes with gcc, so configuring glibc
8310 # with a fresh cross-compiler works.
8311 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8312 # <limits.h> exists even on freestanding compilers.
8313 # On the NeXT, cc -E runs the code through the compiler's parser,
8314 # not just through cpp. "Syntax error
" is here to catch this case.
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8318 # include <limits.h>
8320 # include <assert.h>
8324 if ac_fn_c_try_cpp "$LINENO"; then :
8327 # Broken: fails on valid input.
8330 rm -f conftest.err conftest.i conftest.$ac_ext
8332 # OK, works on sane cases. Now check whether nonexistent headers
8333 # can be detected and how.
8334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8335 /* end confdefs.h. */
8336 #include <ac_nonexistent.h>
8338 if ac_fn_c_try_cpp "$LINENO"; then :
8339 # Broken: success on invalid input.
8342 # Passes both tests.
8346 rm -f conftest.err conftest.i conftest.$ac_ext
8349 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8350 rm -f conftest.i conftest.err conftest.$ac_ext
8351 if $ac_preproc_ok; then :
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8364 $as_echo "$CPP" >&6; }
8366 for ac_c_preproc_warn_flag in '' yes
8368 # Use a header file that comes with gcc, so configuring glibc
8369 # with a fresh cross-compiler works.
8370 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8371 # <limits.h> exists even on freestanding compilers.
8372 # On the NeXT, cc -E runs the code through the compiler's parser,
8373 # not just through cpp. "Syntax error
" is here to catch this case.
8374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8375 /* end confdefs.h. */
8377 # include <limits.h>
8379 # include <assert.h>
8383 if ac_fn_c_try_cpp "$LINENO"; then :
8386 # Broken: fails on valid input.
8389 rm -f conftest.err conftest.i conftest.$ac_ext
8391 # OK, works on sane cases. Now check whether nonexistent headers
8392 # can be detected and how.
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 #include <ac_nonexistent.h>
8397 if ac_fn_c_try_cpp "$LINENO"; then :
8398 # Broken: success on invalid input.
8401 # Passes both tests.
8405 rm -f conftest.err conftest.i conftest.$ac_ext
8408 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8409 rm -f conftest.i conftest.err conftest.$ac_ext
8410 if $ac_preproc_ok; then :
8413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8415 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8416 See \`config.log' for more details
" "$LINENO" 5; }
8420 ac_cpp='$CPP $CPPFLAGS'
8421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8427 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8428 if ${ac_cv_header_stdc+:} false; then :
8429 $as_echo_n "(cached
) " >&6
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8446 if ac_fn_c_try_compile "$LINENO"; then :
8447 ac_cv_header_stdc=yes
8449 ac_cv_header_stdc=no
8451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8453 if test $ac_cv_header_stdc = yes; then
8454 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8460 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8461 $EGREP "memchr
" >/dev/null 2>&1; then :
8464 ac_cv_header_stdc=no
8470 if test $ac_cv_header_stdc = yes; then
8471 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* end confdefs.h. */
8477 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8478 $EGREP "free
" >/dev/null 2>&1; then :
8481 ac_cv_header_stdc=no
8487 if test $ac_cv_header_stdc = yes; then
8488 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8489 if test "$cross_compiling" = yes; then :
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8496 #if ((' ' & 0x0FF) == 0x020)
8497 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8498 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8500 # define ISLOWER(c) \
8501 (('a' <= (c) && (c) <= 'i') \
8502 || ('j' <= (c) && (c) <= 'r') \
8503 || ('s' <= (c) && (c) <= 'z'))
8504 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8507 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8512 for (i = 0; i < 256; i++)
8513 if (XOR (islower (i), ISLOWER (i))
8514 || toupper (i) != TOUPPER (i))
8519 if ac_fn_c_try_run "$LINENO"; then :
8522 ac_cv_header_stdc=no
8524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8525 conftest.$ac_objext conftest.beam conftest.$ac_ext
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8531 $as_echo "$ac_cv_header_stdc" >&6; }
8532 if test $ac_cv_header_stdc = yes; then
8534 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8538 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8539 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8540 inttypes.h stdint.h unistd.h
8542 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8543 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8545 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8546 cat >>confdefs.h
<<_ACEOF
8547 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8555 for ac_header
in dlfcn.h
8557 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8559 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8560 cat >>confdefs.h
<<_ACEOF
8561 #define HAVE_DLFCN_H 1
8571 func_stripname_cnf
()
8574 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8575 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8577 } # func_stripname_cnf
8584 # Check whether --enable-static was given.
8585 if test "${enable_static+set}" = set; then :
8586 enableval
=$enable_static; p
=${PACKAGE-default}
8588 yes) enable_static
=yes ;;
8589 no
) enable_static
=no
;;
8592 # Look at the argument we got. We use all the common list separators.
8593 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8594 for pkg
in $enableval; do
8596 if test "X$pkg" = "X$p"; then
8622 # Check whether --enable-shared was given.
8623 if test "${enable_shared+set}" = set; then :
8624 enableval
=$enable_shared; p
=${PACKAGE-default}
8626 yes) enable_shared
=yes ;;
8627 no
) enable_shared
=no
;;
8630 # Look at the argument we got. We use all the common list separators.
8631 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8632 for pkg
in $enableval; do
8634 if test "X$pkg" = "X$p"; then
8655 # Check whether --with-pic was given.
8656 if test "${with_pic+set}" = set; then :
8657 withval
=$with_pic; lt_p
=${PACKAGE-default}
8659 yes|no
) pic_mode
=$withval ;;
8662 # Look at the argument we got. We use all the common list separators.
8663 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8664 for lt_pkg
in $withval; do
8666 if test "X$lt_pkg" = "X$lt_p"; then
8678 test -z "$pic_mode" && pic_mode
=default
8686 # Check whether --enable-fast-install was given.
8687 if test "${enable_fast_install+set}" = set; then :
8688 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8690 yes) enable_fast_install
=yes ;;
8691 no
) enable_fast_install
=no
;;
8693 enable_fast_install
=no
8694 # Look at the argument we got. We use all the common list separators.
8695 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8696 for pkg
in $enableval; do
8698 if test "X$pkg" = "X$p"; then
8699 enable_fast_install
=yes
8706 enable_fast_install
=yes
8719 # This can be used to rebuild libtool when needed
8720 LIBTOOL_DEPS
="$ltmain"
8722 # Always use our own libtool.
8723 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8754 test -z "$LN_S" && LN_S
="ln -s"
8769 if test -n "${ZSH_VERSION+set}" ; then
8770 setopt NO_GLOB_SUBST
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8774 $as_echo_n "checking for objdir... " >&6; }
8775 if ${lt_cv_objdir+:} false
; then :
8776 $as_echo_n "(cached) " >&6
8778 rm -f .libs
2>/dev
/null
8779 mkdir .libs
2>/dev
/null
8780 if test -d .libs
; then
8783 # MS-DOS does not allow filenames that begin with a dot.
8786 rmdir .libs
2>/dev
/null
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8789 $as_echo "$lt_cv_objdir" >&6; }
8790 objdir
=$lt_cv_objdir
8796 cat >>confdefs.h
<<_ACEOF
8797 #define LT_OBJDIR "$lt_cv_objdir/"
8805 # AIX sometimes has problems with the GCC collect2 program. For some
8806 # reason, if we set the COLLECT_NAMES environment variable, the problems
8807 # vanish in a puff of smoke.
8808 if test "X${COLLECT_NAMES+set}" != Xset
; then
8810 export COLLECT_NAMES
8817 can_build_shared
=yes
8819 # All known linkers require a `.a' archive for static linking (except MSVC,
8820 # which needs '.lib').
8823 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8826 old_CFLAGS
="$CFLAGS"
8828 # Set sane defaults for various variables
8829 test -z "$CC" && CC
=cc
8830 test -z "$LTCC" && LTCC
=$CC
8831 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8832 test -z "$LD" && LD
=ld
8833 test -z "$ac_objext" && ac_objext
=o
8835 for cc_temp
in $compiler""; do
8837 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8838 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8843 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8846 # Only perform the check for file, if the check method requires it
8847 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8848 case $deplibs_check_method in
8850 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8852 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8853 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8854 $as_echo_n "(cached) " >&6
8858 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8861 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8862 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8863 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8864 for ac_dir
in $ac_dummy; do
8866 test -z "$ac_dir" && ac_dir
=.
8867 if test -f $ac_dir/${ac_tool_prefix}file; then
8868 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8869 if test -n "$file_magic_test_file"; then
8870 case $deplibs_check_method in
8872 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8873 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8874 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8875 $EGREP "$file_magic_regex" > /dev
/null
; then
8880 *** Warning: the command libtool uses to detect shared libraries,
8881 *** $file_magic_cmd, produces output that libtool cannot recognize.
8882 *** The result is that libtool may fail to recognize shared libraries
8883 *** as such. This will affect the creation of libtool libraries that
8884 *** depend on shared libraries, but programs linked with such libtool
8885 *** libraries will work regardless of this problem. Nevertheless, you
8886 *** may want to report the problem to your system manager and/or to
8887 *** bug-libtool@gnu.org
8897 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8902 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8903 if test -n "$MAGIC_CMD"; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8905 $as_echo "$MAGIC_CMD" >&6; }
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8908 $as_echo "no" >&6; }
8915 if test -z "$lt_cv_path_MAGIC_CMD"; then
8916 if test -n "$ac_tool_prefix"; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8918 $as_echo_n "checking for file... " >&6; }
8919 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8920 $as_echo_n "(cached) " >&6
8924 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8927 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8928 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8929 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8930 for ac_dir
in $ac_dummy; do
8932 test -z "$ac_dir" && ac_dir
=.
8933 if test -f $ac_dir/file; then
8934 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8935 if test -n "$file_magic_test_file"; then
8936 case $deplibs_check_method in
8938 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8939 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8940 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8941 $EGREP "$file_magic_regex" > /dev
/null
; then
8946 *** Warning: the command libtool uses to detect shared libraries,
8947 *** $file_magic_cmd, produces output that libtool cannot recognize.
8948 *** The result is that libtool may fail to recognize shared libraries
8949 *** as such. This will affect the creation of libtool libraries that
8950 *** depend on shared libraries, but programs linked with such libtool
8951 *** libraries will work regardless of this problem. Nevertheless, you
8952 *** may want to report the problem to your system manager and/or to
8953 *** bug-libtool@gnu.org
8963 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8968 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8969 if test -n "$MAGIC_CMD"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8971 $as_echo "$MAGIC_CMD" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8974 $as_echo "no" >&6; }
8987 # Use C for the default configuration in the libtool script
8991 ac_cpp
='$CPP $CPPFLAGS'
8992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8997 # Source file extension for C test sources.
9000 # Object file extension for compiled C test sources.
9004 # Code to be used in simple compile tests
9005 lt_simple_compile_test_code
="int some_variable = 0;"
9007 # Code to be used in simple link tests
9008 lt_simple_link_test_code
='int main(){return(0);}'
9016 # If no C compiler was specified, use CC.
9019 # If no C compiler flags were specified, use CFLAGS.
9020 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9022 # Allow CC to be a program name with arguments.
9025 # Save the default compiler, since it gets overwritten when the other
9026 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9027 compiler_DEFAULT
=$CC
9029 # save warnings/boilerplate of simple test code
9030 ac_outfile
=conftest.
$ac_objext
9031 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9032 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9033 _lt_compiler_boilerplate
=`cat conftest.err`
9036 ac_outfile
=conftest.
$ac_objext
9037 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9038 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9039 _lt_linker_boilerplate
=`cat conftest.err`
9044 ## There is no encapsulation within the following macros, do not change
9045 ## the running order or otherwise move them around unless you know exactly
9046 ## what you are doing...
9047 if test -n "$compiler"; then
9049 lt_prog_compiler_no_builtin_flag
=
9051 if test "$GCC" = yes; then
9052 case $cc_basename in
9054 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9056 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9060 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9061 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9062 $as_echo_n "(cached) " >&6
9064 lt_cv_prog_compiler_rtti_exceptions
=no
9065 ac_outfile
=conftest.
$ac_objext
9066 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9067 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9068 # Insert the option either (1) after the last *FLAGS variable, or
9069 # (2) before a word containing "conftest.", or (3) at the end.
9070 # Note that $ac_compile itself does not contain backslashes and begins
9071 # with a dollar sign (not a hyphen), so the echo should work correctly.
9072 # The option is referenced via a variable to avoid confusing sed.
9073 lt_compile
=`echo "$ac_compile" | $SED \
9074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9075 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9076 -e 's:$: $lt_compiler_flag:'`
9077 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9078 (eval "$lt_compile" 2>conftest.err
)
9080 cat conftest.err
>&5
9081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082 if (exit $ac_status) && test -s "$ac_outfile"; then
9083 # The compiler can only warn and ignore the option if not recognized
9084 # So say no if there are warnings other than the usual output.
9085 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9086 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9087 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9088 lt_cv_prog_compiler_rtti_exceptions
=yes
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9095 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9097 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9098 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9110 lt_prog_compiler_wl
=
9111 lt_prog_compiler_pic
=
9112 lt_prog_compiler_static
=
9115 if test "$GCC" = yes; then
9116 lt_prog_compiler_wl
='-Wl,'
9117 lt_prog_compiler_static
='-static'
9121 # All AIX code is PIC.
9122 if test "$host_cpu" = ia64
; then
9123 # AIX 5 now supports IA64 processor
9124 lt_prog_compiler_static
='-Bstatic'
9131 # see comment about AmigaOS4 .so support
9132 lt_prog_compiler_pic
='-fPIC'
9135 # FIXME: we need at least 68020 code to build shared libraries, but
9136 # adding the `-m68020' flag to GCC prevents building anything better,
9138 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9143 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9144 # PIC is the default for these OSes.
9147 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9148 # This hack is so that the source file can tell whether it is being
9149 # built for inclusion in a dll (and should export symbols for example).
9150 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9151 # (--disable-auto-import) libraries
9152 lt_prog_compiler_pic
='-DDLL_EXPORT'
9155 darwin
* | rhapsody
*)
9156 # PIC is the default on this platform
9157 # Common symbols not allowed in MH_DYLIB files
9158 lt_prog_compiler_pic
='-fno-common'
9162 # PIC is the default for Haiku.
9163 # The "-static" flag exists, but is broken.
9164 lt_prog_compiler_static
=
9168 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9169 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9170 # sets the default TLS model and affects inlining.
9176 lt_prog_compiler_pic
='-fPIC'
9182 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9183 # Instead, we relocate shared libraries at runtime.
9187 # Just because we use GCC doesn't mean we suddenly get shared libraries
9188 # on systems that don't support them.
9189 lt_prog_compiler_can_build_shared
=no
9194 # QNX uses GNU C++, but need to define -shared option too, otherwise
9196 lt_prog_compiler_pic
='-fPIC -shared'
9200 if test -d /usr
/nec
; then
9201 lt_prog_compiler_pic
=-Kconform_pic
9206 lt_prog_compiler_pic
='-fPIC'
9210 case $cc_basename in
9211 nvcc
*) # Cuda Compiler Driver 2.2
9212 lt_prog_compiler_wl
='-Xlinker '
9213 if test -n "$lt_prog_compiler_pic"; then
9214 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9219 # PORTME Check for flag to pass linker flags through the system compiler.
9222 lt_prog_compiler_wl
='-Wl,'
9223 if test "$host_cpu" = ia64
; then
9224 # AIX 5 now supports IA64 processor
9225 lt_prog_compiler_static
='-Bstatic'
9227 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9231 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9232 # This hack is so that the source file can tell whether it is being
9233 # built for inclusion in a dll (and should export symbols for example).
9234 lt_prog_compiler_pic
='-DDLL_EXPORT'
9237 hpux9
* | hpux10
* | hpux11
*)
9238 lt_prog_compiler_wl
='-Wl,'
9239 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9246 lt_prog_compiler_pic
='+Z'
9249 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9250 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9253 irix5
* | irix6
* | nonstopux
*)
9254 lt_prog_compiler_wl
='-Wl,'
9255 # PIC (with -KPIC) is the default.
9256 lt_prog_compiler_static
='-non_shared'
9259 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9260 case $cc_basename in
9261 # old Intel for x86_64 which still supported -KPIC.
9263 lt_prog_compiler_wl
='-Wl,'
9264 lt_prog_compiler_pic
='-KPIC'
9265 lt_prog_compiler_static
='-static'
9267 # icc used to be incompatible with GCC.
9268 # ICC 10 doesn't accept -KPIC any more.
9270 lt_prog_compiler_wl
='-Wl,'
9271 lt_prog_compiler_pic
='-fPIC'
9272 lt_prog_compiler_static
='-static'
9274 # Lahey Fortran 8.1.
9276 lt_prog_compiler_wl
='-Wl,'
9277 lt_prog_compiler_pic
='--shared'
9278 lt_prog_compiler_static
='--static'
9281 # NAG Fortran compiler
9282 lt_prog_compiler_wl
='-Wl,-Wl,,'
9283 lt_prog_compiler_pic
='-PIC'
9284 lt_prog_compiler_static
='-Bstatic'
9286 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9287 # Portland Group compilers (*not* the Pentium gcc compiler,
9288 # which looks to be a dead project)
9289 lt_prog_compiler_wl
='-Wl,'
9290 lt_prog_compiler_pic
='-fpic'
9291 lt_prog_compiler_static
='-Bstatic'
9294 lt_prog_compiler_wl
='-Wl,'
9295 # All Alpha code is PIC.
9296 lt_prog_compiler_static
='-non_shared'
9298 xl
* | bgxl
* | bgf
* | mpixl
*)
9299 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9300 lt_prog_compiler_wl
='-Wl,'
9301 lt_prog_compiler_pic
='-qpic'
9302 lt_prog_compiler_static
='-qstaticlink'
9305 case `$CC -V 2>&1 | sed 5q` in
9306 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9307 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9308 lt_prog_compiler_pic
='-KPIC'
9309 lt_prog_compiler_static
='-Bstatic'
9310 lt_prog_compiler_wl
=''
9312 *Sun\ F
* | *Sun
*Fortran
*)
9313 lt_prog_compiler_pic
='-KPIC'
9314 lt_prog_compiler_static
='-Bstatic'
9315 lt_prog_compiler_wl
='-Qoption ld '
9319 lt_prog_compiler_pic
='-KPIC'
9320 lt_prog_compiler_static
='-Bstatic'
9321 lt_prog_compiler_wl
='-Wl,'
9323 *Intel
*\
[CF
]*Compiler
*)
9324 lt_prog_compiler_wl
='-Wl,'
9325 lt_prog_compiler_pic
='-fPIC'
9326 lt_prog_compiler_static
='-static'
9329 lt_prog_compiler_wl
='-Wl,'
9330 lt_prog_compiler_pic
='-fpic'
9331 lt_prog_compiler_static
='-Bstatic'
9339 lt_prog_compiler_pic
='-KPIC'
9340 lt_prog_compiler_static
='-Bstatic'
9344 # QNX uses GNU C++, but need to define -shared option too, otherwise
9346 lt_prog_compiler_pic
='-fPIC -shared'
9349 osf3
* | osf4
* | osf5
*)
9350 lt_prog_compiler_wl
='-Wl,'
9351 # All OSF/1 code is PIC.
9352 lt_prog_compiler_static
='-non_shared'
9356 lt_prog_compiler_static
='-non_shared'
9360 lt_prog_compiler_pic
='-KPIC'
9361 lt_prog_compiler_static
='-Bstatic'
9362 case $cc_basename in
9363 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9364 lt_prog_compiler_wl
='-Qoption ld ';;
9366 lt_prog_compiler_wl
='-Wl,';;
9371 lt_prog_compiler_wl
='-Qoption ld '
9372 lt_prog_compiler_pic
='-PIC'
9373 lt_prog_compiler_static
='-Bstatic'
9376 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9377 lt_prog_compiler_wl
='-Wl,'
9378 lt_prog_compiler_pic
='-KPIC'
9379 lt_prog_compiler_static
='-Bstatic'
9383 if test -d /usr
/nec
;then
9384 lt_prog_compiler_pic
='-Kconform_pic'
9385 lt_prog_compiler_static
='-Bstatic'
9389 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9390 lt_prog_compiler_wl
='-Wl,'
9391 lt_prog_compiler_pic
='-KPIC'
9392 lt_prog_compiler_static
='-Bstatic'
9396 lt_prog_compiler_wl
='-Wl,'
9397 lt_prog_compiler_can_build_shared
=no
9401 lt_prog_compiler_pic
='-pic'
9402 lt_prog_compiler_static
='-Bstatic'
9406 lt_prog_compiler_can_build_shared
=no
9412 # For platforms which do not support PIC, -DPIC is meaningless:
9414 lt_prog_compiler_pic
=
9417 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9422 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9423 if ${lt_cv_prog_compiler_pic+:} false
; then :
9424 $as_echo_n "(cached) " >&6
9426 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9429 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9430 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9433 # Check to make sure the PIC flag actually works.
9435 if test -n "$lt_prog_compiler_pic"; then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9437 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9438 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9441 lt_cv_prog_compiler_pic_works
=no
9442 ac_outfile
=conftest.
$ac_objext
9443 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9444 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9445 # Insert the option either (1) after the last *FLAGS variable, or
9446 # (2) before a word containing "conftest.", or (3) at the end.
9447 # Note that $ac_compile itself does not contain backslashes and begins
9448 # with a dollar sign (not a hyphen), so the echo should work correctly.
9449 # The option is referenced via a variable to avoid confusing sed.
9450 lt_compile
=`echo "$ac_compile" | $SED \
9451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9453 -e 's:$: $lt_compiler_flag:'`
9454 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9455 (eval "$lt_compile" 2>conftest.err
)
9457 cat conftest.err
>&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 if (exit $ac_status) && test -s "$ac_outfile"; then
9460 # The compiler can only warn and ignore the option if not recognized
9461 # So say no if there are warnings other than the usual output.
9462 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9464 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9465 lt_cv_prog_compiler_pic_works
=yes
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9472 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9474 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9475 case $lt_prog_compiler_pic in
9477 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9480 lt_prog_compiler_pic
=
9481 lt_prog_compiler_can_build_shared
=no
9497 # Check to make sure the static flag actually works.
9499 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9501 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9502 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9503 $as_echo_n "(cached) " >&6
9505 lt_cv_prog_compiler_static_works
=no
9506 save_LDFLAGS
="$LDFLAGS"
9507 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9508 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9509 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9510 # The linker can only warn and ignore the option if not recognized
9511 # So say no if there are warnings
9512 if test -s conftest.err
; then
9513 # Append any errors to the config.log.
9514 cat conftest.err
1>&5
9515 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9516 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9517 if diff conftest.exp conftest.er2
>/dev
/null
; then
9518 lt_cv_prog_compiler_static_works
=yes
9521 lt_cv_prog_compiler_static_works
=yes
9525 LDFLAGS
="$save_LDFLAGS"
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9529 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9531 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9534 lt_prog_compiler_static
=
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9544 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9545 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9546 $as_echo_n "(cached) " >&6
9548 lt_cv_prog_compiler_c_o
=no
9549 $RM -r conftest
2>/dev
/null
9553 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9555 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9556 # Insert the option either (1) after the last *FLAGS variable, or
9557 # (2) before a word containing "conftest.", or (3) at the end.
9558 # Note that $ac_compile itself does not contain backslashes and begins
9559 # with a dollar sign (not a hyphen), so the echo should work correctly.
9560 lt_compile
=`echo "$ac_compile" | $SED \
9561 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9562 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9563 -e 's:$: $lt_compiler_flag:'`
9564 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9565 (eval "$lt_compile" 2>out
/conftest.err
)
9567 cat out
/conftest.err
>&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9571 # The compiler can only warn and ignore the option if not recognized
9572 # So say no if there are warnings
9573 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9574 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9575 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9576 lt_cv_prog_compiler_c_o
=yes
9581 # SGI C++ compiler will create directory out/ii_files/ for
9582 # template instantiation
9583 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9584 $RM out
/* && rmdir out
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9591 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9599 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9600 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9601 $as_echo_n "(cached) " >&6
9603 lt_cv_prog_compiler_c_o
=no
9604 $RM -r conftest
2>/dev
/null
9608 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9610 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9611 # Insert the option either (1) after the last *FLAGS variable, or
9612 # (2) before a word containing "conftest.", or (3) at the end.
9613 # Note that $ac_compile itself does not contain backslashes and begins
9614 # with a dollar sign (not a hyphen), so the echo should work correctly.
9615 lt_compile
=`echo "$ac_compile" | $SED \
9616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9618 -e 's:$: $lt_compiler_flag:'`
9619 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9620 (eval "$lt_compile" 2>out
/conftest.err
)
9622 cat out
/conftest.err
>&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9626 # The compiler can only warn and ignore the option if not recognized
9627 # So say no if there are warnings
9628 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9629 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9630 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9631 lt_cv_prog_compiler_c_o
=yes
9636 # SGI C++ compiler will create directory out/ii_files/ for
9637 # template instantiation
9638 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9639 $RM out
/* && rmdir out
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9646 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9651 hard_links
="nottested"
9652 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9653 # do not overwrite the value of need_locks provided by the user
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9655 $as_echo_n "checking if we can lock with hard links... " >&6; }
9658 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9660 ln conftest.a conftest.b
2>&5 || hard_links
=no
9661 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9663 $as_echo "$hard_links" >&6; }
9664 if test "$hard_links" = no
; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9666 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9679 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9682 allow_undefined_flag
=
9683 always_export_symbols
=no
9685 archive_expsym_cmds
=
9686 compiler_needs_object
=no
9687 enable_shared_with_static_runtimes
=no
9688 export_dynamic_flag_spec
=
9689 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9690 hardcode_automatic
=no
9692 hardcode_direct_absolute
=no
9693 hardcode_libdir_flag_spec
=
9694 hardcode_libdir_separator
=
9696 hardcode_shlibpath_var
=unsupported
9698 link_all_deplibs
=unknown
9701 old_archive_from_new_cmds
=
9702 old_archive_from_expsyms_cmds
=
9703 thread_safe_flag_spec
=
9704 whole_archive_flag_spec
=
9705 # include_expsyms should be a list of space-separated symbols to be *always*
9706 # included in the symbol list
9708 # exclude_expsyms can be an extended regexp of symbols to exclude
9709 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9710 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9711 # as well as any symbol that contains `d'.
9712 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9713 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9714 # platforms (ab)use it in PIC code, but their linkers get confused if
9715 # the symbol is explicitly referenced. Since portable code cannot
9716 # rely on this symbol name, it's probably fine to never include it in
9717 # preloaded symbol tables.
9718 # Exclude shared library initialization/finalization symbols.
9719 extract_expsyms_cmds
=
9722 cygwin
* | mingw
* | pw32
* | cegcc
*)
9723 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9724 # When not using gcc, we currently assume that we are using
9725 # Microsoft Visual C++.
9726 if test "$GCC" != yes; then
9731 # we just hope/assume this is gcc and not c89 (= MSVC++)
9741 # On some targets, GNU ld is compatible enough with the native linker
9742 # that we're better off using the native interface for both.
9743 lt_use_gnu_ld_interface
=no
9744 if test "$with_gnu_ld" = yes; then
9747 # The AIX port of GNU ld has always aspired to compatibility
9748 # with the native linker. However, as the warning in the GNU ld
9749 # block says, versions before 2.19.5* couldn't really create working
9750 # shared libraries, regardless of the interface used.
9751 case `$LD -v 2>&1` in
9752 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9753 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9754 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9756 lt_use_gnu_ld_interface
=yes
9761 lt_use_gnu_ld_interface
=yes
9766 if test "$lt_use_gnu_ld_interface" = yes; then
9767 # If archive_cmds runs LD, not CC, wlarc should be empty
9770 # Set some defaults for GNU ld with shared library support. These
9771 # are reset later if shared libraries are not supported. Putting them
9772 # here allows them to be overridden if necessary.
9773 runpath_var
=LD_RUN_PATH
9774 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9775 export_dynamic_flag_spec
='${wl}--export-dynamic'
9776 # ancient GNU ld didn't support --whole-archive et. al.
9777 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9778 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9780 whole_archive_flag_spec
=
9782 supports_anon_versioning
=no
9783 case `$LD -v 2>&1` in
9784 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9785 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9786 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9787 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9788 *\
2.11.
*) ;; # other 2.11 versions
9789 *) supports_anon_versioning
=yes ;;
9792 # See if GNU ld supports shared libraries.
9795 # On AIX/PPC, the GNU linker is very broken
9796 if test "$host_cpu" != ia64
; then
9800 *** Warning: the GNU linker, at least up to release 2.19, is reported
9801 *** to be unable to reliably create shared libraries on AIX.
9802 *** Therefore, libtool is disabling shared libraries support. If you
9803 *** really care for shared libraries, you may want to install binutils
9804 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9805 *** You will then need to restart the configuration process.
9814 # see comment about AmigaOS4 .so support
9815 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9816 archive_expsym_cmds
=''
9819 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)'
9820 hardcode_libdir_flag_spec
='-L$libdir'
9821 hardcode_minus_L
=yes
9827 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9828 allow_undefined_flag
=unsupported
9829 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9830 # support --undefined. This deserves some investigation. FIXME
9831 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9837 cygwin
* | mingw
* | pw32
* | cegcc
*)
9838 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9839 # as there is no search path for DLLs.
9840 hardcode_libdir_flag_spec
='-L$libdir'
9841 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9842 allow_undefined_flag
=unsupported
9843 always_export_symbols
=no
9844 enable_shared_with_static_runtimes
=yes
9845 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'
9846 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9848 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9849 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9850 # If the export-symbols file already is a .def file (1st line
9851 # is EXPORTS), use it as is; otherwise, prepend...
9852 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9853 cp $export_symbols $output_objdir/$soname.def;
9855 echo EXPORTS > $output_objdir/$soname.def;
9856 cat $export_symbols >> $output_objdir/$soname.def;
9858 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9865 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9866 link_all_deplibs
=yes
9871 hardcode_shlibpath_var
=no
9872 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9873 export_dynamic_flag_spec
='${wl}-E'
9874 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9875 # Instead, shared libraries are loaded at an image base (0x10000000 by
9876 # default) and relocated if they conflict, which is a slow very memory
9877 # consuming and fragmenting process. To avoid this, we pick a random,
9878 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9879 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9880 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9881 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'
9884 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9886 if test "$host_os" = linux
-dietlibc; then
9887 case $cc_basename in
9888 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9891 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9892 && test "$tmp_diet" = no
9894 tmp_addflag
=' $pic_flag'
9895 tmp_sharedflag
='-shared'
9896 case $cc_basename,$host_cpu in
9897 pgcc
*) # Portland Group C compiler
9898 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'
9899 tmp_addflag
=' $pic_flag'
9901 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9902 # Portland Group f77 and f90 compilers
9903 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'
9904 tmp_addflag
=' $pic_flag -Mnomain' ;;
9905 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9906 tmp_addflag
=' -i_dynamic' ;;
9907 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9908 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9909 ifc
* | ifort
*) # Intel Fortran compiler
9910 tmp_addflag
=' -nofor_main' ;;
9911 lf95
*) # Lahey Fortran 8.1
9912 whole_archive_flag_spec
=
9913 tmp_sharedflag
='--shared' ;;
9914 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9915 tmp_sharedflag
='-qmkshrobj'
9917 nvcc
*) # Cuda Compiler Driver 2.2
9918 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'
9919 compiler_needs_object
=yes
9922 case `$CC -V 2>&1 | sed 5q` in
9923 *Sun\ C
*) # Sun C 5.9
9924 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'
9925 compiler_needs_object
=yes
9926 tmp_sharedflag
='-G' ;;
9927 *Sun\ F
*) # Sun Fortran 8.3
9928 tmp_sharedflag
='-G' ;;
9930 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9932 if test "x$supports_anon_versioning" = xyes
; then
9933 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9934 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9935 echo "local: *; };" >> $output_objdir/$libname.ver~
9936 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9939 case $cc_basename in
9940 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9941 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9942 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9943 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9944 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9945 if test "x$supports_anon_versioning" = xyes
; then
9946 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9947 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9948 echo "local: *; };" >> $output_objdir/$libname.ver~
9949 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9959 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9960 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9963 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9964 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9969 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9973 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9974 *** create shared libraries on Solaris systems. Therefore, libtool
9975 *** is disabling shared libraries support. We urge you to upgrade GNU
9976 *** binutils to release 2.9.1 or newer. Another option is to modify
9977 *** your PATH or compiler configuration so that the native linker is
9978 *** used, and then restart.
9981 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9982 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9983 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9989 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9990 case `$LD -v 2>&1` in
9991 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9995 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9996 *** reliably create shared libraries on SCO systems. Therefore, libtool
9997 *** is disabling shared libraries support. We urge you to upgrade GNU
9998 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9999 *** your PATH or compiler configuration so that the native linker is
10000 *** used, and then restart.
10005 # For security reasons, it is highly recommended that you always
10006 # use absolute paths for naming shared libraries, and exclude the
10007 # DT_RUNPATH tag from executables and libraries. But doing so
10008 # requires that you compile everything twice, which is a pain.
10009 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10010 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10011 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10012 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10021 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_direct
=yes
10024 hardcode_shlibpath_var
=no
10028 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10029 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10030 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10037 if test "$ld_shlibs" = no
; then
10039 hardcode_libdir_flag_spec
=
10040 export_dynamic_flag_spec
=
10041 whole_archive_flag_spec
=
10044 # PORTME fill in a description of your system's linker (not GNU ld)
10047 allow_undefined_flag
=unsupported
10048 always_export_symbols
=yes
10049 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'
10050 # Note: this linker hardcodes the directories in LIBPATH if there
10051 # are no directories specified by -L.
10052 hardcode_minus_L
=yes
10053 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10054 # Neither direct hardcoding nor static linking is supported with a
10056 hardcode_direct
=unsupported
10061 if test "$host_cpu" = ia64
; then
10062 # On IA64, the linker does run time linking by default, so we don't
10063 # have to do anything special.
10064 aix_use_runtimelinking
=no
10065 exp_sym_flag
='-Bexport'
10068 # If we're using GNU nm, then we don't want the "-C" option.
10069 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10070 # Also, AIX nm treats weak defined symbols like other global
10071 # defined symbols, whereas GNU nm marks them as "W".
10072 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10073 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'
10075 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'
10077 aix_use_runtimelinking
=no
10079 # Test if we are trying to use run time linking or normal
10080 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10081 # need to do runtime linking.
10082 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10083 for ld_flag
in $LDFLAGS; do
10084 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10085 aix_use_runtimelinking
=yes
10092 exp_sym_flag
='-bexport'
10093 no_entry_flag
='-bnoentry'
10096 # When large executables or shared objects are built, AIX ld can
10097 # have problems creating the table of contents. If linking a library
10098 # or program results in "error TOC overflow" add -mminimal-toc to
10099 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10100 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10103 hardcode_direct
=yes
10104 hardcode_direct_absolute
=yes
10105 hardcode_libdir_separator
=':'
10106 link_all_deplibs
=yes
10107 file_list_spec
='${wl}-f,'
10109 if test "$GCC" = yes; then
10110 case $host_os in aix4.
[012]|aix4.
[012].
*)
10111 # We only want to do this on AIX 4.2 and lower, the check
10112 # below for broken collect2 doesn't work under 4.3+
10113 collect2name
=`${CC} -print-prog-name=collect2`
10114 if test -f "$collect2name" &&
10115 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10117 # We have reworked collect2
10120 # We have old collect2
10121 hardcode_direct
=unsupported
10122 # It fails to find uninstalled libraries when the uninstalled
10123 # path is not listed in the libpath. Setting hardcode_minus_L
10124 # to unsupported forces relinking
10125 hardcode_minus_L
=yes
10126 hardcode_libdir_flag_spec
='-L$libdir'
10127 hardcode_libdir_separator
=
10131 shared_flag
='-shared'
10132 if test "$aix_use_runtimelinking" = yes; then
10133 shared_flag
="$shared_flag "'${wl}-G'
10137 if test "$host_cpu" = ia64
; then
10138 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10139 # chokes on -Wl,-G. The following line is correct:
10142 if test "$aix_use_runtimelinking" = yes; then
10143 shared_flag
='${wl}-G'
10145 shared_flag
='${wl}-bM:SRE'
10150 export_dynamic_flag_spec
='${wl}-bexpall'
10151 # It seems that -bexpall does not export symbols beginning with
10152 # underscore (_), so it is better to generate a list of symbols to export.
10153 always_export_symbols
=yes
10154 if test "$aix_use_runtimelinking" = yes; then
10155 # Warning - without using the other runtime loading flags (-brtl),
10156 # -berok will link without error, but may produce a broken library.
10157 allow_undefined_flag
='-berok'
10158 # Determine the default libpath from the value encoded in an
10159 # empty executable.
10160 if test "${lt_cv_aix_libpath+set}" = set; then
10161 aix_libpath
=$lt_cv_aix_libpath
10163 if ${lt_cv_aix_libpath_+:} false
; then :
10164 $as_echo_n "(cached) " >&6
10166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10177 if ac_fn_c_try_link
"$LINENO"; then :
10179 lt_aix_libpath_sed
='
10180 /Import File Strings/,/^$/ {
10182 s/^0 *\([^ ]*\) *$/\1/
10186 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10187 # Check for a 64-bit object if we didn't find anything.
10188 if test -z "$lt_cv_aix_libpath_"; then
10189 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10192 rm -f core conftest.err conftest.
$ac_objext \
10193 conftest
$ac_exeext conftest.
$ac_ext
10194 if test -z "$lt_cv_aix_libpath_"; then
10195 lt_cv_aix_libpath_
="/usr/lib:/lib"
10200 aix_libpath
=$lt_cv_aix_libpath_
10203 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10204 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"
10206 if test "$host_cpu" = ia64
; then
10207 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10208 allow_undefined_flag
="-z nodefs"
10209 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"
10211 # Determine the default libpath from the value encoded in an
10212 # empty executable.
10213 if test "${lt_cv_aix_libpath+set}" = set; then
10214 aix_libpath
=$lt_cv_aix_libpath
10216 if ${lt_cv_aix_libpath_+:} false
; then :
10217 $as_echo_n "(cached) " >&6
10219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10230 if ac_fn_c_try_link
"$LINENO"; then :
10232 lt_aix_libpath_sed
='
10233 /Import File Strings/,/^$/ {
10235 s/^0 *\([^ ]*\) *$/\1/
10239 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10240 # Check for a 64-bit object if we didn't find anything.
10241 if test -z "$lt_cv_aix_libpath_"; then
10242 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10245 rm -f core conftest.err conftest.
$ac_objext \
10246 conftest
$ac_exeext conftest.
$ac_ext
10247 if test -z "$lt_cv_aix_libpath_"; then
10248 lt_cv_aix_libpath_
="/usr/lib:/lib"
10253 aix_libpath
=$lt_cv_aix_libpath_
10256 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10257 # Warning - without using the other run time loading flags,
10258 # -berok will link without error, but may produce a broken library.
10259 no_undefined_flag
=' ${wl}-bernotok'
10260 allow_undefined_flag
=' ${wl}-berok'
10261 if test "$with_gnu_ld" = yes; then
10262 # We only use this code for GNU lds that support --whole-archive.
10263 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10265 # Exported symbols can be pulled into shared objects from archives
10266 whole_archive_flag_spec
='$convenience'
10268 archive_cmds_need_lc
=yes
10269 # This is similar to how AIX traditionally builds its shared libraries.
10270 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'
10278 # see comment about AmigaOS4 .so support
10279 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10280 archive_expsym_cmds
=''
10283 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)'
10284 hardcode_libdir_flag_spec
='-L$libdir'
10285 hardcode_minus_L
=yes
10291 export_dynamic_flag_spec
=-rdynamic
10294 cygwin
* | mingw
* | pw32
* | cegcc
*)
10295 # When not using gcc, we currently assume that we are using
10296 # Microsoft Visual C++.
10297 # hardcode_libdir_flag_spec is actually meaningless, as there is
10298 # no search path for DLLs.
10299 case $cc_basename in
10302 hardcode_libdir_flag_spec
=' '
10303 allow_undefined_flag
=unsupported
10304 always_export_symbols
=yes
10306 # Tell ltmain to make .lib files, not .a files.
10308 # Tell ltmain to make .dll files, not .so files.
10310 # FIXME: Setting linknames here is a bad hack.
10311 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10312 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10313 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10315 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10317 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10319 # The linker will not automatically build a static lib if we build a DLL.
10320 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10321 enable_shared_with_static_runtimes
=yes
10322 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10323 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10325 old_postinstall_cmds
='chmod 644 $oldlib'
10326 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10327 lt_tool_outputfile="@TOOL_OUTPUT@"~
10328 case $lt_outputfile in
10331 lt_outputfile="$lt_outputfile.exe"
10332 lt_tool_outputfile="$lt_tool_outputfile.exe"
10335 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10336 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10337 $RM "$lt_outputfile.manifest";
10341 # Assume MSVC wrapper
10342 hardcode_libdir_flag_spec
=' '
10343 allow_undefined_flag
=unsupported
10344 # Tell ltmain to make .lib files, not .a files.
10346 # Tell ltmain to make .dll files, not .so files.
10348 # FIXME: Setting linknames here is a bad hack.
10349 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10350 # The linker will automatically build a .lib file if we build a DLL.
10351 old_archive_from_new_cmds
='true'
10352 # FIXME: Should let the user specify the lib program.
10353 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10354 enable_shared_with_static_runtimes
=yes
10359 darwin
* | rhapsody
*)
10362 archive_cmds_need_lc
=no
10364 hardcode_automatic
=yes
10365 hardcode_shlibpath_var
=unsupported
10366 if test "$lt_cv_ld_force_load" = "yes"; then
10367 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\"`'
10370 whole_archive_flag_spec
=''
10372 link_all_deplibs
=yes
10373 allow_undefined_flag
="$_lt_dar_allow_undefined"
10374 case $cc_basename in
10375 ifort
*) _lt_dar_can_shared
=yes ;;
10376 *) _lt_dar_can_shared
=$GCC ;;
10378 if test "$_lt_dar_can_shared" = "yes"; then
10379 output_verbose_link_cmd
=func_echo_all
10380 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10381 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10382 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}"
10383 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}"
10392 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10393 hardcode_libdir_flag_spec
='-L$libdir'
10394 hardcode_shlibpath_var
=no
10397 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10398 # support. Future versions do this automatically, but an explicit c++rt0.o
10399 # does not break anything, and helps significantly (at the cost of a little
10402 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10403 hardcode_libdir_flag_spec
='-R$libdir'
10404 hardcode_direct
=yes
10405 hardcode_shlibpath_var
=no
10408 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10410 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10411 hardcode_direct
=yes
10412 hardcode_minus_L
=yes
10413 hardcode_shlibpath_var
=no
10416 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10417 freebsd
* | dragonfly
*)
10418 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10419 hardcode_libdir_flag_spec
='-R$libdir'
10420 hardcode_direct
=yes
10421 hardcode_shlibpath_var
=no
10425 if test "$GCC" = yes; then
10426 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'
10428 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'
10430 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10431 hardcode_libdir_separator
=:
10432 hardcode_direct
=yes
10434 # hardcode_minus_L: Not really in the search PATH,
10435 # but as the default location of the library.
10436 hardcode_minus_L
=yes
10437 export_dynamic_flag_spec
='${wl}-E'
10441 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10442 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10444 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10446 if test "$with_gnu_ld" = no
; then
10447 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10448 hardcode_libdir_separator
=:
10449 hardcode_direct
=yes
10450 hardcode_direct_absolute
=yes
10451 export_dynamic_flag_spec
='${wl}-E'
10452 # hardcode_minus_L: Not really in the search PATH,
10453 # but as the default location of the library.
10454 hardcode_minus_L
=yes
10459 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10462 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10465 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10468 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10474 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10477 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10481 # Older versions of the 11.00 compiler do not understand -b yet
10482 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10484 $as_echo_n "checking if $CC understands -b... " >&6; }
10485 if ${lt_cv_prog_compiler__b+:} false
; then :
10486 $as_echo_n "(cached) " >&6
10488 lt_cv_prog_compiler__b
=no
10489 save_LDFLAGS
="$LDFLAGS"
10490 LDFLAGS
="$LDFLAGS -b"
10491 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10492 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10493 # The linker can only warn and ignore the option if not recognized
10494 # So say no if there are warnings
10495 if test -s conftest.err
; then
10496 # Append any errors to the config.log.
10497 cat conftest.err
1>&5
10498 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10499 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10500 if diff conftest.exp conftest.er2
>/dev
/null
; then
10501 lt_cv_prog_compiler__b
=yes
10504 lt_cv_prog_compiler__b
=yes
10508 LDFLAGS
="$save_LDFLAGS"
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10512 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10514 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10515 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10517 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10523 if test "$with_gnu_ld" = no
; then
10524 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10525 hardcode_libdir_separator
=:
10530 hardcode_shlibpath_var
=no
10533 hardcode_direct
=yes
10534 hardcode_direct_absolute
=yes
10535 export_dynamic_flag_spec
='${wl}-E'
10537 # hardcode_minus_L: Not really in the search PATH,
10538 # but as the default location of the library.
10539 hardcode_minus_L
=yes
10545 irix5
* | irix6
* | nonstopux
*)
10546 if test "$GCC" = yes; then
10547 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'
10548 # Try to use the -exported_symbol ld option, if it does not
10549 # work, assume that -exports_file does not work either and
10550 # implicitly export all symbols.
10551 # This should be the same for all languages, so no per-tag cache variable.
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10553 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10554 if ${lt_cv_irix_exported_symbol+:} false
; then :
10555 $as_echo_n "(cached) " >&6
10557 save_LDFLAGS
="$LDFLAGS"
10558 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10561 int foo (void) { return 0; }
10563 if ac_fn_c_try_link
"$LINENO"; then :
10564 lt_cv_irix_exported_symbol
=yes
10566 lt_cv_irix_exported_symbol
=no
10568 rm -f core conftest.err conftest.
$ac_objext \
10569 conftest
$ac_exeext conftest.
$ac_ext
10570 LDFLAGS
="$save_LDFLAGS"
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10573 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10574 if test "$lt_cv_irix_exported_symbol" = yes; then
10575 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'
10578 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'
10579 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'
10581 archive_cmds_need_lc
='no'
10582 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10583 hardcode_libdir_separator
=:
10585 link_all_deplibs
=yes
10589 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10590 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10592 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10594 hardcode_libdir_flag_spec
='-R$libdir'
10595 hardcode_direct
=yes
10596 hardcode_shlibpath_var
=no
10600 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10601 hardcode_direct
=yes
10602 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10603 hardcode_libdir_separator
=:
10604 hardcode_shlibpath_var
=no
10611 if test -f /usr
/libexec
/ld.so
; then
10612 hardcode_direct
=yes
10613 hardcode_shlibpath_var
=no
10614 hardcode_direct_absolute
=yes
10615 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10616 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10617 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10618 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10619 export_dynamic_flag_spec
='${wl}-E'
10622 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10623 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10624 hardcode_libdir_flag_spec
='-R$libdir'
10627 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10628 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10638 hardcode_libdir_flag_spec
='-L$libdir'
10639 hardcode_minus_L
=yes
10640 allow_undefined_flag
=unsupported
10641 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'
10642 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10646 if test "$GCC" = yes; then
10647 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10648 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'
10650 allow_undefined_flag
=' -expect_unresolved \*'
10651 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'
10653 archive_cmds_need_lc
='no'
10654 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10655 hardcode_libdir_separator
=:
10658 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10659 if test "$GCC" = yes; then
10660 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10661 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'
10662 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10664 allow_undefined_flag
=' -expect_unresolved \*'
10665 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'
10666 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~
10667 $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'
10669 # Both c and cxx compiler support -rpath directly
10670 hardcode_libdir_flag_spec
='-rpath $libdir'
10672 archive_cmds_need_lc
='no'
10673 hardcode_libdir_separator
=:
10677 no_undefined_flag
=' -z defs'
10678 if test "$GCC" = yes; then
10680 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10681 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10682 $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'
10684 case `$CC -V 2>&1` in
10687 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10688 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10689 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10693 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10694 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10695 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10699 hardcode_libdir_flag_spec
='-R$libdir'
10700 hardcode_shlibpath_var
=no
10702 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10704 # The compiler driver will combine and reorder linker options,
10705 # but understands `-z linker_flag'. GCC discards it without `$wl',
10706 # but is careful enough not to reorder.
10707 # Supported since Solaris 2.6 (maybe 2.5.1?)
10708 if test "$GCC" = yes; then
10709 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10711 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10715 link_all_deplibs
=yes
10719 if test "x$host_vendor" = xsequent
; then
10720 # Use $CC to link under sequent, because it throws in some extra .o
10721 # files that make .init and .fini sections work.
10722 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10724 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10726 hardcode_libdir_flag_spec
='-L$libdir'
10727 hardcode_direct
=yes
10728 hardcode_minus_L
=yes
10729 hardcode_shlibpath_var
=no
10733 case $host_vendor in
10735 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10736 hardcode_direct
=yes # is this really true???
10739 ## LD is ld it makes a PLAMLIB
10740 ## CC just makes a GrossModule.
10741 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10742 reload_cmds
='$CC -r -o $output$reload_objs'
10746 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10747 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10750 runpath_var
='LD_RUN_PATH'
10751 hardcode_shlibpath_var
=no
10755 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10756 hardcode_shlibpath_var
=no
10757 export_dynamic_flag_spec
='-Bexport'
10761 if test -d /usr
/nec
; then
10762 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_shlibpath_var
=no
10764 runpath_var
=LD_RUN_PATH
10765 hardcode_runpath_var
=yes
10770 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10771 no_undefined_flag
='${wl}-z,text'
10772 archive_cmds_need_lc
=no
10773 hardcode_shlibpath_var
=no
10774 runpath_var
='LD_RUN_PATH'
10776 if test "$GCC" = yes; then
10777 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10778 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10781 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785 sysv5
* | sco3.2v5
* | sco5v6
*)
10786 # Note: We can NOT use -z defs as we might desire, because we do not
10787 # link with -lc, and that would cause any symbols used from libc to
10788 # always be unresolved, which means just about no library would
10789 # ever link correctly. If we're not using GNU ld we use -z text
10790 # though, which does catch some bad symbols but isn't as heavy-handed
10792 no_undefined_flag
='${wl}-z,text'
10793 allow_undefined_flag
='${wl}-z,nodefs'
10794 archive_cmds_need_lc
=no
10795 hardcode_shlibpath_var
=no
10796 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10797 hardcode_libdir_separator
=':'
10798 link_all_deplibs
=yes
10799 export_dynamic_flag_spec
='${wl}-Bexport'
10800 runpath_var
='LD_RUN_PATH'
10802 if test "$GCC" = yes; then
10803 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10804 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10806 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10807 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10812 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10813 hardcode_libdir_flag_spec
='-L$libdir'
10814 hardcode_shlibpath_var
=no
10822 if test x
$host_vendor = xsni
; then
10824 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10825 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10832 $as_echo "$ld_shlibs" >&6; }
10833 test "$ld_shlibs" = no
&& can_build_shared
=no
10835 with_gnu_ld
=$with_gnu_ld
10852 # Do we need to explicitly link libc?
10854 case "x$archive_cmds_need_lc" in
10856 # Assume -lc should be added
10857 archive_cmds_need_lc
=yes
10859 if test "$enable_shared" = yes && test "$GCC" = yes; then
10860 case $archive_cmds in
10862 # FIXME: we may have to deal with multi-command sequences.
10865 # Test whether the compiler implicitly links with -lc since on some
10866 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10867 # to ld, don't add -lc before -lgcc.
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10869 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10870 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10871 $as_echo_n "(cached) " >&6
10874 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10877 (eval $ac_compile) 2>&5
10879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10880 test $ac_status = 0; } 2>conftest.err
; then
10883 libobjs
=conftest.
$ac_objext
10885 wl
=$lt_prog_compiler_wl
10886 pic_flag
=$lt_prog_compiler_pic
10892 lt_save_allow_undefined_flag
=$allow_undefined_flag
10893 allow_undefined_flag
=
10894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10895 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10898 test $ac_status = 0; }
10900 lt_cv_archive_cmds_need_lc
=no
10902 lt_cv_archive_cmds_need_lc
=yes
10904 allow_undefined_flag
=$lt_save_allow_undefined_flag
10906 cat conftest.err
1>&5
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10912 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10913 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11072 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11074 if test "$GCC" = yes; then
11076 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11077 *) lt_awk_arg
="/^libraries:/" ;;
11080 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11081 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11083 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11084 case $lt_search_path_spec in
11086 # if the path contains ";" then we assume it to be the separator
11087 # otherwise default to the standard path separator (i.e. ":") - it is
11088 # assumed that no part of a normal pathname contains ";" but that should
11089 # okay in the real world where ";" in dirpaths is itself problematic.
11090 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11093 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11096 # Ok, now we have the path, separated by spaces, we can step through it
11097 # and add multilib dir if necessary.
11098 lt_tmp_lt_search_path_spec
=
11099 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11100 for lt_sys_path
in $lt_search_path_spec; do
11101 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11102 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11104 test -d "$lt_sys_path" && \
11105 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11108 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11109 BEGIN {RS=" "; FS="/|\n";} {
11112 for (lt_i = NF; lt_i > 0; lt_i--) {
11113 if ($lt_i != "" && $lt_i != ".") {
11114 if ($lt_i == "..") {
11117 if (lt_count == 0) {
11118 lt_foo="/" $lt_i lt_foo;
11125 if (lt_foo != "") { lt_freq[lt_foo]++; }
11126 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11128 # AWK program above erroneously prepends '/' to C:/dos/paths
11131 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11132 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11134 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11136 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11138 library_names_spec
=
11139 libname_spec
='lib$name'
11143 postuninstall_cmds
=
11147 shlibpath_overrides_runpath
=unknown
11149 dynamic_linker
="$host_os ld.so"
11150 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11151 need_lib_prefix
=unknown
11152 hardcode_into_libs
=no
11154 # when you set need_version to no, make sure it does not cause -set_version
11155 # flags to be left without arguments
11156 need_version
=unknown
11160 version_type
=linux
# correct to gnu/linux during the next big refactor
11161 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11162 shlibpath_var
=LIBPATH
11164 # AIX 3 has no versioning support, so we append a major version to the name.
11165 soname_spec
='${libname}${release}${shared_ext}$major'
11169 version_type
=linux
# correct to gnu/linux during the next big refactor
11172 hardcode_into_libs
=yes
11173 if test "$host_cpu" = ia64
; then
11174 # AIX 5 supports IA64
11175 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11176 shlibpath_var
=LD_LIBRARY_PATH
11178 # With GCC up to 2.95.x, collect2 would create an import file
11179 # for dependence libraries. The import file would start with
11180 # the line `#! .'. This would cause the generated library to
11181 # depend on `.', always an invalid library. This was fixed in
11182 # development snapshots of GCC prior to 3.0.
11184 aix4
| aix4.
[01] | aix4.
[01].
*)
11185 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11187 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11190 can_build_shared
=no
11194 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11195 # soname into executable. Probably we can add versioning support to
11196 # collect2, so additional links can be useful in future.
11197 if test "$aix_use_runtimelinking" = yes; then
11198 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11199 # instead of lib<name>.a to let people know that these are not
11200 # typical AIX shared libraries.
11201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11203 # We preserve .a as extension for shared libraries through AIX4.2
11204 # and later when we are not doing run time linking.
11205 library_names_spec
='${libname}${release}.a $libname.a'
11206 soname_spec
='${libname}${release}${shared_ext}$major'
11208 shlibpath_var
=LIBPATH
11215 # Since July 2007 AmigaOS4 officially supports .so libraries.
11216 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11220 library_names_spec
='$libname.ixlibrary $libname.a'
11221 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11222 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'
11228 library_names_spec
='${libname}${shared_ext}'
11229 dynamic_linker
="$host_os ld.so"
11230 shlibpath_var
=LIBRARY_PATH
11234 version_type
=linux
# correct to gnu/linux during the next big refactor
11236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237 soname_spec
='${libname}${release}${shared_ext}$major'
11238 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11239 shlibpath_var
=LD_LIBRARY_PATH
11240 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11241 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11242 # the default ld.so.conf also contains /usr/contrib/lib and
11243 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11244 # libtool to hard-code these into programs
11247 cygwin
* | mingw
* | pw32
* | cegcc
*)
11248 version_type
=windows
11253 case $GCC,$cc_basename in
11256 library_names_spec
='$libname.dll.a'
11257 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11258 postinstall_cmds
='base_file=`basename \${file}`~
11259 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11260 dldir=$destdir/`dirname \$dlpath`~
11261 test -d \$dldir || mkdir -p \$dldir~
11262 $install_prog $dir/$dlname \$dldir/$dlname~
11263 chmod a+x \$dldir/$dlname~
11264 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11265 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11267 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11268 dlpath=$dir/\$dldll~
11270 shlibpath_overrides_runpath
=yes
11274 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11275 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11277 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11280 # MinGW DLLs use traditional 'lib' prefix
11281 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11284 # pw32 DLLs use 'pw' prefix rather than 'lib'
11285 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11288 dynamic_linker
='Win32 ld.exe'
11293 libname_spec
='$name'
11294 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11295 library_names_spec
='${libname}.dll.lib'
11299 sys_lib_search_path_spec
=
11302 for lt_path
in $LIB
11305 # Let DOS variable expansion print the short 8.3 style file name.
11306 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11307 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11310 # Convert to MSYS style.
11311 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11314 # Convert to unix form, then to dos form, then back to unix form
11315 # but this time dos style (no spaces!) so that the unix form looks
11316 # like /cygdrive/c/PROGRA~1:/cygdr...
11317 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11318 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11319 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11322 sys_lib_search_path_spec
="$LIB"
11323 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11324 # It is most probably a Windows format PATH.
11325 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11327 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11329 # FIXME: find the short name or the path components, as spaces are
11330 # common. (e.g. "Program Files" -> "PROGRA~1")
11334 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11335 postinstall_cmds
='base_file=`basename \${file}`~
11336 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11337 dldir=$destdir/`dirname \$dlpath`~
11338 test -d \$dldir || mkdir -p \$dldir~
11339 $install_prog $dir/$dlname \$dldir/$dlname'
11340 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11341 dlpath=$dir/\$dldll~
11343 shlibpath_overrides_runpath
=yes
11344 dynamic_linker
='Win32 link.exe'
11348 # Assume MSVC wrapper
11349 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11350 dynamic_linker
='Win32 ld.exe'
11353 # FIXME: first we should search . and the directory the executable is in
11357 darwin
* | rhapsody
*)
11358 dynamic_linker
="$host_os dyld"
11359 version_type
=darwin
11362 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11363 soname_spec
='${libname}${release}${major}$shared_ext'
11364 shlibpath_overrides_runpath
=yes
11365 shlibpath_var
=DYLD_LIBRARY_PATH
11366 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11368 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11369 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11373 version_type
=linux
# correct to gnu/linux during the next big refactor
11376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11377 soname_spec
='${libname}${release}${shared_ext}$major'
11378 shlibpath_var
=LD_LIBRARY_PATH
11381 freebsd
* | dragonfly
*)
11382 # DragonFly does not have aout. When/if they implement a new
11383 # versioning mechanism, adjust this.
11384 if test -x /usr
/bin
/objformat
; then
11385 objformat
=`/usr/bin/objformat`
11388 freebsd
[23].
*) objformat
=aout
;;
11389 *) objformat
=elf
;;
11392 version_type
=freebsd
-$objformat
11393 case $version_type in
11395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11400 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11404 shlibpath_var
=LD_LIBRARY_PATH
11407 shlibpath_overrides_runpath
=yes
11409 freebsd3.
[01]* | freebsdelf3.
[01]*)
11410 shlibpath_overrides_runpath
=yes
11411 hardcode_into_libs
=yes
11413 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11414 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11415 shlibpath_overrides_runpath
=no
11416 hardcode_into_libs
=yes
11418 *) # from 4.6 on, and DragonFly
11419 shlibpath_overrides_runpath
=yes
11420 hardcode_into_libs
=yes
11426 version_type
=linux
# correct to gnu/linux during the next big refactor
11429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11430 soname_spec
='${libname}${release}${shared_ext}$major'
11431 shlibpath_var
=LD_LIBRARY_PATH
11432 shlibpath_overrides_runpath
=no
11433 hardcode_into_libs
=yes
11437 version_type
=linux
# correct to gnu/linux during the next big refactor
11440 dynamic_linker
="$host_os runtime_loader"
11441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11442 soname_spec
='${libname}${release}${shared_ext}$major'
11443 shlibpath_var
=LIBRARY_PATH
11444 shlibpath_overrides_runpath
=yes
11445 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11446 hardcode_into_libs
=yes
11449 hpux9
* | hpux10
* | hpux11
*)
11450 # Give a soname corresponding to the major version so that dld.sl refuses to
11451 # link against other versions.
11458 hardcode_into_libs
=yes
11459 dynamic_linker
="$host_os dld.so"
11460 shlibpath_var
=LD_LIBRARY_PATH
11461 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11463 soname_spec
='${libname}${release}${shared_ext}$major'
11464 if test "X$HPUX_IA64_MODE" = X32
; then
11465 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11467 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11469 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11473 hardcode_into_libs
=yes
11474 dynamic_linker
="$host_os dld.sl"
11475 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11476 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11478 soname_spec
='${libname}${release}${shared_ext}$major'
11479 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11480 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11484 dynamic_linker
="$host_os dld.sl"
11485 shlibpath_var
=SHLIB_PATH
11486 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11488 soname_spec
='${libname}${release}${shared_ext}$major'
11491 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11492 postinstall_cmds
='chmod 555 $lib'
11493 # or fails outright, so override atomically:
11494 install_override_mode
=555
11498 version_type
=linux
# correct to gnu/linux during the next big refactor
11501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11502 soname_spec
='${libname}${release}${shared_ext}$major'
11503 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11504 shlibpath_var
=LD_LIBRARY_PATH
11505 shlibpath_overrides_runpath
=no
11506 hardcode_into_libs
=yes
11509 irix5
* | irix6
* | nonstopux
*)
11511 nonstopux
*) version_type
=nonstopux
;;
11513 if test "$lt_cv_prog_gnu_ld" = yes; then
11514 version_type
=linux
# correct to gnu/linux during the next big refactor
11521 soname_spec
='${libname}${release}${shared_ext}$major'
11522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11524 irix5
* | nonstopux
*)
11525 libsuff
= shlibsuff
=
11528 case $LD in # libtool.m4 will add one of these switches to LD
11529 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11530 libsuff
= shlibsuff
= libmagic
=32-bit;;
11531 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11532 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11533 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11534 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11535 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11539 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11540 shlibpath_overrides_runpath
=no
11541 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11542 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11543 hardcode_into_libs
=yes
11546 # No shared lib support for Linux oldld, aout, or coff.
11547 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11551 # This must be glibc/ELF.
11552 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11553 version_type
=linux
# correct to gnu/linux during the next big refactor
11556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557 soname_spec
='${libname}${release}${shared_ext}$major'
11558 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11559 shlibpath_var
=LD_LIBRARY_PATH
11560 shlibpath_overrides_runpath
=no
11562 # Some binutils ld are patched to set DT_RUNPATH
11563 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11564 $as_echo_n "(cached) " >&6
11566 lt_cv_shlibpath_overrides_runpath
=no
11567 save_LDFLAGS
=$LDFLAGS
11568 save_libdir
=$libdir
11569 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11570 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11582 if ac_fn_c_try_link
"$LINENO"; then :
11583 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11584 lt_cv_shlibpath_overrides_runpath
=yes
11587 rm -f core conftest.err conftest.
$ac_objext \
11588 conftest
$ac_exeext conftest.
$ac_ext
11589 LDFLAGS
=$save_LDFLAGS
11590 libdir
=$save_libdir
11594 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11596 # This implies no fast_install, which is unacceptable.
11597 # Some rework will be needed to allow for fast_install
11598 # before this can be enabled.
11599 hardcode_into_libs
=yes
11601 # Append ld.so.conf contents to the search path
11602 if test -f /etc
/ld.so.conf
; then
11603 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' ' '`
11604 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11607 # We used to test for /lib/ld.so.1 and disable shared libraries on
11608 # powerpc, because MkLinux only supported shared libraries with the
11609 # GNU dynamic linker. Since this was broken with cross compilers,
11610 # most powerpc-linux boxes support dynamic linking these days and
11611 # people can always --disable-shared, the test was removed, and we
11612 # assume the GNU/Linux dynamic linker is in use.
11613 dynamic_linker
='GNU/Linux ld.so'
11620 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11621 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11622 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11623 dynamic_linker
='NetBSD (a.out) ld.so'
11625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11626 soname_spec
='${libname}${release}${shared_ext}$major'
11627 dynamic_linker
='NetBSD ld.elf_so'
11629 shlibpath_var
=LD_LIBRARY_PATH
11630 shlibpath_overrides_runpath
=yes
11631 hardcode_into_libs
=yes
11635 version_type
=linux
# correct to gnu/linux during the next big refactor
11636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11637 shlibpath_var
=LD_LIBRARY_PATH
11638 shlibpath_overrides_runpath
=yes
11645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 soname_spec
='${libname}${release}${shared_ext}$major'
11647 shlibpath_var
=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath
=no
11649 hardcode_into_libs
=yes
11650 dynamic_linker
='ldqnx.so'
11655 sys_lib_dlsearch_path_spec
="/usr/lib"
11657 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11659 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11660 *) need_version
=no
;;
11662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11663 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11664 shlibpath_var
=LD_LIBRARY_PATH
11665 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11667 openbsd2.
[89] | openbsd2.
[89].
*)
11668 shlibpath_overrides_runpath
=no
11671 shlibpath_overrides_runpath
=yes
11675 shlibpath_overrides_runpath
=yes
11680 libname_spec
='$name'
11683 library_names_spec
='$libname${shared_ext} $libname.a'
11684 dynamic_linker
='OS/2 ld.exe'
11685 shlibpath_var
=LIBPATH
11688 osf3
* | osf4
* | osf5
*)
11692 soname_spec
='${libname}${release}${shared_ext}$major'
11693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11694 shlibpath_var
=LD_LIBRARY_PATH
11695 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11696 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11704 version_type
=linux
# correct to gnu/linux during the next big refactor
11707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11708 soname_spec
='${libname}${release}${shared_ext}$major'
11709 shlibpath_var
=LD_LIBRARY_PATH
11710 shlibpath_overrides_runpath
=yes
11711 hardcode_into_libs
=yes
11712 # ldd complains unless libraries are executable
11713 postinstall_cmds
='chmod +x $lib'
11718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11719 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11720 shlibpath_var
=LD_LIBRARY_PATH
11721 shlibpath_overrides_runpath
=yes
11722 if test "$with_gnu_ld" = yes; then
11729 version_type
=linux
# correct to gnu/linux during the next big refactor
11730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11731 soname_spec
='${libname}${release}${shared_ext}$major'
11732 shlibpath_var
=LD_LIBRARY_PATH
11733 case $host_vendor in
11735 shlibpath_overrides_runpath
=no
11737 runpath_var
=LD_RUN_PATH
11745 shlibpath_overrides_runpath
=no
11746 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11752 if test -d /usr
/nec
;then
11753 version_type
=linux
# correct to gnu/linux during the next big refactor
11754 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11755 soname_spec
='$libname${shared_ext}.$major'
11756 shlibpath_var
=LD_LIBRARY_PATH
11760 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11761 version_type
=freebsd
-elf
11764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11765 soname_spec
='${libname}${release}${shared_ext}$major'
11766 shlibpath_var
=LD_LIBRARY_PATH
11767 shlibpath_overrides_runpath
=yes
11768 hardcode_into_libs
=yes
11769 if test "$with_gnu_ld" = yes; then
11770 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11772 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11775 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11779 sys_lib_dlsearch_path_spec
='/usr/lib'
11783 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11784 version_type
=linux
# correct to gnu/linux during the next big refactor
11787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11788 shlibpath_var
=LD_LIBRARY_PATH
11789 shlibpath_overrides_runpath
=no
11790 hardcode_into_libs
=yes
11794 version_type
=linux
# correct to gnu/linux during the next big refactor
11795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11796 soname_spec
='${libname}${release}${shared_ext}$major'
11797 shlibpath_var
=LD_LIBRARY_PATH
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11805 $as_echo "$dynamic_linker" >&6; }
11806 test "$dynamic_linker" = no
&& can_build_shared
=no
11808 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11809 if test "$GCC" = yes; then
11810 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11813 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11814 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11816 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11817 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11912 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11914 if test -n "$hardcode_libdir_flag_spec" ||
11915 test -n "$runpath_var" ||
11916 test "X$hardcode_automatic" = "Xyes" ; then
11918 # We can hardcode non-existent directories.
11919 if test "$hardcode_direct" != no
&&
11920 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11921 # have to relink, otherwise we might link with an installed library
11922 # when we should be linking with a yet-to-be-installed one
11923 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11924 test "$hardcode_minus_L" != no
; then
11925 # Linking always hardcodes the temporary library directory.
11926 hardcode_action
=relink
11928 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11929 hardcode_action
=immediate
11932 # We cannot hardcode anything, or else we can only hardcode existing
11934 hardcode_action
=unsupported
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11937 $as_echo "$hardcode_action" >&6; }
11939 if test "$hardcode_action" = relink
||
11940 test "$inherit_rpath" = yes; then
11941 # Fast installation is not supported
11942 enable_fast_install
=no
11943 elif test "$shlibpath_overrides_runpath" = yes ||
11944 test "$enable_shared" = no
; then
11945 # Fast installation is not necessary
11946 enable_fast_install
=needless
11954 if test "x$enable_dlopen" != xyes
; then
11955 enable_dlopen
=unknown
11956 enable_dlopen_self
=unknown
11957 enable_dlopen_self_static
=unknown
11964 lt_cv_dlopen
="load_add_on"
11966 lt_cv_dlopen_self
=yes
11969 mingw
* | pw32
* | cegcc
*)
11970 lt_cv_dlopen
="LoadLibrary"
11975 lt_cv_dlopen
="dlopen"
11980 # if libdl is installed we need to link against it
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11982 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11983 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11984 $as_echo_n "(cached) " >&6
11986 ac_check_lib_save_LIBS
=$LIBS
11988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11991 /* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
12006 if ac_fn_c_try_link
"$LINENO"; then :
12007 ac_cv_lib_dl_dlopen
=yes
12009 ac_cv_lib_dl_dlopen
=no
12011 rm -f core conftest.err conftest.
$ac_objext \
12012 conftest
$ac_exeext conftest.
$ac_ext
12013 LIBS
=$ac_check_lib_save_LIBS
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12016 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12017 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12018 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12021 lt_cv_dlopen
="dyld"
12023 lt_cv_dlopen_self
=yes
12030 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12031 if test "x$ac_cv_func_shl_load" = xyes
; then :
12032 lt_cv_dlopen
="shl_load"
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12035 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12036 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12037 $as_echo_n "(cached) " >&6
12039 ac_check_lib_save_LIBS
=$LIBS
12041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12042 /* end confdefs.h. */
12044 /* Override any GCC internal prototype to avoid an error.
12045 Use char because int might match the return type of a GCC
12046 builtin and then its argument prototype would still apply. */
12054 return shl_load ();
12059 if ac_fn_c_try_link
"$LINENO"; then :
12060 ac_cv_lib_dld_shl_load
=yes
12062 ac_cv_lib_dld_shl_load
=no
12064 rm -f core conftest.err conftest.
$ac_objext \
12065 conftest
$ac_exeext conftest.
$ac_ext
12066 LIBS
=$ac_check_lib_save_LIBS
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12069 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12070 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12071 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12073 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12074 if test "x$ac_cv_func_dlopen" = xyes
; then :
12075 lt_cv_dlopen
="dlopen"
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12078 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12079 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12080 $as_echo_n "(cached) " >&6
12082 ac_check_lib_save_LIBS
=$LIBS
12084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12102 if ac_fn_c_try_link
"$LINENO"; then :
12103 ac_cv_lib_dl_dlopen
=yes
12105 ac_cv_lib_dl_dlopen
=no
12107 rm -f core conftest.err conftest.
$ac_objext \
12108 conftest
$ac_exeext conftest.
$ac_ext
12109 LIBS
=$ac_check_lib_save_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12112 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12113 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12114 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12117 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12118 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12119 $as_echo_n "(cached) " >&6
12121 ac_check_lib_save_LIBS
=$LIBS
12122 LIBS
="-lsvld $LIBS"
12123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12126 /* Override any GCC internal prototype to avoid an error.
12127 Use char because int might match the return type of a GCC
12128 builtin and then its argument prototype would still apply. */
12141 if ac_fn_c_try_link
"$LINENO"; then :
12142 ac_cv_lib_svld_dlopen
=yes
12144 ac_cv_lib_svld_dlopen
=no
12146 rm -f core conftest.err conftest.
$ac_objext \
12147 conftest
$ac_exeext conftest.
$ac_ext
12148 LIBS
=$ac_check_lib_save_LIBS
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12151 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12152 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12153 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12156 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12157 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12158 $as_echo_n "(cached) " >&6
12160 ac_check_lib_save_LIBS
=$LIBS
12162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12165 /* Override any GCC internal prototype to avoid an error.
12166 Use char because int might match the return type of a GCC
12167 builtin and then its argument prototype would still apply. */
12175 return dld_link ();
12180 if ac_fn_c_try_link
"$LINENO"; then :
12181 ac_cv_lib_dld_dld_link
=yes
12183 ac_cv_lib_dld_dld_link
=no
12185 rm -f core conftest.err conftest.
$ac_objext \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 LIBS
=$ac_check_lib_save_LIBS
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12190 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12191 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12192 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12213 if test "x$lt_cv_dlopen" != xno
; then
12219 case $lt_cv_dlopen in
12221 save_CPPFLAGS
="$CPPFLAGS"
12222 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12224 save_LDFLAGS
="$LDFLAGS"
12225 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12228 LIBS
="$lt_cv_dlopen_libs $LIBS"
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12231 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12232 if ${lt_cv_dlopen_self+:} false
; then :
12233 $as_echo_n "(cached) " >&6
12235 if test "$cross_compiling" = yes; then :
12236 lt_cv_dlopen_self
=cross
12238 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12239 lt_status
=$lt_dlunknown
12240 cat > conftest.
$ac_ext <<_LT_EOF
12241 #line $LINENO "configure"
12242 #include "confdefs.h"
12251 # define LT_DLGLOBAL RTLD_GLOBAL
12254 # define LT_DLGLOBAL DL_GLOBAL
12256 # define LT_DLGLOBAL 0
12260 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12261 find out it does not work in some platform. */
12262 #ifndef LT_DLLAZY_OR_NOW
12264 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12267 # define LT_DLLAZY_OR_NOW DL_LAZY
12270 # define LT_DLLAZY_OR_NOW RTLD_NOW
12273 # define LT_DLLAZY_OR_NOW DL_NOW
12275 # define LT_DLLAZY_OR_NOW 0
12282 /* When -fvisbility=hidden is used, assume the code has been annotated
12283 correspondingly for the symbols needed. */
12284 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12285 int fnord () __attribute__((visibility("default")));
12288 int fnord () { return 42; }
12291 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12292 int status = $lt_dlunknown;
12296 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12299 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12300 else puts (dlerror ());
12302 /* dlclose (self); */
12310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12311 (eval $ac_link) 2>&5
12313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12314 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12315 (.
/conftest
; exit; ) >&5 2>/dev
/null
12317 case x
$lt_status in
12318 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12319 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12320 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12323 # compilation failed
12324 lt_cv_dlopen_self
=no
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12332 $as_echo "$lt_cv_dlopen_self" >&6; }
12334 if test "x$lt_cv_dlopen_self" = xyes
; then
12335 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12337 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12338 if ${lt_cv_dlopen_self_static+:} false
; then :
12339 $as_echo_n "(cached) " >&6
12341 if test "$cross_compiling" = yes; then :
12342 lt_cv_dlopen_self_static
=cross
12344 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12345 lt_status
=$lt_dlunknown
12346 cat > conftest.
$ac_ext <<_LT_EOF
12347 #line $LINENO "configure"
12348 #include "confdefs.h"
12357 # define LT_DLGLOBAL RTLD_GLOBAL
12360 # define LT_DLGLOBAL DL_GLOBAL
12362 # define LT_DLGLOBAL 0
12366 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12367 find out it does not work in some platform. */
12368 #ifndef LT_DLLAZY_OR_NOW
12370 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12373 # define LT_DLLAZY_OR_NOW DL_LAZY
12376 # define LT_DLLAZY_OR_NOW RTLD_NOW
12379 # define LT_DLLAZY_OR_NOW DL_NOW
12381 # define LT_DLLAZY_OR_NOW 0
12388 /* When -fvisbility=hidden is used, assume the code has been annotated
12389 correspondingly for the symbols needed. */
12390 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12391 int fnord () __attribute__((visibility("default")));
12394 int fnord () { return 42; }
12397 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12398 int status = $lt_dlunknown;
12402 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12405 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12406 else puts (dlerror ());
12408 /* dlclose (self); */
12416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12417 (eval $ac_link) 2>&5
12419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12420 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12421 (.
/conftest
; exit; ) >&5 2>/dev
/null
12423 case x
$lt_status in
12424 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12425 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12426 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12429 # compilation failed
12430 lt_cv_dlopen_self_static
=no
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12438 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12441 CPPFLAGS
="$save_CPPFLAGS"
12442 LDFLAGS
="$save_LDFLAGS"
12447 case $lt_cv_dlopen_self in
12448 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12449 *) enable_dlopen_self
=unknown
;;
12452 case $lt_cv_dlopen_self_static in
12453 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12454 *) enable_dlopen_self_static
=unknown
;;
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12477 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12478 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12479 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12480 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12482 $as_echo "yes" >&6; }
12484 # FIXME - insert some real tests, host_os isn't really good enough
12487 if test -n "$STRIP" ; then
12488 striplib
="$STRIP -x"
12489 old_striplib
="$STRIP -S"
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12491 $as_echo "yes" >&6; }
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12494 $as_echo "no" >&6; }
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12499 $as_echo "no" >&6; }
12515 # Report which library types will actually be built
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12517 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12519 $as_echo "$can_build_shared" >&6; }
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12522 $as_echo_n "checking whether to build shared libraries... " >&6; }
12523 test "$can_build_shared" = "no" && enable_shared
=no
12525 # On AIX, shared libraries and static libraries use the same namespace, and
12526 # are all built from PIC.
12529 test "$enable_shared" = yes && enable_static
=no
12530 if test -n "$RANLIB"; then
12531 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12532 postinstall_cmds
='$RANLIB $lib'
12537 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12538 test "$enable_shared" = yes && enable_static
=no
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12543 $as_echo "$enable_shared" >&6; }
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12546 $as_echo_n "checking whether to build static libraries... " >&6; }
12547 # Make sure either enable_shared or enable_static is yes.
12548 test "$enable_shared" = yes || enable_static
=yes
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12550 $as_echo "$enable_static" >&6; }
12557 ac_cpp
='$CPP $CPPFLAGS'
12558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12564 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12565 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12566 (test "X$CXX" != "Xg++"))) ; then
12568 ac_cpp
='$CXXCPP $CPPFLAGS'
12569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12573 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12574 if test -z "$CXXCPP"; then
12575 if ${ac_cv_prog_CXXCPP+:} false
; then :
12576 $as_echo_n "(cached) " >&6
12578 # Double quotes because CXXCPP needs to be expanded
12579 for CXXCPP
in "$CXX -E" "/lib/cpp"
12581 ac_preproc_ok
=false
12582 for ac_cxx_preproc_warn_flag
in '' yes
12584 # Use a header file that comes with gcc, so configuring glibc
12585 # with a fresh cross-compiler works.
12586 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12587 # <limits.h> exists even on freestanding compilers.
12588 # On the NeXT, cc -E runs the code through the compiler's parser,
12589 # not just through cpp. "Syntax error" is here to catch this case.
12590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 # include <limits.h>
12595 # include <assert.h>
12599 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12602 # Broken: fails on valid input.
12605 rm -f conftest.err conftest.i conftest.
$ac_ext
12607 # OK, works on sane cases. Now check whether nonexistent headers
12608 # can be detected and how.
12609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12611 #include <ac_nonexistent.h>
12613 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12614 # Broken: success on invalid input.
12617 # Passes both tests.
12621 rm -f conftest.err conftest.i conftest.
$ac_ext
12624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12625 rm -f conftest.i conftest.err conftest.
$ac_ext
12626 if $ac_preproc_ok; then :
12631 ac_cv_prog_CXXCPP
=$CXXCPP
12634 CXXCPP
=$ac_cv_prog_CXXCPP
12636 ac_cv_prog_CXXCPP
=$CXXCPP
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12639 $as_echo "$CXXCPP" >&6; }
12640 ac_preproc_ok
=false
12641 for ac_cxx_preproc_warn_flag
in '' yes
12643 # Use a header file that comes with gcc, so configuring glibc
12644 # with a fresh cross-compiler works.
12645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12646 # <limits.h> exists even on freestanding compilers.
12647 # On the NeXT, cc -E runs the code through the compiler's parser,
12648 # not just through cpp. "Syntax error" is here to catch this case.
12649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 # include <limits.h>
12654 # include <assert.h>
12658 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12661 # Broken: fails on valid input.
12664 rm -f conftest.err conftest.i conftest.
$ac_ext
12666 # OK, works on sane cases. Now check whether nonexistent headers
12667 # can be detected and how.
12668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12670 #include <ac_nonexistent.h>
12672 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12673 # Broken: success on invalid input.
12676 # Passes both tests.
12680 rm -f conftest.err conftest.i conftest.
$ac_ext
12683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12684 rm -f conftest.i conftest.err conftest.
$ac_ext
12685 if $ac_preproc_ok; then :
12688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12690 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12691 See \`config.log' for more details" "$LINENO" 5; }
12695 ac_cpp
='$CPP $CPPFLAGS'
12696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12701 _lt_caught_CXX_error
=yes
12705 ac_cpp
='$CXXCPP $CPPFLAGS'
12706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12710 archive_cmds_need_lc_CXX
=no
12711 allow_undefined_flag_CXX
=
12712 always_export_symbols_CXX
=no
12713 archive_expsym_cmds_CXX
=
12714 compiler_needs_object_CXX
=no
12715 export_dynamic_flag_spec_CXX
=
12716 hardcode_direct_CXX
=no
12717 hardcode_direct_absolute_CXX
=no
12718 hardcode_libdir_flag_spec_CXX
=
12719 hardcode_libdir_separator_CXX
=
12720 hardcode_minus_L_CXX
=no
12721 hardcode_shlibpath_var_CXX
=unsupported
12722 hardcode_automatic_CXX
=no
12723 inherit_rpath_CXX
=no
12725 module_expsym_cmds_CXX
=
12726 link_all_deplibs_CXX
=unknown
12727 old_archive_cmds_CXX
=$old_archive_cmds
12728 reload_flag_CXX
=$reload_flag
12729 reload_cmds_CXX
=$reload_cmds
12730 no_undefined_flag_CXX
=
12731 whole_archive_flag_spec_CXX
=
12732 enable_shared_with_static_runtimes_CXX
=no
12734 # Source file extension for C++ test sources.
12737 # Object file extension for compiled C++ test sources.
12741 # No sense in running all these tests if we already determined that
12742 # the CXX compiler isn't working. Some variables (like enable_shared)
12743 # are currently assumed to apply to all compilers on this platform,
12744 # and will be corrupted by setting them based on a non-working compiler.
12745 if test "$_lt_caught_CXX_error" != yes; then
12746 # Code to be used in simple compile tests
12747 lt_simple_compile_test_code
="int some_variable = 0;"
12749 # Code to be used in simple link tests
12750 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12752 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12759 # If no C compiler was specified, use CC.
12762 # If no C compiler flags were specified, use CFLAGS.
12763 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12765 # Allow CC to be a program name with arguments.
12769 # save warnings/boilerplate of simple test code
12770 ac_outfile
=conftest.
$ac_objext
12771 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12772 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12773 _lt_compiler_boilerplate
=`cat conftest.err`
12776 ac_outfile
=conftest.
$ac_objext
12777 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12778 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
12779 _lt_linker_boilerplate
=`cat conftest.err`
12783 # Allow CC to be a program name with arguments.
12785 lt_save_CFLAGS
=$CFLAGS
12789 lt_save_with_gnu_ld
=$with_gnu_ld
12790 lt_save_path_LD
=$lt_cv_path_LD
12791 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12792 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12794 $as_unset lt_cv_prog_gnu_ld
12796 if test -n "${lt_cv_path_LDCXX+set}"; then
12797 lt_cv_path_LD
=$lt_cv_path_LDCXX
12799 $as_unset lt_cv_path_LD
12801 test -z "${LDCXX+set}" || LD
=$LDCXX
12806 for cc_temp
in $compiler""; do
12808 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
12809 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
12814 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12817 if test -n "$compiler"; then
12818 # We don't want -fno-exception when compiling C++ code, so set the
12819 # no_builtin_flag separately
12820 if test "$GXX" = yes; then
12821 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12823 lt_prog_compiler_no_builtin_flag_CXX
=
12826 if test "$GXX" = yes; then
12827 # Set up default GNU C++ configuration
12831 # Check whether --with-gnu-ld was given.
12832 if test "${with_gnu_ld+set}" = set; then :
12833 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
12839 if test "$GCC" = yes; then
12840 # Check if gcc -print-prog-name=ld gives a path.
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12842 $as_echo_n "checking for ld used by $CC... " >&6; }
12845 # gcc leaves a trailing carriage return which upsets mingw
12846 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12848 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12851 # Accept absolute paths.
12853 re_direlt
='/[^/][^/]*/\.\./'
12854 # Canonicalize the pathname of ld
12855 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12856 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
12857 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12859 test -z "$LD" && LD
="$ac_prog"
12862 # If it fails, then pretend we aren't using GCC.
12866 # If it is relative, then search for the first ld in PATH.
12867 with_gnu_ld
=unknown
12870 elif test "$with_gnu_ld" = yes; then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12872 $as_echo_n "checking for GNU ld... " >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12875 $as_echo_n "checking for non-GNU ld... " >&6; }
12877 if ${lt_cv_path_LD+:} false
; then :
12878 $as_echo_n "(cached) " >&6
12880 if test -z "$LD"; then
12881 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12882 for ac_dir
in $PATH; do
12884 test -z "$ac_dir" && ac_dir
=.
12885 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12886 lt_cv_path_LD
="$ac_dir/$ac_prog"
12887 # Check to see if the program is GNU ld. I'd rather use --version,
12888 # but apparently some variants of GNU ld only accept -v.
12889 # Break only if it was the GNU/non-GNU ld that we prefer.
12890 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12891 *GNU
* | *'with BFD'*)
12892 test "$with_gnu_ld" != no
&& break
12895 test "$with_gnu_ld" != yes && break
12902 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12906 LD
="$lt_cv_path_LD"
12907 if test -n "$LD"; then
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12909 $as_echo "$LD" >&6; }
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12912 $as_echo "no" >&6; }
12914 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12916 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12917 if ${lt_cv_prog_gnu_ld+:} false
; then :
12918 $as_echo_n "(cached) " >&6
12920 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12921 case `$LD -v 2>&1 </dev/null` in
12922 *GNU
* | *'with BFD'*)
12923 lt_cv_prog_gnu_ld
=yes
12926 lt_cv_prog_gnu_ld
=no
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12931 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12932 with_gnu_ld
=$lt_cv_prog_gnu_ld
12940 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12941 # archiving commands below assume that GNU ld is being used.
12942 if test "$with_gnu_ld" = yes; then
12943 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12944 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'
12946 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12947 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12949 # If archive_cmds runs LD, not CC, wlarc should be empty
12950 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12951 # investigate it a little bit more. (MM)
12954 # ancient GNU ld didn't support --whole-archive et. al.
12955 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12956 $GREP 'no-whole-archive' > /dev
/null
; then
12957 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12959 whole_archive_flag_spec_CXX
=
12965 # A generic and very simple default shared library creation
12966 # command for GNU C++ for the case where it uses the native
12967 # linker, instead of GNU ld. If possible, this setting should
12968 # overridden to take advantage of the native linker features on
12969 # the platform it is being used on.
12970 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12973 # Commands to make compiler produce verbose output that lists
12974 # what "hidden" libraries, object files and flags are used when
12975 # linking a shared library.
12976 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12984 # PORTME: fill in a description of your system's C++ link characteristics
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12986 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12990 # FIXME: insert proper C++ library support
12994 if test "$host_cpu" = ia64
; then
12995 # On IA64, the linker does run time linking by default, so we don't
12996 # have to do anything special.
12997 aix_use_runtimelinking
=no
12998 exp_sym_flag
='-Bexport'
13001 aix_use_runtimelinking
=no
13003 # Test if we are trying to use run time linking or normal
13004 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13005 # need to do runtime linking.
13006 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13007 for ld_flag
in $LDFLAGS; do
13010 aix_use_runtimelinking
=yes
13018 exp_sym_flag
='-bexport'
13019 no_entry_flag
='-bnoentry'
13022 # When large executables or shared objects are built, AIX ld can
13023 # have problems creating the table of contents. If linking a library
13024 # or program results in "error TOC overflow" add -mminimal-toc to
13025 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13026 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13028 archive_cmds_CXX
=''
13029 hardcode_direct_CXX
=yes
13030 hardcode_direct_absolute_CXX
=yes
13031 hardcode_libdir_separator_CXX
=':'
13032 link_all_deplibs_CXX
=yes
13033 file_list_spec_CXX
='${wl}-f,'
13035 if test "$GXX" = yes; then
13036 case $host_os in aix4.
[012]|aix4.
[012].
*)
13037 # We only want to do this on AIX 4.2 and lower, the check
13038 # below for broken collect2 doesn't work under 4.3+
13039 collect2name
=`${CC} -print-prog-name=collect2`
13040 if test -f "$collect2name" &&
13041 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13043 # We have reworked collect2
13046 # We have old collect2
13047 hardcode_direct_CXX
=unsupported
13048 # It fails to find uninstalled libraries when the uninstalled
13049 # path is not listed in the libpath. Setting hardcode_minus_L
13050 # to unsupported forces relinking
13051 hardcode_minus_L_CXX
=yes
13052 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13053 hardcode_libdir_separator_CXX
=
13056 shared_flag
='-shared'
13057 if test "$aix_use_runtimelinking" = yes; then
13058 shared_flag
="$shared_flag "'${wl}-G'
13062 if test "$host_cpu" = ia64
; then
13063 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13064 # chokes on -Wl,-G. The following line is correct:
13067 if test "$aix_use_runtimelinking" = yes; then
13068 shared_flag
='${wl}-G'
13070 shared_flag
='${wl}-bM:SRE'
13075 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13076 # It seems that -bexpall does not export symbols beginning with
13077 # underscore (_), so it is better to generate a list of symbols to
13079 always_export_symbols_CXX
=yes
13080 if test "$aix_use_runtimelinking" = yes; then
13081 # Warning - without using the other runtime loading flags (-brtl),
13082 # -berok will link without error, but may produce a broken library.
13083 allow_undefined_flag_CXX
='-berok'
13084 # Determine the default libpath from the value encoded in an empty
13086 if test "${lt_cv_aix_libpath+set}" = set; then
13087 aix_libpath
=$lt_cv_aix_libpath
13089 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13090 $as_echo_n "(cached) " >&6
13092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13103 if ac_fn_cxx_try_link
"$LINENO"; then :
13105 lt_aix_libpath_sed
='
13106 /Import File Strings/,/^$/ {
13108 s/^0 *\([^ ]*\) *$/\1/
13112 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13113 # Check for a 64-bit object if we didn't find anything.
13114 if test -z "$lt_cv_aix_libpath__CXX"; then
13115 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13118 rm -f core conftest.err conftest.
$ac_objext \
13119 conftest
$ac_exeext conftest.
$ac_ext
13120 if test -z "$lt_cv_aix_libpath__CXX"; then
13121 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13126 aix_libpath
=$lt_cv_aix_libpath__CXX
13129 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13131 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"
13133 if test "$host_cpu" = ia64
; then
13134 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13135 allow_undefined_flag_CXX
="-z nodefs"
13136 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"
13138 # Determine the default libpath from the value encoded in an
13139 # empty executable.
13140 if test "${lt_cv_aix_libpath+set}" = set; then
13141 aix_libpath
=$lt_cv_aix_libpath
13143 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13144 $as_echo_n "(cached) " >&6
13146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13157 if ac_fn_cxx_try_link
"$LINENO"; then :
13159 lt_aix_libpath_sed
='
13160 /Import File Strings/,/^$/ {
13162 s/^0 *\([^ ]*\) *$/\1/
13166 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13167 # Check for a 64-bit object if we didn't find anything.
13168 if test -z "$lt_cv_aix_libpath__CXX"; then
13169 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13172 rm -f core conftest.err conftest.
$ac_objext \
13173 conftest
$ac_exeext conftest.
$ac_ext
13174 if test -z "$lt_cv_aix_libpath__CXX"; then
13175 lt_cv_aix_libpath__CXX
="/usr/lib:/lib"
13180 aix_libpath
=$lt_cv_aix_libpath__CXX
13183 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13184 # Warning - without using the other run time loading flags,
13185 # -berok will link without error, but may produce a broken library.
13186 no_undefined_flag_CXX
=' ${wl}-bernotok'
13187 allow_undefined_flag_CXX
=' ${wl}-berok'
13188 if test "$with_gnu_ld" = yes; then
13189 # We only use this code for GNU lds that support --whole-archive.
13190 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13192 # Exported symbols can be pulled into shared objects from archives
13193 whole_archive_flag_spec_CXX
='$convenience'
13195 archive_cmds_need_lc_CXX
=yes
13196 # This is similar to how AIX traditionally builds its shared
13198 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'
13204 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13205 allow_undefined_flag_CXX
=unsupported
13206 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13207 # support --undefined. This deserves some investigation. FIXME
13208 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13215 case $cc_basename in
13217 # FIXME: insert proper C++ library support
13223 cygwin
* | mingw
* | pw32
* | cegcc
*)
13224 case $GXX,$cc_basename in
13227 # hardcode_libdir_flag_spec is actually meaningless, as there is
13228 # no search path for DLLs.
13229 hardcode_libdir_flag_spec_CXX
=' '
13230 allow_undefined_flag_CXX
=unsupported
13231 always_export_symbols_CXX
=yes
13232 file_list_spec_CXX
='@'
13233 # Tell ltmain to make .lib files, not .a files.
13235 # Tell ltmain to make .dll files, not .so files.
13237 # FIXME: Setting linknames here is a bad hack.
13238 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13239 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13240 $SED -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
13242 $SED -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
13244 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13246 # The linker will not automatically build a static lib if we build a DLL.
13247 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13248 enable_shared_with_static_runtimes_CXX
=yes
13250 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13251 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13252 lt_tool_outputfile="@TOOL_OUTPUT@"~
13253 case $lt_outputfile in
13256 lt_outputfile="$lt_outputfile.exe"
13257 lt_tool_outputfile="$lt_tool_outputfile.exe"
13260 func_to_tool_file "$lt_outputfile"~
13261 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13262 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13263 $RM "$lt_outputfile.manifest";
13268 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13269 # as there is no search path for DLLs.
13270 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13271 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13272 allow_undefined_flag_CXX
=unsupported
13273 always_export_symbols_CXX
=no
13274 enable_shared_with_static_runtimes_CXX
=yes
13276 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13277 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'
13278 # If the export-symbols file already is a .def file (1st line
13279 # is EXPORTS), use it as is; otherwise, prepend...
13280 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13281 cp $export_symbols $output_objdir/$soname.def;
13283 echo EXPORTS > $output_objdir/$soname.def;
13284 cat $export_symbols >> $output_objdir/$soname.def;
13286 $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'
13293 darwin
* | rhapsody
*)
13296 archive_cmds_need_lc_CXX
=no
13297 hardcode_direct_CXX
=no
13298 hardcode_automatic_CXX
=yes
13299 hardcode_shlibpath_var_CXX
=unsupported
13300 if test "$lt_cv_ld_force_load" = "yes"; then
13301 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\"`'
13304 whole_archive_flag_spec_CXX
=''
13306 link_all_deplibs_CXX
=yes
13307 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13308 case $cc_basename in
13309 ifort
*) _lt_dar_can_shared
=yes ;;
13310 *) _lt_dar_can_shared
=$GCC ;;
13312 if test "$_lt_dar_can_shared" = "yes"; then
13313 output_verbose_link_cmd
=func_echo_all
13314 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}"
13315 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13316 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}"
13317 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}"
13318 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13319 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}"
13320 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}"
13330 case $cc_basename in
13332 # FIXME: insert proper C++ library support
13336 # Green Hills C++ Compiler
13337 # FIXME: insert proper C++ library support
13341 # FIXME: insert proper C++ library support
13348 # C++ shared libraries reported to be fairly broken before
13354 archive_cmds_need_lc_CXX
=no
13357 freebsd
* | dragonfly
*)
13358 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13367 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13368 link_all_deplibs_CXX
=yes
13372 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13373 hardcode_libdir_separator_CXX
=:
13374 export_dynamic_flag_spec_CXX
='${wl}-E'
13375 hardcode_direct_CXX
=yes
13376 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13377 # but as the default
13378 # location of the library.
13380 case $cc_basename in
13382 # FIXME: insert proper C++ library support
13386 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'
13387 # Commands to make compiler produce verbose output that lists
13388 # what "hidden" libraries, object files and flags are used when
13389 # linking a shared library.
13391 # There doesn't appear to be a way to prevent this compiler from
13392 # explicitly linking system object files so we need to strip them
13393 # from the output so that they don't get included in the library
13395 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"'
13398 if test "$GXX" = yes; then
13399 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'
13401 # FIXME: insert proper C++ library support
13409 if test $with_gnu_ld = no
; then
13410 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13411 hardcode_libdir_separator_CXX
=:
13417 export_dynamic_flag_spec_CXX
='${wl}-E'
13423 hardcode_direct_CXX
=no
13424 hardcode_shlibpath_var_CXX
=no
13427 hardcode_direct_CXX
=yes
13428 hardcode_direct_absolute_CXX
=yes
13429 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13430 # but as the default
13431 # location of the library.
13435 case $cc_basename in
13437 # FIXME: insert proper C++ library support
13443 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13446 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13449 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13452 # Commands to make compiler produce verbose output that lists
13453 # what "hidden" libraries, object files and flags are used when
13454 # linking a shared library.
13456 # There doesn't appear to be a way to prevent this compiler from
13457 # explicitly linking system object files so we need to strip them
13458 # from the output so that they don't get included in the library
13460 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"'
13463 if test "$GXX" = yes; then
13464 if test $with_gnu_ld = no
; then
13467 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13470 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13473 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'
13478 # FIXME: insert proper C++ library support
13486 hardcode_direct_CXX
=no
13487 hardcode_shlibpath_var_CXX
=no
13488 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13489 export_dynamic_flag_spec_CXX
='${wl}-E'
13490 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13491 # Instead, shared libraries are loaded at an image base (0x10000000 by
13492 # default) and relocated if they conflict, which is a slow very memory
13493 # consuming and fragmenting process. To avoid this, we pick a random,
13494 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13495 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13496 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'
13497 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'
13500 case $cc_basename in
13503 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'
13505 # Archives containing C++ object files must be created using
13506 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13507 # necessary to make sure instantiated templates are included
13509 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13512 if test "$GXX" = yes; then
13513 if test "$with_gnu_ld" = no
; then
13514 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'
13516 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'
13519 link_all_deplibs_CXX
=yes
13522 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13523 hardcode_libdir_separator_CXX
=:
13524 inherit_rpath_CXX
=yes
13527 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13528 case $cc_basename in
13530 # Kuck and Associates, Inc. (KAI) C++ Compiler
13532 # KCC will only create a shared library if the output file
13533 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13534 # to its proper name (with version) after linking.
13535 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'
13536 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'
13537 # Commands to make compiler produce verbose output that lists
13538 # what "hidden" libraries, object files and flags are used when
13539 # linking a shared library.
13541 # There doesn't appear to be a way to prevent this compiler from
13542 # explicitly linking system object files so we need to strip them
13543 # from the output so that they don't get included in the library
13545 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"'
13547 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13548 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13550 # Archives containing C++ object files must be created using
13551 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13552 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13557 # version 8.0 and above of icpc choke on multiply defined symbols
13558 # if we add $predep_objects and $postdep_objects, however 7.1 and
13559 # earlier do not add the objects themselves.
13560 case `$CC -V 2>&1` in
13562 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13563 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'
13565 *) # Version 8.0 or newer
13568 ia64
*) tmp_idyn
=' -i_dynamic';;
13570 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13571 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'
13574 archive_cmds_need_lc_CXX
=no
13575 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13576 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13577 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13580 # Portland Group C++ compiler
13582 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
13583 prelink_cmds_CXX
='tpldir=Template.dir~
13585 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13586 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13587 old_archive_cmds_CXX
='tpldir=Template.dir~
13589 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13590 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13592 archive_cmds_CXX
='tpldir=Template.dir~
13594 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13595 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13596 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13598 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13599 $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'
13601 *) # Version 6 and above use weak symbols
13602 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13603 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'
13607 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13608 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13609 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'
13613 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13614 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'
13616 runpath_var
=LD_RUN_PATH
13617 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13618 hardcode_libdir_separator_CXX
=:
13620 # Commands to make compiler produce verbose output that lists
13621 # what "hidden" libraries, object files and flags are used when
13622 # linking a shared library.
13624 # There doesn't appear to be a way to prevent this compiler from
13625 # explicitly linking system object files so we need to strip them
13626 # from the output so that they don't get included in the library
13628 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'
13630 xl
* | mpixl
* | bgxl
*)
13631 # IBM XL 8.0 on PPC, with GNU ld
13632 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13633 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13634 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13635 if test "x$supports_anon_versioning" = xyes
; then
13636 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13637 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13638 echo "local: *; };" >> $output_objdir/$libname.ver~
13639 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13643 case `$CC -V 2>&1 | sed 5q` in
13646 no_undefined_flag_CXX
=' -zdefs'
13647 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13648 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'
13649 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13650 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'
13651 compiler_needs_object_CXX
=yes
13653 # Not sure whether something based on
13654 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13656 output_verbose_link_cmd
='func_echo_all'
13658 # Archives containing C++ object files must be created using
13659 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13660 # necessary to make sure instantiated templates are included
13662 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13670 # FIXME: insert proper C++ library support
13675 # FIXME: insert proper C++ library support
13680 case $cc_basename in
13682 # FIXME: insert proper C++ library support
13686 # FIXME: insert proper C++ library support
13693 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13694 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13696 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13697 hardcode_direct_CXX
=yes
13698 hardcode_shlibpath_var_CXX
=no
13700 # Workaround some broken pre-1.5 toolchains
13701 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13709 # C++ shared libraries are fairly broken
13714 if test -f /usr
/libexec
/ld.so
; then
13715 hardcode_direct_CXX
=yes
13716 hardcode_shlibpath_var_CXX
=no
13717 hardcode_direct_absolute_CXX
=yes
13718 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13719 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13720 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13721 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13722 export_dynamic_flag_spec_CXX
='${wl}-E'
13723 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13725 output_verbose_link_cmd
=func_echo_all
13731 osf3
* | osf4
* | osf5
*)
13732 case $cc_basename in
13734 # Kuck and Associates, Inc. (KAI) C++ Compiler
13736 # KCC will only create a shared library if the output file
13737 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13738 # to its proper name (with version) after linking.
13739 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'
13741 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13742 hardcode_libdir_separator_CXX
=:
13744 # Archives containing C++ object files must be created using
13745 # the KAI C++ compiler.
13747 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13748 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13752 # Rational C++ 2.4.1
13753 # FIXME: insert proper C++ library support
13759 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13760 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'
13761 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13764 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13765 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'
13766 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13767 echo "-hidden">> $lib.exp~
13768 $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~
13770 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13774 hardcode_libdir_separator_CXX
=:
13776 # Commands to make compiler produce verbose output that lists
13777 # what "hidden" libraries, object files and flags are used when
13778 # linking a shared library.
13780 # There doesn't appear to be a way to prevent this compiler from
13781 # explicitly linking system object files so we need to strip them
13782 # from the output so that they don't get included in the library
13784 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"'
13787 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13788 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13791 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'
13794 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'
13798 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13799 hardcode_libdir_separator_CXX
=:
13801 # Commands to make compiler produce verbose output that lists
13802 # what "hidden" libraries, object files and flags are used when
13803 # linking a shared library.
13804 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13807 # FIXME: insert proper C++ library support
13815 # FIXME: insert proper C++ library support
13820 case $cc_basename in
13823 # FIXME: insert proper C++ library support
13828 # FIXME: insert proper C++ library support
13832 # FIXME: insert proper C++ library support
13839 case $cc_basename in
13841 # Sun C++ 4.2, 5.x and Centerline C++
13842 archive_cmds_need_lc_CXX
=yes
13843 no_undefined_flag_CXX
=' -zdefs'
13844 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13845 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13846 $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'
13848 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13849 hardcode_shlibpath_var_CXX
=no
13851 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13853 # The compiler driver will combine and reorder linker options,
13854 # but understands `-z linker_flag'.
13855 # Supported since Solaris 2.6 (maybe 2.5.1?)
13856 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13859 link_all_deplibs_CXX
=yes
13861 output_verbose_link_cmd
='func_echo_all'
13863 # Archives containing C++ object files must be created using
13864 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13865 # necessary to make sure instantiated templates are included
13867 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13870 # Green Hills C++ Compiler
13871 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13873 # The C++ compiler must be used to create the archive.
13874 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13877 # GNU C++ compiler with Solaris linker
13878 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13879 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13880 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
13881 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13882 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13883 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13885 # Commands to make compiler produce verbose output that lists
13886 # what "hidden" libraries, object files and flags are used when
13887 # linking a shared library.
13888 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13890 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13892 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13893 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13894 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13896 # Commands to make compiler produce verbose output that lists
13897 # what "hidden" libraries, object files and flags are used when
13898 # linking a shared library.
13899 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13902 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13904 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13906 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13914 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13915 no_undefined_flag_CXX
='${wl}-z,text'
13916 archive_cmds_need_lc_CXX
=no
13917 hardcode_shlibpath_var_CXX
=no
13918 runpath_var
='LD_RUN_PATH'
13920 case $cc_basename in
13922 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13923 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13926 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13927 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13932 sysv5
* | sco3.2v5
* | sco5v6
*)
13933 # Note: We can NOT use -z defs as we might desire, because we do not
13934 # link with -lc, and that would cause any symbols used from libc to
13935 # always be unresolved, which means just about no library would
13936 # ever link correctly. If we're not using GNU ld we use -z text
13937 # though, which does catch some bad symbols but isn't as heavy-handed
13939 no_undefined_flag_CXX
='${wl}-z,text'
13940 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13941 archive_cmds_need_lc_CXX
=no
13942 hardcode_shlibpath_var_CXX
=no
13943 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13944 hardcode_libdir_separator_CXX
=':'
13945 link_all_deplibs_CXX
=yes
13946 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13947 runpath_var
='LD_RUN_PATH'
13949 case $cc_basename in
13951 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13952 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13953 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13954 '"$old_archive_cmds_CXX"
13955 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13956 '"$reload_cmds_CXX"
13959 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13960 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13966 case $cc_basename in
13968 # NonStop-UX NCC 3.20
13969 # FIXME: insert proper C++ library support
13973 # FIXME: insert proper C++ library support
13980 # FIXME: insert proper C++ library support
13985 # FIXME: insert proper C++ library support
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13991 $as_echo "$ld_shlibs_CXX" >&6; }
13992 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13998 ## There is no encapsulation within the following macros, do not change
13999 ## the running order or otherwise move them around unless you know exactly
14000 ## what you are doing...
14001 # Dependencies to place before and after the object being linked:
14002 predep_objects_CXX
=
14003 postdep_objects_CXX
=
14006 compiler_lib_search_path_CXX
=
14008 cat > conftest.
$ac_ext <<_LT_EOF
14012 Foo (void) { a = 0; }
14019 _lt_libdeps_save_CFLAGS
=$CFLAGS
14020 case "$CC $CFLAGS " in #(
14021 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14022 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14023 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14027 (eval $ac_compile) 2>&5
14029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14030 test $ac_status = 0; }; then
14031 # Parse the compiler output and extract the necessary
14032 # objects, libraries and library flags.
14034 # Sentinel used to keep track of whether or not we are before
14035 # the conftest object file.
14036 pre_test_object_deps_done
=no
14038 for p
in `eval "$output_verbose_link_cmd"`; do
14039 case ${prev}${p} in
14042 # Some compilers place space between "-{L,R}" and the path.
14043 # Remove the space.
14044 if test $p = "-L" ||
14045 test $p = "-R"; then
14050 # Expand the sysroot to ease extracting the directories later.
14051 if test -z "$prev"; then
14053 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14054 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14055 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14059 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14061 if test "$pre_test_object_deps_done" = no
; then
14064 # Internal compiler library paths should come after those
14065 # provided the user. The postdeps already come after the
14066 # user supplied libs so there is no need to process them.
14067 if test -z "$compiler_lib_search_path_CXX"; then
14068 compiler_lib_search_path_CXX
="${prev}${p}"
14070 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14073 # The "-l" case would never come before the object being
14074 # linked, so don't bother handling this case.
14077 if test -z "$postdeps_CXX"; then
14078 postdeps_CXX
="${prev}${p}"
14080 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14086 *.lto.
$objext) ;; # Ignore GCC LTO objects
14088 # This assumes that the test object file only shows up
14089 # once in the compiler output.
14090 if test "$p" = "conftest.$objext"; then
14091 pre_test_object_deps_done
=yes
14095 if test "$pre_test_object_deps_done" = no
; then
14096 if test -z "$predep_objects_CXX"; then
14097 predep_objects_CXX
="$p"
14099 predep_objects_CXX
="$predep_objects_CXX $p"
14102 if test -z "$postdep_objects_CXX"; then
14103 postdep_objects_CXX
="$p"
14105 postdep_objects_CXX
="$postdep_objects_CXX $p"
14110 *) ;; # Ignore the rest.
14118 echo "libtool.m4: error: problem compiling CXX test program"
14121 $RM -f confest.
$objext
14122 CFLAGS
=$_lt_libdeps_save_CFLAGS
14124 # PORTME: override above test on systems where it is broken
14127 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14128 # hack all around it, let's just trust "g++" to DTRT.
14129 predep_objects_CXX
=
14130 postdep_objects_CXX
=
14135 case `$CC -V 2>&1 | sed 5q` in
14139 # The more standards-conforming stlport4 library is
14140 # incompatible with the Cstd library. Avoid specifying
14141 # it if it's in CXXFLAGS. Ignore libCrun as
14142 # -library=stlport4 depends on it.
14143 case " $CXX $CXXFLAGS " in
14144 *" -library=stlport4 "*)
14145 solaris_use_stlport4
=yes
14149 if test "$solaris_use_stlport4" != yes; then
14150 postdeps_CXX
='-library=Cstd -library=Crun'
14157 case $cc_basename in
14159 # The more standards-conforming stlport4 library is
14160 # incompatible with the Cstd library. Avoid specifying
14161 # it if it's in CXXFLAGS. Ignore libCrun as
14162 # -library=stlport4 depends on it.
14163 case " $CXX $CXXFLAGS " in
14164 *" -library=stlport4 "*)
14165 solaris_use_stlport4
=yes
14169 # Adding this requires a known-good setup of shared libraries for
14170 # Sun compiler versions before 5.6, else PIC objects from an old
14171 # archive will be linked into the output, leading to subtle bugs.
14172 if test "$solaris_use_stlport4" != yes; then
14173 postdeps_CXX
='-library=Cstd -library=Crun'
14181 case " $postdeps_CXX " in
14182 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14184 compiler_lib_search_dirs_CXX
=
14185 if test -n "${compiler_lib_search_path_CXX}"; then
14186 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14219 lt_prog_compiler_wl_CXX
=
14220 lt_prog_compiler_pic_CXX
=
14221 lt_prog_compiler_static_CXX
=
14224 # C++ specific cases for pic, static, wl, etc.
14225 if test "$GXX" = yes; then
14226 lt_prog_compiler_wl_CXX
='-Wl,'
14227 lt_prog_compiler_static_CXX
='-static'
14231 # All AIX code is PIC.
14232 if test "$host_cpu" = ia64
; then
14233 # AIX 5 now supports IA64 processor
14234 lt_prog_compiler_static_CXX
='-Bstatic'
14241 # see comment about AmigaOS4 .so support
14242 lt_prog_compiler_pic_CXX
='-fPIC'
14245 # FIXME: we need at least 68020 code to build shared libraries, but
14246 # adding the `-m68020' flag to GCC prevents building anything better,
14248 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14253 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14254 # PIC is the default for these OSes.
14256 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14257 # This hack is so that the source file can tell whether it is being
14258 # built for inclusion in a dll (and should export symbols for example).
14259 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14260 # (--disable-auto-import) libraries
14261 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14263 darwin
* | rhapsody
*)
14264 # PIC is the default on this platform
14265 # Common symbols not allowed in MH_DYLIB files
14266 lt_prog_compiler_pic_CXX
='-fno-common'
14269 # DJGPP does not support shared libraries at all
14270 lt_prog_compiler_pic_CXX
=
14273 # PIC is the default for Haiku.
14274 # The "-static" flag exists, but is broken.
14275 lt_prog_compiler_static_CXX
=
14278 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14279 # Instead, we relocate shared libraries at runtime.
14282 if test -d /usr
/nec
; then
14283 lt_prog_compiler_pic_CXX
=-Kconform_pic
14287 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14288 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14289 # sets the default TLS model and affects inlining.
14294 lt_prog_compiler_pic_CXX
='-fPIC'
14299 # QNX uses GNU C++, but need to define -shared option too, otherwise
14300 # it will coredump.
14301 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14304 lt_prog_compiler_pic_CXX
='-fPIC'
14310 # All AIX code is PIC.
14311 if test "$host_cpu" = ia64
; then
14312 # AIX 5 now supports IA64 processor
14313 lt_prog_compiler_static_CXX
='-Bstatic'
14315 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14319 case $cc_basename in
14321 # Green Hills C++ Compiler
14322 # _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"
14326 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14327 # This hack is so that the source file can tell whether it is being
14328 # built for inclusion in a dll (and should export symbols for example).
14329 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14332 case $cc_basename in
14334 lt_prog_compiler_pic_CXX
='-KPIC'
14337 # Green Hills C++ Compiler
14338 lt_prog_compiler_pic_CXX
='-pic'
14344 freebsd
* | dragonfly
*)
14345 # FreeBSD uses GNU C++
14347 hpux9
* | hpux10
* | hpux11
*)
14348 case $cc_basename in
14350 lt_prog_compiler_wl_CXX
='-Wl,'
14351 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14352 if test "$host_cpu" != ia64
; then
14353 lt_prog_compiler_pic_CXX
='+Z'
14357 lt_prog_compiler_wl_CXX
='-Wl,'
14358 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14364 lt_prog_compiler_pic_CXX
='+Z'
14373 # This is c89, which is MS Visual C++ (no shared libs)
14374 # Anyone wants to do a port?
14376 irix5
* | irix6
* | nonstopux
*)
14377 case $cc_basename in
14379 lt_prog_compiler_wl_CXX
='-Wl,'
14380 lt_prog_compiler_static_CXX
='-non_shared'
14381 # CC pic flag -KPIC is the default.
14387 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14388 case $cc_basename in
14391 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14392 lt_prog_compiler_pic_CXX
='-fPIC'
14395 # old Intel C++ for x86_64 which still supported -KPIC.
14396 lt_prog_compiler_wl_CXX
='-Wl,'
14397 lt_prog_compiler_pic_CXX
='-KPIC'
14398 lt_prog_compiler_static_CXX
='-static'
14401 # Intel C++, used to be incompatible with GCC.
14402 # ICC 10 doesn't accept -KPIC any more.
14403 lt_prog_compiler_wl_CXX
='-Wl,'
14404 lt_prog_compiler_pic_CXX
='-fPIC'
14405 lt_prog_compiler_static_CXX
='-static'
14408 # Portland Group C++ compiler
14409 lt_prog_compiler_wl_CXX
='-Wl,'
14410 lt_prog_compiler_pic_CXX
='-fpic'
14411 lt_prog_compiler_static_CXX
='-Bstatic'
14415 # Make sure the PIC flag is empty. It appears that all Alpha
14416 # Linux and Compaq Tru64 Unix objects are PIC.
14417 lt_prog_compiler_pic_CXX
=
14418 lt_prog_compiler_static_CXX
='-non_shared'
14420 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14421 # IBM XL 8.0, 9.0 on PPC and BlueGene
14422 lt_prog_compiler_wl_CXX
='-Wl,'
14423 lt_prog_compiler_pic_CXX
='-qpic'
14424 lt_prog_compiler_static_CXX
='-qstaticlink'
14427 case `$CC -V 2>&1 | sed 5q` in
14430 lt_prog_compiler_pic_CXX
='-KPIC'
14431 lt_prog_compiler_static_CXX
='-Bstatic'
14432 lt_prog_compiler_wl_CXX
='-Qoption ld '
14443 case $cc_basename in
14445 lt_prog_compiler_pic_CXX
='-W c,exportall'
14454 # QNX uses GNU C++, but need to define -shared option too, otherwise
14455 # it will coredump.
14456 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14458 osf3
* | osf4
* | osf5
*)
14459 case $cc_basename in
14461 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14464 # Rational C++ 2.4.1
14465 lt_prog_compiler_pic_CXX
='-pic'
14468 # Digital/Compaq C++
14469 lt_prog_compiler_wl_CXX
='-Wl,'
14470 # Make sure the PIC flag is empty. It appears that all Alpha
14471 # Linux and Compaq Tru64 Unix objects are PIC.
14472 lt_prog_compiler_pic_CXX
=
14473 lt_prog_compiler_static_CXX
='-non_shared'
14482 case $cc_basename in
14484 # Sun C++ 4.2, 5.x and Centerline C++
14485 lt_prog_compiler_pic_CXX
='-KPIC'
14486 lt_prog_compiler_static_CXX
='-Bstatic'
14487 lt_prog_compiler_wl_CXX
='-Qoption ld '
14490 # Green Hills C++ Compiler
14491 lt_prog_compiler_pic_CXX
='-PIC'
14498 case $cc_basename in
14501 lt_prog_compiler_pic_CXX
='-pic'
14502 lt_prog_compiler_static_CXX
='-Bstatic'
14506 lt_prog_compiler_pic_CXX
='-pic'
14512 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14513 case $cc_basename in
14515 lt_prog_compiler_wl_CXX
='-Wl,'
14516 lt_prog_compiler_pic_CXX
='-KPIC'
14517 lt_prog_compiler_static_CXX
='-Bstatic'
14522 case $cc_basename in
14524 # NonStop-UX NCC 3.20
14525 lt_prog_compiler_pic_CXX
='-KPIC'
14534 lt_prog_compiler_can_build_shared_CXX
=no
14540 # For platforms which do not support PIC, -DPIC is meaningless:
14542 lt_prog_compiler_pic_CXX
=
14545 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14550 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14551 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
14552 $as_echo_n "(cached) " >&6
14554 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14557 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14558 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
14561 # Check to make sure the PIC flag actually works.
14563 if test -n "$lt_prog_compiler_pic_CXX"; then
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14565 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14566 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14567 $as_echo_n "(cached) " >&6
14569 lt_cv_prog_compiler_pic_works_CXX
=no
14570 ac_outfile
=conftest.
$ac_objext
14571 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14572 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14573 # Insert the option either (1) after the last *FLAGS variable, or
14574 # (2) before a word containing "conftest.", or (3) at the end.
14575 # Note that $ac_compile itself does not contain backslashes and begins
14576 # with a dollar sign (not a hyphen), so the echo should work correctly.
14577 # The option is referenced via a variable to avoid confusing sed.
14578 lt_compile
=`echo "$ac_compile" | $SED \
14579 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14580 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14581 -e 's:$: $lt_compiler_flag:'`
14582 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14583 (eval "$lt_compile" 2>conftest.err
)
14585 cat conftest.err
>&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 if (exit $ac_status) && test -s "$ac_outfile"; then
14588 # The compiler can only warn and ignore the option if not recognized
14589 # So say no if there are warnings other than the usual output.
14590 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14591 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14592 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
14593 lt_cv_prog_compiler_pic_works_CXX
=yes
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14600 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14602 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14603 case $lt_prog_compiler_pic_CXX in
14605 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14608 lt_prog_compiler_pic_CXX
=
14609 lt_prog_compiler_can_build_shared_CXX
=no
14619 # Check to make sure the static flag actually works.
14621 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14623 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14624 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14625 $as_echo_n "(cached) " >&6
14627 lt_cv_prog_compiler_static_works_CXX
=no
14628 save_LDFLAGS
="$LDFLAGS"
14629 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14630 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14631 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14632 # The linker can only warn and ignore the option if not recognized
14633 # So say no if there are warnings
14634 if test -s conftest.err
; then
14635 # Append any errors to the config.log.
14636 cat conftest.err
1>&5
14637 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14638 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14639 if diff conftest.exp conftest.er2
>/dev
/null
; then
14640 lt_cv_prog_compiler_static_works_CXX
=yes
14643 lt_cv_prog_compiler_static_works_CXX
=yes
14647 LDFLAGS
="$save_LDFLAGS"
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14651 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14653 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14656 lt_prog_compiler_static_CXX
=
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14663 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14664 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14665 $as_echo_n "(cached) " >&6
14667 lt_cv_prog_compiler_c_o_CXX
=no
14668 $RM -r conftest
2>/dev
/null
14672 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14674 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14675 # Insert the option either (1) after the last *FLAGS variable, or
14676 # (2) before a word containing "conftest.", or (3) at the end.
14677 # Note that $ac_compile itself does not contain backslashes and begins
14678 # with a dollar sign (not a hyphen), so the echo should work correctly.
14679 lt_compile
=`echo "$ac_compile" | $SED \
14680 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14681 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14682 -e 's:$: $lt_compiler_flag:'`
14683 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14684 (eval "$lt_compile" 2>out
/conftest.err
)
14686 cat out
/conftest.err
>&5
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14690 # The compiler can only warn and ignore the option if not recognized
14691 # So say no if there are warnings
14692 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14693 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14694 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14695 lt_cv_prog_compiler_c_o_CXX
=yes
14700 # SGI C++ compiler will create directory out/ii_files/ for
14701 # template instantiation
14702 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14703 $RM out
/* && rmdir out
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14710 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14715 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14716 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14717 $as_echo_n "(cached) " >&6
14719 lt_cv_prog_compiler_c_o_CXX
=no
14720 $RM -r conftest
2>/dev
/null
14724 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14726 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14727 # Insert the option either (1) after the last *FLAGS variable, or
14728 # (2) before a word containing "conftest.", or (3) at the end.
14729 # Note that $ac_compile itself does not contain backslashes and begins
14730 # with a dollar sign (not a hyphen), so the echo should work correctly.
14731 lt_compile
=`echo "$ac_compile" | $SED \
14732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14734 -e 's:$: $lt_compiler_flag:'`
14735 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14736 (eval "$lt_compile" 2>out
/conftest.err
)
14738 cat out
/conftest.err
>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14742 # The compiler can only warn and ignore the option if not recognized
14743 # So say no if there are warnings
14744 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
14745 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14746 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14747 lt_cv_prog_compiler_c_o_CXX
=yes
14752 # SGI C++ compiler will create directory out/ii_files/ for
14753 # template instantiation
14754 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14755 $RM out
/* && rmdir out
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14762 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14767 hard_links
="nottested"
14768 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14769 # do not overwrite the value of need_locks provided by the user
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14771 $as_echo_n "checking if we can lock with hard links... " >&6; }
14774 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14776 ln conftest.a conftest.b
2>&5 || hard_links
=no
14777 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14779 $as_echo "$hard_links" >&6; }
14780 if test "$hard_links" = no
; then
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14782 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14792 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14794 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14795 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14798 # If we're using GNU nm, then we don't want the "-C" option.
14799 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14800 # Also, AIX nm treats weak defined symbols like other global defined
14801 # symbols, whereas GNU nm marks them as "W".
14802 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
14803 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'
14805 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'
14809 export_symbols_cmds_CXX
="$ltdll_cmds"
14811 cygwin
* | mingw
* | cegcc
*)
14812 case $cc_basename in
14814 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14817 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'
14818 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14823 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14828 $as_echo "$ld_shlibs_CXX" >&6; }
14829 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14831 with_gnu_ld_CXX
=$with_gnu_ld
14839 # Do we need to explicitly link libc?
14841 case "x$archive_cmds_need_lc_CXX" in
14843 # Assume -lc should be added
14844 archive_cmds_need_lc_CXX
=yes
14846 if test "$enable_shared" = yes && test "$GCC" = yes; then
14847 case $archive_cmds_CXX in
14849 # FIXME: we may have to deal with multi-command sequences.
14852 # Test whether the compiler implicitly links with -lc since on some
14853 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14854 # to ld, don't add -lc before -lgcc.
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14856 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14857 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14858 $as_echo_n "(cached) " >&6
14861 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14864 (eval $ac_compile) 2>&5
14866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14867 test $ac_status = 0; } 2>conftest.err
; then
14870 libobjs
=conftest.
$ac_objext
14872 wl
=$lt_prog_compiler_wl_CXX
14873 pic_flag
=$lt_prog_compiler_pic_CXX
14879 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14880 allow_undefined_flag_CXX
=
14881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14882 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14885 test $ac_status = 0; }
14887 lt_cv_archive_cmds_need_lc_CXX
=no
14889 lt_cv_archive_cmds_need_lc_CXX
=yes
14891 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14893 cat conftest.err
1>&5
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14899 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14900 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14969 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14971 library_names_spec
=
14972 libname_spec
='lib$name'
14976 postuninstall_cmds
=
14980 shlibpath_overrides_runpath
=unknown
14982 dynamic_linker
="$host_os ld.so"
14983 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14984 need_lib_prefix
=unknown
14985 hardcode_into_libs
=no
14987 # when you set need_version to no, make sure it does not cause -set_version
14988 # flags to be left without arguments
14989 need_version
=unknown
14993 version_type
=linux
# correct to gnu/linux during the next big refactor
14994 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14995 shlibpath_var
=LIBPATH
14997 # AIX 3 has no versioning support, so we append a major version to the name.
14998 soname_spec
='${libname}${release}${shared_ext}$major'
15002 version_type
=linux
# correct to gnu/linux during the next big refactor
15005 hardcode_into_libs
=yes
15006 if test "$host_cpu" = ia64
; then
15007 # AIX 5 supports IA64
15008 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15009 shlibpath_var
=LD_LIBRARY_PATH
15011 # With GCC up to 2.95.x, collect2 would create an import file
15012 # for dependence libraries. The import file would start with
15013 # the line `#! .'. This would cause the generated library to
15014 # depend on `.', always an invalid library. This was fixed in
15015 # development snapshots of GCC prior to 3.0.
15017 aix4
| aix4.
[01] | aix4.
[01].
*)
15018 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15020 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
15023 can_build_shared
=no
15027 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15028 # soname into executable. Probably we can add versioning support to
15029 # collect2, so additional links can be useful in future.
15030 if test "$aix_use_runtimelinking" = yes; then
15031 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15032 # instead of lib<name>.a to let people know that these are not
15033 # typical AIX shared libraries.
15034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15036 # We preserve .a as extension for shared libraries through AIX4.2
15037 # and later when we are not doing run time linking.
15038 library_names_spec
='${libname}${release}.a $libname.a'
15039 soname_spec
='${libname}${release}${shared_ext}$major'
15041 shlibpath_var
=LIBPATH
15048 # Since July 2007 AmigaOS4 officially supports .so libraries.
15049 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15053 library_names_spec
='$libname.ixlibrary $libname.a'
15054 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15055 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'
15061 library_names_spec
='${libname}${shared_ext}'
15062 dynamic_linker
="$host_os ld.so"
15063 shlibpath_var
=LIBRARY_PATH
15067 version_type
=linux
# correct to gnu/linux during the next big refactor
15069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15070 soname_spec
='${libname}${release}${shared_ext}$major'
15071 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15072 shlibpath_var
=LD_LIBRARY_PATH
15073 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15074 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15075 # the default ld.so.conf also contains /usr/contrib/lib and
15076 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15077 # libtool to hard-code these into programs
15080 cygwin
* | mingw
* | pw32
* | cegcc
*)
15081 version_type
=windows
15086 case $GCC,$cc_basename in
15089 library_names_spec
='$libname.dll.a'
15090 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15091 postinstall_cmds
='base_file=`basename \${file}`~
15092 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15093 dldir=$destdir/`dirname \$dlpath`~
15094 test -d \$dldir || mkdir -p \$dldir~
15095 $install_prog $dir/$dlname \$dldir/$dlname~
15096 chmod a+x \$dldir/$dlname~
15097 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15098 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15100 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15101 dlpath=$dir/\$dldll~
15103 shlibpath_overrides_runpath
=yes
15107 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15108 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15112 # MinGW DLLs use traditional 'lib' prefix
15113 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15116 # pw32 DLLs use 'pw' prefix rather than 'lib'
15117 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15120 dynamic_linker
='Win32 ld.exe'
15125 libname_spec
='$name'
15126 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
15127 library_names_spec
='${libname}.dll.lib'
15131 sys_lib_search_path_spec
=
15134 for lt_path
in $LIB
15137 # Let DOS variable expansion print the short 8.3 style file name.
15138 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15139 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15142 # Convert to MSYS style.
15143 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15146 # Convert to unix form, then to dos form, then back to unix form
15147 # but this time dos style (no spaces!) so that the unix form looks
15148 # like /cygdrive/c/PROGRA~1:/cygdr...
15149 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15150 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15151 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15154 sys_lib_search_path_spec
="$LIB"
15155 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15156 # It is most probably a Windows format PATH.
15157 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15159 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15161 # FIXME: find the short name or the path components, as spaces are
15162 # common. (e.g. "Program Files" -> "PROGRA~1")
15166 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15167 postinstall_cmds
='base_file=`basename \${file}`~
15168 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15169 dldir=$destdir/`dirname \$dlpath`~
15170 test -d \$dldir || mkdir -p \$dldir~
15171 $install_prog $dir/$dlname \$dldir/$dlname'
15172 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15173 dlpath=$dir/\$dldll~
15175 shlibpath_overrides_runpath
=yes
15176 dynamic_linker
='Win32 link.exe'
15180 # Assume MSVC wrapper
15181 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
15182 dynamic_linker
='Win32 ld.exe'
15185 # FIXME: first we should search . and the directory the executable is in
15189 darwin
* | rhapsody
*)
15190 dynamic_linker
="$host_os dyld"
15191 version_type
=darwin
15194 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15195 soname_spec
='${libname}${release}${major}$shared_ext'
15196 shlibpath_overrides_runpath
=yes
15197 shlibpath_var
=DYLD_LIBRARY_PATH
15198 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15200 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15204 version_type
=linux
# correct to gnu/linux during the next big refactor
15207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15208 soname_spec
='${libname}${release}${shared_ext}$major'
15209 shlibpath_var
=LD_LIBRARY_PATH
15212 freebsd
* | dragonfly
*)
15213 # DragonFly does not have aout. When/if they implement a new
15214 # versioning mechanism, adjust this.
15215 if test -x /usr
/bin
/objformat
; then
15216 objformat
=`/usr/bin/objformat`
15219 freebsd
[23].
*) objformat
=aout
;;
15220 *) objformat
=elf
;;
15223 version_type
=freebsd
-$objformat
15224 case $version_type in
15226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15231 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15235 shlibpath_var
=LD_LIBRARY_PATH
15238 shlibpath_overrides_runpath
=yes
15240 freebsd3.
[01]* | freebsdelf3.
[01]*)
15241 shlibpath_overrides_runpath
=yes
15242 hardcode_into_libs
=yes
15244 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15245 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15246 shlibpath_overrides_runpath
=no
15247 hardcode_into_libs
=yes
15249 *) # from 4.6 on, and DragonFly
15250 shlibpath_overrides_runpath
=yes
15251 hardcode_into_libs
=yes
15257 version_type
=linux
# correct to gnu/linux during the next big refactor
15260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15261 soname_spec
='${libname}${release}${shared_ext}$major'
15262 shlibpath_var
=LD_LIBRARY_PATH
15263 shlibpath_overrides_runpath
=no
15264 hardcode_into_libs
=yes
15268 version_type
=linux
# correct to gnu/linux during the next big refactor
15271 dynamic_linker
="$host_os runtime_loader"
15272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15273 soname_spec
='${libname}${release}${shared_ext}$major'
15274 shlibpath_var
=LIBRARY_PATH
15275 shlibpath_overrides_runpath
=yes
15276 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15277 hardcode_into_libs
=yes
15280 hpux9
* | hpux10
* | hpux11
*)
15281 # Give a soname corresponding to the major version so that dld.sl refuses to
15282 # link against other versions.
15289 hardcode_into_libs
=yes
15290 dynamic_linker
="$host_os dld.so"
15291 shlibpath_var
=LD_LIBRARY_PATH
15292 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15294 soname_spec
='${libname}${release}${shared_ext}$major'
15295 if test "X$HPUX_IA64_MODE" = X32
; then
15296 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15298 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15300 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15304 hardcode_into_libs
=yes
15305 dynamic_linker
="$host_os dld.sl"
15306 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15307 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15309 soname_spec
='${libname}${release}${shared_ext}$major'
15310 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15311 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15315 dynamic_linker
="$host_os dld.sl"
15316 shlibpath_var
=SHLIB_PATH
15317 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15319 soname_spec
='${libname}${release}${shared_ext}$major'
15322 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15323 postinstall_cmds
='chmod 555 $lib'
15324 # or fails outright, so override atomically:
15325 install_override_mode
=555
15329 version_type
=linux
# correct to gnu/linux during the next big refactor
15332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15333 soname_spec
='${libname}${release}${shared_ext}$major'
15334 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15335 shlibpath_var
=LD_LIBRARY_PATH
15336 shlibpath_overrides_runpath
=no
15337 hardcode_into_libs
=yes
15340 irix5
* | irix6
* | nonstopux
*)
15342 nonstopux
*) version_type
=nonstopux
;;
15344 if test "$lt_cv_prog_gnu_ld" = yes; then
15345 version_type
=linux
# correct to gnu/linux during the next big refactor
15352 soname_spec
='${libname}${release}${shared_ext}$major'
15353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15355 irix5
* | nonstopux
*)
15356 libsuff
= shlibsuff
=
15359 case $LD in # libtool.m4 will add one of these switches to LD
15360 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15361 libsuff
= shlibsuff
= libmagic
=32-bit;;
15362 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15363 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15364 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15365 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15366 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
15370 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15371 shlibpath_overrides_runpath
=no
15372 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15373 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15374 hardcode_into_libs
=yes
15377 # No shared lib support for Linux oldld, aout, or coff.
15378 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15382 # This must be glibc/ELF.
15383 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15384 version_type
=linux
# correct to gnu/linux during the next big refactor
15387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15388 soname_spec
='${libname}${release}${shared_ext}$major'
15389 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15390 shlibpath_var
=LD_LIBRARY_PATH
15391 shlibpath_overrides_runpath
=no
15393 # Some binutils ld are patched to set DT_RUNPATH
15394 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15395 $as_echo_n "(cached) " >&6
15397 lt_cv_shlibpath_overrides_runpath
=no
15398 save_LDFLAGS
=$LDFLAGS
15399 save_libdir
=$libdir
15400 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15401 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15413 if ac_fn_cxx_try_link
"$LINENO"; then :
15414 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
15415 lt_cv_shlibpath_overrides_runpath
=yes
15418 rm -f core conftest.err conftest.
$ac_objext \
15419 conftest
$ac_exeext conftest.
$ac_ext
15420 LDFLAGS
=$save_LDFLAGS
15421 libdir
=$save_libdir
15425 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15427 # This implies no fast_install, which is unacceptable.
15428 # Some rework will be needed to allow for fast_install
15429 # before this can be enabled.
15430 hardcode_into_libs
=yes
15432 # Append ld.so.conf contents to the search path
15433 if test -f /etc
/ld.so.conf
; then
15434 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' ' '`
15435 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15438 # We used to test for /lib/ld.so.1 and disable shared libraries on
15439 # powerpc, because MkLinux only supported shared libraries with the
15440 # GNU dynamic linker. Since this was broken with cross compilers,
15441 # most powerpc-linux boxes support dynamic linking these days and
15442 # people can always --disable-shared, the test was removed, and we
15443 # assume the GNU/Linux dynamic linker is in use.
15444 dynamic_linker
='GNU/Linux ld.so'
15451 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
15452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15453 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15454 dynamic_linker
='NetBSD (a.out) ld.so'
15456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15457 soname_spec
='${libname}${release}${shared_ext}$major'
15458 dynamic_linker
='NetBSD ld.elf_so'
15460 shlibpath_var
=LD_LIBRARY_PATH
15461 shlibpath_overrides_runpath
=yes
15462 hardcode_into_libs
=yes
15466 version_type
=linux
# correct to gnu/linux during the next big refactor
15467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15468 shlibpath_var
=LD_LIBRARY_PATH
15469 shlibpath_overrides_runpath
=yes
15476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15477 soname_spec
='${libname}${release}${shared_ext}$major'
15478 shlibpath_var
=LD_LIBRARY_PATH
15479 shlibpath_overrides_runpath
=no
15480 hardcode_into_libs
=yes
15481 dynamic_linker
='ldqnx.so'
15486 sys_lib_dlsearch_path_spec
="/usr/lib"
15488 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15490 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
15491 *) need_version
=no
;;
15493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15494 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15495 shlibpath_var
=LD_LIBRARY_PATH
15496 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15498 openbsd2.
[89] | openbsd2.
[89].
*)
15499 shlibpath_overrides_runpath
=no
15502 shlibpath_overrides_runpath
=yes
15506 shlibpath_overrides_runpath
=yes
15511 libname_spec
='$name'
15514 library_names_spec
='$libname${shared_ext} $libname.a'
15515 dynamic_linker
='OS/2 ld.exe'
15516 shlibpath_var
=LIBPATH
15519 osf3
* | osf4
* | osf5
*)
15523 soname_spec
='${libname}${release}${shared_ext}$major'
15524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15525 shlibpath_var
=LD_LIBRARY_PATH
15526 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15527 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15535 version_type
=linux
# correct to gnu/linux during the next big refactor
15538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15539 soname_spec
='${libname}${release}${shared_ext}$major'
15540 shlibpath_var
=LD_LIBRARY_PATH
15541 shlibpath_overrides_runpath
=yes
15542 hardcode_into_libs
=yes
15543 # ldd complains unless libraries are executable
15544 postinstall_cmds
='chmod +x $lib'
15549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15550 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15551 shlibpath_var
=LD_LIBRARY_PATH
15552 shlibpath_overrides_runpath
=yes
15553 if test "$with_gnu_ld" = yes; then
15560 version_type
=linux
# correct to gnu/linux during the next big refactor
15561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15562 soname_spec
='${libname}${release}${shared_ext}$major'
15563 shlibpath_var
=LD_LIBRARY_PATH
15564 case $host_vendor in
15566 shlibpath_overrides_runpath
=no
15568 runpath_var
=LD_RUN_PATH
15576 shlibpath_overrides_runpath
=no
15577 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15583 if test -d /usr
/nec
;then
15584 version_type
=linux
# correct to gnu/linux during the next big refactor
15585 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15586 soname_spec
='$libname${shared_ext}.$major'
15587 shlibpath_var
=LD_LIBRARY_PATH
15591 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15592 version_type
=freebsd
-elf
15595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15596 soname_spec
='${libname}${release}${shared_ext}$major'
15597 shlibpath_var
=LD_LIBRARY_PATH
15598 shlibpath_overrides_runpath
=yes
15599 hardcode_into_libs
=yes
15600 if test "$with_gnu_ld" = yes; then
15601 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15603 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15606 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15610 sys_lib_dlsearch_path_spec
='/usr/lib'
15614 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15615 version_type
=linux
# correct to gnu/linux during the next big refactor
15618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15619 shlibpath_var
=LD_LIBRARY_PATH
15620 shlibpath_overrides_runpath
=no
15621 hardcode_into_libs
=yes
15625 version_type
=linux
# correct to gnu/linux during the next big refactor
15626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15627 soname_spec
='${libname}${release}${shared_ext}$major'
15628 shlibpath_var
=LD_LIBRARY_PATH
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15636 $as_echo "$dynamic_linker" >&6; }
15637 test "$dynamic_linker" = no
&& can_build_shared
=no
15639 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15640 if test "$GCC" = yes; then
15641 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15644 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15645 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15647 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15648 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15689 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15690 hardcode_action_CXX
=
15691 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15692 test -n "$runpath_var_CXX" ||
15693 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15695 # We can hardcode non-existent directories.
15696 if test "$hardcode_direct_CXX" != no
&&
15697 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15698 # have to relink, otherwise we might link with an installed library
15699 # when we should be linking with a yet-to-be-installed one
15700 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15701 test "$hardcode_minus_L_CXX" != no
; then
15702 # Linking always hardcodes the temporary library directory.
15703 hardcode_action_CXX
=relink
15705 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15706 hardcode_action_CXX
=immediate
15709 # We cannot hardcode anything, or else we can only hardcode existing
15711 hardcode_action_CXX
=unsupported
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15714 $as_echo "$hardcode_action_CXX" >&6; }
15716 if test "$hardcode_action_CXX" = relink
||
15717 test "$inherit_rpath_CXX" = yes; then
15718 # Fast installation is not supported
15719 enable_fast_install
=no
15720 elif test "$shlibpath_overrides_runpath" = yes ||
15721 test "$enable_shared" = no
; then
15722 # Fast installation is not necessary
15723 enable_fast_install
=needless
15732 fi # test -n "$compiler"
15735 CFLAGS
=$lt_save_CFLAGS
15739 with_gnu_ld
=$lt_save_with_gnu_ld
15740 lt_cv_path_LDCXX
=$lt_cv_path_LD
15741 lt_cv_path_LD
=$lt_save_path_LD
15742 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15743 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15744 fi # test "$_lt_caught_CXX_error" != yes
15747 ac_cpp
='$CPP $CPPFLAGS'
15748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15766 ac_config_commands
="$ac_config_commands libtool"
15771 # Only expand once:
15776 ac_cpp
='$CXXCPP $CPPFLAGS'
15777 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15778 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15779 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15788 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15789 if test -n "$ac_tool_prefix"; then
15790 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15791 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15793 $as_echo_n "checking for $ac_word... " >&6; }
15794 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
15795 $as_echo_n "(cached) " >&6
15797 case $PKG_CONFIG in
15799 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15803 for as_dir
in $PATH
15806 test -z "$as_dir" && as_dir
=.
15807 for ac_exec_ext
in '' $ac_executable_extensions; do
15808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15809 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15820 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15821 if test -n "$PKG_CONFIG"; then
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15823 $as_echo "$PKG_CONFIG" >&6; }
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15826 $as_echo "no" >&6; }
15831 if test -z "$ac_cv_path_PKG_CONFIG"; then
15832 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15833 # Extract the first word of "pkg-config", so it can be a program name with args.
15834 set dummy pkg
-config; ac_word
=$2
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15836 $as_echo_n "checking for $ac_word... " >&6; }
15837 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
15838 $as_echo_n "(cached) " >&6
15840 case $ac_pt_PKG_CONFIG in
15842 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15846 for as_dir
in $PATH
15849 test -z "$as_dir" && as_dir
=.
15850 for ac_exec_ext
in '' $ac_executable_extensions; do
15851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15852 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15863 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15864 if test -n "$ac_pt_PKG_CONFIG"; then
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15866 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15869 $as_echo "no" >&6; }
15872 if test "x$ac_pt_PKG_CONFIG" = x
; then
15875 case $cross_compiling:$ac_tool_warned in
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15879 ac_tool_warned
=yes ;;
15881 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15884 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15888 if test -n "$PKG_CONFIG"; then
15889 _pkg_min_version
=0.22
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15891 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15892 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15894 $as_echo "yes" >&6; }
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15897 $as_echo "no" >&6; }
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
15903 $as_echo_n "checking for GNU make... " >&6; }
15904 if ${_cv_gnu_make_command+:} false
; then :
15905 $as_echo_n "(cached) " >&6
15907 _cv_gnu_make_command
='' ;
15908 for a
in "$MAKE" make gmake gnumake
; do
15909 if test -z "$a" ; then continue ; fi ;
15910 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
15911 _cv_gnu_make_command
=$a ;
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
15918 $as_echo "$_cv_gnu_make_command" >&6; } ;
15919 if test "x$_cv_gnu_make_command" != "x" ; then
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
15924 $as_echo "\"Not found\"" >&6; };
15928 GMAKE
=$_cv_gnu_make_command
15930 if test "x$GMAKE" = x
; then :
15931 as_fn_error $?
"You need GNU make" "$LINENO" 5
15934 # Extract the first word of "bash", so it can be a program name with args.
15935 set dummy bash
; ac_word
=$2
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15937 $as_echo_n "checking for $ac_word... " >&6; }
15938 if ${ac_cv_path__BASH+:} false
; then :
15939 $as_echo_n "(cached) " >&6
15943 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
15946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15947 for as_dir
in $PATH
15950 test -z "$as_dir" && as_dir
=.
15951 for ac_exec_ext
in '' $ac_executable_extensions; do
15952 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15953 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
15954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15961 test -z "$ac_cv_path__BASH" && ac_cv_path__BASH
="as_fn_error $? "missing
\"bash
\"" "$LINENO" 5"
15965 _BASH
=$ac_cv_path__BASH
15966 if test -n "$_BASH"; then
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
15968 $as_echo "$_BASH" >&6; }
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15971 $as_echo "no" >&6; }
15975 # Extract the first word of "git", so it can be a program name with args.
15976 set dummy git
; ac_word
=$2
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15978 $as_echo_n "checking for $ac_word... " >&6; }
15979 if ${ac_cv_path_GIT+:} false
; then :
15980 $as_echo_n "(cached) " >&6
15984 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
15987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15988 for as_dir
in $PATH
15991 test -z "$as_dir" && as_dir
=.
15992 for ac_exec_ext
in '' $ac_executable_extensions; do
15993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15994 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
15995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005 GIT
=$ac_cv_path_GIT
16006 if test -n "$GIT"; then
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16008 $as_echo "$GIT" >&6; }
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16011 $as_echo "no" >&6; }
16015 # Extract the first word of "time", so it can be a program name with args.
16016 set dummy
time; ac_word
=$2
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16018 $as_echo_n "checking for $ac_word... " >&6; }
16019 if ${ac_cv_path_TIME+:} false
; then :
16020 $as_echo_n "(cached) " >&6
16024 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16028 for as_dir
in $PATH
16031 test -z "$as_dir" && as_dir
=.
16032 for ac_exec_ext
in '' $ac_executable_extensions; do
16033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16034 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16045 TIME
=$ac_cv_path_TIME
16046 if test -n "$TIME"; then
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16048 $as_echo "$TIME" >&6; }
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16051 $as_echo "no" >&6; }
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
16061 $as_echo_n "checking for bison >= 2.3... " >&6; }
16062 if test -z "$BISON"; then
16063 ac_path_BISON_found
=false
16064 # Loop through the user's path and test for each of PROGNAME-LIST
16065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16066 for as_dir
in $PATH
16069 test -z "$as_dir" && as_dir
=.
16070 for ac_prog
in bison
; do
16071 for ac_exec_ext
in '' $ac_executable_extensions; do
16072 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16073 as_fn_executable_p
"$ac_path_BISON" || continue
16074 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16075 if ${version:+false} :; then :
16078 as_awk_strverscmp
='
16079 # Use only awk features that work with 7th edition Unix awk (1978).
16080 # My, what an old awk you have, Mr. Solaris!
16082 while (length(v1) && length(v2)) {
16083 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16084 # Normally this is a single character, but if v1 and v2 contain digits,
16085 # compare them as integers and fractions as strverscmp does.
16086 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16087 # Split v1 and v2 into their leading digit string components d1 and d2,
16088 # and advance v1 and v2 past the leading digit strings.
16089 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16090 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16091 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16092 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16095 # Compare two fractions.
16096 while (d1 ~ /^0/ && d2 ~ /^0/) {
16097 d1 = substr(d1, 2); len1--
16098 d2 = substr(d2, 2); len2--
16100 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16101 # The two components differ in length, and the common prefix
16102 # contains only leading zeros. Consider the longer to be less.
16106 # Otherwise, compare as strings.
16111 # A fraction is less than an integer.
16116 # An integer is greater than a fraction.
16119 # Compare two integers.
16125 # The normal case, without worrying about digits.
16126 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16127 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16129 if (d1 < d2) exit 1
16130 if (d1 > d2) exit 2
16132 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16133 # which mishandles some comparisons of empty strings to integers.
16134 if (length(v2)) exit 1
16135 if (length(v1)) exit 2
16140 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16145 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16147 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16153 $ac_path_BISON_found && break 3
16158 if test -z "$ac_cv_path_BISON"; then
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16160 $as_echo "no" >&6; }
16163 ac_cv_path_BISON
=$BISON
16169 BISON
=$ac_cv_path_BISON
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16172 $as_echo "$BISON" >&6; }
16177 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16184 $as_echo "no" >&6; }
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
16193 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
16194 if test -z "$FLEX"; then
16195 ac_path_FLEX_found
=false
16196 # Loop through the user's path and test for each of PROGNAME-LIST
16197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16198 for as_dir
in $PATH
16201 test -z "$as_dir" && as_dir
=.
16202 for ac_prog
in flex
; do
16203 for ac_exec_ext
in '' $ac_executable_extensions; do
16204 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
16205 as_fn_executable_p
"$ac_path_FLEX" || continue
16206 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
16207 if ${version:+false} :; then :
16212 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16217 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16219 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
16225 $ac_path_FLEX_found && break 3
16230 if test -z "$ac_cv_path_FLEX"; then
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16232 $as_echo "no" >&6; }
16235 ac_cv_path_FLEX
=$FLEX
16241 FLEX
=$ac_cv_path_FLEX
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
16244 $as_echo "$FLEX" >&6; }
16249 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16256 $as_echo "no" >&6; }
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
16265 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
16266 if test -z "$GPERF"; then
16267 ac_path_GPERF_found
=false
16268 # Loop through the user's path and test for each of PROGNAME-LIST
16269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16270 for as_dir
in $PATH
16273 test -z "$as_dir" && as_dir
=.
16274 for ac_prog
in gperf
; do
16275 for ac_exec_ext
in '' $ac_executable_extensions; do
16276 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
16277 as_fn_executable_p
"$ac_path_GPERF" || continue
16278 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
16279 if ${version:+false} :; then :
16284 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16289 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16291 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
16297 $ac_path_GPERF_found && break 3
16302 if test -z "$ac_cv_path_GPERF"; then
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16304 $as_echo "no" >&6; }
16307 ac_cv_path_GPERF
=$GPERF
16313 GPERF
=$ac_cv_path_GPERF
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
16316 $as_echo "$GPERF" >&6; }
16321 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16328 $as_echo "no" >&6; }
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
16337 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
16338 if test -z "$GNUTAR"; then
16339 ac_path_GNUTAR_found
=false
16340 # Loop through the user's path and test for each of PROGNAME-LIST
16341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16342 for as_dir
in $PATH
16345 test -z "$as_dir" && as_dir
=.
16346 for ac_prog
in tar gtar gnutar
; do
16347 for ac_exec_ext
in '' $ac_executable_extensions; do
16348 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
16349 as_fn_executable_p
"$ac_path_GNUTAR" || continue
16350 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
16351 if ${version:+false} :; then :
16356 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16361 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16363 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
16369 $ac_path_GNUTAR_found && break 3
16374 if test -z "$ac_cv_path_GNUTAR"; then
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16376 $as_echo "no" >&6; }
16379 ac_cv_path_GNUTAR
=$GNUTAR
16385 GNUTAR
=$ac_cv_path_GNUTAR
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
16388 $as_echo "$GNUTAR" >&6; }
16393 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16400 $as_echo "no" >&6; }
16414 if ${CFLAGS+:} false
; then :
16415 case " $CFLAGS " in
16417 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5
16418 (: CFLAGS already contains
) 2>&5
16420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16421 test $ac_status = 0; }
16424 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5
16425 (: CFLAGS
="$CFLAGS ") 2>&5
16427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16428 test $ac_status = 0; }
16437 ac_cpp
='$CPP $CPPFLAGS'
16438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
16443 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
16444 if ${ac_cv_cflags_warn_all+:} false
; then :
16445 $as_echo_n "(cached) " >&6
16447 ac_cv_cflags_warn_all
="no, unknown"
16448 ac_save_CFLAGS
="$CFLAGS"
16449 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" #
16450 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16462 if ac_fn_c_try_compile
"$LINENO"; then :
16463 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16467 CFLAGS
="$ac_save_CFLAGS"
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
16471 $as_echo "$ac_cv_cflags_warn_all" >&6; }
16473 case ".$ac_cv_cflags_warn_all" in
16476 *) if ${CFLAGS+:} false
; then :
16477 case " $CFLAGS " in
16478 *" $ac_cv_cflags_warn_all "*)
16479 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
16480 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
16482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16483 test $ac_status = 0; }
16486 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
16487 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
16489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16490 test $ac_status = 0; }
16491 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
16495 CFLAGS
="$ac_cv_cflags_warn_all"
16501 ac_cpp
='$CXXCPP $CPPFLAGS'
16502 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16508 ac_cpp
='$CXXCPP $CPPFLAGS'
16509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
16514 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
16515 if ${ac_cv_cxxflags_warn_all+:} false
; then :
16516 $as_echo_n "(cached) " >&6
16518 ac_cv_cxxflags_warn_all
="no, unknown"
16519 ac_save_CXXFLAGS
="$CXXFLAGS"
16520 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" #
16521 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
16522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16523 /* end confdefs.h. */
16533 if ac_fn_cxx_try_compile
"$LINENO"; then :
16534 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
16536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16538 CXXFLAGS
="$ac_save_CXXFLAGS"
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
16542 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
16544 case ".$ac_cv_cxxflags_warn_all" in
16547 *) if ${CXXFLAGS+:} false
; then :
16548 case " $CXXFLAGS " in
16549 *" $ac_cv_cxxflags_warn_all "*)
16550 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
16551 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
16553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16554 test $ac_status = 0; }
16557 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
16558 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
16560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16561 test $ac_status = 0; }
16562 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
16566 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
16572 ac_cpp
='$CXXCPP $CPPFLAGS'
16573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-overloaded-virtual" >&5
16581 $as_echo_n "checking for -Wno-overloaded-virtual... " >&6; }
16585 for element
in -Wno-overloaded-virtual; do
16587 for x
in $CXXFLAGS; do
16589 acl_save_prefix
="$prefix"
16590 prefix
="$acl_final_prefix"
16591 acl_save_exec_prefix
="$exec_prefix"
16592 exec_prefix
="$acl_final_exec_prefix"
16594 exec_prefix
="$acl_save_exec_prefix"
16595 prefix
="$acl_save_prefix"
16597 if test "X$x" = "X$element"; then
16602 if test -z "$haveit"; then
16603 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16612 if ac_fn_cxx_try_compile
"$LINENO"; then :
16617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16620 if test "x$cy_good" = x1
; then :
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16622 $as_echo "yes" >&6; }
16625 for element
in -Wno-overloaded-virtual; do
16627 for x
in $CFLAGS; do
16629 acl_save_prefix
="$prefix"
16630 prefix
="$acl_final_prefix"
16631 acl_save_exec_prefix
="$exec_prefix"
16632 exec_prefix
="$acl_final_exec_prefix"
16634 exec_prefix
="$acl_save_exec_prefix"
16635 prefix
="$acl_save_prefix"
16637 if test "X$x" = "X$element"; then
16642 if test -z "$haveit"; then
16643 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16648 for element
in -Wno-overloaded-virtual; do
16650 for x
in $CXXFLAGS; do
16652 acl_save_prefix
="$prefix"
16653 prefix
="$acl_final_prefix"
16654 acl_save_exec_prefix
="$exec_prefix"
16655 exec_prefix
="$acl_final_exec_prefix"
16657 exec_prefix
="$acl_save_exec_prefix"
16658 prefix
="$acl_save_prefix"
16660 if test "X$x" = "X$element"; then
16665 if test -z "$haveit"; then
16666 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16671 for element
in -Wno-overloaded-virtual; do
16673 for x
in $OBJCCXXFLAGS; do
16675 acl_save_prefix
="$prefix"
16676 prefix
="$acl_final_prefix"
16677 acl_save_exec_prefix
="$exec_prefix"
16678 exec_prefix
="$acl_final_exec_prefix"
16680 exec_prefix
="$acl_save_exec_prefix"
16681 prefix
="$acl_save_prefix"
16683 if test "X$x" = "X$element"; then
16688 if test -z "$haveit"; then
16689 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16697 $as_echo "no" >&6; }
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-parentheses" >&5
16703 $as_echo_n "checking for -Wno-parentheses... " >&6; }
16707 for element
in -Wno-parentheses; do
16709 for x
in $CXXFLAGS; do
16711 acl_save_prefix
="$prefix"
16712 prefix
="$acl_final_prefix"
16713 acl_save_exec_prefix
="$exec_prefix"
16714 exec_prefix
="$acl_final_exec_prefix"
16716 exec_prefix
="$acl_save_exec_prefix"
16717 prefix
="$acl_save_prefix"
16719 if test "X$x" = "X$element"; then
16724 if test -z "$haveit"; then
16725 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16734 if ac_fn_cxx_try_compile
"$LINENO"; then :
16739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16742 if test "x$cy_good" = x1
; then :
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16744 $as_echo "yes" >&6; }
16747 for element
in -Wno-parentheses; do
16749 for x
in $CFLAGS; do
16751 acl_save_prefix
="$prefix"
16752 prefix
="$acl_final_prefix"
16753 acl_save_exec_prefix
="$exec_prefix"
16754 exec_prefix
="$acl_final_exec_prefix"
16756 exec_prefix
="$acl_save_exec_prefix"
16757 prefix
="$acl_save_prefix"
16759 if test "X$x" = "X$element"; then
16764 if test -z "$haveit"; then
16765 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16770 for element
in -Wno-parentheses; do
16772 for x
in $CXXFLAGS; do
16774 acl_save_prefix
="$prefix"
16775 prefix
="$acl_final_prefix"
16776 acl_save_exec_prefix
="$exec_prefix"
16777 exec_prefix
="$acl_final_exec_prefix"
16779 exec_prefix
="$acl_save_exec_prefix"
16780 prefix
="$acl_save_prefix"
16782 if test "X$x" = "X$element"; then
16787 if test -z "$haveit"; then
16788 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16793 for element
in -Wno-parentheses; do
16795 for x
in $OBJCCXXFLAGS; do
16797 acl_save_prefix
="$prefix"
16798 prefix
="$acl_final_prefix"
16799 acl_save_exec_prefix
="$exec_prefix"
16800 exec_prefix
="$acl_final_exec_prefix"
16802 exec_prefix
="$acl_save_exec_prefix"
16803 prefix
="$acl_save_prefix"
16805 if test "X$x" = "X$element"; then
16810 if test -z "$haveit"; then
16811 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16819 $as_echo "no" >&6; }
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wno-unneeded-internal-declaration" >&5
16825 $as_echo_n "checking for -Wno-unneeded-internal-declaration... " >&6; }
16829 for element
in -Wno-unneeded-internal-declaration; do
16831 for x
in $CXXFLAGS; do
16833 acl_save_prefix
="$prefix"
16834 prefix
="$acl_final_prefix"
16835 acl_save_exec_prefix
="$exec_prefix"
16836 exec_prefix
="$acl_final_exec_prefix"
16838 exec_prefix
="$acl_save_exec_prefix"
16839 prefix
="$acl_save_prefix"
16841 if test "X$x" = "X$element"; then
16846 if test -z "$haveit"; then
16847 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16856 if ac_fn_cxx_try_compile
"$LINENO"; then :
16861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16864 if test "x$cy_good" = x1
; then :
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16866 $as_echo "yes" >&6; }
16869 for element
in -Wno-unneeded-internal-declaration; do
16871 for x
in $CFLAGS; do
16873 acl_save_prefix
="$prefix"
16874 prefix
="$acl_final_prefix"
16875 acl_save_exec_prefix
="$exec_prefix"
16876 exec_prefix
="$acl_final_exec_prefix"
16878 exec_prefix
="$acl_save_exec_prefix"
16879 prefix
="$acl_save_prefix"
16881 if test "X$x" = "X$element"; then
16886 if test -z "$haveit"; then
16887 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
16892 for element
in -Wno-unneeded-internal-declaration; do
16894 for x
in $CXXFLAGS; do
16896 acl_save_prefix
="$prefix"
16897 prefix
="$acl_final_prefix"
16898 acl_save_exec_prefix
="$exec_prefix"
16899 exec_prefix
="$acl_final_exec_prefix"
16901 exec_prefix
="$acl_save_exec_prefix"
16902 prefix
="$acl_save_prefix"
16904 if test "X$x" = "X$element"; then
16909 if test -z "$haveit"; then
16910 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16915 for element
in -Wno-unneeded-internal-declaration; do
16917 for x
in $OBJCCXXFLAGS; do
16919 acl_save_prefix
="$prefix"
16920 prefix
="$acl_final_prefix"
16921 acl_save_exec_prefix
="$exec_prefix"
16922 exec_prefix
="$acl_final_exec_prefix"
16924 exec_prefix
="$acl_save_exec_prefix"
16925 prefix
="$acl_save_prefix"
16927 if test "X$x" = "X$element"; then
16932 if test -z "$haveit"; then
16933 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16941 $as_echo "no" >&6; }
16946 for cy_arch
in ppc ppc64 i386 x86_64 armv6
; do
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
16948 $as_echo_n "checking for -arch $cy_arch... " >&6; }
16952 for element
in "-arch $cy_arch"; do
16954 for x
in $CXXFLAGS; do
16956 acl_save_prefix
="$prefix"
16957 prefix
="$acl_final_prefix"
16958 acl_save_exec_prefix
="$exec_prefix"
16959 exec_prefix
="$acl_final_exec_prefix"
16961 exec_prefix
="$acl_save_exec_prefix"
16962 prefix
="$acl_save_prefix"
16964 if test "X$x" = "X$element"; then
16969 if test -z "$haveit"; then
16970 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16986 if ac_fn_cxx_try_link
"$LINENO"; then :
16991 rm -f core conftest.err conftest.
$ac_objext \
16992 conftest
$ac_exeext conftest.
$ac_ext
16995 if test "x$cy_good" = x1
; then :
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16997 $as_echo "yes" >&6; }
16999 for element
in "-arch $cy_arch"; do
17001 for x
in $CY_ARCH; do
17003 acl_save_prefix
="$prefix"
17004 prefix
="$acl_final_prefix"
17005 acl_save_exec_prefix
="$exec_prefix"
17006 exec_prefix
="$acl_final_exec_prefix"
17008 exec_prefix
="$acl_save_exec_prefix"
17009 prefix
="$acl_save_prefix"
17011 if test "X$x" = "X$element"; then
17016 if test -z "$haveit"; then
17017 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17024 $as_echo "no" >&6; }
17031 # Check whether --with-frameworks was given.
17032 if test "${with_frameworks+set}" = set; then :
17033 withval
=$with_frameworks;
17034 for cy_framework
in $withval; do
17037 for element
in -F$cy_framework; do
17039 for x
in $CFLAGS; do
17041 acl_save_prefix
="$prefix"
17042 prefix
="$acl_final_prefix"
17043 acl_save_exec_prefix
="$exec_prefix"
17044 exec_prefix
="$acl_final_exec_prefix"
17046 exec_prefix
="$acl_save_exec_prefix"
17047 prefix
="$acl_save_prefix"
17049 if test "X$x" = "X$element"; then
17054 if test -z "$haveit"; then
17055 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17060 for element
in -F$cy_framework; do
17062 for x
in $CXXFLAGS; do
17064 acl_save_prefix
="$prefix"
17065 prefix
="$acl_final_prefix"
17066 acl_save_exec_prefix
="$exec_prefix"
17067 exec_prefix
="$acl_final_exec_prefix"
17069 exec_prefix
="$acl_save_exec_prefix"
17070 prefix
="$acl_save_prefix"
17072 if test "X$x" = "X$element"; then
17077 if test -z "$haveit"; then
17078 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17083 for element
in -F$cy_framework; do
17085 for x
in $OBJCCXXFLAGS; do
17087 acl_save_prefix
="$prefix"
17088 prefix
="$acl_final_prefix"
17089 acl_save_exec_prefix
="$exec_prefix"
17090 exec_prefix
="$acl_final_exec_prefix"
17092 exec_prefix
="$acl_save_exec_prefix"
17093 prefix
="$acl_save_prefix"
17095 if test "X$x" = "X$element"; then
17100 if test -z "$haveit"; then
17101 OBJCCXXFLAGS
="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
17113 # Check whether --enable-javascript was given.
17114 if test "${enable_javascript+set}" = set; then :
17115 enableval
=$enable_javascript;
17116 case $enableval in #(
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17124 $as_echo_n "checking for WEBKIT... " >&6; }
17126 if test -n "$WEBKIT_CFLAGS"; then
17127 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17128 elif test -n "$PKG_CONFIG"; then
17129 if test -n "$PKG_CONFIG" && \
17130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17131 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17134 test $ac_status = 0; }; then
17135 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17142 if test -n "$WEBKIT_LIBS"; then
17143 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17144 elif test -n "$PKG_CONFIG"; then
17145 if test -n "$PKG_CONFIG" && \
17146 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17147 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17150 test $ac_status = 0; }; then
17151 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17161 if test $pkg_failed = yes; then
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17163 $as_echo "no" >&6; }
17165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17166 _pkg_short_errors_supported
=yes
17168 _pkg_short_errors_supported
=no
17170 if test $_pkg_short_errors_supported = yes; then
17171 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17173 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17175 # Put the nasty error message in config.log where it belongs
17176 echo "$WEBKIT_PKG_ERRORS" >&5
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17182 $as_echo_n "checking for WEBKIT... " >&6; }
17184 if test -n "$WEBKIT_CFLAGS"; then
17185 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17186 elif test -n "$PKG_CONFIG"; then
17187 if test -n "$PKG_CONFIG" && \
17188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17189 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17192 test $ac_status = 0; }; then
17193 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17200 if test -n "$WEBKIT_LIBS"; then
17201 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17202 elif test -n "$PKG_CONFIG"; then
17203 if test -n "$PKG_CONFIG" && \
17204 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17205 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17208 test $ac_status = 0; }; then
17209 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17219 if test $pkg_failed = yes; then
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17221 $as_echo "no" >&6; }
17223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17224 _pkg_short_errors_supported
=yes
17226 _pkg_short_errors_supported
=no
17228 if test $_pkg_short_errors_supported = yes; then
17229 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17231 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17233 # Put the nasty error message in config.log where it belongs
17234 echo "$WEBKIT_PKG_ERRORS" >&5
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17239 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17240 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17241 $as_echo_n "(cached) " >&6
17244 ac_check_framework_save_LIBS
=$LIBS
17245 LIBS
="-framework JavaScriptCore $LIBS"
17246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17249 #include <JavaScriptCore/JSBase.h>
17255 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17261 if ac_fn_cxx_try_link
"$LINENO"; then :
17263 ac_cv_framework_JavaScriptCore
=yes
17266 ac_cv_framework_JavaScriptCore
=no
17268 rm -f core conftest.err conftest.
$ac_objext \
17269 conftest
$ac_exeext conftest.
$ac_ext
17270 LIBS
=$ac_check_framework_save_LIBS
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17274 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17275 if test $ac_cv_framework_JavaScriptCore = yes; then :
17278 for element
in "-framework JavaScriptCore $LIBS"; do
17282 acl_save_prefix
="$prefix"
17283 prefix
="$acl_final_prefix"
17284 acl_save_exec_prefix
="$exec_prefix"
17285 exec_prefix
="$acl_final_exec_prefix"
17287 exec_prefix
="$acl_save_exec_prefix"
17288 prefix
="$acl_save_prefix"
17290 if test "X$x" = "X$element"; then
17295 if test -z "$haveit"; then
17296 LIBS
="${LIBS}${LIBS:+ }$element"
17307 elif test $pkg_failed = untried
; then
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17309 $as_echo "no" >&6; }
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17313 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17314 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17315 $as_echo_n "(cached) " >&6
17318 ac_check_framework_save_LIBS
=$LIBS
17319 LIBS
="-framework JavaScriptCore $LIBS"
17320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17323 #include <JavaScriptCore/JSBase.h>
17329 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17335 if ac_fn_cxx_try_link
"$LINENO"; then :
17337 ac_cv_framework_JavaScriptCore
=yes
17340 ac_cv_framework_JavaScriptCore
=no
17342 rm -f core conftest.err conftest.
$ac_objext \
17343 conftest
$ac_exeext conftest.
$ac_ext
17344 LIBS
=$ac_check_framework_save_LIBS
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17348 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17349 if test $ac_cv_framework_JavaScriptCore = yes; then :
17352 for element
in "-framework JavaScriptCore $LIBS"; do
17356 acl_save_prefix
="$prefix"
17357 prefix
="$acl_final_prefix"
17358 acl_save_exec_prefix
="$exec_prefix"
17359 exec_prefix
="$acl_final_exec_prefix"
17361 exec_prefix
="$acl_save_exec_prefix"
17362 prefix
="$acl_save_prefix"
17364 if test "X$x" = "X$element"; then
17369 if test -z "$haveit"; then
17370 LIBS
="${LIBS}${LIBS:+ }$element"
17382 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17383 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17385 $as_echo "yes" >&6; }
17390 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17392 for x
in $CXXFLAGS; do
17394 acl_save_prefix
="$prefix"
17395 prefix
="$acl_final_prefix"
17396 acl_save_exec_prefix
="$exec_prefix"
17397 exec_prefix
="$acl_final_exec_prefix"
17399 exec_prefix
="$acl_save_exec_prefix"
17400 prefix
="$acl_save_prefix"
17402 if test "X$x" = "X$element"; then
17407 if test -z "$haveit"; then
17408 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17413 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17417 acl_save_prefix
="$prefix"
17418 prefix
="$acl_final_prefix"
17419 acl_save_exec_prefix
="$exec_prefix"
17420 exec_prefix
="$acl_final_exec_prefix"
17422 exec_prefix
="$acl_save_exec_prefix"
17423 prefix
="$acl_save_prefix"
17425 if test "X$x" = "X$element"; then
17430 if test -z "$haveit"; then
17431 LIBS
="${LIBS}${LIBS:+ }$element"
17438 elif test $pkg_failed = untried
; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17440 $as_echo "no" >&6; }
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17445 $as_echo_n "checking for WEBKIT... " >&6; }
17447 if test -n "$WEBKIT_CFLAGS"; then
17448 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17449 elif test -n "$PKG_CONFIG"; then
17450 if test -n "$PKG_CONFIG" && \
17451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17452 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17455 test $ac_status = 0; }; then
17456 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17463 if test -n "$WEBKIT_LIBS"; then
17464 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17465 elif test -n "$PKG_CONFIG"; then
17466 if test -n "$PKG_CONFIG" && \
17467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17468 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17471 test $ac_status = 0; }; then
17472 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17482 if test $pkg_failed = yes; then
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17484 $as_echo "no" >&6; }
17486 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17487 _pkg_short_errors_supported
=yes
17489 _pkg_short_errors_supported
=no
17491 if test $_pkg_short_errors_supported = yes; then
17492 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17494 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17496 # Put the nasty error message in config.log where it belongs
17497 echo "$WEBKIT_PKG_ERRORS" >&5
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17502 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17503 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17504 $as_echo_n "(cached) " >&6
17507 ac_check_framework_save_LIBS
=$LIBS
17508 LIBS
="-framework JavaScriptCore $LIBS"
17509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17510 /* end confdefs.h. */
17512 #include <JavaScriptCore/JSBase.h>
17518 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17524 if ac_fn_cxx_try_link
"$LINENO"; then :
17526 ac_cv_framework_JavaScriptCore
=yes
17529 ac_cv_framework_JavaScriptCore
=no
17531 rm -f core conftest.err conftest.
$ac_objext \
17532 conftest
$ac_exeext conftest.
$ac_ext
17533 LIBS
=$ac_check_framework_save_LIBS
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17537 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17538 if test $ac_cv_framework_JavaScriptCore = yes; then :
17541 for element
in "-framework JavaScriptCore $LIBS"; do
17545 acl_save_prefix
="$prefix"
17546 prefix
="$acl_final_prefix"
17547 acl_save_exec_prefix
="$exec_prefix"
17548 exec_prefix
="$acl_final_exec_prefix"
17550 exec_prefix
="$acl_save_exec_prefix"
17551 prefix
="$acl_save_prefix"
17553 if test "X$x" = "X$element"; then
17558 if test -z "$haveit"; then
17559 LIBS
="${LIBS}${LIBS:+ }$element"
17570 elif test $pkg_failed = untried
; then
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17572 $as_echo "no" >&6; }
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17576 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17577 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17578 $as_echo_n "(cached) " >&6
17581 ac_check_framework_save_LIBS
=$LIBS
17582 LIBS
="-framework JavaScriptCore $LIBS"
17583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17586 #include <JavaScriptCore/JSBase.h>
17592 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17598 if ac_fn_cxx_try_link
"$LINENO"; then :
17600 ac_cv_framework_JavaScriptCore
=yes
17603 ac_cv_framework_JavaScriptCore
=no
17605 rm -f core conftest.err conftest.
$ac_objext \
17606 conftest
$ac_exeext conftest.
$ac_ext
17607 LIBS
=$ac_check_framework_save_LIBS
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17611 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17612 if test $ac_cv_framework_JavaScriptCore = yes; then :
17615 for element
in "-framework JavaScriptCore $LIBS"; do
17619 acl_save_prefix
="$prefix"
17620 prefix
="$acl_final_prefix"
17621 acl_save_exec_prefix
="$exec_prefix"
17622 exec_prefix
="$acl_final_exec_prefix"
17624 exec_prefix
="$acl_save_exec_prefix"
17625 prefix
="$acl_save_prefix"
17627 if test "X$x" = "X$element"; then
17632 if test -z "$haveit"; then
17633 LIBS
="${LIBS}${LIBS:+ }$element"
17645 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17646 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17648 $as_echo "yes" >&6; }
17653 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17655 for x
in $CXXFLAGS; do
17657 acl_save_prefix
="$prefix"
17658 prefix
="$acl_final_prefix"
17659 acl_save_exec_prefix
="$exec_prefix"
17660 exec_prefix
="$acl_final_exec_prefix"
17662 exec_prefix
="$acl_save_exec_prefix"
17663 prefix
="$acl_save_prefix"
17665 if test "X$x" = "X$element"; then
17670 if test -z "$haveit"; then
17671 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17676 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17680 acl_save_prefix
="$prefix"
17681 prefix
="$acl_final_prefix"
17682 acl_save_exec_prefix
="$exec_prefix"
17683 exec_prefix
="$acl_final_exec_prefix"
17685 exec_prefix
="$acl_save_exec_prefix"
17686 prefix
="$acl_save_prefix"
17688 if test "X$x" = "X$element"; then
17693 if test -z "$haveit"; then
17694 LIBS
="${LIBS}${LIBS:+ }$element"
17702 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17703 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17705 $as_echo "yes" >&6; }
17710 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
17712 for x
in $CXXFLAGS; do
17714 acl_save_prefix
="$prefix"
17715 prefix
="$acl_final_prefix"
17716 acl_save_exec_prefix
="$exec_prefix"
17717 exec_prefix
="$acl_final_exec_prefix"
17719 exec_prefix
="$acl_save_exec_prefix"
17720 prefix
="$acl_save_prefix"
17722 if test "X$x" = "X$element"; then
17727 if test -z "$haveit"; then
17728 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17733 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
17737 acl_save_prefix
="$prefix"
17738 prefix
="$acl_final_prefix"
17739 acl_save_exec_prefix
="$exec_prefix"
17740 exec_prefix
="$acl_final_exec_prefix"
17742 exec_prefix
="$acl_save_exec_prefix"
17743 prefix
="$acl_save_prefix"
17745 if test "X$x" = "X$element"; then
17750 if test -z "$haveit"; then
17751 LIBS
="${LIBS}${LIBS:+ }$element"
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17768 $as_echo_n "checking for WEBKIT... " >&6; }
17770 if test -n "$WEBKIT_CFLAGS"; then
17771 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17772 elif test -n "$PKG_CONFIG"; then
17773 if test -n "$PKG_CONFIG" && \
17774 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17775 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17778 test $ac_status = 0; }; then
17779 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17786 if test -n "$WEBKIT_LIBS"; then
17787 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17788 elif test -n "$PKG_CONFIG"; then
17789 if test -n "$PKG_CONFIG" && \
17790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17791 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17794 test $ac_status = 0; }; then
17795 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17805 if test $pkg_failed = yes; then
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17807 $as_echo "no" >&6; }
17809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17810 _pkg_short_errors_supported
=yes
17812 _pkg_short_errors_supported
=no
17814 if test $_pkg_short_errors_supported = yes; then
17815 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
17817 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
17819 # Put the nasty error message in config.log where it belongs
17820 echo "$WEBKIT_PKG_ERRORS" >&5
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17826 $as_echo_n "checking for WEBKIT... " >&6; }
17828 if test -n "$WEBKIT_CFLAGS"; then
17829 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17830 elif test -n "$PKG_CONFIG"; then
17831 if test -n "$PKG_CONFIG" && \
17832 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17833 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17836 test $ac_status = 0; }; then
17837 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17844 if test -n "$WEBKIT_LIBS"; then
17845 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17846 elif test -n "$PKG_CONFIG"; then
17847 if test -n "$PKG_CONFIG" && \
17848 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17849 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17852 test $ac_status = 0; }; then
17853 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17863 if test $pkg_failed = yes; then
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17865 $as_echo "no" >&6; }
17867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17868 _pkg_short_errors_supported
=yes
17870 _pkg_short_errors_supported
=no
17872 if test $_pkg_short_errors_supported = yes; then
17873 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
17875 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
17877 # Put the nasty error message in config.log where it belongs
17878 echo "$WEBKIT_PKG_ERRORS" >&5
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17883 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17884 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17885 $as_echo_n "(cached) " >&6
17888 ac_check_framework_save_LIBS
=$LIBS
17889 LIBS
="-framework JavaScriptCore $LIBS"
17890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17893 #include <JavaScriptCore/JSBase.h>
17899 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17905 if ac_fn_cxx_try_link
"$LINENO"; then :
17907 ac_cv_framework_JavaScriptCore
=yes
17910 ac_cv_framework_JavaScriptCore
=no
17912 rm -f core conftest.err conftest.
$ac_objext \
17913 conftest
$ac_exeext conftest.
$ac_ext
17914 LIBS
=$ac_check_framework_save_LIBS
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17918 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17919 if test $ac_cv_framework_JavaScriptCore = yes; then :
17922 for element
in "-framework JavaScriptCore $LIBS"; do
17926 acl_save_prefix
="$prefix"
17927 prefix
="$acl_final_prefix"
17928 acl_save_exec_prefix
="$exec_prefix"
17929 exec_prefix
="$acl_final_exec_prefix"
17931 exec_prefix
="$acl_save_exec_prefix"
17932 prefix
="$acl_save_prefix"
17934 if test "X$x" = "X$element"; then
17939 if test -z "$haveit"; then
17940 LIBS
="${LIBS}${LIBS:+ }$element"
17951 elif test $pkg_failed = untried
; then
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17953 $as_echo "no" >&6; }
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17957 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17958 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
17959 $as_echo_n "(cached) " >&6
17962 ac_check_framework_save_LIBS
=$LIBS
17963 LIBS
="-framework JavaScriptCore $LIBS"
17964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17967 #include <JavaScriptCore/JSBase.h>
17973 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17979 if ac_fn_cxx_try_link
"$LINENO"; then :
17981 ac_cv_framework_JavaScriptCore
=yes
17984 ac_cv_framework_JavaScriptCore
=no
17986 rm -f core conftest.err conftest.
$ac_objext \
17987 conftest
$ac_exeext conftest.
$ac_ext
17988 LIBS
=$ac_check_framework_save_LIBS
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17992 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17993 if test $ac_cv_framework_JavaScriptCore = yes; then :
17996 for element
in "-framework JavaScriptCore $LIBS"; do
18000 acl_save_prefix
="$prefix"
18001 prefix
="$acl_final_prefix"
18002 acl_save_exec_prefix
="$exec_prefix"
18003 exec_prefix
="$acl_final_exec_prefix"
18005 exec_prefix
="$acl_save_exec_prefix"
18006 prefix
="$acl_save_prefix"
18008 if test "X$x" = "X$element"; then
18013 if test -z "$haveit"; then
18014 LIBS
="${LIBS}${LIBS:+ }$element"
18026 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18027 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18029 $as_echo "yes" >&6; }
18034 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18036 for x
in $CXXFLAGS; do
18038 acl_save_prefix
="$prefix"
18039 prefix
="$acl_final_prefix"
18040 acl_save_exec_prefix
="$exec_prefix"
18041 exec_prefix
="$acl_final_exec_prefix"
18043 exec_prefix
="$acl_save_exec_prefix"
18044 prefix
="$acl_save_prefix"
18046 if test "X$x" = "X$element"; then
18051 if test -z "$haveit"; then
18052 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18057 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18061 acl_save_prefix
="$prefix"
18062 prefix
="$acl_final_prefix"
18063 acl_save_exec_prefix
="$exec_prefix"
18064 exec_prefix
="$acl_final_exec_prefix"
18066 exec_prefix
="$acl_save_exec_prefix"
18067 prefix
="$acl_save_prefix"
18069 if test "X$x" = "X$element"; then
18074 if test -z "$haveit"; then
18075 LIBS
="${LIBS}${LIBS:+ }$element"
18082 elif test $pkg_failed = untried
; then
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18084 $as_echo "no" >&6; }
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18089 $as_echo_n "checking for WEBKIT... " >&6; }
18091 if test -n "$WEBKIT_CFLAGS"; then
18092 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18093 elif test -n "$PKG_CONFIG"; then
18094 if test -n "$PKG_CONFIG" && \
18095 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18096 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18099 test $ac_status = 0; }; then
18100 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18107 if test -n "$WEBKIT_LIBS"; then
18108 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18109 elif test -n "$PKG_CONFIG"; then
18110 if test -n "$PKG_CONFIG" && \
18111 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18112 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18115 test $ac_status = 0; }; then
18116 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18126 if test $pkg_failed = yes; then
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18128 $as_echo "no" >&6; }
18130 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18131 _pkg_short_errors_supported
=yes
18133 _pkg_short_errors_supported
=no
18135 if test $_pkg_short_errors_supported = yes; then
18136 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18138 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18140 # Put the nasty error message in config.log where it belongs
18141 echo "$WEBKIT_PKG_ERRORS" >&5
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18146 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18147 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18148 $as_echo_n "(cached) " >&6
18151 ac_check_framework_save_LIBS
=$LIBS
18152 LIBS
="-framework JavaScriptCore $LIBS"
18153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18154 /* end confdefs.h. */
18156 #include <JavaScriptCore/JSBase.h>
18162 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18168 if ac_fn_cxx_try_link
"$LINENO"; then :
18170 ac_cv_framework_JavaScriptCore
=yes
18173 ac_cv_framework_JavaScriptCore
=no
18175 rm -f core conftest.err conftest.
$ac_objext \
18176 conftest
$ac_exeext conftest.
$ac_ext
18177 LIBS
=$ac_check_framework_save_LIBS
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18181 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18182 if test $ac_cv_framework_JavaScriptCore = yes; then :
18185 for element
in "-framework JavaScriptCore $LIBS"; do
18189 acl_save_prefix
="$prefix"
18190 prefix
="$acl_final_prefix"
18191 acl_save_exec_prefix
="$exec_prefix"
18192 exec_prefix
="$acl_final_exec_prefix"
18194 exec_prefix
="$acl_save_exec_prefix"
18195 prefix
="$acl_save_prefix"
18197 if test "X$x" = "X$element"; then
18202 if test -z "$haveit"; then
18203 LIBS
="${LIBS}${LIBS:+ }$element"
18214 elif test $pkg_failed = untried
; then
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18216 $as_echo "no" >&6; }
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18220 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18221 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18222 $as_echo_n "(cached) " >&6
18225 ac_check_framework_save_LIBS
=$LIBS
18226 LIBS
="-framework JavaScriptCore $LIBS"
18227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h. */
18230 #include <JavaScriptCore/JSBase.h>
18236 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18242 if ac_fn_cxx_try_link
"$LINENO"; then :
18244 ac_cv_framework_JavaScriptCore
=yes
18247 ac_cv_framework_JavaScriptCore
=no
18249 rm -f core conftest.err conftest.
$ac_objext \
18250 conftest
$ac_exeext conftest.
$ac_ext
18251 LIBS
=$ac_check_framework_save_LIBS
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18255 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18256 if test $ac_cv_framework_JavaScriptCore = yes; then :
18259 for element
in "-framework JavaScriptCore $LIBS"; do
18263 acl_save_prefix
="$prefix"
18264 prefix
="$acl_final_prefix"
18265 acl_save_exec_prefix
="$exec_prefix"
18266 exec_prefix
="$acl_final_exec_prefix"
18268 exec_prefix
="$acl_save_exec_prefix"
18269 prefix
="$acl_save_prefix"
18271 if test "X$x" = "X$element"; then
18276 if test -z "$haveit"; then
18277 LIBS
="${LIBS}${LIBS:+ }$element"
18289 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18290 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18292 $as_echo "yes" >&6; }
18297 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18299 for x
in $CXXFLAGS; do
18301 acl_save_prefix
="$prefix"
18302 prefix
="$acl_final_prefix"
18303 acl_save_exec_prefix
="$exec_prefix"
18304 exec_prefix
="$acl_final_exec_prefix"
18306 exec_prefix
="$acl_save_exec_prefix"
18307 prefix
="$acl_save_prefix"
18309 if test "X$x" = "X$element"; then
18314 if test -z "$haveit"; then
18315 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18320 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18324 acl_save_prefix
="$prefix"
18325 prefix
="$acl_final_prefix"
18326 acl_save_exec_prefix
="$exec_prefix"
18327 exec_prefix
="$acl_final_exec_prefix"
18329 exec_prefix
="$acl_save_exec_prefix"
18330 prefix
="$acl_save_prefix"
18332 if test "X$x" = "X$element"; then
18337 if test -z "$haveit"; then
18338 LIBS
="${LIBS}${LIBS:+ }$element"
18346 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18347 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18349 $as_echo "yes" >&6; }
18354 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
18356 for x
in $CXXFLAGS; do
18358 acl_save_prefix
="$prefix"
18359 prefix
="$acl_final_prefix"
18360 acl_save_exec_prefix
="$exec_prefix"
18361 exec_prefix
="$acl_final_exec_prefix"
18363 exec_prefix
="$acl_save_exec_prefix"
18364 prefix
="$acl_save_prefix"
18366 if test "X$x" = "X$element"; then
18371 if test -z "$haveit"; then
18372 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18377 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
18381 acl_save_prefix
="$prefix"
18382 prefix
="$acl_final_prefix"
18383 acl_save_exec_prefix
="$exec_prefix"
18384 exec_prefix
="$acl_final_exec_prefix"
18386 exec_prefix
="$acl_save_exec_prefix"
18387 prefix
="$acl_save_prefix"
18389 if test "X$x" = "X$element"; then
18394 if test -z "$haveit"; then
18395 LIBS
="${LIBS}${LIBS:+ }$element"
18403 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18412 $as_echo_n "checking for WEBKIT... " >&6; }
18414 if test -n "$WEBKIT_CFLAGS"; then
18415 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18416 elif test -n "$PKG_CONFIG"; then
18417 if test -n "$PKG_CONFIG" && \
18418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18419 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18422 test $ac_status = 0; }; then
18423 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
18430 if test -n "$WEBKIT_LIBS"; then
18431 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18432 elif test -n "$PKG_CONFIG"; then
18433 if test -n "$PKG_CONFIG" && \
18434 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
18435 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
18437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18438 test $ac_status = 0; }; then
18439 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
18449 if test $pkg_failed = yes; then
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18451 $as_echo "no" >&6; }
18453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18454 _pkg_short_errors_supported
=yes
18456 _pkg_short_errors_supported
=no
18458 if test $_pkg_short_errors_supported = yes; then
18459 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
18461 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
18463 # Put the nasty error message in config.log where it belongs
18464 echo "$WEBKIT_PKG_ERRORS" >&5
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18470 $as_echo_n "checking for WEBKIT... " >&6; }
18472 if test -n "$WEBKIT_CFLAGS"; then
18473 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18474 elif test -n "$PKG_CONFIG"; then
18475 if test -n "$PKG_CONFIG" && \
18476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18477 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18480 test $ac_status = 0; }; then
18481 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18488 if test -n "$WEBKIT_LIBS"; then
18489 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18490 elif test -n "$PKG_CONFIG"; then
18491 if test -n "$PKG_CONFIG" && \
18492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18493 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18496 test $ac_status = 0; }; then
18497 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18507 if test $pkg_failed = yes; then
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18509 $as_echo "no" >&6; }
18511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18512 _pkg_short_errors_supported
=yes
18514 _pkg_short_errors_supported
=no
18516 if test $_pkg_short_errors_supported = yes; then
18517 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18519 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18521 # Put the nasty error message in config.log where it belongs
18522 echo "$WEBKIT_PKG_ERRORS" >&5
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18527 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18528 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18529 $as_echo_n "(cached) " >&6
18532 ac_check_framework_save_LIBS
=$LIBS
18533 LIBS
="-framework JavaScriptCore $LIBS"
18534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18537 #include <JavaScriptCore/JSBase.h>
18543 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18549 if ac_fn_cxx_try_link
"$LINENO"; then :
18551 ac_cv_framework_JavaScriptCore
=yes
18554 ac_cv_framework_JavaScriptCore
=no
18556 rm -f core conftest.err conftest.
$ac_objext \
18557 conftest
$ac_exeext conftest.
$ac_ext
18558 LIBS
=$ac_check_framework_save_LIBS
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18562 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18563 if test $ac_cv_framework_JavaScriptCore = yes; then :
18566 for element
in "-framework JavaScriptCore $LIBS"; do
18570 acl_save_prefix
="$prefix"
18571 prefix
="$acl_final_prefix"
18572 acl_save_exec_prefix
="$exec_prefix"
18573 exec_prefix
="$acl_final_exec_prefix"
18575 exec_prefix
="$acl_save_exec_prefix"
18576 prefix
="$acl_save_prefix"
18578 if test "X$x" = "X$element"; then
18583 if test -z "$haveit"; then
18584 LIBS
="${LIBS}${LIBS:+ }$element"
18595 elif test $pkg_failed = untried
; then
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18597 $as_echo "no" >&6; }
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18601 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18602 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18603 $as_echo_n "(cached) " >&6
18606 ac_check_framework_save_LIBS
=$LIBS
18607 LIBS
="-framework JavaScriptCore $LIBS"
18608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18609 /* end confdefs.h. */
18611 #include <JavaScriptCore/JSBase.h>
18617 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18623 if ac_fn_cxx_try_link
"$LINENO"; then :
18625 ac_cv_framework_JavaScriptCore
=yes
18628 ac_cv_framework_JavaScriptCore
=no
18630 rm -f core conftest.err conftest.
$ac_objext \
18631 conftest
$ac_exeext conftest.
$ac_ext
18632 LIBS
=$ac_check_framework_save_LIBS
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18636 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18637 if test $ac_cv_framework_JavaScriptCore = yes; then :
18640 for element
in "-framework JavaScriptCore $LIBS"; do
18644 acl_save_prefix
="$prefix"
18645 prefix
="$acl_final_prefix"
18646 acl_save_exec_prefix
="$exec_prefix"
18647 exec_prefix
="$acl_final_exec_prefix"
18649 exec_prefix
="$acl_save_exec_prefix"
18650 prefix
="$acl_save_prefix"
18652 if test "X$x" = "X$element"; then
18657 if test -z "$haveit"; then
18658 LIBS
="${LIBS}${LIBS:+ }$element"
18670 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18671 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18673 $as_echo "yes" >&6; }
18678 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18680 for x
in $CXXFLAGS; do
18682 acl_save_prefix
="$prefix"
18683 prefix
="$acl_final_prefix"
18684 acl_save_exec_prefix
="$exec_prefix"
18685 exec_prefix
="$acl_final_exec_prefix"
18687 exec_prefix
="$acl_save_exec_prefix"
18688 prefix
="$acl_save_prefix"
18690 if test "X$x" = "X$element"; then
18695 if test -z "$haveit"; then
18696 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18701 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18705 acl_save_prefix
="$prefix"
18706 prefix
="$acl_final_prefix"
18707 acl_save_exec_prefix
="$exec_prefix"
18708 exec_prefix
="$acl_final_exec_prefix"
18710 exec_prefix
="$acl_save_exec_prefix"
18711 prefix
="$acl_save_prefix"
18713 if test "X$x" = "X$element"; then
18718 if test -z "$haveit"; then
18719 LIBS
="${LIBS}${LIBS:+ }$element"
18726 elif test $pkg_failed = untried
; then
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18728 $as_echo "no" >&6; }
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
18733 $as_echo_n "checking for WEBKIT... " >&6; }
18735 if test -n "$WEBKIT_CFLAGS"; then
18736 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
18737 elif test -n "$PKG_CONFIG"; then
18738 if test -n "$PKG_CONFIG" && \
18739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18740 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18743 test $ac_status = 0; }; then
18744 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
18751 if test -n "$WEBKIT_LIBS"; then
18752 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
18753 elif test -n "$PKG_CONFIG"; then
18754 if test -n "$PKG_CONFIG" && \
18755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
18756 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
18758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18759 test $ac_status = 0; }; then
18760 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
18770 if test $pkg_failed = yes; then
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18772 $as_echo "no" >&6; }
18774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18775 _pkg_short_errors_supported
=yes
18777 _pkg_short_errors_supported
=no
18779 if test $_pkg_short_errors_supported = yes; then
18780 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
18782 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
18784 # Put the nasty error message in config.log where it belongs
18785 echo "$WEBKIT_PKG_ERRORS" >&5
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18790 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18791 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18792 $as_echo_n "(cached) " >&6
18795 ac_check_framework_save_LIBS
=$LIBS
18796 LIBS
="-framework JavaScriptCore $LIBS"
18797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18800 #include <JavaScriptCore/JSBase.h>
18806 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18812 if ac_fn_cxx_try_link
"$LINENO"; then :
18814 ac_cv_framework_JavaScriptCore
=yes
18817 ac_cv_framework_JavaScriptCore
=no
18819 rm -f core conftest.err conftest.
$ac_objext \
18820 conftest
$ac_exeext conftest.
$ac_ext
18821 LIBS
=$ac_check_framework_save_LIBS
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18825 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18826 if test $ac_cv_framework_JavaScriptCore = yes; then :
18829 for element
in "-framework JavaScriptCore $LIBS"; do
18833 acl_save_prefix
="$prefix"
18834 prefix
="$acl_final_prefix"
18835 acl_save_exec_prefix
="$exec_prefix"
18836 exec_prefix
="$acl_final_exec_prefix"
18838 exec_prefix
="$acl_save_exec_prefix"
18839 prefix
="$acl_save_prefix"
18841 if test "X$x" = "X$element"; then
18846 if test -z "$haveit"; then
18847 LIBS
="${LIBS}${LIBS:+ }$element"
18858 elif test $pkg_failed = untried
; then
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18860 $as_echo "no" >&6; }
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
18864 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
18865 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
18866 $as_echo_n "(cached) " >&6
18869 ac_check_framework_save_LIBS
=$LIBS
18870 LIBS
="-framework JavaScriptCore $LIBS"
18871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18874 #include <JavaScriptCore/JSBase.h>
18880 JSEvaluateScript(0, 0, 0, 0, 0, 0);
18886 if ac_fn_cxx_try_link
"$LINENO"; then :
18888 ac_cv_framework_JavaScriptCore
=yes
18891 ac_cv_framework_JavaScriptCore
=no
18893 rm -f core conftest.err conftest.
$ac_objext \
18894 conftest
$ac_exeext conftest.
$ac_ext
18895 LIBS
=$ac_check_framework_save_LIBS
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
18899 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
18900 if test $ac_cv_framework_JavaScriptCore = yes; then :
18903 for element
in "-framework JavaScriptCore $LIBS"; do
18907 acl_save_prefix
="$prefix"
18908 prefix
="$acl_final_prefix"
18909 acl_save_exec_prefix
="$exec_prefix"
18910 exec_prefix
="$acl_final_exec_prefix"
18912 exec_prefix
="$acl_save_exec_prefix"
18913 prefix
="$acl_save_prefix"
18915 if test "X$x" = "X$element"; then
18920 if test -z "$haveit"; then
18921 LIBS
="${LIBS}${LIBS:+ }$element"
18933 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18934 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18936 $as_echo "yes" >&6; }
18941 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
18943 for x
in $CXXFLAGS; do
18945 acl_save_prefix
="$prefix"
18946 prefix
="$acl_final_prefix"
18947 acl_save_exec_prefix
="$exec_prefix"
18948 exec_prefix
="$acl_final_exec_prefix"
18950 exec_prefix
="$acl_save_exec_prefix"
18951 prefix
="$acl_save_prefix"
18953 if test "X$x" = "X$element"; then
18958 if test -z "$haveit"; then
18959 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18964 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
18968 acl_save_prefix
="$prefix"
18969 prefix
="$acl_final_prefix"
18970 acl_save_exec_prefix
="$exec_prefix"
18971 exec_prefix
="$acl_final_exec_prefix"
18973 exec_prefix
="$acl_save_exec_prefix"
18974 prefix
="$acl_save_prefix"
18976 if test "X$x" = "X$element"; then
18981 if test -z "$haveit"; then
18982 LIBS
="${LIBS}${LIBS:+ }$element"
18990 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
18991 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18993 $as_echo "yes" >&6; }
18998 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
19000 for x
in $CXXFLAGS; do
19002 acl_save_prefix
="$prefix"
19003 prefix
="$acl_final_prefix"
19004 acl_save_exec_prefix
="$exec_prefix"
19005 exec_prefix
="$acl_final_exec_prefix"
19007 exec_prefix
="$acl_save_exec_prefix"
19008 prefix
="$acl_save_prefix"
19010 if test "X$x" = "X$element"; then
19015 if test -z "$haveit"; then
19016 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19021 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
19025 acl_save_prefix
="$prefix"
19026 prefix
="$acl_final_prefix"
19027 acl_save_exec_prefix
="$exec_prefix"
19028 exec_prefix
="$acl_final_exec_prefix"
19030 exec_prefix
="$acl_save_exec_prefix"
19031 prefix
="$acl_save_prefix"
19033 if test "X$x" = "X$element"; then
19038 if test -z "$haveit"; then
19039 LIBS
="${LIBS}${LIBS:+ }$element"
19052 if test "$target_os" = "os2-emx"; then
19053 # Scripts don't pass test -x on OS/2
19059 acceptable_majors
="1"
19061 apr_temp_acceptable_apr_config
=""
19062 for apr_temp_major
in $acceptable_majors
19064 case $apr_temp_major in
19066 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
19069 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
19075 $as_echo_n "checking for APR... " >&6; }
19077 # Check whether --with-apr was given.
19078 if test "${with_apr+set}" = set; then :
19080 if test "$withval" = "no" || test "$withval" = "yes"; then
19081 as_fn_error $?
"--with-apr requires a directory or file to be provided" "$LINENO" 5
19084 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19086 for lookdir
in "$withval/bin" "$withval"
19088 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
19089 apr_config
="$lookdir/$apr_temp_apr_config_file"
19097 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
19098 apr_config
="$withval"
19102 if test "$apr_found" != "yes"; then
19103 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
19108 if test -n "1" && test "1" = "1"; then
19109 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
19111 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
19112 apr_config
="$apr_temp_apr_config_file"
19117 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
19118 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
19119 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
19128 if test "$apr_found" = "no" && test -d ""; then
19129 apr_temp_abs_srcdir
="`cd && pwd`"
19130 apr_found
="reconfig"
19131 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
19132 case $apr_bundled_major in
19134 as_fn_error $?
"failed to find major version of bundled APR" "$LINENO" 5
19137 apr_temp_apr_config_file
="apr-config"
19140 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
19143 if test -n ""; then
19144 apr_config
="/$apr_temp_apr_config_file"
19146 apr_config
="/$apr_temp_apr_config_file"
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
19154 $as_echo "$apr_found" >&6; }
19156 case $apr_found in #(
19160 for element
in `$apr_config --includes`; do
19162 for x
in $CPPFLAGS; do
19164 acl_save_prefix
="$prefix"
19165 prefix
="$acl_final_prefix"
19166 acl_save_exec_prefix
="$exec_prefix"
19167 exec_prefix
="$acl_final_exec_prefix"
19169 exec_prefix
="$acl_save_exec_prefix"
19170 prefix
="$acl_save_prefix"
19172 if test "X$x" = "X$element"; then
19177 if test -z "$haveit"; then
19178 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19183 for element
in `$apr_config --link-libtool`; do
19187 acl_save_prefix
="$prefix"
19188 prefix
="$acl_final_prefix"
19189 acl_save_exec_prefix
="$exec_prefix"
19190 exec_prefix
="$acl_final_exec_prefix"
19192 exec_prefix
="$acl_save_exec_prefix"
19193 prefix
="$acl_save_prefix"
19195 if test "X$x" = "X$element"; then
19200 if test -z "$haveit"; then
19201 LIBS
="${LIBS}${LIBS:+ }$element"
19207 as_fn_error $?
"missing \"libapr\"" "$LINENO" 5 ;;
19212 if test "x$CY_EXECUTE" = x1
; then
19214 CY_EXECUTE_FALSE
='#'
19216 CY_EXECUTE_TRUE
='#'
19223 case $CY_EXECUTE in #(
19226 for ac_header
in ffi.h ffi
/ffi.h
19228 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19229 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19230 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19231 cat >>confdefs.h
<<_ACEOF
19232 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19239 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19245 $as_echo_n "checking for LIBFFI... " >&6; }
19247 if test -n "$LIBFFI_CFLAGS"; then
19248 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19249 elif test -n "$PKG_CONFIG"; then
19250 if test -n "$PKG_CONFIG" && \
19251 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19252 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19255 test $ac_status = 0; }; then
19256 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19263 if test -n "$LIBFFI_LIBS"; then
19264 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19265 elif test -n "$PKG_CONFIG"; then
19266 if test -n "$PKG_CONFIG" && \
19267 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19268 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19271 test $ac_status = 0; }; then
19272 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19282 if test $pkg_failed = yes; then
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19284 $as_echo "no" >&6; }
19286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19287 _pkg_short_errors_supported
=yes
19289 _pkg_short_errors_supported
=no
19291 if test $_pkg_short_errors_supported = yes; then
19292 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19294 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19296 # Put the nasty error message in config.log where it belongs
19297 echo "$LIBFFI_PKG_ERRORS" >&5
19299 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19300 elif test $pkg_failed = untried
; then
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19302 $as_echo "no" >&6; }
19303 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19305 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19306 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19308 $as_echo "yes" >&6; }
19311 for element
in `$PKG_CONFIG --cflags libffi`; do
19313 for x
in $CXXFLAGS; do
19315 acl_save_prefix
="$prefix"
19316 prefix
="$acl_final_prefix"
19317 acl_save_exec_prefix
="$exec_prefix"
19318 exec_prefix
="$acl_final_exec_prefix"
19320 exec_prefix
="$acl_save_exec_prefix"
19321 prefix
="$acl_save_prefix"
19323 if test "X$x" = "X$element"; then
19328 if test -z "$haveit"; then
19329 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19334 for element
in `$PKG_CONFIG --libs libffi`; do
19338 acl_save_prefix
="$prefix"
19339 prefix
="$acl_final_prefix"
19340 acl_save_exec_prefix
="$exec_prefix"
19341 exec_prefix
="$acl_final_exec_prefix"
19343 exec_prefix
="$acl_save_exec_prefix"
19344 prefix
="$acl_save_prefix"
19346 if test "X$x" = "X$element"; then
19351 if test -z "$haveit"; then
19352 LIBS
="${LIBS}${LIBS:+ }$element"
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
19362 $as_echo_n "checking for library containing ffi_call... " >&6; }
19363 if ${ac_cv_search_ffi_call+:} false
; then :
19364 $as_echo_n "(cached) " >&6
19366 ac_func_search_save_LIBS
=$LIBS
19367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19370 /* Override any GCC internal prototype to avoid an error.
19371 Use char because int might match the return type of a GCC
19372 builtin and then its argument prototype would still apply. */
19380 return ffi_call ();
19385 for ac_lib
in '' ffi
; do
19386 if test -z "$ac_lib"; then
19387 ac_res
="none required"
19390 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19392 if ac_fn_cxx_try_link
"$LINENO"; then :
19393 ac_cv_search_ffi_call
=$ac_res
19395 rm -f core conftest.err conftest.
$ac_objext \
19397 if ${ac_cv_search_ffi_call+:} false
; then :
19401 if ${ac_cv_search_ffi_call+:} false
; then :
19404 ac_cv_search_ffi_call
=no
19406 rm conftest.
$ac_ext
19407 LIBS
=$ac_func_search_save_LIBS
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
19410 $as_echo "$ac_cv_search_ffi_call" >&6; }
19411 ac_res
=$ac_cv_search_ffi_call
19412 if test "$ac_res" != no
; then :
19413 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19417 case $ac_cv_search_ffi_call in #(
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19423 $as_echo_n "checking for LIBFFI... " >&6; }
19425 if test -n "$LIBFFI_CFLAGS"; then
19426 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19427 elif test -n "$PKG_CONFIG"; then
19428 if test -n "$PKG_CONFIG" && \
19429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19430 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19433 test $ac_status = 0; }; then
19434 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19441 if test -n "$LIBFFI_LIBS"; then
19442 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19443 elif test -n "$PKG_CONFIG"; then
19444 if test -n "$PKG_CONFIG" && \
19445 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19446 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19449 test $ac_status = 0; }; then
19450 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19460 if test $pkg_failed = yes; then
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19462 $as_echo "no" >&6; }
19464 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19465 _pkg_short_errors_supported
=yes
19467 _pkg_short_errors_supported
=no
19469 if test $_pkg_short_errors_supported = yes; then
19470 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
19472 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libffi" 2>&1`
19474 # Put the nasty error message in config.log where it belongs
19475 echo "$LIBFFI_PKG_ERRORS" >&5
19477 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19478 elif test $pkg_failed = untried
; then
19479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19480 $as_echo "no" >&6; }
19481 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
19483 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
19484 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19486 $as_echo "yes" >&6; }
19489 for element
in `$PKG_CONFIG --cflags libffi`; do
19491 for x
in $CXXFLAGS; do
19493 acl_save_prefix
="$prefix"
19494 prefix
="$acl_final_prefix"
19495 acl_save_exec_prefix
="$exec_prefix"
19496 exec_prefix
="$acl_final_exec_prefix"
19498 exec_prefix
="$acl_save_exec_prefix"
19499 prefix
="$acl_save_prefix"
19501 if test "X$x" = "X$element"; then
19506 if test -z "$haveit"; then
19507 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19512 for element
in `$PKG_CONFIG --libs libffi`; do
19516 acl_save_prefix
="$prefix"
19517 prefix
="$acl_final_prefix"
19518 acl_save_exec_prefix
="$exec_prefix"
19519 exec_prefix
="$acl_final_exec_prefix"
19521 exec_prefix
="$acl_save_exec_prefix"
19522 prefix
="$acl_save_prefix"
19524 if test "X$x" = "X$element"; then
19529 if test -z "$haveit"; then
19530 LIBS
="${LIBS}${LIBS:+ }$element"
19543 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19544 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19545 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19546 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
19550 $as_echo_n "checking if we really have Objective C++... " >&6; }
19551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19555 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19559 $as_echo "yes" >&6; }
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19563 $as_echo "no" >&6; }
19565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19567 if test "x$CY_OBJECTIVEC" = x1
; then :
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
19571 $as_echo_n "checking for framework CoreFoundation... " >&6; }
19572 if ${ac_cv_framework_CoreFoundation+:} false
; then :
19573 $as_echo_n "(cached) " >&6
19576 ac_check_framework_save_LIBS
=$LIBS
19577 LIBS
="-framework CoreFoundation $LIBS"
19578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19581 #include <CoreFoundation/CFBase.h>
19586 CFAllocatorGetDefault();
19591 if ac_fn_objcxx_try_link
"$LINENO"; then :
19593 ac_cv_framework_CoreFoundation
=yes
19596 ac_cv_framework_CoreFoundation
=no
19598 rm -f core conftest.err conftest.
$ac_objext \
19599 conftest
$ac_exeext conftest.
$ac_ext
19600 LIBS
=$ac_check_framework_save_LIBS
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
19604 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
19605 if test $ac_cv_framework_CoreFoundation = yes; then :
19608 for element
in "-framework CoreFoundation $LIBS"; do
19612 acl_save_prefix
="$prefix"
19613 prefix
="$acl_final_prefix"
19614 acl_save_exec_prefix
="$exec_prefix"
19615 exec_prefix
="$acl_final_exec_prefix"
19617 exec_prefix
="$acl_save_exec_prefix"
19618 prefix
="$acl_save_prefix"
19620 if test "X$x" = "X$element"; then
19625 if test -z "$haveit"; then
19626 LIBS
="${LIBS}${LIBS:+ }$element"
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
19636 $as_echo_n "checking for framework Foundation... " >&6; }
19637 if ${ac_cv_framework_Foundation+:} false
; then :
19638 $as_echo_n "(cached) " >&6
19641 ac_check_framework_save_LIBS
=$LIBS
19642 LIBS
="-framework Foundation $LIBS"
19643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19646 #include <Foundation/NSObject.h>
19651 [[NSObject alloc] init];
19656 if ac_fn_objcxx_try_link
"$LINENO"; then :
19658 ac_cv_framework_Foundation
=yes
19661 ac_cv_framework_Foundation
=no
19663 rm -f core conftest.err conftest.
$ac_objext \
19664 conftest
$ac_exeext conftest.
$ac_ext
19665 LIBS
=$ac_check_framework_save_LIBS
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
19669 $as_echo "$ac_cv_framework_Foundation" >&6; }
19670 if test $ac_cv_framework_Foundation = yes; then :
19673 for element
in "-framework Foundation $LIBS"; do
19677 acl_save_prefix
="$prefix"
19678 prefix
="$acl_final_prefix"
19679 acl_save_exec_prefix
="$exec_prefix"
19680 exec_prefix
="$acl_final_exec_prefix"
19682 exec_prefix
="$acl_save_exec_prefix"
19683 prefix
="$acl_save_prefix"
19685 if test "X$x" = "X$element"; then
19690 if test -z "$haveit"; then
19691 LIBS
="${LIBS}${LIBS:+ }$element"
19695 cat >>confdefs.h
<<_ACEOF
19696 #define HAVE_FRAMEWORK_FOUNDATION 1
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
19705 $as_echo_n "checking for framework WebKit... " >&6; }
19706 if ${ac_cv_framework_WebKit+:} false
; then :
19707 $as_echo_n "(cached) " >&6
19710 ac_check_framework_save_LIBS
=$LIBS
19711 LIBS
="-framework WebKit $LIBS"
19712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19715 #include <WebKit/WebScriptObject.h>
19720 [[WebScriptObject alloc] init];
19725 if ac_fn_objcxx_try_link
"$LINENO"; then :
19727 ac_cv_framework_WebKit
=yes
19730 ac_cv_framework_WebKit
=no
19732 rm -f core conftest.err conftest.
$ac_objext \
19733 conftest
$ac_exeext conftest.
$ac_ext
19734 LIBS
=$ac_check_framework_save_LIBS
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
19738 $as_echo "$ac_cv_framework_WebKit" >&6; }
19739 if test $ac_cv_framework_WebKit = yes; then :
19742 for element
in "-framework WebKit $LIBS"; do
19746 acl_save_prefix
="$prefix"
19747 prefix
="$acl_final_prefix"
19748 acl_save_exec_prefix
="$exec_prefix"
19749 exec_prefix
="$acl_final_exec_prefix"
19751 exec_prefix
="$acl_save_exec_prefix"
19752 prefix
="$acl_save_prefix"
19754 if test "X$x" = "X$element"; then
19759 if test -z "$haveit"; then
19760 LIBS
="${LIBS}${LIBS:+ }$element"
19764 cat >>confdefs.h
<<_ACEOF
19765 #define HAVE_FRAMEWORK_WEBKIT 1
19775 for ac_prog
in gnustep
-config
19777 # Extract the first word of "$ac_prog", so it can be a program name with args.
19778 set dummy
$ac_prog; ac_word
=$2
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19780 $as_echo_n "checking for $ac_word... " >&6; }
19781 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
19782 $as_echo_n "(cached) " >&6
19784 if test -n "$GNUSTEP_CONFIG"; then
19785 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
19787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19788 for as_dir
in $PATH
19791 test -z "$as_dir" && as_dir
=.
19792 for ac_exec_ext
in '' $ac_executable_extensions; do
19793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19794 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
19795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19804 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
19805 if test -n "$GNUSTEP_CONFIG"; then
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
19807 $as_echo "$GNUSTEP_CONFIG" >&6; }
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19810 $as_echo "no" >&6; }
19814 test -n "$GNUSTEP_CONFIG" && break
19818 if test "x$GNUSTEP_CONFIG" != x
; then :
19822 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
19824 for x
in $OBJCXXFLAGS; do
19826 acl_save_prefix
="$prefix"
19827 prefix
="$acl_final_prefix"
19828 acl_save_exec_prefix
="$exec_prefix"
19829 exec_prefix
="$acl_final_exec_prefix"
19831 exec_prefix
="$acl_save_exec_prefix"
19832 prefix
="$acl_save_prefix"
19834 if test "X$x" = "X$element"; then
19839 if test -z "$haveit"; then
19840 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19845 for element
in `$GNUSTEP_CONFIG --base-libs`; do
19849 acl_save_prefix
="$prefix"
19850 prefix
="$acl_final_prefix"
19851 acl_save_exec_prefix
="$exec_prefix"
19852 exec_prefix
="$acl_final_exec_prefix"
19854 exec_prefix
="$acl_save_exec_prefix"
19855 prefix
="$acl_save_prefix"
19857 if test "X$x" = "X$element"; then
19862 if test -z "$haveit"; then
19863 LIBS
="${LIBS}${LIBS:+ }$element"
19878 ac_cpp
='$CXXCPP $CPPFLAGS'
19879 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19880 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19888 if test "x$CY_OBJECTIVEC" = x1
; then
19889 CY_OBJECTIVEC_TRUE
=
19890 CY_OBJECTIVEC_FALSE
='#'
19892 CY_OBJECTIVEC_TRUE
='#'
19893 CY_OBJECTIVEC_FALSE
=
19898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
19899 $as_echo_n "checking for a readline compatible library... " >&6; }
19900 if ${ax_cv_lib_readline+:} false
; then :
19901 $as_echo_n "(cached) " >&6
19905 for readline_lib
in readline edit editline
; do
19906 for termcap_lib
in "" termcap curses ncurses
; do
19907 if test -z "$termcap_lib"; then
19908 TRY_LIB
="-l$readline_lib"
19910 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19912 LIBS
="$ORIG_LIBS $TRY_LIB"
19913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19914 /* end confdefs.h. */
19916 /* Override any GCC internal prototype to avoid an error.
19917 Use char because int might match the return type of a GCC
19918 builtin and then its argument prototype would still apply. */
19926 return readline ();
19931 if ac_fn_cxx_try_link
"$LINENO"; then :
19932 ax_cv_lib_readline
="$TRY_LIB"
19934 rm -f core conftest.err conftest.
$ac_objext \
19935 conftest
$ac_exeext conftest.
$ac_ext
19936 if test -n "$ax_cv_lib_readline"; then
19940 if test -n "$ax_cv_lib_readline"; then
19944 if test -z "$ax_cv_lib_readline"; then
19945 ax_cv_lib_readline
="no"
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
19951 $as_echo "$ax_cv_lib_readline" >&6; }
19953 if test "$ax_cv_lib_readline" != "no"; then
19954 LIBS
="$LIBS $ax_cv_lib_readline"
19956 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
19958 for ac_header
in readline.h readline
/readline.h
19960 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19961 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19962 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19963 cat >>confdefs.h
<<_ACEOF
19964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
19972 $as_echo_n "checking whether readline supports history... " >&6; }
19973 if ${ax_cv_lib_readline_history+:} false
; then :
19974 $as_echo_n "(cached) " >&6
19977 ax_cv_lib_readline_history
="no"
19978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19981 /* Override any GCC internal prototype to avoid an error.
19982 Use char because int might match the return type of a GCC
19983 builtin and then its argument prototype would still apply. */
19987 char add_history ();
19991 return add_history ();
19996 if ac_fn_cxx_try_link
"$LINENO"; then :
19997 ax_cv_lib_readline_history
="yes"
19999 rm -f core conftest.err conftest.
$ac_objext \
20000 conftest
$ac_exeext conftest.
$ac_ext
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
20004 $as_echo "$ax_cv_lib_readline_history" >&6; }
20005 if test "$ax_cv_lib_readline_history" = "yes"; then
20007 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
20009 for ac_header
in history.h readline
/history.h
20011 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20012 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20013 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20014 cat >>confdefs.h
<<_ACEOF
20015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20025 case $vl_cv_lib_readline in #(
20027 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20033 $as_echo_n "checking for library containing cur_term... " >&6; }
20034 if ${ac_cv_search_cur_term+:} false
; then :
20035 $as_echo_n "(cached) " >&6
20037 ac_func_search_save_LIBS
=$LIBS
20038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20039 /* end confdefs.h. */
20041 /* Override any GCC internal prototype to avoid an error.
20042 Use char because int might match the return type of a GCC
20043 builtin and then its argument prototype would still apply. */
20051 return cur_term ();
20056 for ac_lib
in '' termcap
; do
20057 if test -z "$ac_lib"; then
20058 ac_res
="none required"
20061 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20063 if ac_fn_cxx_try_link
"$LINENO"; then :
20064 ac_cv_search_cur_term
=$ac_res
20066 rm -f core conftest.err conftest.
$ac_objext \
20068 if ${ac_cv_search_cur_term+:} false
; then :
20072 if ${ac_cv_search_cur_term+:} false
; then :
20075 ac_cv_search_cur_term
=no
20077 rm conftest.
$ac_ext
20078 LIBS
=$ac_func_search_save_LIBS
20080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20081 $as_echo "$ac_cv_search_cur_term" >&6; }
20082 ac_res
=$ac_cv_search_cur_term
20083 if test "$ac_res" != no
; then :
20084 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20090 ac_cpp
='$CPP $CPPFLAGS'
20091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20096 if test "X$prefix" = "XNONE"; then
20097 acl_final_prefix
="$ac_default_prefix"
20099 acl_final_prefix
="$prefix"
20101 if test "X$exec_prefix" = "XNONE"; then
20102 acl_final_exec_prefix
='${prefix}'
20104 acl_final_exec_prefix
="$exec_prefix"
20106 acl_save_prefix
="$prefix"
20107 prefix
="$acl_final_prefix"
20108 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
20109 prefix
="$acl_save_prefix"
20113 # Check whether --with-gnu-ld was given.
20114 if test "${with_gnu_ld+set}" = set; then :
20115 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
20120 # Prepare PATH_SEPARATOR.
20121 # The user is always right.
20122 if test "${PATH_SEPARATOR+set}" != set; then
20123 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
20124 # contains only /bin. Note that ksh looks also at the FPATH variable,
20125 # so we have to set that as well for the test.
20127 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
20128 && { (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 \
20129 || PATH_SEPARATOR
=';'
20134 if test "$GCC" = yes; then
20135 # Check if gcc -print-prog-name=ld gives a path.
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20137 $as_echo_n "checking for ld used by $CC... " >&6; }
20140 # gcc leaves a trailing carriage return which upsets mingw
20141 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20143 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
20146 # Accept absolute paths.
20148 re_direlt
='/[^/][^/]*/\.\./'
20149 # Canonicalize the pathname of ld
20150 ac_prog
=`echo "$ac_prog"| sed 's%\\\\%/%g'`
20151 while echo "$ac_prog" | grep "$re_direlt" > /dev
/null
2>&1; do
20152 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
20154 test -z "$LD" && LD
="$ac_prog"
20157 # If it fails, then pretend we aren't using GCC.
20161 # If it is relative, then search for the first ld in PATH.
20162 with_gnu_ld
=unknown
20165 elif test "$with_gnu_ld" = yes; then
20166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20167 $as_echo_n "checking for GNU ld... " >&6; }
20169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20170 $as_echo_n "checking for non-GNU ld... " >&6; }
20172 if ${acl_cv_path_LD+:} false
; then :
20173 $as_echo_n "(cached) " >&6
20175 if test -z "$LD"; then
20176 acl_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
20177 for ac_dir
in $PATH; do
20178 IFS
="$acl_save_ifs"
20179 test -z "$ac_dir" && ac_dir
=.
20180 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20181 acl_cv_path_LD
="$ac_dir/$ac_prog"
20182 # Check to see if the program is GNU ld. I'd rather use --version,
20183 # but apparently some variants of GNU ld only accept -v.
20184 # Break only if it was the GNU/non-GNU ld that we prefer.
20185 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
20186 *GNU
* | *'with BFD'*)
20187 test "$with_gnu_ld" != no
&& break
20190 test "$with_gnu_ld" != yes && break
20195 IFS
="$acl_save_ifs"
20197 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
20201 LD
="$acl_cv_path_LD"
20202 if test -n "$LD"; then
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20204 $as_echo "$LD" >&6; }
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20207 $as_echo "no" >&6; }
20209 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20211 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20212 if ${acl_cv_prog_gnu_ld+:} false
; then :
20213 $as_echo_n "(cached) " >&6
20215 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20216 case `$LD -v 2>&1 </dev/null` in
20217 *GNU
* | *'with BFD'*)
20218 acl_cv_prog_gnu_ld
=yes
20221 acl_cv_prog_gnu_ld
=no
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
20226 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
20227 with_gnu_ld
=$acl_cv_prog_gnu_ld
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
20233 $as_echo_n "checking for shared library run path origin... " >&6; }
20234 if ${acl_cv_rpath+:} false
; then :
20235 $as_echo_n "(cached) " >&6
20238 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
20239 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
20241 rm -f .
/conftest.sh
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
20246 $as_echo "$acl_cv_rpath" >&6; }
20248 acl_libext
="$acl_cv_libext"
20249 acl_shlibext
="$acl_cv_shlibext"
20250 acl_libname_spec
="$acl_cv_libname_spec"
20251 acl_library_names_spec
="$acl_cv_library_names_spec"
20252 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
20253 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
20254 acl_hardcode_direct
="$acl_cv_hardcode_direct"
20255 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
20256 # Check whether --enable-rpath was given.
20257 if test "${enable_rpath+set}" = set; then :
20258 enableval
=$enable_rpath; :
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
20271 $as_echo_n "checking for 64-bit host... " >&6; }
20272 if ${gl_cv_solaris_64bit+:} false
; then :
20273 $as_echo_n "(cached) " >&6
20275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20276 /* end confdefs.h. */
20283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20284 $EGREP "sixtyfour bits" >/dev
/null
2>&1; then :
20285 gl_cv_solaris_64bit
=yes
20287 gl_cv_solaris_64bit
=no
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
20294 $as_echo "$gl_cv_solaris_64bit" >&6; }
20295 if test $gl_cv_solaris_64bit = yes; then
20296 acl_libdirstem
=lib
/64
20297 case "$host_cpu" in
20298 sparc
*) acl_libdirstem2
=lib
/sparcv9
;;
20299 i
*86 | x86_64
) acl_libdirstem2
=lib
/amd64
;;
20304 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
20305 if test -n "$searchpath"; then
20306 acl_save_IFS
="${IFS= }"; IFS
=":"
20307 for searchdir
in $searchpath; do
20308 if test -d "$searchdir"; then
20309 case "$searchdir" in
20310 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
20312 # Better ignore directories of this form. They are misleading.
20314 *) searchdir
=`cd "$searchdir" && pwd`
20315 case "$searchdir" in
20316 */lib64
) acl_libdirstem
=lib64
;;
20321 IFS
="$acl_save_IFS"
20325 test -n "$acl_libdirstem2" || acl_libdirstem2
="$acl_libdirstem"
20340 acl_save_prefix
="$prefix"
20341 prefix
="$acl_final_prefix"
20342 acl_save_exec_prefix
="$exec_prefix"
20343 exec_prefix
="$acl_final_exec_prefix"
20345 eval additional_includedir
=\"$includedir\"
20346 eval additional_libdir
=\"$libdir\"
20348 exec_prefix
="$acl_save_exec_prefix"
20349 prefix
="$acl_save_prefix"
20352 # Check whether --with-libiconv-prefix was given.
20353 if test "${with_libiconv_prefix+set}" = set; then :
20354 withval
=$with_libiconv_prefix;
20355 if test "X$withval" = "Xno"; then
20358 if test "X$withval" = "X"; then
20360 acl_save_prefix
="$prefix"
20361 prefix
="$acl_final_prefix"
20362 acl_save_exec_prefix
="$exec_prefix"
20363 exec_prefix
="$acl_final_exec_prefix"
20365 eval additional_includedir
=\"$includedir\"
20366 eval additional_libdir
=\"$libdir\"
20368 exec_prefix
="$acl_save_exec_prefix"
20369 prefix
="$acl_save_prefix"
20372 additional_includedir
="$withval/include"
20373 additional_libdir
="$withval/$acl_libdirstem"
20374 if test "$acl_libdirstem2" != "$acl_libdirstem" \
20375 && ! test -d "$withval/$acl_libdirstem"; then
20376 additional_libdir
="$withval/$acl_libdirstem2"
20390 names_already_handled
=
20391 names_next_round
='iconv '
20392 while test -n "$names_next_round"; do
20393 names_this_round
="$names_next_round"
20395 for name
in $names_this_round; do
20397 for n
in $names_already_handled; do
20398 if test "$n" = "$name"; then
20399 already_handled
=yes
20403 if test -z "$already_handled"; then
20404 names_already_handled
="$names_already_handled $name"
20405 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
20406 eval value
=\"\
$HAVE_LIB$uppername\"
20407 if test -n "$value"; then
20408 if test "$value" = yes; then
20409 eval value
=\"\
$LIB$uppername\"
20410 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
20411 eval value
=\"\
$LTLIB$uppername\"
20412 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
20421 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
20422 if test -n "$acl_shlibext"; then
20423 shrext
=".$acl_shlibext" # typically: shrext=.so
20427 if test $use_additional = yes; then
20428 dir
="$additional_libdir"
20429 if test -n "$acl_shlibext"; then
20430 if test -f "$dir/$libname$shrext"; then
20432 found_so
="$dir/$libname$shrext"
20434 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20435 ver
=`(cd "$dir" && \
20436 for f in "$libname$shrext".*; do echo "$f"; done \
20437 | sed -e "s,^$libname$shrext\\\\.,," \
20438 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20439 | sed 1q ) 2>/dev/null`
20440 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20442 found_so
="$dir/$libname$shrext.$ver"
20445 eval library_names
=\"$acl_library_names_spec\"
20446 for f
in $library_names; do
20447 if test -f "$dir/$f"; then
20456 if test "X$found_dir" = "X"; then
20457 if test -f "$dir/$libname.$acl_libext"; then
20459 found_a
="$dir/$libname.$acl_libext"
20462 if test "X$found_dir" != "X"; then
20463 if test -f "$dir/$libname.la"; then
20464 found_la
="$dir/$libname.la"
20468 if test "X$found_dir" = "X"; then
20469 for x
in $LDFLAGS $LTLIBICONV; do
20471 acl_save_prefix
="$prefix"
20472 prefix
="$acl_final_prefix"
20473 acl_save_exec_prefix
="$exec_prefix"
20474 exec_prefix
="$acl_final_exec_prefix"
20476 exec_prefix
="$acl_save_exec_prefix"
20477 prefix
="$acl_save_prefix"
20481 dir
=`echo "X$x" | sed -e 's/^X-L//'`
20482 if test -n "$acl_shlibext"; then
20483 if test -f "$dir/$libname$shrext"; then
20485 found_so
="$dir/$libname$shrext"
20487 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
20488 ver
=`(cd "$dir" && \
20489 for f in "$libname$shrext".*; do echo "$f"; done \
20490 | sed -e "s,^$libname$shrext\\\\.,," \
20491 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
20492 | sed 1q ) 2>/dev/null`
20493 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
20495 found_so
="$dir/$libname$shrext.$ver"
20498 eval library_names
=\"$acl_library_names_spec\"
20499 for f
in $library_names; do
20500 if test -f "$dir/$f"; then
20509 if test "X$found_dir" = "X"; then
20510 if test -f "$dir/$libname.$acl_libext"; then
20512 found_a
="$dir/$libname.$acl_libext"
20515 if test "X$found_dir" != "X"; then
20516 if test -f "$dir/$libname.la"; then
20517 found_la
="$dir/$libname.la"
20522 if test "X$found_dir" != "X"; then
20527 if test "X$found_dir" != "X"; then
20528 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
20529 if test "X$found_so" != "X"; then
20530 if test "$enable_rpath" = no \
20531 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
20532 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
20533 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20536 for x
in $ltrpathdirs; do
20537 if test "X$x" = "X$found_dir"; then
20542 if test -z "$haveit"; then
20543 ltrpathdirs
="$ltrpathdirs $found_dir"
20545 if test "$acl_hardcode_direct" = yes; then
20546 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20548 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
20549 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20551 for x
in $rpathdirs; do
20552 if test "X$x" = "X$found_dir"; then
20557 if test -z "$haveit"; then
20558 rpathdirs
="$rpathdirs $found_dir"
20562 for x
in $LDFLAGS $LIBICONV; do
20564 acl_save_prefix
="$prefix"
20565 prefix
="$acl_final_prefix"
20566 acl_save_exec_prefix
="$exec_prefix"
20567 exec_prefix
="$acl_final_exec_prefix"
20569 exec_prefix
="$acl_save_exec_prefix"
20570 prefix
="$acl_save_prefix"
20572 if test "X$x" = "X-L$found_dir"; then
20577 if test -z "$haveit"; then
20578 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
20580 if test "$acl_hardcode_minus_L" != no
; then
20581 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
20583 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20589 if test "X$found_a" != "X"; then
20590 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
20592 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
20595 additional_includedir
=
20596 case "$found_dir" in
20597 */$acl_libdirstem | */$acl_libdirstem/)
20598 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
20599 if test "$name" = 'iconv'; then
20600 LIBICONV_PREFIX
="$basedir"
20602 additional_includedir
="$basedir/include"
20604 */$acl_libdirstem2 | */$acl_libdirstem2/)
20605 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
20606 if test "$name" = 'iconv'; then
20607 LIBICONV_PREFIX
="$basedir"
20609 additional_includedir
="$basedir/include"
20612 if test "X$additional_includedir" != "X"; then
20613 if test "X$additional_includedir" != "X/usr/include"; then
20615 if test "X$additional_includedir" = "X/usr/local/include"; then
20616 if test -n "$GCC"; then
20618 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20622 if test -z "$haveit"; then
20623 for x
in $CPPFLAGS $INCICONV; do
20625 acl_save_prefix
="$prefix"
20626 prefix
="$acl_final_prefix"
20627 acl_save_exec_prefix
="$exec_prefix"
20628 exec_prefix
="$acl_final_exec_prefix"
20630 exec_prefix
="$acl_save_exec_prefix"
20631 prefix
="$acl_save_prefix"
20633 if test "X$x" = "X-I$additional_includedir"; then
20638 if test -z "$haveit"; then
20639 if test -d "$additional_includedir"; then
20640 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
20646 if test -n "$found_la"; then
20647 save_libdir
="$libdir"
20648 case "$found_la" in
20649 */* | *\\*) .
"$found_la" ;;
20650 *) .
"./$found_la" ;;
20652 libdir
="$save_libdir"
20653 for dep
in $dependency_libs; do
20656 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
20657 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
20658 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
20660 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
20661 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
20662 if test -n "$GCC"; then
20664 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
20668 if test -z "$haveit"; then
20670 for x
in $LDFLAGS $LIBICONV; do
20672 acl_save_prefix
="$prefix"
20673 prefix
="$acl_final_prefix"
20674 acl_save_exec_prefix
="$exec_prefix"
20675 exec_prefix
="$acl_final_exec_prefix"
20677 exec_prefix
="$acl_save_exec_prefix"
20678 prefix
="$acl_save_prefix"
20680 if test "X$x" = "X-L$additional_libdir"; then
20685 if test -z "$haveit"; then
20686 if test -d "$additional_libdir"; then
20687 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
20691 for x
in $LDFLAGS $LTLIBICONV; do
20693 acl_save_prefix
="$prefix"
20694 prefix
="$acl_final_prefix"
20695 acl_save_exec_prefix
="$exec_prefix"
20696 exec_prefix
="$acl_final_exec_prefix"
20698 exec_prefix
="$acl_save_exec_prefix"
20699 prefix
="$acl_save_prefix"
20701 if test "X$x" = "X-L$additional_libdir"; then
20706 if test -z "$haveit"; then
20707 if test -d "$additional_libdir"; then
20708 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
20715 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
20716 if test "$enable_rpath" != no
; then
20718 for x
in $rpathdirs; do
20719 if test "X$x" = "X$dir"; then
20724 if test -z "$haveit"; then
20725 rpathdirs
="$rpathdirs $dir"
20728 for x
in $ltrpathdirs; do
20729 if test "X$x" = "X$dir"; then
20734 if test -z "$haveit"; then
20735 ltrpathdirs
="$ltrpathdirs $dir"
20740 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
20743 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
20746 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
20747 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
20753 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
20754 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
20760 if test "X$rpathdirs" != "X"; then
20761 if test -n "$acl_hardcode_libdir_separator"; then
20763 for found_dir
in $rpathdirs; do
20764 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
20766 acl_save_libdir
="$libdir"
20768 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20769 libdir
="$acl_save_libdir"
20770 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20772 for found_dir
in $rpathdirs; do
20773 acl_save_libdir
="$libdir"
20774 libdir
="$found_dir"
20775 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
20776 libdir
="$acl_save_libdir"
20777 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
20781 if test "X$ltrpathdirs" != "X"; then
20782 for found_dir
in $ltrpathdirs; do
20783 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
20798 am_save_CPPFLAGS
="$CPPFLAGS"
20800 for element
in $INCICONV; do
20802 for x
in $CPPFLAGS; do
20804 acl_save_prefix
="$prefix"
20805 prefix
="$acl_final_prefix"
20806 acl_save_exec_prefix
="$exec_prefix"
20807 exec_prefix
="$acl_final_exec_prefix"
20809 exec_prefix
="$acl_save_exec_prefix"
20810 prefix
="$acl_save_prefix"
20812 if test "X$x" = "X$element"; then
20817 if test -z "$haveit"; then
20818 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
20824 $as_echo_n "checking for iconv... " >&6; }
20825 if ${am_cv_func_iconv+:} false
; then :
20826 $as_echo_n "(cached) " >&6
20829 am_cv_func_iconv
="no, consider installing GNU libiconv"
20831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20832 /* end confdefs.h. */
20834 #include <stdlib.h>
20840 iconv_t cd = iconv_open("","");
20841 iconv(cd,NULL,NULL,NULL,NULL);
20847 if ac_fn_c_try_link
"$LINENO"; then :
20848 am_cv_func_iconv
=yes
20850 rm -f core conftest.err conftest.
$ac_objext \
20851 conftest
$ac_exeext conftest.
$ac_ext
20852 if test "$am_cv_func_iconv" != yes; then
20853 am_save_LIBS
="$LIBS"
20854 LIBS
="$LIBS $LIBICONV"
20855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20858 #include <stdlib.h>
20864 iconv_t cd = iconv_open("","");
20865 iconv(cd,NULL,NULL,NULL,NULL);
20871 if ac_fn_c_try_link
"$LINENO"; then :
20872 am_cv_lib_iconv
=yes
20873 am_cv_func_iconv
=yes
20875 rm -f core conftest.err conftest.
$ac_objext \
20876 conftest
$ac_exeext conftest.
$ac_ext
20877 LIBS
="$am_save_LIBS"
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
20882 $as_echo "$am_cv_func_iconv" >&6; }
20883 if test "$am_cv_func_iconv" = yes; then
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
20885 $as_echo_n "checking for working iconv... " >&6; }
20886 if ${am_cv_func_iconv_works+:} false
; then :
20887 $as_echo_n "(cached) " >&6
20890 am_save_LIBS
="$LIBS"
20891 if test $am_cv_lib_iconv = yes; then
20892 LIBS
="$LIBS $LIBICONV"
20894 if test "$cross_compiling" = yes; then :
20897 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
20898 *) am_cv_func_iconv_works
="guessing yes" ;;
20902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20906 #include <string.h>
20910 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
20913 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
20914 if (cd_utf8_to_88591 != (iconv_t)(-1))
20916 static const char input[] = "\342\202\254"; /* EURO SIGN */
20918 const char *inptr = input;
20919 size_t inbytesleft = strlen (input);
20920 char *outptr = buf;
20921 size_t outbytesleft = sizeof (buf);
20922 size_t res = iconv (cd_utf8_to_88591,
20923 (char **) &inptr, &inbytesleft,
20924 &outptr, &outbytesleft);
20927 iconv_close (cd_utf8_to_88591);
20930 /* Test against Solaris 10 bug: Failures are not distinguishable from
20931 successful returns. */
20933 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
20934 if (cd_ascii_to_88591 != (iconv_t)(-1))
20936 static const char input[] = "\263";
20938 const char *inptr = input;
20939 size_t inbytesleft = strlen (input);
20940 char *outptr = buf;
20941 size_t outbytesleft = sizeof (buf);
20942 size_t res = iconv (cd_ascii_to_88591,
20943 (char **) &inptr, &inbytesleft,
20944 &outptr, &outbytesleft);
20947 iconv_close (cd_ascii_to_88591);
20950 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
20952 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
20953 if (cd_88591_to_utf8 != (iconv_t)(-1))
20955 static const char input[] = "\304";
20956 static char buf[2] = { (char)0xDE, (char)0xAD };
20957 const char *inptr = input;
20958 size_t inbytesleft = 1;
20959 char *outptr = buf;
20960 size_t outbytesleft = 1;
20961 size_t res = iconv (cd_88591_to_utf8,
20962 (char **) &inptr, &inbytesleft,
20963 &outptr, &outbytesleft);
20964 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
20966 iconv_close (cd_88591_to_utf8);
20969 #if 0 /* This bug could be worked around by the caller. */
20970 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
20972 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
20973 if (cd_88591_to_utf8 != (iconv_t)(-1))
20975 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
20977 const char *inptr = input;
20978 size_t inbytesleft = strlen (input);
20979 char *outptr = buf;
20980 size_t outbytesleft = sizeof (buf);
20981 size_t res = iconv (cd_88591_to_utf8,
20982 (char **) &inptr, &inbytesleft,
20983 &outptr, &outbytesleft);
20986 iconv_close (cd_88591_to_utf8);
20990 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
20992 if (/* Try standardized names. */
20993 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
20994 /* Try IRIX, OSF/1 names. */
20995 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
20996 /* Try AIX names. */
20997 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
20998 /* Try HP-UX names. */
20999 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
21004 if ac_fn_c_try_run
"$LINENO"; then :
21005 am_cv_func_iconv_works
=yes
21007 am_cv_func_iconv_works
=no
21009 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21010 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21013 LIBS
="$am_save_LIBS"
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
21017 $as_echo "$am_cv_func_iconv_works" >&6; }
21018 case "$am_cv_func_iconv_works" in
21019 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
21020 *) am_func_iconv
=yes ;;
21023 am_func_iconv
=no am_cv_lib_iconv
=no
21025 if test "$am_func_iconv" = yes; then
21027 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21030 if test "$am_cv_lib_iconv" = yes; then
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21032 $as_echo_n "checking how to link with libiconv... " >&6; }
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21034 $as_echo "$LIBICONV" >&6; }
21036 CPPFLAGS
="$am_save_CPPFLAGS"
21043 if test "$am_cv_func_iconv" = yes; then
21044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21045 $as_echo_n "checking for iconv declaration... " >&6; }
21046 if ${am_cv_proto_iconv+:} false
; then :
21047 $as_echo_n "(cached) " >&6
21050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21053 #include <stdlib.h>
21059 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
21060 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21073 if ac_fn_c_try_compile
"$LINENO"; then :
21074 am_cv_proto_iconv_arg1
=""
21076 am_cv_proto_iconv_arg1
="const"
21078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21079 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);"
21082 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
21084 $am_cv_proto_iconv" >&5
21086 $am_cv_proto_iconv" >&6; }
21088 cat >>confdefs.h
<<_ACEOF
21089 #define ICONV_CONST $am_cv_proto_iconv_arg1
21095 case $am_cv_func_iconv in #(
21100 for cy_iconv_prefix_arg
in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
21101 case $cy_iconv_prefix_arg in #(
21105 for element
in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
21107 for x
in $cy_iconv_prefixes; do
21109 acl_save_prefix
="$prefix"
21110 prefix
="$acl_final_prefix"
21111 acl_save_exec_prefix
="$exec_prefix"
21112 exec_prefix
="$acl_final_exec_prefix"
21114 exec_prefix
="$acl_save_exec_prefix"
21115 prefix
="$acl_save_prefix"
21117 if test "X$x" = "X$element"; then
21122 if test -z "$haveit"; then
21123 cy_iconv_prefixes
="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
21131 for element
in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
21133 for x
in $cy_iconv_prefixes; do
21135 acl_save_prefix
="$prefix"
21136 prefix
="$acl_final_prefix"
21137 acl_save_exec_prefix
="$exec_prefix"
21138 exec_prefix
="$acl_final_exec_prefix"
21140 exec_prefix
="$acl_save_exec_prefix"
21141 prefix
="$acl_save_prefix"
21143 if test "X$x" = "X$element"; then
21148 if test -z "$haveit"; then
21149 cy_iconv_prefixes
="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
21158 for with_libiconv_prefix
in $cy_iconv_prefixes; do
21159 { am_cv_func_iconv
=; unset am_cv_func_iconv
;}
21173 acl_save_prefix
="$prefix"
21174 prefix
="$acl_final_prefix"
21175 acl_save_exec_prefix
="$exec_prefix"
21176 exec_prefix
="$acl_final_exec_prefix"
21178 eval additional_includedir
=\"$includedir\"
21179 eval additional_libdir
=\"$libdir\"
21181 exec_prefix
="$acl_save_exec_prefix"
21182 prefix
="$acl_save_prefix"
21185 # Check whether --with-libiconv-prefix was given.
21186 if test "${with_libiconv_prefix+set}" = set; then :
21187 withval
=$with_libiconv_prefix;
21188 if test "X$withval" = "Xno"; then
21191 if test "X$withval" = "X"; then
21193 acl_save_prefix
="$prefix"
21194 prefix
="$acl_final_prefix"
21195 acl_save_exec_prefix
="$exec_prefix"
21196 exec_prefix
="$acl_final_exec_prefix"
21198 eval additional_includedir
=\"$includedir\"
21199 eval additional_libdir
=\"$libdir\"
21201 exec_prefix
="$acl_save_exec_prefix"
21202 prefix
="$acl_save_prefix"
21205 additional_includedir
="$withval/include"
21206 additional_libdir
="$withval/$acl_libdirstem"
21207 if test "$acl_libdirstem2" != "$acl_libdirstem" \
21208 && ! test -d "$withval/$acl_libdirstem"; then
21209 additional_libdir
="$withval/$acl_libdirstem2"
21223 names_already_handled
=
21224 names_next_round
='iconv '
21225 while test -n "$names_next_round"; do
21226 names_this_round
="$names_next_round"
21228 for name
in $names_this_round; do
21230 for n
in $names_already_handled; do
21231 if test "$n" = "$name"; then
21232 already_handled
=yes
21236 if test -z "$already_handled"; then
21237 names_already_handled
="$names_already_handled $name"
21238 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
21239 eval value
=\"\
$HAVE_LIB$uppername\"
21240 if test -n "$value"; then
21241 if test "$value" = yes; then
21242 eval value
=\"\
$LIB$uppername\"
21243 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21244 eval value
=\"\
$LTLIB$uppername\"
21245 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21254 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
21255 if test -n "$acl_shlibext"; then
21256 shrext
=".$acl_shlibext" # typically: shrext=.so
21260 if test $use_additional = yes; then
21261 dir
="$additional_libdir"
21262 if test -n "$acl_shlibext"; then
21263 if test -f "$dir/$libname$shrext"; then
21265 found_so
="$dir/$libname$shrext"
21267 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21268 ver
=`(cd "$dir" && \
21269 for f in "$libname$shrext".*; do echo "$f"; done \
21270 | sed -e "s,^$libname$shrext\\\\.,," \
21271 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21272 | sed 1q ) 2>/dev/null`
21273 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21275 found_so
="$dir/$libname$shrext.$ver"
21278 eval library_names
=\"$acl_library_names_spec\"
21279 for f
in $library_names; do
21280 if test -f "$dir/$f"; then
21289 if test "X$found_dir" = "X"; then
21290 if test -f "$dir/$libname.$acl_libext"; then
21292 found_a
="$dir/$libname.$acl_libext"
21295 if test "X$found_dir" != "X"; then
21296 if test -f "$dir/$libname.la"; then
21297 found_la
="$dir/$libname.la"
21301 if test "X$found_dir" = "X"; then
21302 for x
in $LDFLAGS $LTLIBICONV; do
21304 acl_save_prefix
="$prefix"
21305 prefix
="$acl_final_prefix"
21306 acl_save_exec_prefix
="$exec_prefix"
21307 exec_prefix
="$acl_final_exec_prefix"
21309 exec_prefix
="$acl_save_exec_prefix"
21310 prefix
="$acl_save_prefix"
21314 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21315 if test -n "$acl_shlibext"; then
21316 if test -f "$dir/$libname$shrext"; then
21318 found_so
="$dir/$libname$shrext"
21320 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21321 ver
=`(cd "$dir" && \
21322 for f in "$libname$shrext".*; do echo "$f"; done \
21323 | sed -e "s,^$libname$shrext\\\\.,," \
21324 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21325 | sed 1q ) 2>/dev/null`
21326 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21328 found_so
="$dir/$libname$shrext.$ver"
21331 eval library_names
=\"$acl_library_names_spec\"
21332 for f
in $library_names; do
21333 if test -f "$dir/$f"; then
21342 if test "X$found_dir" = "X"; then
21343 if test -f "$dir/$libname.$acl_libext"; then
21345 found_a
="$dir/$libname.$acl_libext"
21348 if test "X$found_dir" != "X"; then
21349 if test -f "$dir/$libname.la"; then
21350 found_la
="$dir/$libname.la"
21355 if test "X$found_dir" != "X"; then
21360 if test "X$found_dir" != "X"; then
21361 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21362 if test "X$found_so" != "X"; then
21363 if test "$enable_rpath" = no \
21364 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
21365 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
21366 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21369 for x
in $ltrpathdirs; do
21370 if test "X$x" = "X$found_dir"; then
21375 if test -z "$haveit"; then
21376 ltrpathdirs
="$ltrpathdirs $found_dir"
21378 if test "$acl_hardcode_direct" = yes; then
21379 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21381 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
21382 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21384 for x
in $rpathdirs; do
21385 if test "X$x" = "X$found_dir"; then
21390 if test -z "$haveit"; then
21391 rpathdirs
="$rpathdirs $found_dir"
21395 for x
in $LDFLAGS $LIBICONV; do
21397 acl_save_prefix
="$prefix"
21398 prefix
="$acl_final_prefix"
21399 acl_save_exec_prefix
="$exec_prefix"
21400 exec_prefix
="$acl_final_exec_prefix"
21402 exec_prefix
="$acl_save_exec_prefix"
21403 prefix
="$acl_save_prefix"
21405 if test "X$x" = "X-L$found_dir"; then
21410 if test -z "$haveit"; then
21411 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21413 if test "$acl_hardcode_minus_L" != no
; then
21414 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21416 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21422 if test "X$found_a" != "X"; then
21423 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21425 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21428 additional_includedir
=
21429 case "$found_dir" in
21430 */$acl_libdirstem | */$acl_libdirstem/)
21431 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
21432 if test "$name" = 'iconv'; then
21433 LIBICONV_PREFIX
="$basedir"
21435 additional_includedir
="$basedir/include"
21437 */$acl_libdirstem2 | */$acl_libdirstem2/)
21438 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
21439 if test "$name" = 'iconv'; then
21440 LIBICONV_PREFIX
="$basedir"
21442 additional_includedir
="$basedir/include"
21445 if test "X$additional_includedir" != "X"; then
21446 if test "X$additional_includedir" != "X/usr/include"; then
21448 if test "X$additional_includedir" = "X/usr/local/include"; then
21449 if test -n "$GCC"; then
21451 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
21455 if test -z "$haveit"; then
21456 for x
in $CPPFLAGS $INCICONV; do
21458 acl_save_prefix
="$prefix"
21459 prefix
="$acl_final_prefix"
21460 acl_save_exec_prefix
="$exec_prefix"
21461 exec_prefix
="$acl_final_exec_prefix"
21463 exec_prefix
="$acl_save_exec_prefix"
21464 prefix
="$acl_save_prefix"
21466 if test "X$x" = "X-I$additional_includedir"; then
21471 if test -z "$haveit"; then
21472 if test -d "$additional_includedir"; then
21473 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21479 if test -n "$found_la"; then
21480 save_libdir
="$libdir"
21481 case "$found_la" in
21482 */* | *\\*) .
"$found_la" ;;
21483 *) .
"./$found_la" ;;
21485 libdir
="$save_libdir"
21486 for dep
in $dependency_libs; do
21489 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21490 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
21491 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
21493 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
21494 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
21495 if test -n "$GCC"; then
21497 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
21501 if test -z "$haveit"; then
21503 for x
in $LDFLAGS $LIBICONV; do
21505 acl_save_prefix
="$prefix"
21506 prefix
="$acl_final_prefix"
21507 acl_save_exec_prefix
="$exec_prefix"
21508 exec_prefix
="$acl_final_exec_prefix"
21510 exec_prefix
="$acl_save_exec_prefix"
21511 prefix
="$acl_save_prefix"
21513 if test "X$x" = "X-L$additional_libdir"; then
21518 if test -z "$haveit"; then
21519 if test -d "$additional_libdir"; then
21520 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21524 for x
in $LDFLAGS $LTLIBICONV; do
21526 acl_save_prefix
="$prefix"
21527 prefix
="$acl_final_prefix"
21528 acl_save_exec_prefix
="$exec_prefix"
21529 exec_prefix
="$acl_final_exec_prefix"
21531 exec_prefix
="$acl_save_exec_prefix"
21532 prefix
="$acl_save_prefix"
21534 if test "X$x" = "X-L$additional_libdir"; then
21539 if test -z "$haveit"; then
21540 if test -d "$additional_libdir"; then
21541 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21548 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21549 if test "$enable_rpath" != no
; then
21551 for x
in $rpathdirs; do
21552 if test "X$x" = "X$dir"; then
21557 if test -z "$haveit"; then
21558 rpathdirs
="$rpathdirs $dir"
21561 for x
in $ltrpathdirs; do
21562 if test "X$x" = "X$dir"; then
21567 if test -z "$haveit"; then
21568 ltrpathdirs
="$ltrpathdirs $dir"
21573 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21576 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21579 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21580 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21586 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21587 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21593 if test "X$rpathdirs" != "X"; then
21594 if test -n "$acl_hardcode_libdir_separator"; then
21596 for found_dir
in $rpathdirs; do
21597 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
21599 acl_save_libdir
="$libdir"
21601 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
21602 libdir
="$acl_save_libdir"
21603 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21605 for found_dir
in $rpathdirs; do
21606 acl_save_libdir
="$libdir"
21607 libdir
="$found_dir"
21608 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
21609 libdir
="$acl_save_libdir"
21610 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21614 if test "X$ltrpathdirs" != "X"; then
21615 for found_dir
in $ltrpathdirs; do
21616 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21630 case $am_cv_func_iconv in #(
21634 as_fn_error $?
"missing \"libiconv\"" "$LINENO" 5 ;;
21637 ac_cpp
='$CXXCPP $CPPFLAGS'
21638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21647 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
21648 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
21650 if test -n "$ac_tool_prefix"; then
21651 for ac_prog
in lipo
21653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21654 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21656 $as_echo_n "checking for $ac_word... " >&6; }
21657 if ${ac_cv_prog__LIPO+:} false
; then :
21658 $as_echo_n "(cached) " >&6
21660 if test -n "$_LIPO"; then
21661 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
21663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21664 for as_dir
in $PATH
21667 test -z "$as_dir" && as_dir
=.
21668 for ac_exec_ext
in '' $ac_executable_extensions; do
21669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21670 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
21671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21680 _LIPO
=$ac_cv_prog__LIPO
21681 if test -n "$_LIPO"; then
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
21683 $as_echo "$_LIPO" >&6; }
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21686 $as_echo "no" >&6; }
21690 test -n "$_LIPO" && break
21693 if test -z "$_LIPO"; then
21695 for ac_prog
in lipo
21697 # Extract the first word of "$ac_prog", so it can be a program name with args.
21698 set dummy
$ac_prog; ac_word
=$2
21699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21700 $as_echo_n "checking for $ac_word... " >&6; }
21701 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
21702 $as_echo_n "(cached) " >&6
21704 if test -n "$ac_ct__LIPO"; then
21705 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
21707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21708 for as_dir
in $PATH
21711 test -z "$as_dir" && as_dir
=.
21712 for ac_exec_ext
in '' $ac_executable_extensions; do
21713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21714 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
21715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21724 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
21725 if test -n "$ac_ct__LIPO"; then
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
21727 $as_echo "$ac_ct__LIPO" >&6; }
21729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21730 $as_echo "no" >&6; }
21734 test -n "$ac_ct__LIPO" && break
21737 if test "x$ac_ct__LIPO" = x
; then
21738 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
21740 case $cross_compiling:$ac_tool_warned in
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21744 ac_tool_warned
=yes ;;
21750 if test -n "$ac_tool_prefix"; then
21753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21754 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21756 $as_echo_n "checking for $ac_word... " >&6; }
21757 if ${ac_cv_prog__NM+:} false
; then :
21758 $as_echo_n "(cached) " >&6
21760 if test -n "$_NM"; then
21761 ac_cv_prog__NM
="$_NM" # Let the user override the test.
21763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21764 for as_dir
in $PATH
21767 test -z "$as_dir" && as_dir
=.
21768 for ac_exec_ext
in '' $ac_executable_extensions; do
21769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21770 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
21771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21780 _NM
=$ac_cv_prog__NM
21781 if test -n "$_NM"; then
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
21783 $as_echo "$_NM" >&6; }
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21786 $as_echo "no" >&6; }
21790 test -n "$_NM" && break
21793 if test -z "$_NM"; then
21797 # Extract the first word of "$ac_prog", so it can be a program name with args.
21798 set dummy
$ac_prog; ac_word
=$2
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21800 $as_echo_n "checking for $ac_word... " >&6; }
21801 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
21802 $as_echo_n "(cached) " >&6
21804 if test -n "$ac_ct__NM"; then
21805 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
21807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21808 for as_dir
in $PATH
21811 test -z "$as_dir" && as_dir
=.
21812 for ac_exec_ext
in '' $ac_executable_extensions; do
21813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21814 ac_cv_prog_ac_ct__NM
="$ac_prog"
21815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21824 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
21825 if test -n "$ac_ct__NM"; then
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
21827 $as_echo "$ac_ct__NM" >&6; }
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21830 $as_echo "no" >&6; }
21834 test -n "$ac_ct__NM" && break
21837 if test "x$ac_ct__NM" = x
; then
21838 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
21840 case $cross_compiling:$ac_tool_warned in
21842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21844 ac_tool_warned
=yes ;;
21850 if test -n "$ac_tool_prefix"; then
21851 for ac_prog
in otool
21853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21854 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21856 $as_echo_n "checking for $ac_word... " >&6; }
21857 if ${ac_cv_prog__OTOOL+:} false
; then :
21858 $as_echo_n "(cached) " >&6
21860 if test -n "$_OTOOL"; then
21861 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
21863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21864 for as_dir
in $PATH
21867 test -z "$as_dir" && as_dir
=.
21868 for ac_exec_ext
in '' $ac_executable_extensions; do
21869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21870 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
21871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21880 _OTOOL
=$ac_cv_prog__OTOOL
21881 if test -n "$_OTOOL"; then
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
21883 $as_echo "$_OTOOL" >&6; }
21885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21886 $as_echo "no" >&6; }
21890 test -n "$_OTOOL" && break
21893 if test -z "$_OTOOL"; then
21894 ac_ct__OTOOL
=$_OTOOL
21895 for ac_prog
in otool
21897 # Extract the first word of "$ac_prog", so it can be a program name with args.
21898 set dummy
$ac_prog; ac_word
=$2
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21900 $as_echo_n "checking for $ac_word... " >&6; }
21901 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
21902 $as_echo_n "(cached) " >&6
21904 if test -n "$ac_ct__OTOOL"; then
21905 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
21907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21908 for as_dir
in $PATH
21911 test -z "$as_dir" && as_dir
=.
21912 for ac_exec_ext
in '' $ac_executable_extensions; do
21913 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21914 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
21915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21924 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
21925 if test -n "$ac_ct__OTOOL"; then
21926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
21927 $as_echo "$ac_ct__OTOOL" >&6; }
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21930 $as_echo "no" >&6; }
21934 test -n "$ac_ct__OTOOL" && break
21937 if test "x$ac_ct__OTOOL" = x
; then
21938 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
21940 case $cross_compiling:$ac_tool_warned in
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21944 ac_tool_warned
=yes ;;
21946 _OTOOL
=$ac_ct__OTOOL
21952 CY_ATTACH_GROUP
=procmod
21959 if test "x$CY_MACH" = x1
; then
21968 ac_config_files
="$ac_config_files Makefile"
21970 cat >confcache
<<\_ACEOF
21971 # This file is a shell script that caches the results of configure
21972 # tests run on this system so they can be shared between configure
21973 # scripts and configure runs, see configure's option --config-cache.
21974 # It is not useful on other systems. If it contains results you don't
21975 # want to keep, you may remove or edit it.
21977 # config.status only pays attention to the cache file if you give it
21978 # the --recheck option to rerun configure.
21980 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21981 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21982 # following values.
21986 # The following way of writing the cache mishandles newlines in values,
21987 # but we know of no workaround that is simple, portable, and efficient.
21988 # So, we kill variables containing newlines.
21989 # Ultrix sh set writes to stderr and can't be redirected directly,
21990 # and sets the high bit in the cache file unless we assign to the vars.
21992 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21993 eval ac_val
=\$
$ac_var
21997 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22001 _
| IFS
| as_nl
) ;; #(
22002 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22003 *) { eval $ac_var=; unset $ac_var;} ;;
22009 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22010 *${as_nl}ac_space
=\
*)
22011 # `set' does not quote correctly, so add quotes: double-quote
22012 # substitution turns \\\\ into \\, and sed turns \\ into \.
22015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22018 # `set' quotes correctly as required by POSIX, so do not add quotes.
22019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22030 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22032 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22033 if test -w "$cache_file"; then
22034 if test "x$cache_file" != "x/dev/null"; then
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22036 $as_echo "$as_me: updating cache $cache_file" >&6;}
22037 if test ! -f "$cache_file" || test -h "$cache_file"; then
22038 cat confcache
>"$cache_file"
22040 case $cache_file in #(
22042 mv -f confcache
"$cache_file"$$
&&
22043 mv -f "$cache_file"$$
"$cache_file" ;; #(
22045 mv -f confcache
"$cache_file" ;;
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22051 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22056 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22057 # Let make expand exec_prefix.
22058 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22060 # Transform confdefs.h into DEFS.
22061 # Protect against shell expansion while executing Makefile rules.
22062 # Protect against Makefile macro expansion.
22064 # If the first sed substitution is executed (which looks for macros that
22065 # take arguments), then branch to the quote section. Otherwise,
22066 # look for a macro that doesn't take arguments.
22076 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
22078 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
22082 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
22095 DEFS
=`sed -n "$ac_script" confdefs.h`
22101 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22102 # 1. Remove the extension, and $U if already installed.
22103 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22104 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22105 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22106 # will be set to the directory where LIBOBJS objects are built.
22107 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22108 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22110 LIBOBJS
=$ac_libobjs
22112 LTLIBOBJS
=$ac_ltlibobjs
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22116 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22117 if test -n "$am_sleep_pid"; then
22118 # Hide warnings about reused PIDs.
22119 wait $am_sleep_pid 2>/dev
/null
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22122 $as_echo "done" >&6; }
22123 if test -n "$EXEEXT"; then
22125 am__EXEEXT_FALSE
='#'
22127 am__EXEEXT_TRUE
='#'
22131 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22132 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22135 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22136 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22139 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
22140 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
22141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22143 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22144 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22147 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
22148 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
22149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22151 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
22152 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
22153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22155 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
22156 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
22157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22160 : "${CONFIG_STATUS=./config.status}"
22162 ac_clean_files_save
=$ac_clean_files
22163 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22165 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22167 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22169 # Generated by $as_me.
22170 # Run this file to recreate the current configuration.
22171 # Compiler output produced by configure, useful for debugging
22172 # configure, is in config.log if it exists.
22175 ac_cs_recheck=false
22178 SHELL=\${CONFIG_SHELL-$SHELL}
22181 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
22182 ## -------------------- ##
22183 ## M4sh Initialization. ##
22184 ## -------------------- ##
22186 # Be more Bourne compatible
22187 DUALCASE
=1; export DUALCASE
# for MKS sh
22188 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22191 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22192 # is contrary to our usage. Disable this feature.
22193 alias -g '${1+"$@"}'='"$@"'
22194 setopt NO_GLOB_SUBST
22196 case `(set -o) 2>/dev/null` in #(
22208 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22209 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22210 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22211 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22212 # Prefer a ksh shell builtin over an external printf program on Solaris,
22213 # but without wasting forks for bash or zsh.
22214 if test -z "$BASH_VERSION$ZSH_VERSION" \
22215 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22216 as_echo='print
-r --'
22217 as_echo_n='print
-rn --'
22218 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22219 as_echo='printf %s
\n'
22220 as_echo_n='printf %s
'
22222 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22223 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22224 as_echo_n='/usr
/ucb
/echo -n'
22226 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22227 as_echo_n_body='eval
22231 expr "X$arg" : "X\\(.*\\)$as_nl";
22232 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22234 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22236 export as_echo_n_body
22237 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22239 export as_echo_body
22240 as_echo='sh
-c $as_echo_body as_echo
'
22243 # The user is always right.
22244 if test "${PATH_SEPARATOR+set}" != set; then
22246 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22247 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22254 # We need space, tab and new line, in precisely that order. Quoting is
22255 # there to prevent editors from complaining about space-tab.
22256 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22257 # splitting by setting IFS to empty value.)
22260 # Find who we are. Look in the path if we contain no directory separator.
22263 *[\\/]* ) as_myself=$0 ;;
22264 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22265 for as_dir in $PATH
22268 test -z "$as_dir" && as_dir=.
22269 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22275 # We did not find ourselves, most probably we were run as `sh COMMAND'
22276 # in which case we are not to be found in the path.
22277 if test "x$as_myself" = x
; then
22280 if test ! -f "$as_myself"; then
22281 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22285 # Unset variables that we do not need and which cause bugs (e.g. in
22286 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22287 # suppresses any "Segmentation fault" message there. '((' could
22288 # trigger a bug in pdksh 5.2.14.
22289 for as_var
in BASH_ENV ENV MAIL MAILPATH
22290 do eval test x\
${$as_var+set} = xset \
22291 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
22304 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22307 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22308 # ----------------------------------------
22309 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22310 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22311 # script with STATUS, using 1 if that was 0.
22314 as_status
=$1; test $as_status -eq 0 && as_status
=1
22316 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22317 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22319 $as_echo "$as_me: error: $2" >&2
22320 as_fn_exit
$as_status
22324 # as_fn_set_status STATUS
22325 # -----------------------
22326 # Set $? to STATUS, without forking.
22327 as_fn_set_status
()
22330 } # as_fn_set_status
22332 # as_fn_exit STATUS
22333 # -----------------
22334 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22338 as_fn_set_status
$1
22344 # Portably unset VAR.
22347 { eval $1=; unset $1;}
22349 as_unset
=as_fn_unset
22350 # as_fn_append VAR VALUE
22351 # ----------------------
22352 # Append the text in VALUE to the end of the definition contained in VAR. Take
22353 # advantage of any shell optimizations that allow amortized linear growth over
22354 # repeated appends, instead of the typical quadratic growth present in naive
22356 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22357 eval 'as_fn_append ()
22368 # as_fn_arith ARG...
22369 # ------------------
22370 # Perform arithmetic evaluation on the ARGs, and store the result in the
22371 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22372 # must be portable across $(()) and expr.
22373 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22374 eval 'as_fn_arith ()
22381 as_val
=`expr "$@" || test $? -eq 1`
22386 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22387 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22393 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22394 as_basename
=basename
22399 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22405 as_me
=`$as_basename -- "$0" ||
22406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22407 X"$0" : 'X\(//\)$' \| \
22408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22410 sed '/^.*\/\([^/][^/]*\)\/*$/{
22424 # Avoid depending upon Character Ranges.
22425 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22426 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22427 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22428 as_cr_digits
='0123456789'
22429 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22431 ECHO_C
= ECHO_N
= ECHO_T
=
22432 case `echo -n x` in #(((((
22434 case `echo 'xy\c'` in
22435 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22437 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22444 rm -f conf$$ conf$$.exe conf$$.
file
22445 if test -d conf$$.dir
; then
22446 rm -f conf$$.dir
/conf$$.
file
22449 mkdir conf$$.dir
2>/dev
/null
22451 if (echo >conf$$.
file) 2>/dev
/null
; then
22452 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22454 # ... but there are two gotchas:
22455 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22456 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22457 # In both cases, we have to default to `cp -pR'.
22458 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22460 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22468 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22469 rmdir conf$$.dir
2>/dev
/null
22474 # Create "$as_dir" as a directory, including parents if necessary.
22479 -*) as_dir
=.
/$as_dir;;
22481 test -d "$as_dir" || eval $as_mkdir_p || {
22485 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22486 *) as_qdir
=$as_dir;;
22488 as_dirs
="'$as_qdir' $as_dirs"
22489 as_dir
=`$as_dirname -- "$as_dir" ||
22490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22491 X"$as_dir" : 'X\(//\)[^/]' \| \
22492 X"$as_dir" : 'X\(//\)$' \| \
22493 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22494 $as_echo X"$as_dir" |
22495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22499 /^X\(\/\/\)[^/].*/{
22512 test -d "$as_dir" && break
22514 test -z "$as_dirs" || eval "mkdir $as_dirs"
22515 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22519 if mkdir -p .
2>/dev
/null
; then
22520 as_mkdir_p
='mkdir -p "$as_dir"'
22522 test -d .
/-p && rmdir .
/-p
22527 # as_fn_executable_p FILE
22528 # -----------------------
22529 # Test if FILE is an executable regular file.
22530 as_fn_executable_p
()
22532 test -f "$1" && test -x "$1"
22533 } # as_fn_executable_p
22534 as_test_x
='test -x'
22535 as_executable_p
=as_fn_executable_p
22537 # Sed expression to map a string onto a valid CPP name.
22538 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22540 # Sed expression to map a string onto a valid variable name.
22541 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22545 ## ----------------------------------- ##
22546 ## Main body of $CONFIG_STATUS script. ##
22547 ## ----------------------------------- ##
22549 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22551 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22552 # Save the log message, to keep $0 and so on meaningful, and to
22553 # report actual input values of CONFIG_FILES etc. instead of their
22554 # values after options handling.
22556 This file was extended by Cycript $as_me 0.9, which was
22557 generated by GNU Autoconf 2.69. Invocation command line was
22559 CONFIG_FILES = $CONFIG_FILES
22560 CONFIG_HEADERS = $CONFIG_HEADERS
22561 CONFIG_LINKS = $CONFIG_LINKS
22562 CONFIG_COMMANDS = $CONFIG_COMMANDS
22565 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22570 case $ac_config_files in *"
22571 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22577 # Files that config.status was made for.
22578 config_files="$ac_config_files"
22579 config_commands="$ac_config_commands"
22583 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22585 \`$as_me' instantiates files and other configuration actions
22586 from templates according to the current configuration. Unless the files
22587 and actions are specified as TAGs, all are instantiated by default.
22589 Usage: $0 [OPTION]... [TAG]...
22591 -h, --help print this help, then exit
22592 -V, --version print version number and configuration settings, then exit
22593 --config print configuration, then exit
22594 -q, --quiet, --silent
22595 do not print progress messages
22596 -d, --debug don't remove temporary files
22597 --recheck update $as_me by reconfiguring in the same conditions
22598 --file=FILE[:TEMPLATE]
22599 instantiate the configuration file FILE
22601 Configuration files:
22604 Configuration commands:
22607 Report bugs to <saurik@saurik.com>.
22608 Cycript home page: <http://www.cycript.org/>."
22611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22612 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22614 Cycript config.status 0.9
22615 configured by $0, generated by GNU Autoconf 2.69,
22616 with options \\"\$ac_cs_config\\"
22618 Copyright (C) 2012 Free Software Foundation, Inc.
22619 This config.status script is free software; the Free Software Foundation
22620 gives unlimited permission to copy, distribute and modify it."
22627 test -n "\$AWK" || AWK=awk
22630 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22631 # The default lists apply if the user does not specify any file.
22637 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22638 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22642 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22654 # Handling of the options.
22655 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22657 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22658 $as_echo "$ac_cs_version"; exit ;;
22659 --config | --confi | --conf | --con | --co | --c )
22660 $as_echo "$ac_cs_config"; exit ;;
22661 --debug | --debu | --deb | --de | --d | -d )
22663 --file | --fil | --fi | --f )
22666 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22667 '') as_fn_error $?
"missing file argument" ;;
22669 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22670 ac_need_defaults
=false
;;
22671 --he | --h | --help | --hel | -h )
22672 $as_echo "$ac_cs_usage"; exit ;;
22673 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22674 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22677 # This is an error.
22678 -*) as_fn_error $?
"unrecognized option: \`$1'
22679 Try \`$0 --help' for more information." ;;
22681 *) as_fn_append ac_config_targets
" $1"
22682 ac_need_defaults
=false
;;
22688 ac_configure_extra_args
=
22690 if $ac_cs_silent; then
22692 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22697 if \$ac_cs_recheck; then
22698 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22700 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22701 CONFIG_SHELL='$SHELL'
22702 export CONFIG_SHELL
22707 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22711 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22712 ## Running $as_me. ##
22718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22722 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22725 # The HP-UX ksh and POSIX shell print the target directory to stdout
22726 # if CDPATH is set.
22727 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22729 sed_quote_subst='$sed_quote_subst'
22730 double_quote_subst='$double_quote_subst'
22731 delay_variable_subst='$delay_variable_subst'
22732 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22733 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22734 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22735 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22736 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22737 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22738 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22739 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22740 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22741 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22742 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22743 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22744 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22745 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22746 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22747 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22748 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22749 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22750 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22751 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22752 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22753 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22754 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22755 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22756 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22757 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22758 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22759 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22760 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22761 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22762 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22763 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22764 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22765 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22766 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22767 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22768 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22769 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22770 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22771 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22772 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22773 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22774 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22775 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22776 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22777 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22778 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22779 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22780 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22781 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22782 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22783 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22784 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22785 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22786 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22787 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22788 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"`'
22789 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22790 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22791 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22792 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22793 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22794 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22795 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22796 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22797 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22798 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22799 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22800 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22801 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22802 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22803 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22804 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22805 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22806 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22807 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22808 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22809 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22810 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22811 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22812 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22813 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22814 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22815 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22816 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22817 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22818 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22819 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22820 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22821 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22822 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22823 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22824 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22825 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22826 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22827 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22828 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22829 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22830 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22831 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22832 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22833 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22834 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22835 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22836 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22837 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22838 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22839 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22840 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22841 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22842 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22843 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22844 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22845 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22846 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22847 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22848 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22849 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22850 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22851 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22852 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22853 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22854 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22855 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22856 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22857 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22858 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22859 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22860 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22861 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22862 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22863 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22864 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22865 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22866 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22867 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22868 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22869 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22870 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22871 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22872 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22873 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22874 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22875 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22876 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22877 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22878 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22879 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22880 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22881 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22882 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22883 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22884 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22885 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22886 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22887 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22888 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22889 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22890 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22891 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22892 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22893 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22894 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22895 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22896 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22897 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22898 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22899 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22900 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22901 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22902 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22903 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22904 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22905 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22906 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22907 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22908 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22909 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22910 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22911 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22912 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22913 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22914 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22915 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22918 LTCFLAGS='$LTCFLAGS'
22919 compiler='$compiler_DEFAULT'
22921 # A function that is used when there is no print builtin or printf.
22922 func_fallback_echo ()
22924 eval 'cat <<_LTECHO_EOF
22929 # Quote evaled strings.
22944 deplibs_check_method \
22949 sharedlib_from_linklib_cmd \
22952 archiver_list_spec \
22958 lt_cv_sys_global_symbol_pipe \
22959 lt_cv_sys_global_symbol_to_cdecl \
22960 lt_cv_sys_global_symbol_to_c_name_address \
22961 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22962 nm_file_list_spec \
22963 lt_prog_compiler_no_builtin_flag \
22964 lt_prog_compiler_pic \
22965 lt_prog_compiler_wl \
22966 lt_prog_compiler_static \
22967 lt_cv_prog_compiler_c_o \
22976 export_dynamic_flag_spec \
22977 whole_archive_flag_spec \
22978 compiler_needs_object \
22980 allow_undefined_flag \
22981 no_undefined_flag \
22982 hardcode_libdir_flag_spec \
22983 hardcode_libdir_separator \
22987 variables_saved_for_relink \
22989 library_names_spec \
22991 install_override_mode \
22995 compiler_lib_search_dirs \
23000 compiler_lib_search_path \
23004 lt_prog_compiler_no_builtin_flag_CXX \
23005 lt_prog_compiler_pic_CXX \
23006 lt_prog_compiler_wl_CXX \
23007 lt_prog_compiler_static_CXX \
23008 lt_cv_prog_compiler_c_o_CXX \
23009 export_dynamic_flag_spec_CXX \
23010 whole_archive_flag_spec_CXX \
23011 compiler_needs_object_CXX \
23013 allow_undefined_flag_CXX \
23014 no_undefined_flag_CXX \
23015 hardcode_libdir_flag_spec_CXX \
23016 hardcode_libdir_separator_CXX \
23017 exclude_expsyms_CXX \
23018 include_expsyms_CXX \
23019 file_list_spec_CXX \
23020 compiler_lib_search_dirs_CXX \
23021 predep_objects_CXX \
23022 postdep_objects_CXX \
23025 compiler_lib_search_path_CXX; do
23026 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23027 *[\\\\\\\`\\"\\\$]*)
23028 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23031 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23036 # Double-quote double-evaled strings.
23037 for var in reload_cmds \
23038 old_postinstall_cmds \
23039 old_postuninstall_cmds \
23041 extract_expsyms_cmds \
23042 old_archive_from_new_cmds \
23043 old_archive_from_expsyms_cmds \
23045 archive_expsym_cmds \
23047 module_expsym_cmds \
23048 export_symbols_cmds \
23052 postuninstall_cmds \
23054 sys_lib_search_path_spec \
23055 sys_lib_dlsearch_path_spec \
23057 old_archive_cmds_CXX \
23058 old_archive_from_new_cmds_CXX \
23059 old_archive_from_expsyms_cmds_CXX \
23061 archive_expsym_cmds_CXX \
23063 module_expsym_cmds_CXX \
23064 export_symbols_cmds_CXX \
23066 postlink_cmds_CXX; do
23067 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23068 *[\\\\\\\`\\"\\\$]*)
23069 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23072 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23077 ac_aux_dir='$ac_aux_dir'
23078 xsi_shell='$xsi_shell'
23079 lt_shell_append='$lt_shell_append'
23081 # See if we are running on zsh, and set the options which allow our
23082 # commands through without removal of \ escapes INIT.
23083 if test -n "\${ZSH_VERSION+set}" ; then
23084 setopt NO_GLOB_SUBST
23090 TIMESTAMP='$TIMESTAMP'
23101 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23103 # Handling of arguments.
23104 for ac_config_target
in $ac_config_targets
23106 case $ac_config_target in
23107 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23108 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23109 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23111 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23116 # If the user did not use the arguments to specify the items to instantiate,
23117 # then the envvar interface is used. Set only those that are not.
23118 # We use the long form for the default assignment because of an extremely
23119 # bizarre bug on SunOS 4.1.3.
23120 if $ac_need_defaults; then
23121 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23122 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23125 # Have a temporary directory for convenience. Make it in the build tree
23126 # simply because there is no reason against having it here, and in addition,
23127 # creating and moving files from /tmp can sometimes cause problems.
23128 # Hook for its removal unless debugging.
23129 # Note that there is a small window in which the directory will not be cleaned:
23130 # after its creation but before its name has been assigned to `$tmp'.
23134 trap 'exit_status=$?
23135 : "${ac_tmp:=$tmp}"
23136 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23138 trap 'as_fn_exit 1' 1 2 13 15
23140 # Create a (secure) tmp directory for tmp files.
23143 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23147 tmp
=.
/conf$$
-$RANDOM
23148 (umask 077 && mkdir "$tmp")
23149 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23152 # Set up the scripts for CONFIG_FILES section.
23153 # No need to generate them if there are no CONFIG_FILES.
23154 # This happens for instance with `./config.status config.h'.
23155 if test -n "$CONFIG_FILES"; then
23158 ac_cr
=`echo X | tr X '\015'`
23159 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23160 # But we know of no other shell where ac_cr would be empty at this
23161 # point, so we can use a bashism as a fallback.
23162 if test "x$ac_cr" = x
; then
23163 eval ac_cr
=\$
\'\\r
\'
23165 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23166 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23169 ac_cs_awk_cr
=$ac_cr
23172 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23177 echo "cat >conf$$subs.awk <<_ACEOF" &&
23178 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23180 } >conf$$subs.sh ||
23181 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23182 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23184 for ac_last_try in false false false false false :; do
23185 . ./conf$$subs.sh ||
23186 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23188 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23189 if test $ac_delim_n = $ac_delim_num; then
23191 elif $ac_last_try; then
23192 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23194 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23197 rm -f conf$$subs.sh
23199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23200 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23204 s/^/S["/; s
/!.
*/"]=/
23214 s/\(.\{148\}\)..*/\1/
23216 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23221 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23228 s/\(.\{148\}\)..*/\1/
23230 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23234 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23239 ' <conf$$subs.awk | sed '
23244 ' >>$CONFIG_STATUS || ac_write_fail=1
23245 rm -f conf$$subs.awk
23246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23248 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23249 for (key in S) S_is_set[key] = 1
23255 nfields = split(line, field, "@
")
23257 len = length(field[1])
23258 for (i = 2; i < nfields; i++) {
23260 keylen = length(key)
23261 if (S_is_set[key]) {
23263 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23264 len += length(value) + length(field[++i])
23275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23276 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23277 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23280 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23281 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23284 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23285 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23286 # trailing colons and then remove the whole line if VPATH becomes empty
23287 # (actually we leave an empty line to preserve line numbers).
23288 if test "x
$srcdir" = x.; then
23289 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23308 fi # test -n "$CONFIG_FILES"
23311 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
23316 :[FHLC]) ac_mode=$ac_tag; continue;;
23318 case $ac_mode$ac_tag in
23320 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
23321 :[FH]-) ac_tag=-:-;;
23322 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23339 -) ac_f="$ac_tmp/stdin";;
23340 *) # Look for the file first in the build tree, then in the source tree
23341 # (if the path is not absolute). The absolute path cannot be DOS-style,
23342 # because $ac_f cannot contain `:'.
23346 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23348 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23350 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
23351 as_fn_append ac_file_inputs " '$ac_f'"
23354 # Let's still pretend it is `configure' which instantiates (i.e., don't
23355 # use $as_me), people would be surprised to read:
23356 # /* config.h. Generated by config.status. */
23357 configure_input='Generated from '`
23358 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23360 if test x"$ac_file" != x-; then
23361 configure_input="$ac_file.
$configure_input"
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
23363 $as_echo "$as_me: creating
$ac_file" >&6;}
23365 # Neutralize special characters interpreted by sed in replacement strings.
23366 case $configure_input in #(
23367 *\&* | *\|* | *\\* )
23368 ac_sed_conf_input=`$as_echo "$configure_input" |
23369 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23370 *) ac_sed_conf_input=$configure_input;;
23374 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
23375 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
23380 ac_dir=`$as_dirname -- "$ac_file" ||
23381 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23382 X"$ac_file" : 'X\(//\)[^/]' \| \
23383 X"$ac_file" : 'X\(//\)$' \| \
23384 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23385 $as_echo X"$ac_file" |
23386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23390 /^X\(\/\/\)[^/].*/{
23403 as_dir="$ac_dir"; as_fn_mkdir_p
23407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23409 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23410 # A "..
" for each directory in $ac_dir_suffix.
23411 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23412 case $ac_top_builddir_sub in
23413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23417 ac_abs_top_builddir=$ac_pwd
23418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23419 # for backward compatibility:
23420 ac_top_builddir=$ac_top_build_prefix
23423 .) # We are building in place.
23425 ac_top_srcdir=$ac_top_builddir_sub
23426 ac_abs_top_srcdir=$ac_pwd ;;
23427 [\\/]* | ?:[\\/]* ) # Absolute name.
23428 ac_srcdir=$srcdir$ac_dir_suffix;
23429 ac_top_srcdir=$srcdir
23430 ac_abs_top_srcdir=$srcdir ;;
23431 *) # Relative name.
23432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23433 ac_top_srcdir=$ac_top_build_prefix$srcdir
23434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23446 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23447 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23449 ac_MKDIR_P=$MKDIR_P
23451 [\\/$]* | ?:[\\/]* ) ;;
23452 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23457 # If the template does not know about datarootdir, expand it.
23458 # FIXME: This hack should be removed a few years after 2.60.
23459 ac_datarootdir_hack=; ac_datarootdir_seen=
23470 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
23471 *datarootdir*) ac_datarootdir_seen=yes;;
23472 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
23474 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
23476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23477 ac_datarootdir_hack='
23478 s&@datadir@&$datadir&g
23479 s&@docdir@&$docdir&g
23480 s&@infodir@&$infodir&g
23481 s&@localedir@&$localedir&g
23482 s&@mandir@&$mandir&g
23483 s&\\\${datarootdir}&$datarootdir&g' ;;
23487 # Neutralize VPATH when `$srcdir' = `.'.
23488 # Shell code in configure.ac might set extrasub.
23489 # FIXME: do we really want to maintain this feature?
23490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23491 ac_sed_extra="$ac_vpsub
23494 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23496 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23497 s
|@configure_input@
|$ac_sed_conf_input|;t t
23498 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23499 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23500 s
&@srcdir@
&$ac_srcdir&;t t
23501 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23502 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23503 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23504 s
&@builddir@
&$ac_builddir&;t t
23505 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23506 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23507 s
&@INSTALL@
&$ac_INSTALL&;t t
23508 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23509 $ac_datarootdir_hack
23511 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23512 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23514 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23515 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23516 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23517 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23519 which seems to be undefined. Please make sure it is defined" >&5
23520 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23521 which seems to be undefined. Please make sure it is defined" >&2;}
23523 rm -f "$ac_tmp/stdin"
23525 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23526 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23528 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23532 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23533 $as_echo "$as_me: executing $ac_file commands" >&6;}
23538 case $ac_file$ac_mode in
23539 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23540 # Older Autoconf quotes --file arguments for eval, but not when files
23541 # are listed without --file. Let's play safe and only
enable the
eval
23542 # if we detect the quoting.
23543 case $CONFIG_FILES in
23544 *\'*) eval set x
"$CONFIG_FILES" ;;
23545 *) set x
$CONFIG_FILES ;;
23550 # Strip MF so we end up with the name of the file.
23551 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23552 # Check whether this is an Automake generated Makefile or not.
23553 # We used to match only the files named 'Makefile.in', but
23554 # some people rename them; so instead we look at the file content.
23555 # Grep'ing the first line is not enough: some people post-process
23556 # each Makefile.in and add a new line on top of each file to say so.
23557 # Grep'ing the whole file is not good either: AIX grep has a line
23558 # limit of 2048, but all sed's we know have understand at least 4000.
23559 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23560 dirpart
=`$as_dirname -- "$mf" ||
23561 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23562 X"$mf" : 'X\(//\)[^/]' \| \
23563 X"$mf" : 'X\(//\)$' \| \
23564 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23570 /^X\(\/\/\)[^/].*/{
23586 # Extract the definition of DEPDIR, am__include, and am__quote
23587 # from the Makefile without running 'make'.
23588 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23589 test -z "$DEPDIR" && continue
23590 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23591 test -z "am__include" && continue
23592 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23593 # Find all dependency output files, they are included files with
23594 # $(DEPDIR) in their names. We invoke sed twice because it is the
23595 # simplest approach to changing $(DEPDIR) to its actual value in the
23597 for file in `sed -n "
23598 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23599 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23600 # Make sure the directory exists.
23601 test -f "$dirpart/$file" && continue
23602 fdir
=`$as_dirname -- "$file" ||
23603 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23604 X"$file" : 'X\(//\)[^/]' \| \
23605 X"$file" : 'X\(//\)$' \| \
23606 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23607 $as_echo X"$file" |
23608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23612 /^X\(\/\/\)[^/].*/{
23625 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23626 # echo "creating $dirpart/$file"
23627 echo '# dummy' > "$dirpart/$file"
23634 # See if we are running on zsh, and set the options which allow our
23635 # commands through without removal of \ escapes.
23636 if test -n "${ZSH_VERSION+set}" ; then
23637 setopt NO_GLOB_SUBST
23640 cfgfile
="${ofile}T"
23641 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23644 cat <<_LT_EOF >> "$cfgfile"
23647 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23648 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23649 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23650 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23652 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23653 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23655 # Written by Gordon Matzigkeit, 1996
23657 # This file is part of GNU Libtool.
23659 # GNU Libtool is free software; you can redistribute it and/or
23660 # modify it under the terms of the GNU General Public License as
23661 # published by the Free Software Foundation; either version 2 of
23662 # the License, or (at your option) any later version.
23664 # As a special exception to the GNU General Public License,
23665 # if you distribute this file as part of a program or library that
23666 # is built using GNU Libtool, you may include this file under the
23667 # same distribution terms that you use for the rest of that program.
23669 # GNU Libtool is distributed in the hope that it will be useful,
23670 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23671 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23672 # GNU General Public License for more details.
23674 # You should have received a copy of the GNU General Public License
23675 # along with GNU Libtool; see the file COPYING. If not, a copy
23676 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23677 # obtained by writing to the Free Software Foundation, Inc.,
23678 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23681 # The names of the tagged configurations supported by this script.
23682 available_tags="CXX "
23684 # ### BEGIN LIBTOOL CONFIG
23686 # Which release of libtool.m4 was used?
23687 macro_version=$macro_version
23688 macro_revision=$macro_revision
23690 # Whether or not to build static libraries.
23691 build_old_libs=$enable_static
23693 # Whether or not to build shared libraries.
23694 build_libtool_libs=$enable_shared
23696 # What type of objects to build.
23699 # Whether or not to optimize for fast installation.
23700 fast_install=$enable_fast_install
23702 # Shell to use when invoking shell scripts.
23705 # An echo program that protects backslashes.
23708 # The PATH separator for the build system.
23709 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23712 host_alias=$host_alias
23716 # The build system.
23717 build_alias=$build_alias
23721 # A sed program that does not truncate output.
23724 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23725 Xsed="\$SED -e 1s/^X//"
23727 # A grep program that handles long lines.
23733 # A literal string matcher.
23736 # A BSD- or MS-compatible name lister.
23739 # Whether we need soft or hard links.
23742 # What is the maximum length of a command?
23743 max_cmd_len=$max_cmd_len
23745 # Object file suffix (normally "o").
23748 # Executable file suffix (normally "").
23751 # whether the shell understands "unset".
23754 # turn spaces into newlines.
23757 # turn newlines into spaces.
23760 # convert \$build file names to \$host format.
23761 to_host_file_cmd=$lt_cv_to_host_file_cmd
23763 # convert \$build files to toolchain format.
23764 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23766 # An object symbol dumper.
23767 OBJDUMP=$lt_OBJDUMP
23769 # Method to check whether dependent libraries are shared objects.
23770 deplibs_check_method=$lt_deplibs_check_method
23772 # Command to use when deplibs_check_method = "file_magic".
23773 file_magic_cmd=$lt_file_magic_cmd
23775 # How to find potential files when deplibs_check_method = "file_magic".
23776 file_magic_glob=$lt_file_magic_glob
23778 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23779 want_nocaseglob=$lt_want_nocaseglob
23781 # DLL creation program.
23782 DLLTOOL=$lt_DLLTOOL
23784 # Command to associate shared and link libraries.
23785 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23790 # Flags to create an archive.
23791 AR_FLAGS=$lt_AR_FLAGS
23793 # How to feed a file listing to the archiver.
23794 archiver_list_spec=$lt_archiver_list_spec
23796 # A symbol stripping program.
23799 # Commands used to install an old-style archive.
23801 old_postinstall_cmds=$lt_old_postinstall_cmds
23802 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23804 # Whether to use a lock for old archive extraction.
23805 lock_old_archive_extraction=$lock_old_archive_extraction
23810 # LTCC compiler flags.
23811 LTCFLAGS=$lt_CFLAGS
23813 # Take the output of nm and produce a listing of raw symbols and C names.
23814 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23816 # Transform the output of nm in a proper C declaration.
23817 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23819 # Transform the output of nm in a C name address pair.
23820 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23822 # Transform the output of nm in a C name address pair when lib prefix is needed.
23823 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23825 # Specify filename containing input files for \$NM.
23826 nm_file_list_spec=$lt_nm_file_list_spec
23828 # The root where to search for dependent libraries,and in which our libraries should be installed.
23829 lt_sysroot=$lt_sysroot
23831 # The name of the directory that contains temporary libtool files.
23834 # Used to examine libraries when file_magic_cmd begins with "file".
23835 MAGIC_CMD=$MAGIC_CMD
23837 # Must we lock files when doing compilation?
23838 need_locks=$lt_need_locks
23841 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23843 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23844 DSYMUTIL=$lt_DSYMUTIL
23846 # Tool to change global to local symbols on Mac OS X.
23849 # Tool to manipulate fat objects and archives on Mac OS X.
23852 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23855 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23856 OTOOL64=$lt_OTOOL64
23858 # Old archive suffix (normally "a").
23861 # Shared library suffix (normally ".so").
23862 shrext_cmds=$lt_shrext_cmds
23864 # The commands to extract the exported symbol list from a shared archive.
23865 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23867 # Variables whose values should be saved in libtool wrapper scripts and
23868 # restored at link time.
23869 variables_saved_for_relink=$lt_variables_saved_for_relink
23871 # Do we need the "lib" prefix for modules?
23872 need_lib_prefix=$need_lib_prefix
23874 # Do we need a version for libraries?
23875 need_version=$need_version
23877 # Library versioning type.
23878 version_type=$version_type
23880 # Shared library runtime path variable.
23881 runpath_var=$runpath_var
23883 # Shared library path variable.
23884 shlibpath_var=$shlibpath_var
23886 # Is shlibpath searched before the hard-coded library search path?
23887 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23889 # Format of library name prefix.
23890 libname_spec=$lt_libname_spec
23892 # List of archive names. First name is the real one, the rest are links.
23893 # The last name is the one that the linker finds with -lNAME
23894 library_names_spec=$lt_library_names_spec
23896 # The coded name of the library, if different from the real name.
23897 soname_spec=$lt_soname_spec
23899 # Permission mode override for installation of shared libraries.
23900 install_override_mode=$lt_install_override_mode
23902 # Command to use after installation of a shared archive.
23903 postinstall_cmds=$lt_postinstall_cmds
23905 # Command to use after uninstallation of a shared archive.
23906 postuninstall_cmds=$lt_postuninstall_cmds
23908 # Commands used to finish a libtool library installation in a directory.
23909 finish_cmds=$lt_finish_cmds
23911 # As "finish_cmds", except a single script fragment to be evaled but
23913 finish_eval=$lt_finish_eval
23915 # Whether we should hardcode library paths into libraries.
23916 hardcode_into_libs=$hardcode_into_libs
23918 # Compile-time system search path for libraries.
23919 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23921 # Run-time system search path for libraries.
23922 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23924 # Whether dlopen is supported.
23925 dlopen_support=$enable_dlopen
23927 # Whether dlopen of programs is supported.
23928 dlopen_self=$enable_dlopen_self
23930 # Whether dlopen of statically linked programs is supported.
23931 dlopen_self_static=$enable_dlopen_self_static
23933 # Commands to strip libraries.
23934 old_striplib=$lt_old_striplib
23935 striplib=$lt_striplib
23938 # The linker used to build libraries.
23941 # How to create reloadable object files.
23942 reload_flag=$lt_reload_flag
23943 reload_cmds=$lt_reload_cmds
23945 # Commands used to build an old-style archive.
23946 old_archive_cmds=$lt_old_archive_cmds
23948 # A language specific compiler.
23951 # Is the compiler the GNU compiler?
23954 # Compiler flag to turn off builtin functions.
23955 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23957 # Additional compiler flags for building library objects.
23958 pic_flag=$lt_lt_prog_compiler_pic
23960 # How to pass a linker flag through the compiler.
23961 wl=$lt_lt_prog_compiler_wl
23963 # Compiler flag to prevent dynamic linking.
23964 link_static_flag=$lt_lt_prog_compiler_static
23966 # Does compiler simultaneously support -c and -o options?
23967 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23969 # Whether or not to add -lc for building shared libraries.
23970 build_libtool_need_lc=$archive_cmds_need_lc
23972 # Whether or not to disallow shared libs when runtime libs are static.
23973 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23975 # Compiler flag to allow reflexive dlopens.
23976 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23978 # Compiler flag to generate shared objects directly from archives.
23979 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23981 # Whether the compiler copes with passing no objects directly.
23982 compiler_needs_object=$lt_compiler_needs_object
23984 # Create an old-style archive from a shared archive.
23985 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23987 # Create a temporary old-style archive to link instead of a shared archive.
23988 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23990 # Commands used to build a shared archive.
23991 archive_cmds=$lt_archive_cmds
23992 archive_expsym_cmds=$lt_archive_expsym_cmds
23994 # Commands used to build a loadable module if different from building
23995 # a shared archive.
23996 module_cmds=$lt_module_cmds
23997 module_expsym_cmds=$lt_module_expsym_cmds
23999 # Whether we are building with GNU ld or not.
24000 with_gnu_ld=$lt_with_gnu_ld
24002 # Flag that allows shared libraries with undefined symbols to be built.
24003 allow_undefined_flag=$lt_allow_undefined_flag
24005 # Flag that enforces no undefined symbols.
24006 no_undefined_flag=$lt_no_undefined_flag
24008 # Flag to hardcode \$libdir into a binary during linking.
24009 # This must work even if \$libdir does not exist
24010 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24012 # Whether we need a single "-rpath" flag with a separated argument.
24013 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24015 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24016 # DIR into the resulting binary.
24017 hardcode_direct=$hardcode_direct
24019 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24020 # DIR into the resulting binary and the resulting library dependency is
24021 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24022 # library is relocated.
24023 hardcode_direct_absolute=$hardcode_direct_absolute
24025 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24026 # into the resulting binary.
24027 hardcode_minus_L=$hardcode_minus_L
24029 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24030 # into the resulting binary.
24031 hardcode_shlibpath_var=$hardcode_shlibpath_var
24033 # Set to "yes" if building a shared library automatically hardcodes DIR
24034 # into the library and all subsequent libraries and executables linked
24036 hardcode_automatic=$hardcode_automatic
24038 # Set to yes if linker adds runtime paths of dependent libraries
24039 # to runtime path list.
24040 inherit_rpath=$inherit_rpath
24042 # Whether libtool must link a program against all its dependency libraries.
24043 link_all_deplibs=$link_all_deplibs
24045 # Set to "yes" if exported symbols are required.
24046 always_export_symbols=$always_export_symbols
24048 # The commands to list exported symbols.
24049 export_symbols_cmds=$lt_export_symbols_cmds
24051 # Symbols that should not be listed in the preloaded symbols.
24052 exclude_expsyms=$lt_exclude_expsyms
24054 # Symbols that must always be exported.
24055 include_expsyms=$lt_include_expsyms
24057 # Commands necessary for linking programs (against libraries) with templates.
24058 prelink_cmds=$lt_prelink_cmds
24060 # Commands necessary for finishing linking programs.
24061 postlink_cmds=$lt_postlink_cmds
24063 # Specify filename containing input files.
24064 file_list_spec=$lt_file_list_spec
24066 # How to hardcode a shared library path into an executable.
24067 hardcode_action=$hardcode_action
24069 # The directories searched by this compiler when creating a shared library.
24070 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24072 # Dependencies to place before and after the objects being linked to
24073 # create a shared library.
24074 predep_objects=$lt_predep_objects
24075 postdep_objects=$lt_postdep_objects
24076 predeps=$lt_predeps
24077 postdeps=$lt_postdeps
24079 # The library search path used internally by the compiler when linking
24080 # a shared library.
24081 compiler_lib_search_path=$lt_compiler_lib_search_path
24083 # ### END LIBTOOL CONFIG
24089 cat <<\_LT_EOF
>> "$cfgfile"
24090 # AIX sometimes has problems with the GCC collect2 program. For some
24091 # reason, if we set the COLLECT_NAMES environment variable, the problems
24092 # vanish in a puff of smoke.
24093 if test "X${COLLECT_NAMES+set}" != Xset
; then
24095 export COLLECT_NAMES
24102 ltmain
="$ac_aux_dir/ltmain.sh"
24105 # We use sed instead of cat because bash on DJGPP gets confused if
24106 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24107 # text mode, it properly converts lines to CR/LF. This bash problem
24108 # is reportedly fixed, but why not run on old versions too?
24109 sed '$q' "$ltmain" >> "$cfgfile" \
24110 || (rm -f "$cfgfile"; exit 1)
24112 if test x
"$xsi_shell" = xyes
; then
24113 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
24117 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24118 \ * ) func_dirname_result="${3}" ;;\
24120 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
24121 && mv -f "$cfgfile.tmp" "$cfgfile" \
24122 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24123 test 0 -eq $?
|| _lt_function_replace_fail
=:
24126 sed -e '/^func_basename ()$/,/^} # func_basename /c\
24129 \ func_basename_result="${1##*/}"\
24130 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
24131 && mv -f "$cfgfile.tmp" "$cfgfile" \
24132 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24133 test 0 -eq $?
|| _lt_function_replace_fail
=:
24136 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
24137 func_dirname_and_basename ()\
24140 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24141 \ * ) func_dirname_result="${3}" ;;\
24143 \ func_basename_result="${1##*/}"\
24144 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
24145 && mv -f "$cfgfile.tmp" "$cfgfile" \
24146 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24147 test 0 -eq $?
|| _lt_function_replace_fail
=:
24150 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
24153 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
24154 \ # positional parameters, so assign one to ordinary parameter first.\
24155 \ func_stripname_result=${3}\
24156 \ func_stripname_result=${func_stripname_result#"${1}"}\
24157 \ func_stripname_result=${func_stripname_result%"${2}"}\
24158 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
24159 && mv -f "$cfgfile.tmp" "$cfgfile" \
24160 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24161 test 0 -eq $?
|| _lt_function_replace_fail
=:
24164 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
24165 func_split_long_opt ()\
24167 \ func_split_long_opt_name=${1%%=*}\
24168 \ func_split_long_opt_arg=${1#*=}\
24169 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
24170 && mv -f "$cfgfile.tmp" "$cfgfile" \
24171 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24172 test 0 -eq $?
|| _lt_function_replace_fail
=:
24175 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
24176 func_split_short_opt ()\
24178 \ func_split_short_opt_arg=${1#??}\
24179 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
24180 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
24181 && mv -f "$cfgfile.tmp" "$cfgfile" \
24182 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24183 test 0 -eq $?
|| _lt_function_replace_fail
=:
24186 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
24190 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
24191 \ *) func_lo2o_result=${1} ;;\
24193 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
24194 && mv -f "$cfgfile.tmp" "$cfgfile" \
24195 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24196 test 0 -eq $?
|| _lt_function_replace_fail
=:
24199 sed -e '/^func_xform ()$/,/^} # func_xform /c\
24202 func_xform_result=${1%.*}.lo\
24203 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
24204 && mv -f "$cfgfile.tmp" "$cfgfile" \
24205 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24206 test 0 -eq $?
|| _lt_function_replace_fail
=:
24209 sed -e '/^func_arith ()$/,/^} # func_arith /c\
24212 func_arith_result=$(( $* ))\
24213 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24214 && mv -f "$cfgfile.tmp" "$cfgfile" \
24215 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24216 test 0 -eq $?
|| _lt_function_replace_fail
=:
24219 sed -e '/^func_len ()$/,/^} # func_len /c\
24222 func_len_result=${#1}\
24223 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24224 && mv -f "$cfgfile.tmp" "$cfgfile" \
24225 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24226 test 0 -eq $?
|| _lt_function_replace_fail
=:
24230 if test x
"$lt_shell_append" = xyes
; then
24231 sed -e '/^func_append ()$/,/^} # func_append /c\
24234 eval "${1}+=\\${2}"\
24235 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
24236 && mv -f "$cfgfile.tmp" "$cfgfile" \
24237 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24238 test 0 -eq $?
|| _lt_function_replace_fail
=:
24241 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24242 func_append_quoted ()\
24244 \ func_quote_for_eval "${2}"\
24245 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24246 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24247 && mv -f "$cfgfile.tmp" "$cfgfile" \
24248 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24249 test 0 -eq $?
|| _lt_function_replace_fail
=:
24252 # Save a `func_append' function call where possible by direct use of '+='
24253 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24254 && mv -f "$cfgfile.tmp" "$cfgfile" \
24255 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24256 test 0 -eq $?
|| _lt_function_replace_fail
=:
24258 # Save a `func_append' function call even when '+=' is not available
24259 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24260 && mv -f "$cfgfile.tmp" "$cfgfile" \
24261 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24262 test 0 -eq $?
|| _lt_function_replace_fail
=:
24265 if test x
"$_lt_function_replace_fail" = x
":"; then
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24267 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24271 mv -f "$cfgfile" "$ofile" ||
24272 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24276 cat <<_LT_EOF >> "$ofile"
24278 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24280 # The linker used to build libraries.
24283 # How to create reloadable object files.
24284 reload_flag=$lt_reload_flag_CXX
24285 reload_cmds=$lt_reload_cmds_CXX
24287 # Commands used to build an old-style archive.
24288 old_archive_cmds=$lt_old_archive_cmds_CXX
24290 # A language specific compiler.
24291 CC=$lt_compiler_CXX
24293 # Is the compiler the GNU compiler?
24296 # Compiler flag to turn off builtin functions.
24297 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24299 # Additional compiler flags for building library objects.
24300 pic_flag=$lt_lt_prog_compiler_pic_CXX
24302 # How to pass a linker flag through the compiler.
24303 wl=$lt_lt_prog_compiler_wl_CXX
24305 # Compiler flag to prevent dynamic linking.
24306 link_static_flag=$lt_lt_prog_compiler_static_CXX
24308 # Does compiler simultaneously support -c and -o options?
24309 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24311 # Whether or not to add -lc for building shared libraries.
24312 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24314 # Whether or not to disallow shared libs when runtime libs are static.
24315 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24317 # Compiler flag to allow reflexive dlopens.
24318 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24320 # Compiler flag to generate shared objects directly from archives.
24321 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24323 # Whether the compiler copes with passing no objects directly.
24324 compiler_needs_object=$lt_compiler_needs_object_CXX
24326 # Create an old-style archive from a shared archive.
24327 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24329 # Create a temporary old-style archive to link instead of a shared archive.
24330 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24332 # Commands used to build a shared archive.
24333 archive_cmds=$lt_archive_cmds_CXX
24334 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24336 # Commands used to build a loadable module if different from building
24337 # a shared archive.
24338 module_cmds=$lt_module_cmds_CXX
24339 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24341 # Whether we are building with GNU ld or not.
24342 with_gnu_ld=$lt_with_gnu_ld_CXX
24344 # Flag that allows shared libraries with undefined symbols to be built.
24345 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24347 # Flag that enforces no undefined symbols.
24348 no_undefined_flag=$lt_no_undefined_flag_CXX
24350 # Flag to hardcode \$libdir into a binary during linking.
24351 # This must work even if \$libdir does not exist
24352 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24354 # Whether we need a single "-rpath" flag with a separated argument.
24355 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24357 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24358 # DIR into the resulting binary.
24359 hardcode_direct=$hardcode_direct_CXX
24361 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24362 # DIR into the resulting binary and the resulting library dependency is
24363 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24364 # library is relocated.
24365 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24367 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24368 # into the resulting binary.
24369 hardcode_minus_L=$hardcode_minus_L_CXX
24371 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24372 # into the resulting binary.
24373 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24375 # Set to "yes" if building a shared library automatically hardcodes DIR
24376 # into the library and all subsequent libraries and executables linked
24378 hardcode_automatic=$hardcode_automatic_CXX
24380 # Set to yes if linker adds runtime paths of dependent libraries
24381 # to runtime path list.
24382 inherit_rpath=$inherit_rpath_CXX
24384 # Whether libtool must link a program against all its dependency libraries.
24385 link_all_deplibs=$link_all_deplibs_CXX
24387 # Set to "yes" if exported symbols are required.
24388 always_export_symbols=$always_export_symbols_CXX
24390 # The commands to list exported symbols.
24391 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24393 # Symbols that should not be listed in the preloaded symbols.
24394 exclude_expsyms=$lt_exclude_expsyms_CXX
24396 # Symbols that must always be exported.
24397 include_expsyms=$lt_include_expsyms_CXX
24399 # Commands necessary for linking programs (against libraries) with templates.
24400 prelink_cmds=$lt_prelink_cmds_CXX
24402 # Commands necessary for finishing linking programs.
24403 postlink_cmds=$lt_postlink_cmds_CXX
24405 # Specify filename containing input files.
24406 file_list_spec=$lt_file_list_spec_CXX
24408 # How to hardcode a shared library path into an executable.
24409 hardcode_action=$hardcode_action_CXX
24411 # The directories searched by this compiler when creating a shared library.
24412 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24414 # Dependencies to place before and after the objects being linked to
24415 # create a shared library.
24416 predep_objects=$lt_predep_objects_CXX
24417 postdep_objects=$lt_postdep_objects_CXX
24418 predeps=$lt_predeps_CXX
24419 postdeps=$lt_postdeps_CXX
24421 # The library search path used internally by the compiler when linking
24422 # a shared library.
24423 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24425 # ### END LIBTOOL TAG CONFIG: CXX
24436 ac_clean_files
=$ac_clean_files_save
24438 test $ac_write_fail = 0 ||
24439 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24442 # configure is writing to config.log, and then calls config.status.
24443 # config.status does its own redirection, appending to config.log.
24444 # Unfortunately, on DOS this fails, as config.log is still kept open
24445 # by configure, so config.status won't be able to write to it; its
24446 # output is simply discarded. So we exec the FD to /dev/null,
24447 # effectively closing config.log, so it can be properly (re)opened and
24448 # appended to by config.status. When coming back to configure, we
24449 # need to make the FD available again.
24450 if test "$no_create" != yes; then
24452 ac_config_status_args
=
24453 test "$silent" = yes &&
24454 ac_config_status_args
="$ac_config_status_args --quiet"
24456 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24458 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24459 # would make configure fail if this is the last instruction.
24460 $ac_cs_success || as_fn_exit
1
24462 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24464 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}