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-2014 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
719 am__fastdepOBJCXX_FALSE
720 am__fastdepOBJCXX_TRUE
749 MAINTAINER_MODE_FALSE
763 INSTALL_STRIP_PROGRAM
805 program_transform_name
818 enable_option_checking
820 enable_maintainer_mode
821 enable_dependency_tracking
833 ac_precious_vars
='build_alias
863 # Initialize some variables set by options.
865 ac_init_version
=false
866 ac_unrecognized_opts
=
868 # The variables have the same names as the options, with
869 # dashes changed to underlines.
877 program_transform_name
=s
,x
,x
,
885 # Installation directory options.
886 # These are left unexpanded so users can "make install exec_prefix=/foo"
887 # and all the variables that are supposed to be based on exec_prefix
888 # by default will actually change.
889 # Use braces instead of parens because sh, perl, etc. also accept them.
890 # (The list follows the same order as the GNU Coding Standards.)
891 bindir
='${exec_prefix}/bin'
892 sbindir
='${exec_prefix}/sbin'
893 libexecdir
='${exec_prefix}/libexec'
894 datarootdir
='${prefix}/share'
895 datadir
='${datarootdir}'
896 sysconfdir
='${prefix}/etc'
897 sharedstatedir
='${prefix}/com'
898 localstatedir
='${prefix}/var'
899 includedir
='${prefix}/include'
900 oldincludedir
='/usr/include'
901 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
902 infodir
='${datarootdir}/info'
907 libdir
='${exec_prefix}/lib'
908 localedir
='${datarootdir}/locale'
909 mandir
='${datarootdir}/man'
915 # If the previous option needs an argument, assign it.
916 if test -n "$ac_prev"; then
917 eval $ac_prev=\
$ac_option
923 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928 # Accept the important Cygnus configure options, so we can diagnose typos.
930 case $ac_dashdash$ac_option in
934 -bindir | --bindir | --bindi | --bind | --bin | --bi)
936 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
939 -build | --build | --buil | --bui | --bu)
940 ac_prev
=build_alias
;;
941 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
942 build_alias
=$ac_optarg ;;
944 -cache-file | --cache-file | --cache-fil | --cache-fi \
945 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
946 ac_prev
=cache_file
;;
947 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
948 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
949 cache_file
=$ac_optarg ;;
952 cache_file
=config.cache
;;
954 -datadir | --datadir | --datadi | --datad)
956 -datadir=* | --datadir=* | --datadi=* | --datad=*)
957 datadir
=$ac_optarg ;;
959 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
960 | --dataroo | --dataro | --datar)
961 ac_prev
=datarootdir
;;
962 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
963 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
964 datarootdir
=$ac_optarg ;;
966 -disable-* | --disable-*)
967 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
970 as_fn_error $?
"invalid feature name: $ac_useropt"
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=no
;;
982 -docdir | --docdir | --docdi | --doc | --do)
984 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
987 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
989 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
992 -enable-* | --enable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=\
$ac_optarg ;;
1008 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010 | --exec | --exe | --ex)
1011 ac_prev
=exec_prefix
;;
1012 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014 | --exec=* | --exe=* | --ex=*)
1015 exec_prefix
=$ac_optarg ;;
1017 -gas | --gas | --ga | --g)
1018 # Obsolete; use --with-gas.
1021 -help | --help | --hel | --he | -h)
1022 ac_init_help
=long
;;
1023 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1024 ac_init_help
=recursive
;;
1025 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1026 ac_init_help
=short
;;
1028 -host | --host | --hos | --ho)
1029 ac_prev
=host_alias
;;
1030 -host=* | --host=* | --hos=* | --ho=*)
1031 host_alias
=$ac_optarg ;;
1033 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1035 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1037 htmldir
=$ac_optarg ;;
1039 -includedir | --includedir | --includedi | --included | --include \
1040 | --includ | --inclu | --incl | --inc)
1041 ac_prev
=includedir
;;
1042 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043 | --includ=* | --inclu=* | --incl=* | --inc=*)
1044 includedir
=$ac_optarg ;;
1046 -infodir | --infodir | --infodi | --infod | --info | --inf)
1048 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049 infodir
=$ac_optarg ;;
1051 -libdir | --libdir | --libdi | --libd)
1053 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054 libdir
=$ac_optarg ;;
1056 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057 | --libexe | --libex | --libe)
1058 ac_prev
=libexecdir
;;
1059 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060 | --libexe=* | --libex=* | --libe=*)
1061 libexecdir
=$ac_optarg ;;
1063 -localedir | --localedir | --localedi | --localed | --locale)
1064 ac_prev
=localedir
;;
1065 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066 localedir
=$ac_optarg ;;
1068 -localstatedir | --localstatedir | --localstatedi | --localstated \
1069 | --localstate | --localstat | --localsta | --localst | --locals)
1070 ac_prev
=localstatedir
;;
1071 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073 localstatedir
=$ac_optarg ;;
1075 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1077 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078 mandir
=$ac_optarg ;;
1080 -nfp | --nfp | --nf)
1081 # Obsolete; use --without-fp.
1084 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085 | --no-cr | --no-c | -n)
1088 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1092 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094 | --oldin | --oldi | --old | --ol | --o)
1095 ac_prev
=oldincludedir
;;
1096 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099 oldincludedir
=$ac_optarg ;;
1101 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1103 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104 prefix
=$ac_optarg ;;
1106 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107 | --program-pre | --program-pr | --program-p)
1108 ac_prev
=program_prefix
;;
1109 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111 program_prefix
=$ac_optarg ;;
1113 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114 | --program-suf | --program-su | --program-s)
1115 ac_prev
=program_suffix
;;
1116 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118 program_suffix
=$ac_optarg ;;
1120 -program-transform-name | --program-transform-name \
1121 | --program-transform-nam | --program-transform-na \
1122 | --program-transform-n | --program-transform- \
1123 | --program-transform | --program-transfor \
1124 | --program-transfo | --program-transf \
1125 | --program-trans | --program-tran \
1126 | --progr-tra | --program-tr | --program-t)
1127 ac_prev
=program_transform_name
;;
1128 -program-transform-name=* | --program-transform-name=* \
1129 | --program-transform-nam=* | --program-transform-na=* \
1130 | --program-transform-n=* | --program-transform-=* \
1131 | --program-transform=* | --program-transfor=* \
1132 | --program-transfo=* | --program-transf=* \
1133 | --program-trans=* | --program-tran=* \
1134 | --progr-tra=* | --program-tr=* | --program-t=*)
1135 program_transform_name
=$ac_optarg ;;
1137 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1139 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140 pdfdir
=$ac_optarg ;;
1142 -psdir | --psdir | --psdi | --psd | --ps)
1144 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148 | -silent | --silent | --silen | --sile | --sil)
1151 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1153 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1155 sbindir
=$ac_optarg ;;
1157 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159 | --sharedst | --shareds | --shared | --share | --shar \
1161 ac_prev
=sharedstatedir
;;
1162 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1166 sharedstatedir
=$ac_optarg ;;
1168 -site | --site | --sit)
1170 -site=* | --site=* | --sit=*)
1173 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1175 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176 srcdir
=$ac_optarg ;;
1178 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179 | --syscon | --sysco | --sysc | --sys | --sy)
1180 ac_prev
=sysconfdir
;;
1181 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183 sysconfdir
=$ac_optarg ;;
1185 -target | --target | --targe | --targ | --tar | --ta | --t)
1186 ac_prev
=target_alias
;;
1187 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188 target_alias
=$ac_optarg ;;
1190 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1193 -version | --version | --versio | --versi | --vers | -V)
1194 ac_init_version
=: ;;
1197 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198 # Reject names that are not valid shell variable names.
1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1200 as_fn_error $?
"invalid package name: $ac_useropt"
1201 ac_useropt_orig
=$ac_useropt
1202 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1207 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208 ac_unrecognized_sep
=', ';;
1210 eval with_
$ac_useropt=\
$ac_optarg ;;
1212 -without-* | --without-*)
1213 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1216 as_fn_error $?
"invalid package name: $ac_useropt"
1217 ac_useropt_orig
=$ac_useropt
1218 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1223 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224 ac_unrecognized_sep
=', ';;
1226 eval with_
$ac_useropt=no
;;
1229 # Obsolete; use --with-x.
1232 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1233 | --x-incl | --x-inc | --x-in | --x-i)
1234 ac_prev
=x_includes
;;
1235 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1236 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1237 x_includes
=$ac_optarg ;;
1239 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1240 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1241 ac_prev
=x_libraries
;;
1242 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1243 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1244 x_libraries
=$ac_optarg ;;
1246 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1247 Try \`$0 --help' for more information"
1251 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1252 # Reject names that are not valid shell variable names.
1253 case $ac_envvar in #(
1254 '' | [0-9]* | *[!_$as_cr_alnum]* )
1255 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1257 eval $ac_envvar=\
$ac_optarg
1258 export $ac_envvar ;;
1261 # FIXME: should be removed in autoconf 3.0.
1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1271 if test -n "$ac_prev"; then
1272 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1273 as_fn_error $?
"missing argument to $ac_option"
1276 if test -n "$ac_unrecognized_opts"; then
1277 case $enable_option_checking in
1279 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1284 # Check all directory arguments for consistency.
1285 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1290 eval ac_val
=\$
$ac_var
1291 # Remove trailing slashes.
1294 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295 eval $ac_var=\
$ac_val;;
1297 # Be sure to have absolute directory names.
1299 [\\/$
]* | ?
:[\\/]* ) continue;;
1300 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1302 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1305 # There might be people who depend on the old broken behavior: `$host'
1306 # used to hold the argument of --host etc.
1307 # FIXME: To remove some day.
1310 target
=$target_alias
1312 # FIXME: To remove some day.
1313 if test "x$host_alias" != x
; then
1314 if test "x$build_alias" = x
; then
1315 cross_compiling
=maybe
1316 elif test "x$build_alias" != "x$host_alias"; then
1322 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1324 test "$silent" = yes && exec 6>/dev
/null
1327 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1328 ac_ls_di
=`ls -di .` &&
1329 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1330 as_fn_error $?
"working directory cannot be determined"
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 as_fn_error $?
"pwd does not report name of working directory"
1335 # Find the source files, if location was not specified.
1336 if test -z "$srcdir"; then
1337 ac_srcdir_defaulted
=yes
1338 # Try the directory containing this script, then the parent directory.
1339 ac_confdir
=`$as_dirname -- "$as_myself" ||
1340 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341 X"$as_myself" : 'X\(//\)[^/]' \| \
1342 X"$as_myself" : 'X\(//\)$' \| \
1343 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1344 $as_echo X"$as_myself" |
1345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1367 ac_srcdir_defaulted
=no
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1370 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1371 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1373 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1377 # When building in place, set srcdir=.
1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 # Remove unnecessary trailing slashes from srcdir.
1382 # Double slashes in file names in object file debugging info
1383 # mess up M-x gdb in Emacs.
1385 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1387 for ac_var
in $ac_precious_vars; do
1388 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1389 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1390 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1391 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1395 # Report the --help message.
1397 if test "$ac_init_help" = "long"; then
1398 # Omit some internal or obsolete options to make the list less imposing.
1399 # This message is too long to be a string in the A/UX 3.1 sh.
1401 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1403 Usage: $0 [OPTION]... [VAR=VALUE]...
1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1406 VAR=VALUE. See below for descriptions of some of the useful variables.
1408 Defaults for the options are specified in brackets.
1411 -h, --help display this help and exit
1412 --help=short display options specific to this package
1413 --help=recursive display the short help of all the included packages
1414 -V, --version display version information and exit
1415 -q, --quiet, --silent do not print \`checking ...' messages
1416 --cache-file=FILE cache test results in FILE [disabled]
1417 -C, --config-cache alias for \`--cache-file=config.cache'
1418 -n, --no-create do not create output files
1419 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1421 Installation directories:
1422 --prefix=PREFIX install architecture-independent files in PREFIX
1423 [$ac_default_prefix]
1424 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1427 By default, \`make install' will install all the files in
1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1430 for instance \`--prefix=\$HOME'.
1432 For better control, use the options below.
1434 Fine tuning of the installation directories:
1435 --bindir=DIR user executables [EPREFIX/bin]
1436 --sbindir=DIR system admin executables [EPREFIX/sbin]
1437 --libexecdir=DIR program executables [EPREFIX/libexec]
1438 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1439 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1440 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1441 --libdir=DIR object code libraries [EPREFIX/lib]
1442 --includedir=DIR C header files [PREFIX/include]
1443 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1444 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1445 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1446 --infodir=DIR info documentation [DATAROOTDIR/info]
1447 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1448 --mandir=DIR man documentation [DATAROOTDIR/man]
1449 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1450 --htmldir=DIR html documentation [DOCDIR]
1451 --dvidir=DIR dvi documentation [DOCDIR]
1452 --pdfdir=DIR pdf documentation [DOCDIR]
1453 --psdir=DIR ps documentation [DOCDIR]
1459 --program-prefix=PREFIX prepend PREFIX to installed program names
1460 --program-suffix=SUFFIX append SUFFIX to installed program names
1461 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1464 --build=BUILD configure
for building on BUILD
[guessed
]
1465 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1469 if test -n "$ac_init_help"; then
1470 case $ac_init_help in
1471 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1476 --disable-option-checking ignore unrecognized
--enable/--with options
1477 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1478 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1479 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1480 --disable-silent-rules verbose build output
(undo
: "make V=0")
1481 --enable-maintainer-mode
1482 enable make rules and dependencies not useful
(and
1483 sometimes confusing
) to the casual installer
1484 --enable-dependency-tracking
1485 do not reject slow dependency extractors
1486 --disable-dependency-tracking
1487 speeds up one
-time build
1488 --enable-static[=PKGS
] build static libraries
[default
=no
]
1489 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1490 --enable-fast-install[=PKGS
]
1491 optimize
for fast installation
[default
=yes]
1492 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1493 --enable-javascript[=ENGINE
]
1494 use a JavaScript runtime
(currently the only
1495 available option
for ENGINE is JavaScriptCore
)
1497 --disable-console disable console
1500 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1501 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1502 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1504 --with-aix-soname=aix
|svr4
|both
1505 shared library versioning
(aka
"SONAME") variant to
1506 provide on AIX
, [default
=aix
].
1507 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1508 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1509 compiler
's sysroot if not specified).
1511 Some influential environment variables:
1512 CC C compiler command
1513 CFLAGS C compiler flags
1514 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1515 nonstandard directory <lib dir>
1516 LIBS libraries to pass to the linker, e.g. -l<library>
1517 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1518 you have headers in a nonstandard directory <include dir>
1519 CXX C++ compiler command
1520 CXXFLAGS C++ compiler flags
1521 OBJCXX Objective C++ compiler command
1522 OBJCXXFLAGS Objective C++ compiler flags
1524 User-defined run-time library search path.
1526 CXXCPP C++ preprocessor
1527 PKG_CONFIG path to pkg-config utility
1529 directories to add to pkg-config's search path
1531 path overriding pkg
-config's built-in search path
1532 BISON GNU Project parser generator (yacc replacement)
1533 FLEX the fast lexical analyser generator
1534 GPERF perfect hash function generator
1535 GNUTAR a very sticky lump of files
1537 C compiler flags for WEBKIT, overriding pkg-config
1538 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1540 prints information about the current gnustep installation
1542 Use these variables to override the choices made by `configure' or to
help
1543 it to
find libraries and programs with nonstandard names
/locations.
1545 Report bugs to
<saurik@saurik.com
>.
1546 Cycript home page
: <http
://www.cycript.org
/>.
1551 if test "$ac_init_help" = "recursive"; then
1552 # If there are subdirs, report their specific --help.
1553 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1554 test -d "$ac_dir" ||
1555 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1560 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1562 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1563 # A ".." for each directory in $ac_dir_suffix.
1564 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1565 case $ac_top_builddir_sub in
1566 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1567 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1570 ac_abs_top_builddir
=$ac_pwd
1571 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1572 # for backward compatibility:
1573 ac_top_builddir
=$ac_top_build_prefix
1576 .
) # We are building in place.
1578 ac_top_srcdir
=$ac_top_builddir_sub
1579 ac_abs_top_srcdir
=$ac_pwd ;;
1580 [\\/]* | ?
:[\\/]* ) # Absolute name.
1581 ac_srcdir
=$srcdir$ac_dir_suffix;
1582 ac_top_srcdir
=$srcdir
1583 ac_abs_top_srcdir
=$srcdir ;;
1585 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1587 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1589 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1591 cd "$ac_dir" || { ac_status
=$?
; continue; }
1592 # Check for guested configure.
1593 if test -f "$ac_srcdir/configure.gnu"; then
1595 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596 elif test -f "$ac_srcdir/configure"; then
1598 $SHELL "$ac_srcdir/configure" --help=recursive
1600 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1602 cd "$ac_pwd" || { ac_status
=$?
; break; }
1606 test -n "$ac_init_help" && exit $ac_status
1607 if $ac_init_version; then
1609 Cycript configure
0.9
1610 generated by GNU Autoconf
2.69
1612 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1613 This configure
script is free software
; the Free Software Foundation
1614 gives unlimited permission to copy
, distribute and modify it.
1616 Copyright
(C
) 2009-2014 Jay Freeman
(saurik
)
1621 ## ------------------------ ##
1622 ## Autoconf initialization. ##
1623 ## ------------------------ ##
1625 # ac_fn_c_try_compile LINENO
1626 # --------------------------
1627 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1628 ac_fn_c_try_compile
()
1630 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1631 rm -f conftest.
$ac_objext
1632 if { { ac_try
="$ac_compile"
1634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1635 *) ac_try_echo=$ac_try;;
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639 (eval "$ac_compile") 2>conftest.err
1641 if test -s conftest.err; then
1642 grep -v '^ *+' conftest.err >conftest.er1
1643 cat conftest.er1 >&5
1644 mv -f conftest.er1 conftest.err
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } && {
1648 test -z "$ac_c_werror_flag" ||
1649 test ! -s conftest.err
1650 } && test -s conftest.$ac_objext; then :
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 as_fn_set_status $ac_retval
1661 } # ac_fn_c_try_compile
1663 # ac_fn_cxx_try_compile LINENO
1664 # ----------------------------
1665 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1666 ac_fn_cxx_try_compile ()
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 rm -f conftest.$ac_objext
1670 if { { ac_try="$ac_compile"
1672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1673 *) ac_try_echo
=$ac_try;;
1675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_compile") 2>conftest.err
1679 if test -s conftest.err
; then
1680 grep -v '^ *+' conftest.err
>conftest.er1
1681 cat conftest.er1
>&5
1682 mv -f conftest.er1 conftest.err
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } && {
1686 test -z "$ac_cxx_werror_flag" ||
1687 test ! -s conftest.err
1688 } && test -s conftest.
$ac_objext; then :
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.
$ac_ext >&5
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 as_fn_set_status
$ac_retval
1699 } # ac_fn_cxx_try_compile
1701 # ac_fn_objcxx_try_compile LINENO
1702 # -------------------------------
1703 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1704 ac_fn_objcxx_try_compile
()
1706 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1707 rm -f conftest.
$ac_objext
1708 if { { ac_try
="$ac_compile"
1710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_compile") 2>conftest.err
1717 if test -s conftest.err; then
1718 grep -v '^ *+' conftest.err >conftest.er1
1719 cat conftest.er1 >&5
1720 mv -f conftest.er1 conftest.err
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } && {
1724 test -z "$ac_objcxx_werror_flag" ||
1725 test ! -s conftest.err
1726 } && test -s conftest.$ac_objext; then :
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1737 } # ac_fn_objcxx_try_compile
1739 # ac_fn_c_try_link LINENO
1740 # -----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded.
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 rm -f conftest.$ac_objext conftest$ac_exeext
1746 if { { ac_try="$ac_link"
1748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>conftest.err
1755 if test -s conftest.err
; then
1756 grep -v '^ *+' conftest.err
>conftest.er1
1757 cat conftest.er1
>&5
1758 mv -f conftest.er1 conftest.err
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } && {
1762 test -z "$ac_c_werror_flag" ||
1763 test ! -s conftest.err
1764 } && test -s conftest
$ac_exeext && {
1765 test "$cross_compiling" = yes ||
1766 test -x conftest
$ac_exeext
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.
$ac_ext >&5
1775 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1776 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1777 # interfere with the next link command; also delete a directory that is
1778 # left behind by Apple's compiler. We do this before executing the actions.
1779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 as_fn_set_status
$ac_retval
1783 } # ac_fn_c_try_link
1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1786 # -------------------------------------------------------
1787 # Tests whether HEADER exists and can be compiled using the include files in
1788 # INCLUDES, setting the cache variable VAR accordingly.
1789 ac_fn_c_check_header_compile
()
1791 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if eval \
${$3+:} false
; then :
1795 $as_echo_n "(cached) " >&6
1797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1802 if ac_fn_c_try_compile
"$LINENO"; then :
1807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 } # ac_fn_c_check_header_compile
1816 # ac_fn_c_try_cpp LINENO
1817 # ----------------------
1818 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1821 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1822 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1831 if test -s conftest.err; then
1832 grep -v '^ *+' conftest.err >conftest.er1
1833 cat conftest.er1 >&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } > conftest.i && {
1838 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1839 test ! -s conftest.err
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status $ac_retval
1853 # ac_fn_c_try_run LINENO
1854 # ----------------------
1855 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1856 # that executables *can* be run.
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1860 if { { ac_try="$ac_link"
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_link") 2>&5
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1871 { { case "(($ac_try" in
1872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_try") 2>&5
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; }; }; then :
1883 $as_echo "$as_me: program exited with status $ac_status" >&5
1884 $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1887 ac_retval=$ac_status
1889 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 as_fn_set_status $ac_retval
1895 # ac_fn_c_check_func LINENO FUNC VAR
1896 # ----------------------------------
1897 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1898 ac_fn_c_check_func ()
1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902 $as_echo_n "checking for $2... " >&6; }
1903 if eval \${$3+:} false; then :
1904 $as_echo_n "(cached) " >&6
1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1908 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1910 #define $2 innocuous_$2
1912 /* System header to define __stub macros and hopefully few prototypes,
1913 which can conflict with char $2 (); below.
1914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1915 <limits.h> exists even on freestanding compilers. */
1918 # include <limits.h>
1920 # include <assert.h>
1925 /* Override any GCC internal prototype to avoid an error.
1926 Use char because int might match the return type of a GCC
1927 builtin and then its argument prototype would still apply. */
1932 /* The GNU C library defines this for functions which it implements
1933 to always fail with ENOSYS. Some functions are actually named
1934 something starting with __ and the normal name is an alias. */
1935 #if defined __stub_$2 || defined __stub___$2
1947 if ac_fn_c_try_link "$LINENO"; then :
1952 rm -f core conftest.err conftest.$ac_objext \
1953 conftest$ac_exeext conftest.$ac_ext
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957 $as_echo "$ac_res" >&6; }
1958 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960 } # ac_fn_c_check_func
1962 # ac_fn_cxx_try_cpp LINENO
1963 # ------------------------
1964 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1965 ac_fn_cxx_try_cpp ()
1967 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968 if { { ac_try="$ac_cpp conftest.$ac_ext"
1970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1971 *) ac_try_echo
=$ac_try;;
1973 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1974 $as_echo "$ac_try_echo"; } >&5
1975 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1977 if test -s conftest.err
; then
1978 grep -v '^ *+' conftest.err
>conftest.er1
1979 cat conftest.er1
>&5
1980 mv -f conftest.er1 conftest.err
1982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983 test $ac_status = 0; } > conftest.i
&& {
1984 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1985 test ! -s conftest.err
1989 $as_echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.
$ac_ext >&5
1994 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995 as_fn_set_status
$ac_retval
1997 } # ac_fn_cxx_try_cpp
1999 # ac_fn_cxx_try_link LINENO
2000 # -------------------------
2001 # Try to link conftest.$ac_ext, and return whether this succeeded.
2002 ac_fn_cxx_try_link
()
2004 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2005 rm -f conftest.
$ac_objext conftest
$ac_exeext
2006 if { { ac_try
="$ac_link"
2008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_link") 2>conftest.err
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } && {
2022 test -z "$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 } && test -s conftest$ac_exeext && {
2025 test "$cross_compiling" = yes ||
2026 test -x conftest$ac_exeext
2030 $as_echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.$ac_ext >&5
2035 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2036 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2037 # interfere with the next link command; also delete a directory that is
2038 # left behind by Apple's compiler. We do this before executing the actions.
2039 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 as_fn_set_status $ac_retval
2043 } # ac_fn_cxx_try_link
2045 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2046 # ---------------------------------------------------------
2047 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2048 # the include files in INCLUDES and setting the cache variable VAR
2050 ac_fn_cxx_check_header_mongrel ()
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 if eval \${$3+:} false; then :
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055 $as_echo_n "checking for $2... " >&6; }
2056 if eval \${$3+:} false; then :
2057 $as_echo_n "(cached) " >&6
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2061 $as_echo "$ac_res" >&6; }
2063 # Is the header compilable?
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2065 $as_echo_n "checking $2 usability... " >&6; }
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2071 if ac_fn_cxx_try_compile "$LINENO"; then :
2072 ac_header_compiler=yes
2074 ac_header_compiler=no
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2078 $as_echo "$ac_header_compiler" >&6; }
2080 # Is the header present?
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2082 $as_echo_n "checking $2 presence... " >&6; }
2083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h. */
2087 if ac_fn_cxx_try_cpp "$LINENO"; then :
2088 ac_header_preproc=yes
2090 ac_header_preproc=no
2092 rm -f conftest.err conftest.i conftest.$ac_ext
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2094 $as_echo "$ac_header_preproc" >&6; }
2096 # So? What about this header?
2097 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2100 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2102 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2106 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2108 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2110 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2112 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2114 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2115 ( $as_echo "## -------------------------------- ##
2116 ## Report this to saurik@saurik.com ##
2117 ## -------------------------------- ##"
2118 ) | sed "s/^/$as_me: WARNING: /" >&2
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \${$3+:} false; then :
2124 $as_echo_n "(cached) " >&6
2126 eval "$3=\$ac_header_compiler"
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134 } # ac_fn_cxx_check_header_mongrel
2136 # ac_fn_objcxx_try_link LINENO
2137 # ----------------------------
2138 # Try to link conftest.$ac_ext, and return whether this succeeded.
2139 ac_fn_objcxx_try_link ()
2141 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2142 rm -f conftest.$ac_objext conftest$ac_exeext
2143 if { { ac_try="$ac_link"
2145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2146 *) ac_try_echo
=$ac_try;;
2148 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2149 $as_echo "$ac_try_echo"; } >&5
2150 (eval "$ac_link") 2>conftest.err
2152 if test -s conftest.err
; then
2153 grep -v '^ *+' conftest.err
>conftest.er1
2154 cat conftest.er1
>&5
2155 mv -f conftest.er1 conftest.err
2157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2158 test $ac_status = 0; } && {
2159 test -z "$ac_objcxx_werror_flag" ||
2160 test ! -s conftest.err
2161 } && test -s conftest
$ac_exeext && {
2162 test "$cross_compiling" = yes ||
2163 test -x conftest
$ac_exeext
2167 $as_echo "$as_me: failed program was:" >&5
2168 sed 's/^/| /' conftest.
$ac_ext >&5
2172 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2173 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2174 # interfere with the next link command; also delete a directory that is
2175 # left behind by Apple's compiler. We do this before executing the actions.
2176 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2178 as_fn_set_status
$ac_retval
2180 } # ac_fn_objcxx_try_link
2181 cat >config.log
<<_ACEOF
2182 This file contains any messages produced by compilers while
2183 running configure, to aid debugging if configure makes a mistake.
2185 It was created by Cycript $as_me 0.9, which was
2186 generated by GNU Autoconf 2.69. Invocation command line was
2198 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2199 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2200 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2201 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2202 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2204 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2205 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2207 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2208 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2209 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2210 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2211 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2212 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2213 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2221 test -z "$as_dir" && as_dir
=.
2222 $as_echo "PATH: $as_dir"
2238 # Keep a trace of the command line.
2239 # Strip out --no-create and --no-recursion so they do not pile up.
2240 # Strip out --silent because we don't want to record it for future runs.
2241 # Also quote any args containing shell meta-characters.
2242 # Make two passes to allow for proper duplicate-argument suppression.
2246 ac_must_keep_next
=false
2252 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2254 | -silent | --silent | --silen | --sile | --sil)
2257 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2260 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2262 as_fn_append ac_configure_args1
" '$ac_arg'"
2263 if test $ac_must_keep_next = true
; then
2264 ac_must_keep_next
=false
# Got value, back to normal.
2267 *=* | --config-cache | -C | -disable-* | --disable-* \
2268 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2269 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2270 | -with-* | --with-* | -without-* | --without-* | --x)
2271 case "$ac_configure_args0 " in
2272 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2275 -* ) ac_must_keep_next
=true
;;
2278 as_fn_append ac_configure_args
" '$ac_arg'"
2283 { ac_configure_args0
=; unset ac_configure_args0
;}
2284 { ac_configure_args1
=; unset ac_configure_args1
;}
2286 # When interrupted or exit'd, cleanup temporary files, and complete
2287 # config.log. We remove comments because anyway the quotes in there
2288 # would cause problems or look ugly.
2289 # WARNING: Use '\'' to represent an apostrophe within the trap.
2290 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2291 trap 'exit_status=$?
2292 # Save into config.log some information that might help in debugging.
2296 $as_echo "## ---------------- ##
2297 ## Cache variables. ##
2298 ## ---------------- ##"
2300 # The following way of writing the cache mishandles newlines in values,
2302 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2303 eval ac_val=\$$ac_var
2307 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2308 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2311 _ | IFS | as_nl) ;; #(
2312 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2313 *) { eval $ac_var=; unset $ac_var;} ;;
2318 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2319 *${as_nl}ac_space=\ *)
2321 "s/'\''/'\''\\\\'\'''\''/g;
2322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2325 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2332 $as_echo "## ----------------- ##
2333 ## Output variables. ##
2334 ## ----------------- ##"
2336 for ac_var in $ac_subst_vars
2338 eval ac_val=\$$ac_var
2340 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2342 $as_echo "$ac_var='\''$ac_val'\''"
2346 if test -n "$ac_subst_files"; then
2347 $as_echo "## ------------------- ##
2348 ## File substitutions. ##
2349 ## ------------------- ##"
2351 for ac_var
in $ac_subst_files
2353 eval ac_val
=\$
$ac_var
2355 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2357 $as_echo "$ac_var='\''$ac_val'\''"
2362 if test -s confdefs.h; then
2363 $as_echo "## ----------- ##
2370 test "$ac_signal" != 0 &&
2371 $as_echo "$as_me: caught signal $ac_signal"
2372 $as_echo "$as_me: exit $exit_status"
2374 rm -f core *.core core.conftest.* &&
2375 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2378 for ac_signal
in 1 2 13 15; do
2379 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2383 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2384 rm -f -r conftest
* confdefs.h
2386 $as_echo "/* confdefs.h */" > confdefs.h
2388 # Predefined preprocessor variables.
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_NAME "$PACKAGE_NAME"
2394 cat >>confdefs.h
<<_ACEOF
2395 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2398 cat >>confdefs.h
<<_ACEOF
2399 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2402 cat >>confdefs.h
<<_ACEOF
2403 #define PACKAGE_STRING "$PACKAGE_STRING"
2406 cat >>confdefs.h
<<_ACEOF
2407 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2410 cat >>confdefs.h
<<_ACEOF
2411 #define PACKAGE_URL "$PACKAGE_URL"
2415 # Let the site file select an alternate cache file if it wants to.
2416 # Prefer an explicitly selected file to automatically selected ones.
2419 if test -n "$CONFIG_SITE"; then
2420 # We do not want a PATH search for config.site.
2421 case $CONFIG_SITE in #((
2422 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2423 */*) ac_site_file1
=$CONFIG_SITE;;
2424 *) ac_site_file1
=.
/$CONFIG_SITE;;
2426 elif test "x$prefix" != xNONE
; then
2427 ac_site_file1
=$prefix/share
/config.site
2428 ac_site_file2
=$prefix/etc
/config.site
2430 ac_site_file1
=$ac_default_prefix/share
/config.site
2431 ac_site_file2
=$ac_default_prefix/etc
/config.site
2433 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2435 test "x$ac_site_file" = xNONE
&& continue
2436 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2438 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2439 sed 's/^/| /' "$ac_site_file" >&5
2441 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2443 as_fn_error $?
"failed to load site script $ac_site_file
2444 See \`config.log' for more details" "$LINENO" 5; }
2448 if test -r "$cache_file"; then
2449 # Some versions of bash will fail to source /dev/null (special files
2450 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2451 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2453 $as_echo "$as_me: loading cache $cache_file" >&6;}
2455 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2456 *) .
"./$cache_file";;
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2461 $as_echo "$as_me: creating cache $cache_file" >&6;}
2465 # Check that the precious variables saved in the cache have kept the same
2467 ac_cache_corrupted
=false
2468 for ac_var
in $ac_precious_vars; do
2469 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2470 eval ac_new_set
=\
$ac_env_${ac_var}_set
2471 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2472 eval ac_new_val
=\
$ac_env_${ac_var}_value
2473 case $ac_old_set,$ac_new_set in
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2476 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2477 ac_cache_corrupted
=: ;;
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2480 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2481 ac_cache_corrupted
=: ;;
2484 if test "x$ac_old_val" != "x$ac_new_val"; then
2485 # differences in whitespace do not lead to failure.
2486 ac_old_val_w
=`echo x $ac_old_val`
2487 ac_new_val_w
=`echo x $ac_new_val`
2488 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2490 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2491 ac_cache_corrupted
=:
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2494 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2495 eval $ac_var=\
$ac_old_val
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2498 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2500 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2503 # Pass precious variables to config.status.
2504 if test "$ac_new_set" = set; then
2506 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2507 *) ac_arg
=$ac_var=$ac_new_val ;;
2509 case " $ac_configure_args " in
2510 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2511 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2515 if $ac_cache_corrupted; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2519 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2520 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2522 ## -------------------- ##
2523 ## Main body of script. ##
2524 ## -------------------- ##
2527 ac_cpp
='$CPP $CPPFLAGS'
2528 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2537 for ac_dir
in .
"$srcdir"/.
; do
2538 if test -f "$ac_dir/install-sh"; then
2540 ac_install_sh
="$ac_aux_dir/install-sh -c"
2542 elif test -f "$ac_dir/install.sh"; then
2544 ac_install_sh
="$ac_aux_dir/install.sh -c"
2546 elif test -f "$ac_dir/shtool"; then
2548 ac_install_sh
="$ac_aux_dir/shtool install -c"
2552 if test -z "$ac_aux_dir"; then
2553 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2556 # These three variables are undocumented and unsupported,
2557 # and are intended to be withdrawn in a future Autoconf release.
2558 # They can cause serious problems if a builder's source tree is in a directory
2559 # whose full name contains unusual characters.
2560 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2561 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2562 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2566 ac_config_headers
="$ac_config_headers config.h"
2569 am__api_version
='1.14'
2571 # Find a good install program. We prefer a C program (faster),
2572 # so one script is as good as another. But avoid the broken or
2573 # incompatible versions:
2574 # SysV /etc/install, /usr/sbin/install
2575 # SunOS /usr/etc/install
2576 # IRIX /sbin/install
2578 # AmigaOS /C/install, which installs bootblocks on floppy discs
2579 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2580 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2581 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2582 # OS/2's system install, which has a completely different semantic
2583 # ./install, which can be erroneously created by make from ./install.sh.
2584 # Reject install programs that cannot install multiple files.
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2586 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2587 if test -z "$INSTALL"; then
2588 if ${ac_cv_path_install+:} false
; then :
2589 $as_echo_n "(cached) " >&6
2591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir
=.
2596 # Account for people who put trailing slashes in PATH elements.
2597 case $as_dir/ in #((
2598 .
/ | .
// | /[cC
]/* | \
2599 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2600 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2603 # OSF1 and SCO ODT 3.0 have their own names for install.
2604 # Don't use installbsd from OSF since it installs stuff as root
2606 for ac_prog
in ginstall scoinst
install; do
2607 for ac_exec_ext
in '' $ac_executable_extensions; do
2608 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2609 if test $ac_prog = install &&
2610 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2611 # AIX install. It has an incompatible calling convention.
2613 elif test $ac_prog = install &&
2614 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2615 # program-specific install script used by HP pwplus--don't use.
2618 rm -rf conftest.one conftest.two conftest.dir
2619 echo one
> conftest.one
2620 echo two
> conftest.two
2622 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2623 test -s conftest.one
&& test -s conftest.two
&&
2624 test -s conftest.dir
/conftest.one
&&
2625 test -s conftest.dir
/conftest.two
2627 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2640 rm -rf conftest.one conftest.two conftest.dir
2643 if test "${ac_cv_path_install+set}" = set; then
2644 INSTALL
=$ac_cv_path_install
2646 # As a last resort, use the slow shell script. Don't cache a
2647 # value for INSTALL within a source directory, because that will
2648 # break other packages using the cache if that directory is
2649 # removed, or if the value is a relative name.
2650 INSTALL
=$ac_install_sh
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2654 $as_echo "$INSTALL" >&6; }
2656 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2657 # It thinks the first close brace ends the variable substitution.
2658 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2660 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2662 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2665 $as_echo_n "checking whether build environment is sane... " >&6; }
2666 # Reject unsafe characters in $srcdir or the absolute working directory
2667 # name. Accept space and tab only in the latter.
2671 *[\\\"\#\$\&\'\`$am_lf]*)
2672 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2675 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2676 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2679 # Do 'set' in a subshell so we don't clobber the current shell's
2680 # arguments. Must try -L first in case configure is actually a
2681 # symlink; some systems play weird games with the mod time of symlinks
2682 # (eg FreeBSD returns the mod time of the symlink's containing
2686 for am_try
in 1 2; do
2687 echo "timestamp, slept: $am_has_slept" > conftest.
file
2688 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2689 if test "$*" = "X"; then
2691 set X
`ls -t "$srcdir/configure" conftest.file`
2693 if test "$*" != "X $srcdir/configure conftest.file" \
2694 && test "$*" != "X conftest.file $srcdir/configure"; then
2696 # If neither matched, then we have a broken ls. This can happen
2697 # if, for instance, CONFIG_SHELL is bash and it inherits a
2698 # broken ls alias from the environment. This has actually
2699 # happened. Such a system could not be considered "sane".
2700 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2701 alias in your environment" "$LINENO" 5
2703 if test "$2" = conftest.
file || test $am_try -eq 2; then
2710 test "$2" = conftest.
file
2716 as_fn_error $?
"newly created file is older than distributed files!
2717 Check your system clock" "$LINENO" 5
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2720 $as_echo "yes" >&6; }
2721 # If we didn't sleep, we still need to ensure time stamps of config.status and
2722 # generated files are strictly newer.
2724 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2731 test "$program_prefix" != NONE
&&
2732 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2733 # Use a double $ so make ignores it.
2734 test "$program_suffix" != NONE
&&
2735 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2736 # Double any \ or $.
2737 # By default was `s,x,x', remove it if useless.
2738 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2739 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2741 # expand $ac_aux_dir to an absolute path
2742 am_aux_dir
=`cd $ac_aux_dir && pwd`
2744 if test x
"${MISSING+set}" != xset
; then
2747 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2749 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2752 # Use eval to expand $SHELL
2753 if eval "$MISSING --is-lightweight"; then
2754 am_missing_run
="$MISSING "
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2758 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2761 if test x
"${install_sh}" != xset
; then
2764 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2766 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2770 # Installed binaries are usually stripped using 'strip' when the user
2771 # run "make install-strip". However 'strip' might not be the right
2772 # tool to use in cross-compilation environments, therefore Automake
2773 # will honor the 'STRIP' environment variable to overrule this program.
2774 if test "$cross_compiling" != no
; then
2775 if test -n "$ac_tool_prefix"; then
2776 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2777 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if ${ac_cv_prog_STRIP+:} false
; then :
2781 $as_echo_n "(cached) " >&6
2783 if test -n "$STRIP"; then
2784 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir
=.
2791 for ac_exec_ext
in '' $ac_executable_extensions; do
2792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2793 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 STRIP
=$ac_cv_prog_STRIP
2804 if test -n "$STRIP"; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2806 $as_echo "$STRIP" >&6; }
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2814 if test -z "$ac_cv_prog_STRIP"; then
2816 # Extract the first word of "strip", so it can be a program name with args.
2817 set dummy strip
; ac_word
=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2821 $as_echo_n "(cached) " >&6
2823 if test -n "$ac_ct_STRIP"; then
2824 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2833 ac_cv_prog_ac_ct_STRIP
="strip"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2844 if test -n "$ac_ct_STRIP"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2846 $as_echo "$ac_ct_STRIP" >&6; }
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2852 if test "x$ac_ct_STRIP" = x
; then
2855 case $cross_compiling:$ac_tool_warned in
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2859 ac_tool_warned
=yes ;;
2864 STRIP
="$ac_cv_prog_STRIP"
2868 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2871 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2872 if test -z "$MKDIR_P"; then
2873 if ${ac_cv_path_mkdir+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2877 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2880 test -z "$as_dir" && as_dir
=.
2881 for ac_prog
in mkdir gmkdir
; do
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2884 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2885 'mkdir (GNU coreutils) '* | \
2886 'mkdir (coreutils) '* | \
2887 'mkdir (fileutils) '4.1*)
2888 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2898 test -d .
/--version && rmdir .
/--version
2899 if test "${ac_cv_path_mkdir+set}" = set; then
2900 MKDIR_P
="$ac_cv_path_mkdir -p"
2902 # As a last resort, use the slow shell script. Don't cache a
2903 # value for MKDIR_P within a source directory, because that will
2904 # break other packages using the cache if that directory is
2905 # removed, or if the value is a relative name.
2906 MKDIR_P
="$ac_install_sh -d"
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2910 $as_echo "$MKDIR_P" >&6; }
2912 for ac_prog
in gawk mawk nawk
awk
2914 # Extract the first word of "$ac_prog", so it can be a program name with args.
2915 set dummy
$ac_prog; ac_word
=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if ${ac_cv_prog_AWK+:} false
; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$AWK"; then
2922 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir
=.
2929 for ac_exec_ext
in '' $ac_executable_extensions; do
2930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2931 ac_cv_prog_AWK
="$ac_prog"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 if test -n "$AWK"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2944 $as_echo "$AWK" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2951 test -n "$AWK" && break
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2955 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2957 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2958 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2959 $as_echo_n "(cached) " >&6
2961 cat >conftest.
make <<\_ACEOF
2964 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2966 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2967 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2969 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2971 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2975 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2977 $as_echo "yes" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2982 SET_MAKE
="MAKE=${MAKE-make}"
2985 rm -rf .tst
2>/dev
/null
2986 mkdir .tst
2>/dev
/null
2987 if test -d .tst
; then
2992 rmdir .tst
2>/dev
/null
2994 # Check whether --enable-silent-rules was given.
2995 if test "${enable_silent_rules+set}" = set; then :
2996 enableval
=$enable_silent_rules;
2999 case $enable_silent_rules in # (((
3000 yes) AM_DEFAULT_VERBOSITY
=0;;
3001 no
) AM_DEFAULT_VERBOSITY
=1;;
3002 *) AM_DEFAULT_VERBOSITY
=1;;
3004 am_make
=${MAKE-make}
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3006 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3007 if ${am_cv_make_support_nested_variables+:} false
; then :
3008 $as_echo_n "(cached) " >&6
3010 if $as_echo 'TRUE=$(BAR$(V))
3016 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3017 am_cv_make_support_nested_variables
=yes
3019 am_cv_make_support_nested_variables
=no
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3023 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3024 if test $am_cv_make_support_nested_variables = yes; then
3026 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3028 AM_V
=$AM_DEFAULT_VERBOSITY
3029 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3033 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3034 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3035 # is not polluted with repeated "-I."
3036 am__isrc
=' -I$(srcdir)'
3037 # test to see if srcdir already configured
3038 if test -f $srcdir/config.status
; then
3039 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3043 # test whether we have cygpath
3044 if test -z "$CYGPATH_W"; then
3045 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3046 CYGPATH_W
='cygpath -w'
3053 # Define the identity of the package.
3058 cat >>confdefs.h
<<_ACEOF
3059 #define PACKAGE "$PACKAGE"
3063 cat >>confdefs.h
<<_ACEOF
3064 #define VERSION "$VERSION"
3067 # Some tools Automake needs.
3069 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3072 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3075 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3078 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3081 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3083 # For better backward compatibility. To be removed once Automake 1.9.x
3084 # dies out for good. For more background, see:
3085 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3086 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3087 mkdir_p
='$(MKDIR_P)'
3089 # We need awk for the "check" target. The system "awk" is bad on
3091 # Always define AMTAR for backward compatibility. Yes, it's still used
3092 # in the wild :-( We should find a proper way to deprecate it ...
3096 # We'll loop over all known methods to create a tar archive until one works.
3097 _am_tools
='gnutar pax cpio none'
3099 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3106 # POSIX will say in a future version that running "rm -f" with no argument
3107 # is OK; and we want to be able to make that assumption in our Makefile
3108 # recipes. So use an aggressive probe to check that the usage we want is
3109 # actually supported "in the wild" to an acceptable degree.
3110 # See automake bug#10828.
3111 # To make any issue more visible, cause the running configure to be aborted
3112 # by default if the 'rm' program in use doesn't match our expectations; the
3113 # user can still override this though.
3114 if rm -f && rm -fr && rm -rf; then : OK
; else
3118 Your 'rm' program seems unable to run without file operands specified
3119 on the command line, even when the '-f' option is present. This is contrary
3120 to the behaviour of most rm programs out there, and not conforming with
3121 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3123 Please tell bug-automake@gnu.org about your system, including the value
3124 of your $PATH and any error possibly output before this message. This
3125 can help us improve future automake versions.
3128 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3129 echo 'Configuration will proceed anyway, since you have set the' >&2
3130 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3134 Aborting the configuration process, to ensure you take notice of the issue.
3136 You can download and install GNU coreutils to get an 'rm' implementation
3137 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3139 If you want to complete the configuration process using your problematic
3140 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3141 to "yes", and re-run configure.
3144 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3149 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3150 # Check whether --enable-maintainer-mode was given.
3151 if test "${enable_maintainer_mode+set}" = set; then :
3152 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3154 USE_MAINTAINER_MODE
=no
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3158 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3159 if test $USE_MAINTAINER_MODE = yes; then
3160 MAINTAINER_MODE_TRUE
=
3161 MAINTAINER_MODE_FALSE
='#'
3163 MAINTAINER_MODE_TRUE
='#'
3164 MAINTAINER_MODE_FALSE
=
3167 MAINT
=$MAINTAINER_MODE_TRUE
3172 ac_cpp
='$CPP $CPPFLAGS'
3173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3176 if test -n "$ac_tool_prefix"; then
3177 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3178 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if ${ac_cv_prog_CC+:} false
; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$CC"; then
3185 ac_cv_prog_CC
="$CC" # Let the user override the test.
3187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir
=.
3192 for ac_exec_ext
in '' $ac_executable_extensions; do
3193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3194 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205 if test -n "$CC"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3207 $as_echo "$CC" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3215 if test -z "$ac_cv_prog_CC"; then
3217 # Extract the first word of "gcc", so it can be a program name with args.
3218 set dummy gcc
; ac_word
=$2
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3220 $as_echo_n "checking for $ac_word... " >&6; }
3221 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3222 $as_echo_n "(cached) " >&6
3224 if test -n "$ac_ct_CC"; then
3225 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3231 test -z "$as_dir" && as_dir
=.
3232 for ac_exec_ext
in '' $ac_executable_extensions; do
3233 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3234 ac_cv_prog_ac_ct_CC
="gcc"
3235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3245 if test -n "$ac_ct_CC"; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3247 $as_echo "$ac_ct_CC" >&6; }
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250 $as_echo "no" >&6; }
3253 if test "x$ac_ct_CC" = x
; then
3256 case $cross_compiling:$ac_tool_warned in
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3260 ac_tool_warned
=yes ;;
3268 if test -z "$CC"; then
3269 if test -n "$ac_tool_prefix"; then
3270 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3271 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if ${ac_cv_prog_CC+:} false
; then :
3275 $as_echo_n "(cached) " >&6
3277 if test -n "$CC"; then
3278 ac_cv_prog_CC
="$CC" # Let the user override the test.
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3287 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 if test -n "$CC"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3300 $as_echo "$CC" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3309 if test -z "$CC"; then
3310 # Extract the first word of "cc", so it can be a program name with args.
3311 set dummy cc
; ac_word
=$2
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313 $as_echo_n "checking for $ac_word... " >&6; }
3314 if ${ac_cv_prog_CC+:} false
; then :
3315 $as_echo_n "(cached) " >&6
3317 if test -n "$CC"; then
3318 ac_cv_prog_CC
="$CC" # Let the user override the test.
3321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3325 test -z "$as_dir" && as_dir
=.
3326 for ac_exec_ext
in '' $ac_executable_extensions; do
3327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3328 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3329 ac_prog_rejected
=yes
3333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 if test $ac_prog_rejected = yes; then
3341 # We found a bogon in the path, so make sure we never use it.
3342 set dummy
$ac_cv_prog_CC
3344 if test $# != 0; then
3345 # We chose a different compiler from the bogus one.
3346 # However, it has the same basename, so the bogon will be chosen
3347 # first if we set CC to just the basename; use the full file name.
3349 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3355 if test -n "$CC"; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3357 $as_echo "$CC" >&6; }
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360 $as_echo "no" >&6; }
3365 if test -z "$CC"; then
3366 if test -n "$ac_tool_prefix"; then
3367 for ac_prog
in cl.exe
3369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3370 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372 $as_echo_n "checking for $ac_word... " >&6; }
3373 if ${ac_cv_prog_CC+:} false
; then :
3374 $as_echo_n "(cached) " >&6
3376 if test -n "$CC"; then
3377 ac_cv_prog_CC
="$CC" # Let the user override the test.
3379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir
=.
3384 for ac_exec_ext
in '' $ac_executable_extensions; do
3385 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3386 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 if test -n "$CC"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3399 $as_echo "$CC" >&6; }
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402 $as_echo "no" >&6; }
3406 test -n "$CC" && break
3409 if test -z "$CC"; then
3411 for ac_prog
in cl.exe
3413 # Extract the first word of "$ac_prog", so it can be a program name with args.
3414 set dummy
$ac_prog; ac_word
=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3418 $as_echo_n "(cached) " >&6
3420 if test -n "$ac_ct_CC"; then
3421 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3427 test -z "$as_dir" && as_dir
=.
3428 for ac_exec_ext
in '' $ac_executable_extensions; do
3429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3430 ac_cv_prog_ac_ct_CC
="$ac_prog"
3431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3440 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3441 if test -n "$ac_ct_CC"; then
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3443 $as_echo "$ac_ct_CC" >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 $as_echo "no" >&6; }
3450 test -n "$ac_ct_CC" && break
3453 if test "x$ac_ct_CC" = x
; then
3456 case $cross_compiling:$ac_tool_warned in
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3460 ac_tool_warned
=yes ;;
3469 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3471 as_fn_error $?
"no acceptable C compiler found in \$PATH
3472 See \`config.log' for more details" "$LINENO" 5; }
3474 # Provide some information about the compiler.
3475 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3478 for ac_option
in --version -v -V -qversion; do
3479 { { ac_try
="$ac_compiler $ac_option >&5"
3481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3482 *) ac_try_echo=$ac_try;;
3484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3485 $as_echo "$ac_try_echo"; } >&5
3486 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3488 if test -s conftest.err; then
3490 ... rest of stderr output deleted ...
3491 10q' conftest.err >conftest.er1
3492 cat conftest.er1 >&5
3494 rm -f conftest.er1 conftest.err
3495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3496 test $ac_status = 0; }
3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3510 ac_clean_files_save=$ac_clean_files
3511 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3512 # Try to create an executable without -o first, disregard a.out.
3513 # It will help us diagnose broken compilers, and finding out an intuition
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3516 $as_echo_n "checking whether the C compiler works... " >&6; }
3517 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3519 # The possible output files:
3520 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3523 for ac_file in $ac_files
3526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3527 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3532 if { { ac_try="$ac_link_default"
3534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3535 *) ac_try_echo
=$ac_try;;
3537 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3538 $as_echo "$ac_try_echo"; } >&5
3539 (eval "$ac_link_default") 2>&5
3541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3542 test $ac_status = 0; }; then :
3543 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3544 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3545 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3546 # so that the user can short-circuit this test for compilers unknown to
3548 for ac_file
in $ac_files ''
3550 test -f "$ac_file" || continue
3552 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3555 # We found the default executable, but exeext='' is most
3559 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3561 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3563 # We set ac_cv_exeext here because the later test for it is not
3564 # safe: cross compilers may not add the suffix if given an `-o'
3565 # argument, so we may need to know it at that point already.
3566 # Even if this section looks crufty: it has the advantage of
3573 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3578 if test -z "$ac_file"; then :
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3581 $as_echo "$as_me: failed program was:" >&5
3582 sed 's/^/| /' conftest.
$ac_ext >&5
3584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3586 as_fn_error
77 "C compiler cannot create executables
3587 See \`config.log' for more details" "$LINENO" 5; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3590 $as_echo "yes" >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3593 $as_echo_n "checking for C compiler default output file name... " >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3595 $as_echo "$ac_file" >&6; }
3596 ac_exeext
=$ac_cv_exeext
3598 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3599 ac_clean_files
=$ac_clean_files_save
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3601 $as_echo_n "checking for suffix of executables... " >&6; }
3602 if { { ac_try
="$ac_link"
3604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3605 *) ac_try_echo=$ac_try;;
3607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3608 $as_echo "$ac_try_echo"; } >&5
3609 (eval "$ac_link") 2>&5
3611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3612 test $ac_status = 0; }; then :
3613 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3614 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3615 # work properly (i.e., refer to `conftest.exe'), while it won't with
3617 for ac_file
in conftest.exe conftest conftest.
*; do
3618 test -f "$ac_file" || continue
3620 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3621 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3630 See \`config.log' for more details" "$LINENO" 5; }
3632 rm -f conftest conftest
$ac_cv_exeext
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3634 $as_echo "$ac_cv_exeext" >&6; }
3636 rm -f conftest.
$ac_ext
3637 EXEEXT
=$ac_cv_exeext
3639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3645 FILE *f = fopen ("conftest.out", "w");
3646 return ferror (f) || fclose (f) != 0;
3652 ac_clean_files
="$ac_clean_files conftest.out"
3653 # Check that the compiler produces executables we can run. If not, either
3654 # the compiler is broken, or we cross compile.
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3656 $as_echo_n "checking whether we are cross compiling... " >&6; }
3657 if test "$cross_compiling" != yes; then
3658 { { ac_try
="$ac_link"
3660 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3664 $as_echo "$ac_try_echo"; } >&5
3665 (eval "$ac_link") 2>&5
3667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668 test $ac_status = 0; }
3669 if { ac_try='./conftest$ac_cv_exeext'
3670 { { case "(($ac_try" in
3671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3672 *) ac_try_echo
=$ac_try;;
3674 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3675 $as_echo "$ac_try_echo"; } >&5
3676 (eval "$ac_try") 2>&5
3678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3679 test $ac_status = 0; }; }; then
3682 if test "$cross_compiling" = maybe
; then
3685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3687 as_fn_error $?
"cannot run C compiled programs.
3688 If you meant to cross compile, use \`--host'.
3689 See \`config.log' for more details" "$LINENO" 5; }
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3694 $as_echo "$cross_compiling" >&6; }
3696 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3697 ac_clean_files
=$ac_clean_files_save
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3699 $as_echo_n "checking for suffix of object files... " >&6; }
3700 if ${ac_cv_objext+:} false
; then :
3701 $as_echo_n "(cached) " >&6
3703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3704 /* end confdefs.h. */
3714 rm -f conftest.o conftest.obj
3715 if { { ac_try
="$ac_compile"
3717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3721 $as_echo "$ac_try_echo"; } >&5
3722 (eval "$ac_compile") 2>&5
3724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3725 test $ac_status = 0; }; then :
3726 for ac_file in conftest.o conftest.obj conftest.*; do
3727 test -f "$ac_file" || continue;
3729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3730 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3735 $as_echo "$as_me: failed program was:" >&5
3736 sed 's/^/| /' conftest.$ac_ext >&5
3738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3740 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3741 See \
`config.log' for more details" "$LINENO" 5; }
3743 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3746 $as_echo "$ac_cv_objext" >&6; }
3747 OBJEXT=$ac_cv_objext
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3750 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3751 if ${ac_cv_c_compiler_gnu+:} false; then :
3752 $as_echo_n "(cached) " >&6
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3768 if ac_fn_c_try_compile "$LINENO"; then :
3773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3774 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3778 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3779 if test $ac_compiler_gnu = yes; then
3784 ac_test_CFLAGS=${CFLAGS+set}
3785 ac_save_CFLAGS=$CFLAGS
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3787 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3788 if ${ac_cv_prog_cc_g+:} false; then :
3789 $as_echo_n "(cached) " >&6
3791 ac_save_c_werror_flag=$ac_c_werror_flag
3792 ac_c_werror_flag=yes
3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h. */
3806 if ac_fn_c_try_compile "$LINENO"; then :
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3821 if ac_fn_c_try_compile "$LINENO"; then :
3824 ac_c_werror_flag=$ac_save_c_werror_flag
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3837 if ac_fn_c_try_compile "$LINENO"; then :
3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845 ac_c_werror_flag=$ac_save_c_werror_flag
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3848 $as_echo "$ac_cv_prog_cc_g" >&6; }
3849 if test "$ac_test_CFLAGS" = set; then
3850 CFLAGS=$ac_save_CFLAGS
3851 elif test $ac_cv_prog_cc_g = yes; then
3852 if test "$GCC" = yes; then
3858 if test "$GCC" = yes; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3865 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3866 if ${ac_cv_prog_cc_c89+:} false; then :
3867 $as_echo_n "(cached) " >&6
3869 ac_cv_prog_cc_c89=no
3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 /* end confdefs.h. */
3876 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3877 struct buf { int x; };
3878 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3879 static char *e (p, i)
3885 static char *f (char * (*g) (char **, int), char **p, ...)
3890 s = g (p, va_arg (v,int));
3895 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3896 function prototypes and stuff, but not '\xHH' hex character constants.
3897 These don't provoke an error unfortunately, instead are silently treated
3898 as 'x'. The following induces an error, until -std is added to get
3899 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3900 array size at least. It's necessary to write '\x00'==0 to get something
3901 that's true only with -std. */
3902 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3904 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3905 inside strings and character constants. */
3907 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3909 int test (int i, double x);
3910 struct s1 {int (*f) (int a);};
3911 struct s2 {int (*f) (double a);};
3912 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3918 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3923 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3924 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3926 CC="$ac_save_CC $ac_arg"
3927 if ac_fn_c_try_compile "$LINENO"; then :
3928 ac_cv_prog_cc_c89=$ac_arg
3930 rm -f core conftest.err conftest.$ac_objext
3931 test "x$ac_cv_prog_cc_c89" != "xno" && break
3933 rm -f conftest.$ac_ext
3938 case "x$ac_cv_prog_cc_c89" in
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3941 $as_echo "none needed" >&6; } ;;
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3944 $as_echo "unsupported" >&6; } ;;
3946 CC="$CC $ac_cv_prog_cc_c89"
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3948 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3950 if test "x$ac_cv_prog_cc_c89" != xno; then :
3955 ac_cpp='$CPP $CPPFLAGS'
3956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961 ac_cpp='$CPP $CPPFLAGS'
3962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3966 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3967 if ${am_cv_prog_cc_c_o+:} false; then :
3968 $as_echo_n "(cached) " >&6
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3981 # Make sure it works both with $CC and with simple cc.
3982 # Following AC_PROG_CC_C_O, we do the test twice because some
3983 # compilers refuse to overwrite an existing .o file with -o,
3984 # though they will create one.
3985 am_cv_prog_cc_c_o=yes
3987 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3988 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } \
3992 && test -f conftest2.$ac_objext; then
3995 am_cv_prog_cc_c_o=no
3999 rm -f core conftest*
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4003 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4004 if test "$am_cv_prog_cc_c_o" != yes; then
4005 # Losing compiler, so override with the script.
4006 # FIXME: It is wrong to rewrite CC.
4007 # But if we don't then we get into trouble of one sort or another.
4008 # A longer-term fix would be to have automake use am__CC in this case,
4009 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4010 CC="$am_aux_dir/compile $CC"
4013 ac_cpp='$CPP $CPPFLAGS'
4014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018 DEPDIR="${am__leading_dot}deps"
4020 ac_config_commands="$ac_config_commands depfiles"
4023 am_make=${MAKE-make}
4024 cat > confinc << 'END'
4026 @echo this is the am__doit target
4029 # If we don't find an include directive, just comment out the code.
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4031 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4035 # First try GNU make style include.
4036 echo "include confinc" > confmf
4037 # Ignore all kinds of additional output from 'make'.
4038 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4039 *the\ am__doit\ target*)
4045 # Now try BSD make style include.
4046 if test "$am__include" = "#"; then
4047 echo '.include "confinc"' > confmf
4048 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4049 *the\ am__doit\ target*)
4050 am__include=.include
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4059 $as_echo "$_am_result" >&6; }
4060 rm -f confinc confmf
4062 # Check whether --enable-dependency-tracking was given.
4063 if test "${enable_dependency_tracking+set}" = set; then :
4064 enableval=$enable_dependency_tracking;
4067 if test "x$enable_dependency_tracking" != xno; then
4068 am_depcomp="$ac_aux_dir/depcomp"
4072 if test "x$enable_dependency_tracking" != xno; then
4082 depcc="$CC" am_compiler_list=
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4085 $as_echo_n "checking dependency style of $depcc... " >&6; }
4086 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4087 $as_echo_n "(cached) " >&6
4089 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4090 # We make a subdir and do the tests there. Otherwise we can end up
4091 # making bogus files that we don't know about and never remove. For
4092 # instance it was reported that on HP-UX the gcc test will end up
4093 # making a dummy file named 'D' -- because '-MD' means "put the output
4097 # Copy depcomp to subdir because otherwise we won't find it if we're
4098 # using a relative directory.
4099 cp "$am_depcomp" conftest.dir
4101 # We will build objects and dependencies in a subdirectory because
4102 # it helps to detect inapplicable dependency modes. For instance
4103 # both Tru64's cc and ICC support -MD to output dependencies as a
4104 # side effect of compilation, but ICC will put the dependencies in
4105 # the current directory while Tru64 will put them in the object
4109 am_cv_CC_dependencies_compiler_type=none
4110 if test "$am_compiler_list" = ""; then
4111 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4114 case " $depcc " in #(
4115 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4118 for depmode in $am_compiler_list; do
4119 # Setup a source with many dependencies, because some compilers
4120 # like to wrap large dependency lists on column 80 (with \), and
4121 # we should not choose a depcomp mode which is confused by this.
4123 # We need to recreate these files for each test, as the compiler may
4124 # overwrite some of them when testing with obscure command lines.
4125 # This happens at least with the AIX C compiler.
4127 for i in 1 2 3 4 5 6; do
4128 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4129 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4130 # Solaris 10 /bin/sh.
4131 echo '/* dummy */' > sub/conftst$i.h
4133 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4135 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4136 # mode. It turns out that the SunPro C++ compiler does not properly
4137 # handle '-M -o', and we need to detect this. Also, some Intel
4138 # versions had trouble with output in subdirs.
4139 am__obj=sub/conftest.${OBJEXT-o}
4140 am__minus_obj="-o $am__obj"
4143 # This depmode causes a compiler race in universal mode.
4144 test "$am__universal" = false || continue
4147 # After this tag, mechanisms are not by side-effect, so they'll
4148 # only be used when explicitly requested.
4149 if test "x$enable_dependency_tracking" = xyes; then
4155 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4156 # This compiler won't grok '-c -o', but also, the minuso test has
4157 # not run yet. These depmodes are late enough in the game, and
4158 # so weak that their functioning should not be impacted.
4159 am__obj=conftest.${OBJEXT-o}
4164 if depmode=$depmode \
4165 source=sub/conftest.c object=$am__obj \
4166 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4167 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4168 >/dev/null 2>conftest.err &&
4169 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4170 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4171 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4172 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4173 # icc doesn't choke on unknown options, it will just issue warnings
4174 # or remarks (even with -Werror). So we grep stderr for any message
4175 # that says an option was ignored or not supported.
4176 # When given -MP, icc 7.0 and 7.1 complain thusly:
4177 # icc: Command line warning: ignoring option '-M'; no argument required
4178 # The diagnosis changed in icc 8.0:
4179 # icc: Command line remark: option '-MP' not supported
4180 if (grep 'ignoring option' conftest.err ||
4181 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4182 am_cv_CC_dependencies_compiler_type=$depmode
4191 am_cv_CC_dependencies_compiler_type=none
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4196 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4197 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4200 test "x$enable_dependency_tracking" != xno \
4201 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4203 am__fastdepCC_FALSE='#'
4205 am__fastdepCC_TRUE='#'
4206 am__fastdepCC_FALSE=
4211 ac_cpp='$CXXCPP $CPPFLAGS'
4212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4215 if test -z "$CXX"; then
4216 if test -n "$CCC"; then
4219 if test -n "$ac_tool_prefix"; then
4220 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4223 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 $as_echo_n "checking for $ac_word... " >&6; }
4226 if ${ac_cv_prog_CXX+:} false; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -n "$CXX"; then
4230 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 test -z "$as_dir" && as_dir=.
4237 for ac_exec_ext in '' $ac_executable_extensions; do
4238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4239 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 if test -n "$CXX"; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4252 $as_echo "$CXX" >&6; }
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4259 test -n "$CXX" && break
4262 if test -z "$CXX"; then
4264 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4266 # Extract the first word of "$ac_prog", so it can be a program name with args.
4267 set dummy $ac_prog; ac_word=$2
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4269 $as_echo_n "checking for $ac_word... " >&6; }
4270 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4271 $as_echo_n "(cached) " >&6
4273 if test -n "$ac_ct_CXX"; then
4274 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 test -z "$as_dir" && as_dir=.
4281 for ac_exec_ext in '' $ac_executable_extensions; do
4282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_ac_ct_CXX="$ac_prog"
4284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4294 if test -n "$ac_ct_CXX"; then
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4296 $as_echo "$ac_ct_CXX" >&6; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4299 $as_echo "no" >&6; }
4303 test -n "$ac_ct_CXX" && break
4306 if test "x$ac_ct_CXX" = x; then
4309 case $cross_compiling:$ac_tool_warned in
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4313 ac_tool_warned=yes ;;
4321 # Provide some information about the compiler.
4322 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4325 for ac_option in --version -v -V -qversion; do
4326 { { ac_try="$ac_compiler $ac_option >&5"
4328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4329 *) ac_try_echo
=$ac_try;;
4331 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4332 $as_echo "$ac_try_echo"; } >&5
4333 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4335 if test -s conftest.err
; then
4337 ... rest of stderr output deleted ...
4338 10q' conftest.err
>conftest.er1
4339 cat conftest.er1
>&5
4341 rm -f conftest.er1 conftest.err
4342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4343 test $ac_status = 0; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4347 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4348 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4349 $as_echo_n "(cached) " >&6
4351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4365 if ac_fn_cxx_try_compile
"$LINENO"; then :
4370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4371 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4375 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4376 if test $ac_compiler_gnu = yes; then
4381 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4382 ac_save_CXXFLAGS
=$CXXFLAGS
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4384 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4385 if ${ac_cv_prog_cxx_g+:} false
; then :
4386 $as_echo_n "(cached) " >&6
4388 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4389 ac_cxx_werror_flag
=yes
4392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4403 if ac_fn_cxx_try_compile
"$LINENO"; then :
4404 ac_cv_prog_cxx_g
=yes
4407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4418 if ac_fn_cxx_try_compile
"$LINENO"; then :
4421 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4434 if ac_fn_cxx_try_compile
"$LINENO"; then :
4435 ac_cv_prog_cxx_g
=yes
4437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4442 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4445 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4446 if test "$ac_test_CXXFLAGS" = set; then
4447 CXXFLAGS
=$ac_save_CXXFLAGS
4448 elif test $ac_cv_prog_cxx_g = yes; then
4449 if test "$GXX" = yes; then
4455 if test "$GXX" = yes; then
4462 ac_cpp
='$CPP $CPPFLAGS'
4463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4467 depcc
="$CXX" am_compiler_list
=
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4470 $as_echo_n "checking dependency style of $depcc... " >&6; }
4471 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4472 $as_echo_n "(cached) " >&6
4474 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4475 # We make a subdir and do the tests there. Otherwise we can end up
4476 # making bogus files that we don't know about and never remove. For
4477 # instance it was reported that on HP-UX the gcc test will end up
4478 # making a dummy file named 'D' -- because '-MD' means "put the output
4482 # Copy depcomp to subdir because otherwise we won't find it if we're
4483 # using a relative directory.
4484 cp "$am_depcomp" conftest.dir
4486 # We will build objects and dependencies in a subdirectory because
4487 # it helps to detect inapplicable dependency modes. For instance
4488 # both Tru64's cc and ICC support -MD to output dependencies as a
4489 # side effect of compilation, but ICC will put the dependencies in
4490 # the current directory while Tru64 will put them in the object
4494 am_cv_CXX_dependencies_compiler_type
=none
4495 if test "$am_compiler_list" = ""; then
4496 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4499 case " $depcc " in #(
4500 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4503 for depmode
in $am_compiler_list; do
4504 # Setup a source with many dependencies, because some compilers
4505 # like to wrap large dependency lists on column 80 (with \), and
4506 # we should not choose a depcomp mode which is confused by this.
4508 # We need to recreate these files for each test, as the compiler may
4509 # overwrite some of them when testing with obscure command lines.
4510 # This happens at least with the AIX C compiler.
4512 for i
in 1 2 3 4 5 6; do
4513 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4514 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4515 # Solaris 10 /bin/sh.
4516 echo '/* dummy */' > sub
/conftst
$i.h
4518 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4520 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4521 # mode. It turns out that the SunPro C++ compiler does not properly
4522 # handle '-M -o', and we need to detect this. Also, some Intel
4523 # versions had trouble with output in subdirs.
4524 am__obj
=sub
/conftest.
${OBJEXT-o}
4525 am__minus_obj
="-o $am__obj"
4528 # This depmode causes a compiler race in universal mode.
4529 test "$am__universal" = false
|| continue
4532 # After this tag, mechanisms are not by side-effect, so they'll
4533 # only be used when explicitly requested.
4534 if test "x$enable_dependency_tracking" = xyes
; then
4540 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4541 # This compiler won't grok '-c -o', but also, the minuso test has
4542 # not run yet. These depmodes are late enough in the game, and
4543 # so weak that their functioning should not be impacted.
4544 am__obj
=conftest.
${OBJEXT-o}
4549 if depmode
=$depmode \
4550 source=sub
/conftest.c object
=$am__obj \
4551 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4552 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4553 >/dev
/null
2>conftest.err
&&
4554 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4555 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4556 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4557 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4558 # icc doesn't choke on unknown options, it will just issue warnings
4559 # or remarks (even with -Werror). So we grep stderr for any message
4560 # that says an option was ignored or not supported.
4561 # When given -MP, icc 7.0 and 7.1 complain thusly:
4562 # icc: Command line warning: ignoring option '-M'; no argument required
4563 # The diagnosis changed in icc 8.0:
4564 # icc: Command line remark: option '-MP' not supported
4565 if (grep 'ignoring option' conftest.err
||
4566 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4567 am_cv_CXX_dependencies_compiler_type
=$depmode
4576 am_cv_CXX_dependencies_compiler_type
=none
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4581 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4582 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4585 test "x$enable_dependency_tracking" != xno \
4586 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4587 am__fastdepCXX_TRUE
=
4588 am__fastdepCXX_FALSE
='#'
4590 am__fastdepCXX_TRUE
='#'
4591 am__fastdepCXX_FALSE
=
4596 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4597 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4600 if test -n "$ac_tool_prefix"; then
4601 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4604 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_prog_OBJCXX+:} false
; then :
4608 $as_echo_n "(cached) " >&6
4610 if test -n "$OBJCXX"; then
4611 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4617 test -z "$as_dir" && as_dir
=.
4618 for ac_exec_ext
in '' $ac_executable_extensions; do
4619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4620 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630 OBJCXX
=$ac_cv_prog_OBJCXX
4631 if test -n "$OBJCXX"; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4633 $as_echo "$OBJCXX" >&6; }
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4640 test -n "$OBJCXX" && break
4643 if test -z "$OBJCXX"; then
4644 ac_ct_OBJCXX
=$OBJCXX
4645 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4647 # Extract the first word of "$ac_prog", so it can be a program name with args.
4648 set dummy
$ac_prog; ac_word
=$2
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4650 $as_echo_n "checking for $ac_word... " >&6; }
4651 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4652 $as_echo_n "(cached) " >&6
4654 if test -n "$ac_ct_OBJCXX"; then
4655 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 test -z "$as_dir" && as_dir
=.
4662 for ac_exec_ext
in '' $ac_executable_extensions; do
4663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4664 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4675 if test -n "$ac_ct_OBJCXX"; then
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4677 $as_echo "$ac_ct_OBJCXX" >&6; }
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4680 $as_echo "no" >&6; }
4684 test -n "$ac_ct_OBJCXX" && break
4687 if test "x$ac_ct_OBJCXX" = x
; then
4690 case $cross_compiling:$ac_tool_warned in
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4694 ac_tool_warned
=yes ;;
4696 OBJCXX
=$ac_ct_OBJCXX
4700 # Provide some information about the compiler.
4701 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4704 for ac_option
in --version -v -V -qversion; do
4705 { { ac_try
="$ac_compiler $ac_option >&5"
4707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4708 *) ac_try_echo=$ac_try;;
4710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4711 $as_echo "$ac_try_echo"; } >&5
4712 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4714 if test -s conftest.err; then
4716 ... rest of stderr output deleted ...
4717 10q' conftest.err >conftest.er1
4718 cat conftest.er1 >&5
4720 rm -f conftest.er1 conftest.err
4721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4722 test $ac_status = 0; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4726 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4727 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4728 $as_echo_n "(cached) " >&6
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4744 if ac_fn_objcxx_try_compile "$LINENO"; then :
4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4754 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4755 if test $ac_compiler_gnu = yes; then
4760 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4761 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4763 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4764 if ${ac_cv_prog_objcxx_g+:} false; then :
4765 $as_echo_n "(cached) " >&6
4767 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4768 ac_objcxx_werror_flag=yes
4769 ac_cv_prog_objcxx_g=no
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4782 if ac_fn_objcxx_try_compile "$LINENO"; then :
4783 ac_cv_prog_objcxx_g=yes
4786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4797 if ac_fn_objcxx_try_compile "$LINENO"; then :
4800 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4803 /* end confdefs.h. */
4813 if ac_fn_objcxx_try_compile "$LINENO"; then :
4814 ac_cv_prog_objcxx_g=yes
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4821 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4824 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4825 if test "$ac_test_OBJCXXFLAGS" = set; then
4826 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4827 elif test $ac_cv_prog_objcxx_g = yes; then
4828 if test "$GOBJCXX" = yes; then
4829 OBJCXXFLAGS="-g -O2"
4834 if test "$GOBJCXX" = yes; then
4841 ac_cpp='$CPP $CPPFLAGS'
4842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4846 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4849 $as_echo_n "checking dependency style of $depcc... " >&6; }
4850 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4851 $as_echo_n "(cached) " >&6
4853 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4854 # We make a subdir and do the tests there. Otherwise we can end up
4855 # making bogus files that we don't know about and never remove. For
4856 # instance it was reported that on HP-UX the gcc test will end up
4857 # making a dummy file named 'D' -- because '-MD' means "put the output
4861 # Copy depcomp to subdir because otherwise we won't find it if we're
4862 # using a relative directory.
4863 cp "$am_depcomp" conftest.dir
4865 # We will build objects and dependencies in a subdirectory because
4866 # it helps to detect inapplicable dependency modes. For instance
4867 # both Tru64's cc and ICC support -MD to output dependencies as a
4868 # side effect of compilation, but ICC will put the dependencies in
4869 # the current directory while Tru64 will put them in the object
4873 am_cv_OBJCXX_dependencies_compiler_type=none
4874 if test "$am_compiler_list" = ""; then
4875 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4880 for depmode in $am_compiler_list; do
4881 # Setup a source with many dependencies, because some compilers
4882 # like to wrap large dependency lists on column 80 (with \), and
4883 # we should not choose a depcomp mode which is confused by this.
4885 # We need to recreate these files for each test, as the compiler may
4886 # overwrite some of them when testing with obscure command lines.
4887 # This happens at least with the AIX C compiler.
4889 for i in 1 2 3 4 5 6; do
4890 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4891 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4892 # Solaris 10 /bin/sh.
4893 echo '/* dummy */' > sub/conftst$i.h
4895 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4897 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4898 # mode. It turns out that the SunPro C++ compiler does not properly
4899 # handle '-M -o', and we need to detect this. Also, some Intel
4900 # versions had trouble with output in subdirs.
4901 am__obj=sub/conftest.${OBJEXT-o}
4902 am__minus_obj="-o $am__obj"
4905 # This depmode causes a compiler race in universal mode.
4906 test "$am__universal" = false || continue
4909 # After this tag, mechanisms are not by side-effect, so they'll
4910 # only be used when explicitly requested.
4911 if test "x$enable_dependency_tracking" = xyes; then
4917 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4918 # This compiler won't grok '-c -o', but also, the minuso test has
4919 # not run yet. These depmodes are late enough in the game, and
4920 # so weak that their functioning should not be impacted.
4921 am__obj=conftest.${OBJEXT-o}
4926 if depmode=$depmode \
4927 source=sub/conftest.c object=$am__obj \
4928 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4929 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4930 >/dev/null 2>conftest.err &&
4931 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4932 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4933 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4934 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4935 # icc doesn't choke on unknown options, it will just issue warnings
4936 # or remarks (even with -Werror). So we grep stderr for any message
4937 # that says an option was ignored or not supported.
4938 # When given -MP, icc 7.0 and 7.1 complain thusly:
4939 # icc: Command line warning: ignoring option '-M'; no argument required
4940 # The diagnosis changed in icc 8.0:
4941 # icc: Command line remark: option '-MP' not supported
4942 if (grep 'ignoring option' conftest.err ||
4943 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4944 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4953 am_cv_OBJCXX_dependencies_compiler_type=none
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4958 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4959 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4962 test "x$enable_dependency_tracking" != xno \
4963 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4964 am__fastdepOBJCXX_TRUE=
4965 am__fastdepOBJCXX_FALSE='#'
4967 am__fastdepOBJCXX_TRUE='#'
4968 am__fastdepOBJCXX_FALSE=
4974 if test -n "$ac_tool_prefix"; then
4975 for ac_prog in ar lib "link -lib"
4977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4978 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_AR+:} false; then :
4982 $as_echo_n "(cached) " >&6
4984 if test -n "$AR"; then
4985 ac_cv_prog_AR="$AR" # Let the user override the test.
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 test -z "$as_dir" && as_dir=.
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 if test -n "$AR"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5007 $as_echo "$AR" >&6; }
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5014 test -n "$AR" && break
5017 if test -z "$AR"; then
5019 for ac_prog in ar lib "link -lib"
5021 # Extract the first word of "$ac_prog", so it can be a program name with args.
5022 set dummy $ac_prog; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5026 $as_echo_n "(cached) " >&6
5028 if test -n "$ac_ct_AR"; then
5029 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5038 ac_cv_prog_ac_ct_AR="$ac_prog"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5049 if test -n "$ac_ct_AR"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5051 $as_echo "$ac_ct_AR" >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5058 test -n "$ac_ct_AR" && break
5061 if test "x$ac_ct_AR" = x; then
5064 case $cross_compiling:$ac_tool_warned in
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068 ac_tool_warned=yes ;;
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5077 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5078 if ${am_cv_ar_interface+:} false; then :
5079 $as_echo_n "(cached) " >&6
5082 ac_cpp='$CPP $CPPFLAGS'
5083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5087 am_cv_ar_interface=ar
5088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089 /* end confdefs.h. */
5090 int some_variable = 0;
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5094 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5095 (eval $am_ar_try) 2>&5
5097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5098 test $ac_status = 0; }
5099 if test "$ac_status" -eq 0; then
5100 am_cv_ar_interface=ar
5102 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5103 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5104 (eval $am_ar_try) 2>&5
5106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5107 test $ac_status = 0; }
5108 if test "$ac_status" -eq 0; then
5109 am_cv_ar_interface=lib
5111 am_cv_ar_interface=unknown
5114 rm -f conftest.lib libconftest.a
5117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5119 ac_cpp='$CPP $CPPFLAGS'
5120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5126 $as_echo "$am_cv_ar_interface" >&6; }
5128 case $am_cv_ar_interface in
5132 # Microsoft lib, so override with the ar-lib wrapper script.
5133 # FIXME: It is wrong to rewrite AR.
5134 # But if we don't then we get into trouble of one sort or another.
5135 # A longer-term fix would be to have automake use am__AR in this case,
5136 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5138 AR="$am_aux_dir/ar-lib $AR"
5141 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5150 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5155 macro_version='2.4.6'
5156 macro_revision='2.4.6'
5170 ltmain=$ac_aux_dir/ltmain.sh
5172 # Make sure we can run config.sub.
5173 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5174 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5177 $as_echo_n "checking build system type... " >&6; }
5178 if ${ac_cv_build+:} false; then :
5179 $as_echo_n "(cached) " >&6
5181 ac_build_alias=$build_alias
5182 test "x$ac_build_alias" = x &&
5183 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5184 test "x$ac_build_alias" = x &&
5185 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5186 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5187 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5191 $as_echo "$ac_cv_build" >&6; }
5192 case $ac_cv_build in
5194 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5197 ac_save_IFS=$IFS; IFS='-'
5203 # Remember, the first character of IFS is used to create $*,
5204 # except with old shells:
5207 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5211 $as_echo_n "checking host system type... " >&6; }
5212 if ${ac_cv_host+:} false; then :
5213 $as_echo_n "(cached) " >&6
5215 if test "x$host_alias" = x; then
5216 ac_cv_host=$ac_cv_build
5218 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5219 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5224 $as_echo "$ac_cv_host" >&6; }
5227 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5230 ac_save_IFS=$IFS; IFS='-'
5236 # Remember, the first character of IFS is used to create $*,
5237 # except with old shells:
5240 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5243 # Backslashify metacharacters that are still active within
5244 # double-quoted strings.
5245 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5247 # Same as above, but do not quote variable references.
5248 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5250 # Sed substitution to delay expansion of an escaped shell variable in a
5251 # double_quote_subst'ed string.
5252 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5254 # Sed substitution to delay expansion of an escaped single quote.
5255 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5257 # Sed substitution to avoid accidental globbing in evaled expressions
5258 no_glob_subst='s/\*/\\\*/g'
5260 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5261 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5262 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5265 $as_echo_n "checking how to print
strings...
" >&6; }
5266 # Test print first, because it will be a builtin if present.
5267 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5268 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5270 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5273 # Use this function as a fallback that always works.
5274 func_fallback_echo ()
5276 eval 'cat <<_LTECHO_EOF
5280 ECHO='func_fallback_echo'
5283 # func_echo_all arg...
5284 # Invoke $ECHO with all args, space-separated.
5291 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5292 $as_echo "printf" >&6; } ;;
5293 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5294 $as_echo "print
-r" >&6; } ;;
5295 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5296 $as_echo "cat" >&6; } ;;
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5313 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5314 if ${ac_cv_path_SED+:} false; then :
5315 $as_echo_n "(cached
) " >&6
5317 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5318 for ac_i in 1 2 3 4 5 6 7; do
5319 ac_script="$ac_script$as_nl$ac_script"
5321 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5322 { ac_script=; unset ac_script;}
5323 if test -z "$SED"; then
5324 ac_path_SED_found=false
5325 # Loop through the user's path and test for each of PROGNAME-LIST
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir=.
5331 for ac_prog in sed gsed; do
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5334 as_fn_executable_p "$ac_path_SED" || continue
5335 # Check for GNU ac_path_SED and select it if it is found.
5336 # Check for GNU $ac_path_SED
5337 case `"$ac_path_SED" --version 2>&1` in
5339 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5342 $as_echo_n 0123456789 >"conftest.
in"
5345 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5346 mv "conftest.tmp
" "conftest.
in"
5347 cp "conftest.
in" "conftest.
nl"
5348 $as_echo '' >> "conftest.
nl"
5349 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5350 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5351 as_fn_arith $ac_count + 1 && ac_count=$as_val
5352 if test $ac_count -gt ${ac_path_SED_max-0}; then
5353 # Best one so far, save it but keep looking for a better one
5354 ac_cv_path_SED="$ac_path_SED"
5355 ac_path_SED_max=$ac_count
5357 # 10*(2^10) chars as input seems more than enough
5358 test $ac_count -gt 10 && break
5360 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5363 $ac_path_SED_found && break 3
5368 if test -z "$ac_cv_path_SED"; then
5369 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5377 $as_echo "$ac_cv_path_SED" >&6; }
5378 SED="$ac_cv_path_SED"
5381 test -z "$SED" && SED=sed
5382 Xsed="$SED -e 1s
/^X
//"
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5395 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5396 if ${ac_cv_path_GREP+:} false; then :
5397 $as_echo_n "(cached
) " >&6
5399 if test -z "$GREP"; then
5400 ac_path_GREP_found=false
5401 # Loop through the user's path and test for each of PROGNAME-LIST
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5406 test -z "$as_dir" && as_dir=.
5407 for ac_prog in grep ggrep; do
5408 for ac_exec_ext in '' $ac_executable_extensions; do
5409 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5410 as_fn_executable_p "$ac_path_GREP" || continue
5411 # Check for GNU ac_path_GREP and select it if it is found.
5412 # Check for GNU $ac_path_GREP
5413 case `"$ac_path_GREP" --version 2>&1` in
5415 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5418 $as_echo_n 0123456789 >"conftest.
in"
5421 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5422 mv "conftest.tmp
" "conftest.
in"
5423 cp "conftest.
in" "conftest.
nl"
5424 $as_echo 'GREP' >> "conftest.
nl"
5425 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5426 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5427 as_fn_arith $ac_count + 1 && ac_count=$as_val
5428 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5429 # Best one so far, save it but keep looking for a better one
5430 ac_cv_path_GREP="$ac_path_GREP"
5431 ac_path_GREP_max=$ac_count
5433 # 10*(2^10) chars as input seems more than enough
5434 test $ac_count -gt 10 && break
5436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5439 $ac_path_GREP_found && break 3
5444 if test -z "$ac_cv_path_GREP"; then
5445 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5448 ac_cv_path_GREP=$GREP
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5453 $as_echo "$ac_cv_path_GREP" >&6; }
5454 GREP="$ac_cv_path_GREP"
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5458 $as_echo_n "checking
for egrep...
" >&6; }
5459 if ${ac_cv_path_EGREP+:} false; then :
5460 $as_echo_n "(cached
) " >&6
5462 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5463 then ac_cv_path_EGREP="$GREP -E"
5465 if test -z "$EGREP"; then
5466 ac_path_EGREP_found=false
5467 # Loop through the user's path and test for each of PROGNAME-LIST
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5472 test -z "$as_dir" && as_dir=.
5473 for ac_prog in egrep; do
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5476 as_fn_executable_p "$ac_path_EGREP" || continue
5477 # Check for GNU ac_path_EGREP and select it if it is found.
5478 # Check for GNU $ac_path_EGREP
5479 case `"$ac_path_EGREP" --version 2>&1` in
5481 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5484 $as_echo_n 0123456789 >"conftest.
in"
5487 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5488 mv "conftest.tmp
" "conftest.
in"
5489 cp "conftest.
in" "conftest.
nl"
5490 $as_echo 'EGREP' >> "conftest.
nl"
5491 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5492 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5493 as_fn_arith $ac_count + 1 && ac_count=$as_val
5494 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5495 # Best one so far, save it but keep looking for a better one
5496 ac_cv_path_EGREP="$ac_path_EGREP"
5497 ac_path_EGREP_max=$ac_count
5499 # 10*(2^10) chars as input seems more than enough
5500 test $ac_count -gt 10 && break
5502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5505 $ac_path_EGREP_found && break 3
5510 if test -z "$ac_cv_path_EGREP"; then
5511 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5514 ac_cv_path_EGREP=$EGREP
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5520 $as_echo "$ac_cv_path_EGREP" >&6; }
5521 EGREP="$ac_cv_path_EGREP"
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5525 $as_echo_n "checking
for fgrep...
" >&6; }
5526 if ${ac_cv_path_FGREP+:} false; then :
5527 $as_echo_n "(cached
) " >&6
5529 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5530 then ac_cv_path_FGREP="$GREP -F"
5532 if test -z "$FGREP"; then
5533 ac_path_FGREP_found=false
5534 # Loop through the user's path and test for each of PROGNAME-LIST
5535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5536 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5539 test -z "$as_dir" && as_dir=.
5540 for ac_prog in fgrep; do
5541 for ac_exec_ext in '' $ac_executable_extensions; do
5542 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5543 as_fn_executable_p "$ac_path_FGREP" || continue
5544 # Check for GNU ac_path_FGREP and select it if it is found.
5545 # Check for GNU $ac_path_FGREP
5546 case `"$ac_path_FGREP" --version 2>&1` in
5548 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5551 $as_echo_n 0123456789 >"conftest.
in"
5554 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5555 mv "conftest.tmp
" "conftest.
in"
5556 cp "conftest.
in" "conftest.
nl"
5557 $as_echo 'FGREP' >> "conftest.
nl"
5558 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5559 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5560 as_fn_arith $ac_count + 1 && ac_count=$as_val
5561 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5562 # Best one so far, save it but keep looking for a better one
5563 ac_cv_path_FGREP="$ac_path_FGREP"
5564 ac_path_FGREP_max=$ac_count
5566 # 10*(2^10) chars as input seems more than enough
5567 test $ac_count -gt 10 && break
5569 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5572 $ac_path_FGREP_found && break 3
5577 if test -z "$ac_cv_path_FGREP"; then
5578 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5581 ac_cv_path_FGREP=$FGREP
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5587 $as_echo "$ac_cv_path_FGREP" >&6; }
5588 FGREP="$ac_cv_path_FGREP"
5591 test -z "$GREP" && GREP=grep
5611 # Check whether --with-gnu-ld was given.
5612 if test "${with_gnu_ld+set}" = set; then :
5613 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5619 if test yes = "$GCC"; then
5620 # Check if gcc -print-prog-name=ld gives a path.
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5622 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5625 # gcc leaves a trailing carriage return, which upsets mingw
5626 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5628 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5631 # Accept absolute paths.
5633 re_direlt='/[^/][^/]*/\.\./'
5634 # Canonicalize the pathname of ld
5635 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5636 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5637 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5639 test -z "$LD" && LD=$ac_prog
5642 # If it fails, then pretend we aren't using GCC.
5646 # If it is relative, then search for the first ld in PATH.
5650 elif test yes = "$with_gnu_ld"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5652 $as_echo_n "checking
for GNU ld...
" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5655 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5657 if ${lt_cv_path_LD+:} false; then :
5658 $as_echo_n "(cached
) " >&6
5660 if test -z "$LD"; then
5661 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5662 for ac_dir in $PATH; do
5664 test -z "$ac_dir" && ac_dir=.
5665 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5666 lt_cv_path_LD=$ac_dir/$ac_prog
5667 # Check to see if the program is GNU ld. I'd rather use --version,
5668 # but apparently some variants of GNU ld only accept -v.
5669 # Break only if it was the GNU/non-GNU ld that we prefer.
5670 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5671 *GNU* | *'with BFD'*)
5672 test no != "$with_gnu_ld" && break
5675 test yes != "$with_gnu_ld" && break
5682 lt_cv_path_LD=$LD # Let the user override the test with a path.
5687 if test -n "$LD"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5689 $as_echo "$LD" >&6; }
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5692 $as_echo "no
" >&6; }
5694 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5696 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5697 if ${lt_cv_prog_gnu_ld+:} false; then :
5698 $as_echo_n "(cached
) " >&6
5700 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5701 case `$LD -v 2>&1 </dev/null` in
5702 *GNU* | *'with BFD'*)
5703 lt_cv_prog_gnu_ld=yes
5706 lt_cv_prog_gnu_ld=no
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5711 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5712 with_gnu_ld=$lt_cv_prog_gnu_ld
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5723 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5724 if ${lt_cv_path_NM+:} false; then :
5725 $as_echo_n "(cached
) " >&6
5727 if test -n "$NM"; then
5728 # Let the user override the test.
5731 lt_nm_to_check=${ac_tool_prefix}nm
5732 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5733 lt_nm_to_check="$lt_nm_to_check nm
"
5735 for lt_tmp_nm in $lt_nm_to_check; do
5736 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5737 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5739 test -z "$ac_dir" && ac_dir=.
5740 tmp_nm=$ac_dir/$lt_tmp_nm
5741 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5742 # Check to see if the nm accepts a BSD-compat flag.
5743 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5744 # nm: unknown option "B
" ignored
5745 # Tru64's nm complains that /dev/null is an invalid object file
5746 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5748 mingw*) lt_bad_file=conftest.nm/nofile ;;
5749 *) lt_bad_file=/dev/null ;;
5751 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5752 *$lt_bad_file* | *'Invalid file or object type'*)
5753 lt_cv_path_NM="$tmp_nm -B"
5757 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5759 lt_cv_path_NM="$tmp_nm -p"
5763 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5764 continue # so that we can try to find one that supports BSD flags
5773 : ${lt_cv_path_NM=no}
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5777 $as_echo "$lt_cv_path_NM" >&6; }
5778 if test no != "$lt_cv_path_NM"; then
5781 # Didn't find any BSD compatible name lister, look for dumpbin.
5782 if test -n "$DUMPBIN"; then :
5783 # Let the user override the test.
5785 if test -n "$ac_tool_prefix"; then
5786 for ac_prog in dumpbin "link
-dump"
5788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5789 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5791 $as_echo_n "checking
for $ac_word...
" >&6; }
5792 if ${ac_cv_prog_DUMPBIN+:} false; then :
5793 $as_echo_n "(cached
) " >&6
5795 if test -n "$DUMPBIN"; then
5796 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5805 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5815 DUMPBIN=$ac_cv_prog_DUMPBIN
5816 if test -n "$DUMPBIN"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5818 $as_echo "$DUMPBIN" >&6; }
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5821 $as_echo "no
" >&6; }
5825 test -n "$DUMPBIN" && break
5828 if test -z "$DUMPBIN"; then
5829 ac_ct_DUMPBIN=$DUMPBIN
5830 for ac_prog in dumpbin "link
-dump"
5832 # Extract the first word of "$ac_prog", so it can be a program name with args.
5833 set dummy $ac_prog; ac_word=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5835 $as_echo_n "checking
for $ac_word...
" >&6; }
5836 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5837 $as_echo_n "(cached
) " >&6
5839 if test -n "$ac_ct_DUMPBIN"; then
5840 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 test -z "$as_dir" && as_dir=.
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5859 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5860 if test -n "$ac_ct_DUMPBIN"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5862 $as_echo "$ac_ct_DUMPBIN" >&6; }
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5865 $as_echo "no
" >&6; }
5869 test -n "$ac_ct_DUMPBIN" && break
5872 if test "x
$ac_ct_DUMPBIN" = x; then
5875 case $cross_compiling:$ac_tool_warned in
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5878 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5879 ac_tool_warned=yes ;;
5881 DUMPBIN=$ac_ct_DUMPBIN
5885 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5887 DUMPBIN="$DUMPBIN -symbols -headers"
5895 if test : != "$DUMPBIN"; then
5899 test -z "$NM" && NM=nm
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5907 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5908 if ${lt_cv_nm_interface+:} false; then :
5909 $as_echo_n "(cached
) " >&6
5911 lt_cv_nm_interface="BSD nm
"
5912 echo "int some_variable
= 0;" > conftest.$ac_ext
5913 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5914 (eval "$ac_compile" 2>conftest.err)
5915 cat conftest.err >&5
5916 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5917 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5918 cat conftest.err >&5
5919 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5920 cat conftest.out >&5
5921 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5922 lt_cv_nm_interface="MS dumpbin
"
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5927 $as_echo "$lt_cv_nm_interface" >&6; }
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5930 $as_echo_n "checking whether
ln -s works...
" >&6; }
5932 if test "$LN_S" = "ln -s"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5934 $as_echo "yes" >&6; }
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5937 $as_echo "no
, using
$LN_S" >&6; }
5940 # find the maximum length of command line arguments
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5942 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5943 if ${lt_cv_sys_max_cmd_len+:} false; then :
5944 $as_echo_n "(cached
) " >&6
5951 # On DJGPP, this test can blow up pretty badly due to problems in libc
5952 # (any single argument exceeding 2000 bytes causes a buffer overrun
5953 # during glob expansion). Even if it were fixed, the result of this
5954 # check would be larger than it should be.
5955 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5959 # Under GNU Hurd, this test is not required because there is
5960 # no limit to the length of command line arguments.
5961 # Libtool will interpret -1 as no limit whatsoever
5962 lt_cv_sys_max_cmd_len=-1;
5965 cygwin* | mingw* | cegcc*)
5966 # On Win9x/ME, this test blows up -- it succeeds, but takes
5967 # about 5 minutes as the teststring grows exponentially.
5968 # Worse, since 9x/ME are not pre-emptively multitasking,
5969 # you end up with a "frozen
" computer, even though with patience
5970 # the test eventually succeeds (with a max line length of 256k).
5971 # Instead, let's just punt: use the minimum linelength reported by
5972 # all of the supported platforms: 8192 (on NT/2K/XP).
5973 lt_cv_sys_max_cmd_len=8192;
5977 # On MiNT this can take a long time and run out of memory.
5978 lt_cv_sys_max_cmd_len=8192;
5982 # On AmigaOS with pdksh, this test takes hours, literally.
5983 # So we just punt and use a minimum line length of 8192.
5984 lt_cv_sys_max_cmd_len=8192;
5987 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5988 # This has been around since 386BSD, at least. Likely further.
5989 if test -x /sbin/sysctl; then
5990 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5991 elif test -x /usr/sbin/sysctl; then
5992 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5994 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5996 # And add a safety zone
5997 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6002 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6003 lt_cv_sys_max_cmd_len=196608
6007 # The test takes a long time on OS/2.
6008 lt_cv_sys_max_cmd_len=8192
6012 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6013 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6014 # nice to cause kernel panics so lets avoid the loop below.
6015 # First set a reasonable default.
6016 lt_cv_sys_max_cmd_len=16384
6018 if test -x /sbin/sysconfig; then
6019 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6020 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6025 lt_cv_sys_max_cmd_len=102400
6027 sysv5* | sco5v6* | sysv4.2uw2*)
6028 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6029 if test -n "$kargmax"; then
6030 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6032 lt_cv_sys_max_cmd_len=32768
6036 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6037 if test -n "$lt_cv_sys_max_cmd_len" && \
6038 test undefined != "$lt_cv_sys_max_cmd_len"; then
6039 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6040 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6042 # Make teststring a little bigger before we do anything with it.
6043 # a 1K string should be a reasonable start.
6044 for i in 1 2 3 4 5 6 7 8; do
6045 teststring=$teststring$teststring
6047 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6048 # If test is not a shell built-in, we'll probably end up computing a
6049 # maximum length that is only half of the actual maximum length, but
6051 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6052 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6053 test 17 != "$i" # 1/2 MB should be enough
6056 teststring=$teststring$teststring
6058 # Only check the string length outside the loop.
6059 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6061 # Add a significant safety factor because C++ compilers can tack on
6062 # massive amounts of additional arguments before passing them to the
6063 # linker. It appears as though 1/2 is a usable value.
6064 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6071 if test -n "$lt_cv_sys_max_cmd_len"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6073 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6076 $as_echo "none
" >&6; }
6078 max_cmd_len=$lt_cv_sys_max_cmd_len
6089 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6099 # test EBCDIC or ASCII
6100 case `echo X|tr X '\101'` in
6101 A) # ASCII based system
6102 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6103 lt_SP2NL='tr \040 \012'
6104 lt_NL2SP='tr \015\012 \040\040'
6106 *) # EBCDIC based system
6107 lt_SP2NL='tr \100 \n'
6108 lt_NL2SP='tr \r\n \100\100'
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6121 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6122 if ${lt_cv_to_host_file_cmd+:} false; then :
6123 $as_echo_n "(cached
) " >&6
6128 *-*-mingw* ) # actually msys
6129 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6132 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6134 * ) # otherwise, assume *nix
6135 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6141 *-*-mingw* ) # actually msys
6142 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6145 lt_cv_to_host_file_cmd=func_convert_file_noop
6147 * ) # otherwise, assume *nix
6148 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6152 * ) # unhandled hosts (and "normal
" native builds)
6153 lt_cv_to_host_file_cmd=func_convert_file_noop
6159 to_host_file_cmd=$lt_cv_to_host_file_cmd
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6161 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6168 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6169 if ${lt_cv_to_tool_file_cmd+:} false; then :
6170 $as_echo_n "(cached
) " >&6
6172 #assume ordinary cross tools, or native build.
6173 lt_cv_to_tool_file_cmd=func_convert_file_noop
6177 *-*-mingw* ) # actually msys
6178 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6186 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6188 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6195 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6196 if ${lt_cv_ld_reload_flag+:} false; then :
6197 $as_echo_n "(cached
) " >&6
6199 lt_cv_ld_reload_flag='-r'
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6202 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6203 reload_flag=$lt_cv_ld_reload_flag
6204 case $reload_flag in
6206 *) reload_flag=" $reload_flag" ;;
6208 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6210 cygwin* | mingw* | pw32* | cegcc*)
6211 if test yes != "$GCC"; then
6216 if test yes = "$GCC"; then
6217 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6219 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6232 if test -n "$ac_tool_prefix"; then
6233 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6234 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6236 $as_echo_n "checking
for $ac_word...
" >&6; }
6237 if ${ac_cv_prog_OBJDUMP+:} false; then :
6238 $as_echo_n "(cached
) " >&6
6240 if test -n "$OBJDUMP"; then
6241 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6250 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6260 OBJDUMP=$ac_cv_prog_OBJDUMP
6261 if test -n "$OBJDUMP"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6263 $as_echo "$OBJDUMP" >&6; }
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6266 $as_echo "no
" >&6; }
6271 if test -z "$ac_cv_prog_OBJDUMP"; then
6272 ac_ct_OBJDUMP=$OBJDUMP
6273 # Extract the first word of "objdump
", so it can be a program name with args.
6274 set dummy objdump; ac_word=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6276 $as_echo_n "checking
for $ac_word...
" >&6; }
6277 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6278 $as_echo_n "(cached
) " >&6
6280 if test -n "$ac_ct_OBJDUMP"; then
6281 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6290 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6300 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6301 if test -n "$ac_ct_OBJDUMP"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6303 $as_echo "$ac_ct_OBJDUMP" >&6; }
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6306 $as_echo "no
" >&6; }
6309 if test "x
$ac_ct_OBJDUMP" = x; then
6312 case $cross_compiling:$ac_tool_warned in
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6315 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6316 ac_tool_warned=yes ;;
6318 OBJDUMP=$ac_ct_OBJDUMP
6321 OBJDUMP="$ac_cv_prog_OBJDUMP"
6324 test -z "$OBJDUMP" && OBJDUMP=objdump
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6335 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6336 if ${lt_cv_deplibs_check_method+:} false; then :
6337 $as_echo_n "(cached
) " >&6
6339 lt_cv_file_magic_cmd='$MAGIC_CMD'
6340 lt_cv_file_magic_test_file=
6341 lt_cv_deplibs_check_method='unknown'
6342 # Need to set the preceding variable on all platforms that support
6343 # interlibrary dependencies.
6344 # 'none' -- dependencies not supported.
6345 # 'unknown' -- same as none, but documents that we really don't know.
6346 # 'pass_all' -- all dependencies passed with no checks.
6347 # 'test_compile' -- check by making test program.
6348 # 'file_magic [[regex]]' -- check by looking for files in library path
6349 # that responds to the $file_magic_cmd with a given extended regex.
6350 # If you have 'file' or equivalent on your system and you're not sure
6351 # whether 'pass_all' will *always* work, you probably want this one.
6355 lt_cv_deplibs_check_method=pass_all
6359 lt_cv_deplibs_check_method=pass_all
6363 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6364 lt_cv_file_magic_cmd='/usr/bin/file -L'
6365 lt_cv_file_magic_test_file=/shlib/libc.so
6369 # func_win32_libid is a shell function defined in ltmain.sh
6370 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6371 lt_cv_file_magic_cmd='func_win32_libid'
6375 # Base MSYS/MinGW do not provide the 'file' command needed by
6376 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6377 # unless we find 'file', for example because we are cross-compiling.
6378 if ( file / ) >/dev/null 2>&1; then
6379 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6380 lt_cv_file_magic_cmd='func_win32_libid'
6382 # Keep this pattern in sync with the one in func_win32_libid.
6383 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6384 lt_cv_file_magic_cmd='$OBJDUMP -f'
6389 # use the weaker test based on 'objdump'. See mingw*.
6390 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6391 lt_cv_file_magic_cmd='$OBJDUMP -f'
6394 darwin* | rhapsody*)
6395 lt_cv_deplibs_check_method=pass_all
6398 freebsd* | dragonfly*)
6399 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6402 # Not sure whether the presence of OpenBSD here was a mistake.
6403 # Let's accept both of them until this is cleared up.
6404 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6405 lt_cv_file_magic_cmd=/usr/bin/file
6406 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6410 lt_cv_deplibs_check_method=pass_all
6415 lt_cv_deplibs_check_method=pass_all
6418 hpux10.20* | hpux11*)
6419 lt_cv_file_magic_cmd=/usr/bin/file
6422 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6423 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6426 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]'
6427 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6430 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6431 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6437 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6438 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6441 irix5* | irix6* | nonstopux*)
6443 *-32|*"-32 ") libmagic=32-bit;;
6444 *-n32|*"-n32 ") libmagic=N32;;
6445 *-64|*"-64 ") libmagic=64-bit;;
6446 *) libmagic=never-match;;
6448 lt_cv_deplibs_check_method=pass_all
6451 # This must be glibc/ELF.
6452 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6453 lt_cv_deplibs_check_method=pass_all
6457 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6458 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6460 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6465 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6466 lt_cv_file_magic_cmd=/usr/bin/file
6467 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6471 lt_cv_deplibs_check_method=pass_all
6475 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6476 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6478 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6482 osf3* | osf4* | osf5*)
6483 lt_cv_deplibs_check_method=pass_all
6487 lt_cv_deplibs_check_method=pass_all
6491 lt_cv_deplibs_check_method=pass_all
6494 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6495 lt_cv_deplibs_check_method=pass_all
6499 case $host_vendor in
6501 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]'
6502 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6505 lt_cv_deplibs_check_method=pass_all
6508 lt_cv_file_magic_cmd='/bin/file'
6509 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6512 lt_cv_file_magic_cmd='/bin/file'
6513 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6514 lt_cv_file_magic_test_file=/lib/libc.so
6517 lt_cv_deplibs_check_method=pass_all
6520 lt_cv_deplibs_check_method=pass_all
6526 lt_cv_deplibs_check_method=pass_all
6529 lt_cv_deplibs_check_method=pass_all
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6535 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6539 if test "$build" = "$host"; then
6542 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6545 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6551 file_magic_cmd=$lt_cv_file_magic_cmd
6552 deplibs_check_method=$lt_cv_deplibs_check_method
6553 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6576 if test -n "$ac_tool_prefix"; then
6577 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6578 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6580 $as_echo_n "checking
for $ac_word...
" >&6; }
6581 if ${ac_cv_prog_DLLTOOL+:} false; then :
6582 $as_echo_n "(cached
) " >&6
6584 if test -n "$DLLTOOL"; then
6585 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6594 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6604 DLLTOOL=$ac_cv_prog_DLLTOOL
6605 if test -n "$DLLTOOL"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6607 $as_echo "$DLLTOOL" >&6; }
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6610 $as_echo "no
" >&6; }
6615 if test -z "$ac_cv_prog_DLLTOOL"; then
6616 ac_ct_DLLTOOL=$DLLTOOL
6617 # Extract the first word of "dlltool
", so it can be a program name with args.
6618 set dummy dlltool; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6620 $as_echo_n "checking
for $ac_word...
" >&6; }
6621 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6622 $as_echo_n "(cached
) " >&6
6624 if test -n "$ac_ct_DLLTOOL"; then
6625 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 test -z "$as_dir" && as_dir=.
6632 for ac_exec_ext in '' $ac_executable_extensions; do
6633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6634 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6644 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6645 if test -n "$ac_ct_DLLTOOL"; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6647 $as_echo "$ac_ct_DLLTOOL" >&6; }
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6650 $as_echo "no
" >&6; }
6653 if test "x
$ac_ct_DLLTOOL" = x; then
6656 case $cross_compiling:$ac_tool_warned in
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6659 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6660 ac_tool_warned=yes ;;
6662 DLLTOOL=$ac_ct_DLLTOOL
6665 DLLTOOL="$ac_cv_prog_DLLTOOL"
6668 test -z "$DLLTOOL" && DLLTOOL=dlltool
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6680 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6681 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6682 $as_echo_n "(cached
) " >&6
6684 lt_cv_sharedlib_from_linklib_cmd='unknown'
6687 cygwin* | mingw* | pw32* | cegcc*)
6688 # two different shell functions defined in ltmain.sh;
6689 # decide which one to use based on capabilities of $DLLTOOL
6690 case `$DLLTOOL --help 2>&1` in
6691 *--identify-strict*)
6692 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6695 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6700 # fallback: assume linklib IS sharedlib
6701 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6707 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6708 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6709 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6717 if test -n "$ac_tool_prefix"; then
6720 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6721 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6723 $as_echo_n "checking
for $ac_word...
" >&6; }
6724 if ${ac_cv_prog_AR+:} false; then :
6725 $as_echo_n "(cached
) " >&6
6727 if test -n "$AR"; then
6728 ac_cv_prog_AR="$AR" # Let the user override the test.
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6737 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6748 if test -n "$AR"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6750 $as_echo "$AR" >&6; }
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6753 $as_echo "no
" >&6; }
6757 test -n "$AR" && break
6760 if test -z "$AR"; then
6764 # Extract the first word of "$ac_prog", so it can be a program name with args.
6765 set dummy $ac_prog; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6767 $as_echo_n "checking
for $ac_word...
" >&6; }
6768 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6769 $as_echo_n "(cached
) " >&6
6771 if test -n "$ac_ct_AR"; then
6772 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir=.
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6781 ac_cv_prog_ac_ct_AR="$ac_prog"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6791 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6792 if test -n "$ac_ct_AR"; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6794 $as_echo "$ac_ct_AR" >&6; }
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6797 $as_echo "no
" >&6; }
6801 test -n "$ac_ct_AR" && break
6804 if test "x
$ac_ct_AR" = x; then
6807 case $cross_compiling:$ac_tool_warned in
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6810 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6811 ac_tool_warned=yes ;;
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6831 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6832 if ${lt_cv_ar_at_file+:} false; then :
6833 $as_echo_n "(cached
) " >&6
6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6837 /* end confdefs.h. */
6847 if ac_fn_c_try_compile "$LINENO"; then :
6848 echo conftest.$ac_objext > conftest.lst
6849 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6850 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6851 (eval $lt_ar_try) 2>&5
6853 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6854 test $ac_status = 0; }
6855 if test 0 -eq "$ac_status"; then
6856 # Ensure the archiver fails upon bogus file names.
6857 rm -f conftest.$ac_objext libconftest.a
6858 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6859 (eval $lt_ar_try) 2>&5
6861 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6862 test $ac_status = 0; }
6863 if test 0 -ne "$ac_status"; then
6867 rm -f conftest.* libconftest.a
6870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6874 $as_echo "$lt_cv_ar_at_file" >&6; }
6876 if test no = "$lt_cv_ar_at_file"; then
6879 archiver_list_spec=$lt_cv_ar_at_file
6888 if test -n "$ac_tool_prefix"; then
6889 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6890 set dummy ${ac_tool_prefix}strip; ac_word=$2
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6892 $as_echo_n "checking
for $ac_word...
" >&6; }
6893 if ${ac_cv_prog_STRIP+:} false; then :
6894 $as_echo_n "(cached
) " >&6
6896 if test -n "$STRIP"; then
6897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 test -z "$as_dir" && as_dir=.
6904 for ac_exec_ext in '' $ac_executable_extensions; do
6905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6906 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6916 STRIP=$ac_cv_prog_STRIP
6917 if test -n "$STRIP"; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6919 $as_echo "$STRIP" >&6; }
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6922 $as_echo "no
" >&6; }
6927 if test -z "$ac_cv_prog_STRIP"; then
6929 # Extract the first word of "strip
", so it can be a program name with args.
6930 set dummy strip; ac_word=$2
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6932 $as_echo_n "checking
for $ac_word...
" >&6; }
6933 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6934 $as_echo_n "(cached
) " >&6
6936 if test -n "$ac_ct_STRIP"; then
6937 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943 test -z "$as_dir" && as_dir=.
6944 for ac_exec_ext in '' $ac_executable_extensions; do
6945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6946 ac_cv_prog_ac_ct_STRIP="strip
"
6947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6956 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6957 if test -n "$ac_ct_STRIP"; then
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6959 $as_echo "$ac_ct_STRIP" >&6; }
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6962 $as_echo "no
" >&6; }
6965 if test "x
$ac_ct_STRIP" = x; then
6968 case $cross_compiling:$ac_tool_warned in
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6971 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6972 ac_tool_warned=yes ;;
6977 STRIP="$ac_cv_prog_STRIP"
6980 test -z "$STRIP" && STRIP=:
6987 if test -n "$ac_tool_prefix"; then
6988 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6989 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6991 $as_echo_n "checking
for $ac_word...
" >&6; }
6992 if ${ac_cv_prog_RANLIB+:} false; then :
6993 $as_echo_n "(cached
) " >&6
6995 if test -n "$RANLIB"; then
6996 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir=.
7003 for ac_exec_ext in '' $ac_executable_extensions; do
7004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7015 RANLIB=$ac_cv_prog_RANLIB
7016 if test -n "$RANLIB"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7018 $as_echo "$RANLIB" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7021 $as_echo "no
" >&6; }
7026 if test -z "$ac_cv_prog_RANLIB"; then
7027 ac_ct_RANLIB=$RANLIB
7028 # Extract the first word of "ranlib
", so it can be a program name with args.
7029 set dummy ranlib; ac_word=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7031 $as_echo_n "checking
for $ac_word...
" >&6; }
7032 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7033 $as_echo_n "(cached
) " >&6
7035 if test -n "$ac_ct_RANLIB"; then
7036 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir=.
7043 for ac_exec_ext in '' $ac_executable_extensions; do
7044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7045 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7055 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7056 if test -n "$ac_ct_RANLIB"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7058 $as_echo "$ac_ct_RANLIB" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7061 $as_echo "no
" >&6; }
7064 if test "x
$ac_ct_RANLIB" = x; then
7067 case $cross_compiling:$ac_tool_warned in
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7070 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7071 ac_tool_warned=yes ;;
7073 RANLIB=$ac_ct_RANLIB
7076 RANLIB="$ac_cv_prog_RANLIB"
7079 test -z "$RANLIB" && RANLIB=:
7086 # Determine commands to create old-style static archives.
7087 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7088 old_postinstall_cmds='chmod 644 $oldlib'
7089 old_postuninstall_cmds=
7091 if test -n "$RANLIB"; then
7094 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7097 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7100 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7105 lock_old_archive_extraction=yes ;;
7107 lock_old_archive_extraction=no ;;
7148 # If no C compiler was specified, use CC.
7151 # If no C compiler flags were specified, use CFLAGS.
7152 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7154 # Allow CC to be a program name with arguments.
7158 # Check for command to grab the raw symbol name followed by C symbol from nm.
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7160 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7161 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7162 $as_echo_n "(cached
) " >&6
7165 # These are sane defaults that work on at least a few old systems.
7166 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7168 # Character class describing NM global symbol codes.
7169 symcode='[BCDEGRST]'
7171 # Regexp to match symbols that can be accessed directly from C.
7172 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7174 # Define system-specific variables.
7179 cygwin* | mingw* | pw32* | cegcc*)
7180 symcode='[ABCDGISTW]'
7183 if test ia64 = "$host_cpu"; then
7184 symcode='[ABCDEGRST]'
7188 symcode='[BCDEGRST]'
7191 symcode='[BCDEGQRST]'
7202 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7210 # If we're using GNU nm, then use its standard symbol codes.
7211 case `$NM -V 2>&1` in
7212 *GNU* | *'with BFD'*)
7213 symcode='[ABCDGIRSTW]' ;;
7216 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7217 # Gets list of data symbols to import.
7218 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7219 # Adjust the below global symbol transforms to fixup imported variables.
7220 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7221 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7222 lt_c_name_lib_hook="\
7223 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7224 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7226 # Disable hooks by default.
7227 lt_cv_sys_global_symbol_to_import=
7233 # Transform an extracted symbol line into a proper C declaration.
7234 # Some systems (esp. on ia64) link data and code symbols differently,
7235 # so use this general approach.
7236 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7238 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7239 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7241 # Transform an extracted symbol line into symbol name and symbol address
7242 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7244 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7245 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7247 # Transform an extracted symbol line into symbol name with lib prefix and
7249 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7250 $lt_c_name_lib_hook\
7251 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7252 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7253 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7255 # Handle CRLF in mingw tool chain
7259 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7263 # Try without a prefix underscore, then with it.
7264 for ac_symprfx in "" "_
"; do
7266 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7267 symxfrm="\\1 $ac_symprfx\\2 \\2"
7269 # Write the raw and C identifiers.
7270 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7271 # Fake it for dumpbin and say T for any non-static function,
7272 # D for any global variable and I for any imported variable.
7273 # Also find C++ and __fastcall symbols from MSVC++,
7274 # which start with @ or ?.
7275 lt_cv_sys_global_symbol_pipe="$AWK '"\
7276 " {last_section=section; section=\$ 3};"\
7277 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7278 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7279 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7280 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7281 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7282 " \$ 0!~/External *\|/{next};"\
7283 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7284 " {if(hide[section]) next};"\
7285 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7286 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7287 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7288 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7289 " ' prfx
=^
$ac_symprfx"
7291 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7293 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7295 # Check to see that the pipe works correctly.
7299 cat > conftest.$ac_ext <<_LT_EOF
7304 void nm_test_func(void);
7305 void nm_test_func(void){}
7309 int main(){nm_test_var='a';nm_test_func();return(0);}
7312 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7313 (eval $ac_compile) 2>&5
7315 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7316 test $ac_status = 0; }; then
7317 # Now try to grab the symbols.
7319 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7320 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7322 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7323 test $ac_status = 0; } && test -s "$nlist"; then
7324 # Try sorting and uniquifying the output.
7325 if sort "$nlist" | uniq > "$nlist"T; then
7326 mv -f "$nlist"T "$nlist"
7331 # Make sure that we snagged all the symbols we need.
7332 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7333 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7334 cat <<_LT_EOF > conftest.$ac_ext
7335 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7336 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7337 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7338 relocations are performed -- see ld's documentation on pseudo-relocs. */
7339 # define LT_DLSYM_CONST
7340 #elif defined __osf__
7341 /* This system does not cope well with relocations in const data. */
7342 # define LT_DLSYM_CONST
7344 # define LT_DLSYM_CONST const
7352 # Now generate the symbol file.
7353 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7355 cat <<_LT_EOF >> conftest.$ac_ext
7357 /* The mapping between symbol names and symbols. */
7358 LT_DLSYM_CONST struct {
7362 lt__PROGRAM__LTX_preloaded_symbols[] =
7364 { "@PROGRAM@
", (void *) 0 },
7366 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7367 cat <<\_LT_EOF >> conftest.$ac_ext
7371 /* This works around a problem in FreeBSD linker */
7372 #ifdef FREEBSD_WORKAROUND
7373 static const void *lt_preloaded_setup() {
7374 return lt__PROGRAM__LTX_preloaded_symbols;
7382 # Now try linking the two files.
7383 mv conftest.$ac_objext conftstm.$ac_objext
7384 lt_globsym_save_LIBS=$LIBS
7385 lt_globsym_save_CFLAGS=$CFLAGS
7386 LIBS=conftstm.$ac_objext
7387 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7388 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7389 (eval $ac_link) 2>&5
7391 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7392 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7395 LIBS=$lt_globsym_save_LIBS
7396 CFLAGS=$lt_globsym_save_CFLAGS
7398 echo "cannot
find nm_test_func
in $nlist" >&5
7401 echo "cannot
find nm_test_var
in $nlist" >&5
7404 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7407 echo "$progname: failed program was
:" >&5
7408 cat conftest.$ac_ext >&5
7410 rm -rf conftest* conftst*
7412 # Do not use the global_symbol_pipe unless it works.
7413 if test yes = "$pipe_works"; then
7416 lt_cv_sys_global_symbol_pipe=
7422 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7423 lt_cv_sys_global_symbol_to_cdecl=
7425 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7427 $as_echo "failed
" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7430 $as_echo "ok
" >&6; }
7433 # Response file support.
7434 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7435 nm_file_list_spec='@'
7436 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7437 nm_file_list_spec='@'
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7477 $as_echo_n "checking
for sysroot...
" >&6; }
7479 # Check whether --with-sysroot was given.
7480 if test "${with_sysroot+set}" = set; then :
7481 withval=$with_sysroot;
7488 case $with_sysroot in #(
7490 if test yes = "$GCC"; then
7491 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7495 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7501 $as_echo "$with_sysroot" >&6; }
7502 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7507 $as_echo "${lt_sysroot:-no}" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7514 $as_echo_n "checking
for a working
dd...
" >&6; }
7515 if ${ac_cv_path_lt_DD+:} false; then :
7516 $as_echo_n "(cached
) " >&6
7518 printf 0123456789abcdef0123456789abcdef >conftest.i
7519 cat conftest.i conftest.i >conftest2.i
7521 if test -z "$lt_DD"; then
7522 ac_path_lt_DD_found=false
7523 # Loop through the user's path and test for each of PROGNAME-LIST
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir=.
7529 for ac_prog in dd; do
7530 for ac_exec_ext in '' $ac_executable_extensions; do
7531 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7532 as_fn_executable_p "$ac_path_lt_DD" || continue
7533 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7534 cmp -s conftest.i conftest.out \
7535 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7537 $ac_path_lt_DD_found && break 3
7542 if test -z "$ac_cv_path_lt_DD"; then
7546 ac_cv_path_lt_DD=$lt_DD
7549 rm -f conftest.i conftest2.i conftest.out
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7552 $as_echo "$ac_cv_path_lt_DD" >&6; }
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7556 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7557 if ${lt_cv_truncate_bin+:} false; then :
7558 $as_echo_n "(cached
) " >&6
7560 printf 0123456789abcdef0123456789abcdef >conftest.i
7561 cat conftest.i conftest.i >conftest2.i
7563 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7564 cmp -s conftest.i conftest.out \
7565 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7567 rm -f conftest.i conftest2.i conftest.out
7568 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7571 $as_echo "$lt_cv_truncate_bin" >&6; }
7579 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7582 for cc_temp in $*""; do
7584 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7585 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7590 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7593 # Check whether --enable-libtool-lock was given.
7594 if test "${enable_libtool_lock+set}" = set; then :
7595 enableval=$enable_libtool_lock;
7598 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7600 # Some flags need to be propagated to the compiler or linker for good
7604 # Find out what ABI is being produced by ac_compile, and set mode
7605 # options accordingly.
7606 echo 'int i;' > conftest.$ac_ext
7607 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7608 (eval $ac_compile) 2>&5
7610 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7611 test $ac_status = 0; }; then
7612 case `/usr/bin/file conftest.$ac_objext` in
7624 # Find out what ABI is being produced by ac_compile, and set linker
7625 # options accordingly.
7626 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7627 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7628 (eval $ac_compile) 2>&5
7630 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7631 test $ac_status = 0; }; then
7632 if test yes = "$lt_cv_prog_gnu_ld"; then
7633 case `/usr/bin/file conftest.$ac_objext` in
7635 LD="${LD-ld} -melf32bsmip"
7638 LD="${LD-ld} -melf32bmipn32"
7641 LD="${LD-ld} -melf64bmip"
7645 case `/usr/bin/file conftest.$ac_objext` in
7662 # Find out what ABI is being produced by ac_compile, and set linker
7663 # options accordingly.
7664 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7665 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7666 (eval $ac_compile) 2>&5
7668 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7669 test $ac_status = 0; }; then
7671 case `/usr/bin/file conftest.$ac_objext` in
7679 case `/usr/bin/file conftest.$ac_objext` in
7681 emul="${emul}btsmip
"
7684 emul="${emul}ltsmip
"
7687 case `/usr/bin/file conftest.$ac_objext` in
7692 LD="${LD-ld} -m $emul"
7697 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7698 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7699 # Find out what ABI is being produced by ac_compile, and set linker
7700 # options accordingly. Note that the listed cases only cover the
7701 # situations where additional linker options are needed (such as when
7702 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7703 # vice versa); the common cases where no linker options are needed do
7704 # not appear in the list.
7705 echo 'int i;' > conftest.$ac_ext
7706 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7707 (eval $ac_compile) 2>&5
7709 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7710 test $ac_status = 0; }; then
7711 case `/usr/bin/file conftest.o` in
7714 x86_64-*kfreebsd*-gnu)
7715 LD="${LD-ld} -m elf_i386_fbsd
"
7718 case `/usr/bin/file conftest.o` in
7720 LD="${LD-ld} -m elf32_x86_64
"
7723 LD="${LD-ld} -m elf_i386
"
7727 powerpc64le-*linux*)
7728 LD="${LD-ld} -m elf32lppclinux
"
7731 LD="${LD-ld} -m elf32ppclinux
"
7734 LD="${LD-ld} -m elf_s390
"
7737 LD="${LD-ld} -m elf32_sparc
"
7743 x86_64-*kfreebsd*-gnu)
7744 LD="${LD-ld} -m elf_x86_64_fbsd
"
7747 LD="${LD-ld} -m elf_x86_64
"
7750 LD="${LD-ld} -m elf64lppc
"
7753 LD="${LD-ld} -m elf64ppc
"
7755 s390*-*linux*|s390*-*tpf*)
7756 LD="${LD-ld} -m elf64_s390
"
7759 LD="${LD-ld} -m elf64_sparc
"
7769 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7771 CFLAGS="$CFLAGS -belf"
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7773 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7774 if ${lt_cv_cc_needs_belf+:} false; then :
7775 $as_echo_n "(cached
) " >&6
7778 ac_cpp='$CPP $CPPFLAGS'
7779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h. */
7794 if ac_fn_c_try_link "$LINENO"; then :
7795 lt_cv_cc_needs_belf=yes
7797 lt_cv_cc_needs_belf=no
7799 rm -f core conftest.err conftest.$ac_objext \
7800 conftest$ac_exeext conftest.$ac_ext
7802 ac_cpp='$CPP $CPPFLAGS'
7803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7809 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7810 if test yes != "$lt_cv_cc_needs_belf"; then
7811 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7816 # Find out what ABI is being produced by ac_compile, and set linker
7817 # options accordingly.
7818 echo 'int i;' > conftest.$ac_ext
7819 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7820 (eval $ac_compile) 2>&5
7822 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7823 test $ac_status = 0; }; then
7824 case `/usr/bin/file conftest.o` in
7826 case $lt_cv_prog_gnu_ld in
7829 i?86-*-solaris*|x86_64-*-solaris*)
7830 LD="${LD-ld} -m elf_x86_64
"
7833 LD="${LD-ld} -m elf64_sparc
"
7836 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7837 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7842 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7854 need_locks=$enable_libtool_lock
7856 if test -n "$ac_tool_prefix"; then
7857 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7858 set dummy ${ac_tool_prefix}mt; ac_word=$2
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7860 $as_echo_n "checking
for $ac_word...
" >&6; }
7861 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7862 $as_echo_n "(cached
) " >&6
7864 if test -n "$MANIFEST_TOOL"; then
7865 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7874 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7884 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7885 if test -n "$MANIFEST_TOOL"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7887 $as_echo "$MANIFEST_TOOL" >&6; }
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7890 $as_echo "no
" >&6; }
7895 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7896 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7897 # Extract the first word of "mt
", so it can be a program name with args.
7898 set dummy mt; ac_word=$2
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7900 $as_echo_n "checking
for $ac_word...
" >&6; }
7901 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7902 $as_echo_n "(cached
) " >&6
7904 if test -n "$ac_ct_MANIFEST_TOOL"; then
7905 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911 test -z "$as_dir" && as_dir=.
7912 for ac_exec_ext in '' $ac_executable_extensions; do
7913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7914 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7924 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7925 if test -n "$ac_ct_MANIFEST_TOOL"; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7927 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7930 $as_echo "no
" >&6; }
7933 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7936 case $cross_compiling:$ac_tool_warned in
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7939 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7940 ac_tool_warned=yes ;;
7942 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7945 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7948 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7950 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7951 if ${lt_cv_path_mainfest_tool+:} false; then :
7952 $as_echo_n "(cached
) " >&6
7954 lt_cv_path_mainfest_tool=no
7955 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7956 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7957 cat conftest.err >&5
7958 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7959 lt_cv_path_mainfest_tool=yes
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7964 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7965 if test yes != "$lt_cv_path_mainfest_tool"; then
7975 rhapsody* | darwin*)
7976 if test -n "$ac_tool_prefix"; then
7977 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7978 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7980 $as_echo_n "checking
for $ac_word...
" >&6; }
7981 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7982 $as_echo_n "(cached
) " >&6
7984 if test -n "$DSYMUTIL"; then
7985 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8004 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8005 if test -n "$DSYMUTIL"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8007 $as_echo "$DSYMUTIL" >&6; }
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8010 $as_echo "no
" >&6; }
8015 if test -z "$ac_cv_prog_DSYMUTIL"; then
8016 ac_ct_DSYMUTIL=$DSYMUTIL
8017 # Extract the first word of "dsymutil
", so it can be a program name with args.
8018 set dummy dsymutil; ac_word=$2
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8020 $as_echo_n "checking
for $ac_word...
" >&6; }
8021 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8022 $as_echo_n "(cached
) " >&6
8024 if test -n "$ac_ct_DSYMUTIL"; then
8025 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031 test -z "$as_dir" && as_dir=.
8032 for ac_exec_ext in '' $ac_executable_extensions; do
8033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8034 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8044 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8045 if test -n "$ac_ct_DSYMUTIL"; then
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8047 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8050 $as_echo "no
" >&6; }
8053 if test "x
$ac_ct_DSYMUTIL" = x; then
8056 case $cross_compiling:$ac_tool_warned in
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8059 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8060 ac_tool_warned=yes ;;
8062 DSYMUTIL=$ac_ct_DSYMUTIL
8065 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8068 if test -n "$ac_tool_prefix"; then
8069 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8070 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8072 $as_echo_n "checking
for $ac_word...
" >&6; }
8073 if ${ac_cv_prog_NMEDIT+:} false; then :
8074 $as_echo_n "(cached
) " >&6
8076 if test -n "$NMEDIT"; then
8077 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8096 NMEDIT=$ac_cv_prog_NMEDIT
8097 if test -n "$NMEDIT"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8099 $as_echo "$NMEDIT" >&6; }
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8102 $as_echo "no
" >&6; }
8107 if test -z "$ac_cv_prog_NMEDIT"; then
8108 ac_ct_NMEDIT=$NMEDIT
8109 # Extract the first word of "nmedit
", so it can be a program name with args.
8110 set dummy nmedit; ac_word=$2
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8112 $as_echo_n "checking
for $ac_word...
" >&6; }
8113 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8114 $as_echo_n "(cached
) " >&6
8116 if test -n "$ac_ct_NMEDIT"; then
8117 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8123 test -z "$as_dir" && as_dir=.
8124 for ac_exec_ext in '' $ac_executable_extensions; do
8125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8126 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8136 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8137 if test -n "$ac_ct_NMEDIT"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8139 $as_echo "$ac_ct_NMEDIT" >&6; }
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8142 $as_echo "no
" >&6; }
8145 if test "x
$ac_ct_NMEDIT" = x; then
8148 case $cross_compiling:$ac_tool_warned in
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8151 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8152 ac_tool_warned=yes ;;
8154 NMEDIT=$ac_ct_NMEDIT
8157 NMEDIT="$ac_cv_prog_NMEDIT"
8160 if test -n "$ac_tool_prefix"; then
8161 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8162 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8164 $as_echo_n "checking
for $ac_word...
" >&6; }
8165 if ${ac_cv_prog_LIPO+:} false; then :
8166 $as_echo_n "(cached
) " >&6
8168 if test -n "$LIPO"; then
8169 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8188 LIPO=$ac_cv_prog_LIPO
8189 if test -n "$LIPO"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8191 $as_echo "$LIPO" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8194 $as_echo "no
" >&6; }
8199 if test -z "$ac_cv_prog_LIPO"; then
8201 # Extract the first word of "lipo
", so it can be a program name with args.
8202 set dummy lipo; ac_word=$2
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8204 $as_echo_n "checking
for $ac_word...
" >&6; }
8205 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8206 $as_echo_n "(cached
) " >&6
8208 if test -n "$ac_ct_LIPO"; then
8209 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8215 test -z "$as_dir" && as_dir=.
8216 for ac_exec_ext in '' $ac_executable_extensions; do
8217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8218 ac_cv_prog_ac_ct_LIPO="lipo
"
8219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8228 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8229 if test -n "$ac_ct_LIPO"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8231 $as_echo "$ac_ct_LIPO" >&6; }
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8234 $as_echo "no
" >&6; }
8237 if test "x
$ac_ct_LIPO" = x; then
8240 case $cross_compiling:$ac_tool_warned in
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8243 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8244 ac_tool_warned=yes ;;
8249 LIPO="$ac_cv_prog_LIPO"
8252 if test -n "$ac_tool_prefix"; then
8253 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8254 set dummy ${ac_tool_prefix}otool; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8256 $as_echo_n "checking
for $ac_word...
" >&6; }
8257 if ${ac_cv_prog_OTOOL+:} false; then :
8258 $as_echo_n "(cached
) " >&6
8260 if test -n "$OTOOL"; then
8261 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8280 OTOOL=$ac_cv_prog_OTOOL
8281 if test -n "$OTOOL"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8283 $as_echo "$OTOOL" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8286 $as_echo "no
" >&6; }
8291 if test -z "$ac_cv_prog_OTOOL"; then
8293 # Extract the first word of "otool
", so it can be a program name with args.
8294 set dummy otool; ac_word=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8296 $as_echo_n "checking
for $ac_word...
" >&6; }
8297 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8298 $as_echo_n "(cached
) " >&6
8300 if test -n "$ac_ct_OTOOL"; then
8301 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8307 test -z "$as_dir" && as_dir=.
8308 for ac_exec_ext in '' $ac_executable_extensions; do
8309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8310 ac_cv_prog_ac_ct_OTOOL="otool
"
8311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8320 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8321 if test -n "$ac_ct_OTOOL"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8323 $as_echo "$ac_ct_OTOOL" >&6; }
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8326 $as_echo "no
" >&6; }
8329 if test "x
$ac_ct_OTOOL" = x; then
8332 case $cross_compiling:$ac_tool_warned in
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8335 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8336 ac_tool_warned=yes ;;
8341 OTOOL="$ac_cv_prog_OTOOL"
8344 if test -n "$ac_tool_prefix"; then
8345 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8346 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8348 $as_echo_n "checking
for $ac_word...
" >&6; }
8349 if ${ac_cv_prog_OTOOL64+:} false; then :
8350 $as_echo_n "(cached
) " >&6
8352 if test -n "$OTOOL64"; then
8353 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8372 OTOOL64=$ac_cv_prog_OTOOL64
8373 if test -n "$OTOOL64"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8375 $as_echo "$OTOOL64" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8378 $as_echo "no
" >&6; }
8383 if test -z "$ac_cv_prog_OTOOL64"; then
8384 ac_ct_OTOOL64=$OTOOL64
8385 # Extract the first word of "otool64
", so it can be a program name with args.
8386 set dummy otool64; ac_word=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8388 $as_echo_n "checking
for $ac_word...
" >&6; }
8389 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8390 $as_echo_n "(cached
) " >&6
8392 if test -n "$ac_ct_OTOOL64"; then
8393 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 test -z "$as_dir" && as_dir=.
8400 for ac_exec_ext in '' $ac_executable_extensions; do
8401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8402 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8412 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8413 if test -n "$ac_ct_OTOOL64"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8415 $as_echo "$ac_ct_OTOOL64" >&6; }
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8418 $as_echo "no
" >&6; }
8421 if test "x
$ac_ct_OTOOL64" = x; then
8424 case $cross_compiling:$ac_tool_warned in
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8427 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8428 ac_tool_warned=yes ;;
8430 OTOOL64=$ac_ct_OTOOL64
8433 OTOOL64="$ac_cv_prog_OTOOL64"
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8463 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8464 if ${lt_cv_apple_cc_single_mod+:} false; then :
8465 $as_echo_n "(cached
) " >&6
8467 lt_cv_apple_cc_single_mod=no
8468 if test -z "$LT_MULTI_MODULE"; then
8469 # By default we will add the -single_module flag. You can override
8470 # by either setting the environment variable LT_MULTI_MODULE
8471 # non-empty at configure time, or by adding -multi_module to the
8473 rm -rf libconftest.dylib*
8474 echo "int foo
(void
){return 1;}" > conftest.c
8475 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8476 -dynamiclib -Wl,-single_module conftest.c
" >&5
8477 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8478 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8480 # If there is a non-empty error log, and "single_module
"
8481 # appears in it, assume the flag caused a linker warning
8482 if test -s conftest.err && $GREP single_module conftest.err; then
8483 cat conftest.err >&5
8484 # Otherwise, if the output was created with a 0 exit code from
8485 # the compiler, it worked.
8486 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8487 lt_cv_apple_cc_single_mod=yes
8489 cat conftest.err >&5
8491 rm -rf libconftest.dylib*
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8496 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8499 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8500 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8501 $as_echo_n "(cached
) " >&6
8503 lt_cv_ld_exported_symbols_list=no
8504 save_LDFLAGS=$LDFLAGS
8505 echo "_main
" > conftest.sym
8506 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8518 if ac_fn_c_try_link "$LINENO"; then :
8519 lt_cv_ld_exported_symbols_list=yes
8521 lt_cv_ld_exported_symbols_list=no
8523 rm -f core conftest.err conftest.$ac_objext \
8524 conftest$ac_exeext conftest.$ac_ext
8525 LDFLAGS=$save_LDFLAGS
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8529 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8532 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8533 if ${lt_cv_ld_force_load+:} false; then :
8534 $as_echo_n "(cached
) " >&6
8536 lt_cv_ld_force_load=no
8537 cat > conftest.c << _LT_EOF
8538 int forced_loaded() { return 2;}
8540 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8541 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8542 echo "$AR cru libconftest.a conftest.o
" >&5
8543 $AR cru libconftest.a conftest.o 2>&5
8544 echo "$RANLIB libconftest.a
" >&5
8545 $RANLIB libconftest.a 2>&5
8546 cat > conftest.c << _LT_EOF
8547 int main() { return 0;}
8549 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8550 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8552 if test -s conftest.err && $GREP force_load conftest.err; then
8553 cat conftest.err >&5
8554 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8555 lt_cv_ld_force_load=yes
8557 cat conftest.err >&5
8559 rm -f conftest.err libconftest.a conftest conftest.c
8560 rm -rf conftest.dSYM
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8564 $as_echo "$lt_cv_ld_force_load" >&6; }
8566 rhapsody* | darwin1.[012])
8567 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8569 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8570 darwin*) # darwin 5.x on
8571 # if running on 10.5 or later, the deployment target defaults
8572 # to the OS version, if on x86, and 10.4, the deployment
8573 # target defaults to 10.4. Don't you love it?
8574 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8575 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8576 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8578 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8580 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8584 if test yes = "$lt_cv_apple_cc_single_mod"; then
8585 _lt_dar_single_mod='$single_module'
8587 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8588 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8590 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8592 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8593 _lt_dsymutil='~$DSYMUTIL $lib || :'
8600 # func_munge_path_list VARIABLE PATH
8601 # -----------------------------------
8602 # VARIABLE is name of variable containing _space_ separated list of
8603 # directories to be munged by the contents of PATH, which is string
8606 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8608 # string "DIR
[ DIR
]" will be appended to VARIABLE
8609 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8610 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8611 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8613 # VARIABLE will be replaced by "DIR
[ DIR
]"
8614 func_munge_path_list ()
8620 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8623 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8626 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8627 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8630 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8636 ac_cpp='$CPP $CPPFLAGS'
8637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8641 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8642 # On Suns, sometimes $CPP names a directory.
8643 if test -n "$CPP" && test -d "$CPP"; then
8646 if test -z "$CPP"; then
8647 if ${ac_cv_prog_CPP+:} false; then :
8648 $as_echo_n "(cached
) " >&6
8650 # Double quotes because CPP needs to be expanded
8651 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8654 for ac_c_preproc_warn_flag in '' yes
8656 # Use a header file that comes with gcc, so configuring glibc
8657 # with a fresh cross-compiler works.
8658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8659 # <limits.h> exists even on freestanding compilers.
8660 # On the NeXT, cc -E runs the code through the compiler's parser,
8661 # not just through cpp. "Syntax error
" is here to catch this case.
8662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8665 # include <limits.h>
8667 # include <assert.h>
8671 if ac_fn_c_try_cpp "$LINENO"; then :
8674 # Broken: fails on valid input.
8677 rm -f conftest.err conftest.i conftest.$ac_ext
8679 # OK, works on sane cases. Now check whether nonexistent headers
8680 # can be detected and how.
8681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8682 /* end confdefs.h. */
8683 #include <ac_nonexistent.h>
8685 if ac_fn_c_try_cpp "$LINENO"; then :
8686 # Broken: success on invalid input.
8689 # Passes both tests.
8693 rm -f conftest.err conftest.i conftest.$ac_ext
8696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8697 rm -f conftest.i conftest.err conftest.$ac_ext
8698 if $ac_preproc_ok; then :
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8711 $as_echo "$CPP" >&6; }
8713 for ac_c_preproc_warn_flag in '' yes
8715 # Use a header file that comes with gcc, so configuring glibc
8716 # with a fresh cross-compiler works.
8717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8718 # <limits.h> exists even on freestanding compilers.
8719 # On the NeXT, cc -E runs the code through the compiler's parser,
8720 # not just through cpp. "Syntax error
" is here to catch this case.
8721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8722 /* end confdefs.h. */
8724 # include <limits.h>
8726 # include <assert.h>
8730 if ac_fn_c_try_cpp "$LINENO"; then :
8733 # Broken: fails on valid input.
8736 rm -f conftest.err conftest.i conftest.$ac_ext
8738 # OK, works on sane cases. Now check whether nonexistent headers
8739 # can be detected and how.
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 #include <ac_nonexistent.h>
8744 if ac_fn_c_try_cpp "$LINENO"; then :
8745 # Broken: success on invalid input.
8748 # Passes both tests.
8752 rm -f conftest.err conftest.i conftest.$ac_ext
8755 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8756 rm -f conftest.i conftest.err conftest.$ac_ext
8757 if $ac_preproc_ok; then :
8760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8762 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8763 See \`config.log' for more details
" "$LINENO" 5; }
8767 ac_cpp='$CPP $CPPFLAGS'
8768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8774 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8775 if ${ac_cv_header_stdc+:} false; then :
8776 $as_echo_n "(cached
) " >&6
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8793 if ac_fn_c_try_compile "$LINENO"; then :
8794 ac_cv_header_stdc=yes
8796 ac_cv_header_stdc=no
8798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8800 if test $ac_cv_header_stdc = yes; then
8801 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8807 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8808 $EGREP "memchr
" >/dev/null 2>&1; then :
8811 ac_cv_header_stdc=no
8817 if test $ac_cv_header_stdc = yes; then
8818 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8824 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8825 $EGREP "free
" >/dev/null 2>&1; then :
8828 ac_cv_header_stdc=no
8834 if test $ac_cv_header_stdc = yes; then
8835 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8836 if test "$cross_compiling" = yes; then :
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8843 #if ((' ' & 0x0FF) == 0x020)
8844 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8845 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8847 # define ISLOWER(c) \
8848 (('a' <= (c) && (c) <= 'i') \
8849 || ('j' <= (c) && (c) <= 'r') \
8850 || ('s' <= (c) && (c) <= 'z'))
8851 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8854 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8859 for (i = 0; i < 256; i++)
8860 if (XOR (islower (i), ISLOWER (i))
8861 || toupper (i) != TOUPPER (i))
8866 if ac_fn_c_try_run "$LINENO"; then :
8869 ac_cv_header_stdc=no
8871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8872 conftest.$ac_objext conftest.beam conftest.$ac_ext
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8878 $as_echo "$ac_cv_header_stdc" >&6; }
8879 if test $ac_cv_header_stdc = yes; then
8881 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8885 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8886 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8887 inttypes.h stdint.h unistd.h
8889 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8890 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8892 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8893 cat >>confdefs.h
<<_ACEOF
8894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8902 for ac_header
in dlfcn.h
8904 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8906 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8907 cat >>confdefs.h
<<_ACEOF
8908 #define HAVE_DLFCN_H 1
8918 func_stripname_cnf
()
8921 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8922 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8924 } # func_stripname_cnf
8931 # Check whether --enable-static was given.
8932 if test "${enable_static+set}" = set; then :
8933 enableval
=$enable_static; p
=${PACKAGE-default}
8935 yes) enable_static
=yes ;;
8936 no
) enable_static
=no
;;
8939 # Look at the argument we got. We use all the common list separators.
8940 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8941 for pkg
in $enableval; do
8943 if test "X$pkg" = "X$p"; then
8969 # Check whether --enable-shared was given.
8970 if test "${enable_shared+set}" = set; then :
8971 enableval
=$enable_shared; p
=${PACKAGE-default}
8973 yes) enable_shared
=yes ;;
8974 no
) enable_shared
=no
;;
8977 # Look at the argument we got. We use all the common list separators.
8978 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8979 for pkg
in $enableval; do
8981 if test "X$pkg" = "X$p"; then
9002 # Check whether --with-pic was given.
9003 if test "${with_pic+set}" = set; then :
9004 withval
=$with_pic; lt_p
=${PACKAGE-default}
9006 yes|no
) pic_mode
=$withval ;;
9009 # Look at the argument we got. We use all the common list separators.
9010 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9011 for lt_pkg
in $withval; do
9013 if test "X$lt_pkg" = "X$lt_p"; then
9031 # Check whether --enable-fast-install was given.
9032 if test "${enable_fast_install+set}" = set; then :
9033 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9035 yes) enable_fast_install
=yes ;;
9036 no
) enable_fast_install
=no
;;
9038 enable_fast_install
=no
9039 # Look at the argument we got. We use all the common list separators.
9040 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9041 for pkg
in $enableval; do
9043 if test "X$pkg" = "X$p"; then
9044 enable_fast_install
=yes
9051 enable_fast_install
=yes
9061 shared_archive_member_spec
=
9062 case $host,$enable_shared in
9063 power
*-*-aix[5-9]*,yes)
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9065 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9067 # Check whether --with-aix-soname was given.
9068 if test "${with_aix_soname+set}" = set; then :
9069 withval
=$with_aix_soname; case $withval in
9073 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9076 lt_cv_with_aix_soname
=$with_aix_soname
9078 if ${lt_cv_with_aix_soname+:} false
; then :
9079 $as_echo_n "(cached) " >&6
9081 lt_cv_with_aix_soname
=aix
9084 with_aix_soname
=$lt_cv_with_aix_soname
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9088 $as_echo "$with_aix_soname" >&6; }
9089 if test aix
!= "$with_aix_soname"; then
9090 # For the AIX way of multilib, we name the shared archive member
9091 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9092 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9093 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9094 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9095 if test 64 = "${OBJECT_MODE-32}"; then
9096 shared_archive_member_spec
=shr_64
9098 shared_archive_member_spec
=shr
9116 # This can be used to rebuild libtool when needed
9117 LIBTOOL_DEPS
=$ltmain
9119 # Always use our own libtool.
9120 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9151 test -z "$LN_S" && LN_S
="ln -s"
9166 if test -n "${ZSH_VERSION+set}"; then
9167 setopt NO_GLOB_SUBST
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9171 $as_echo_n "checking for objdir... " >&6; }
9172 if ${lt_cv_objdir+:} false
; then :
9173 $as_echo_n "(cached) " >&6
9175 rm -f .libs
2>/dev
/null
9176 mkdir .libs
2>/dev
/null
9177 if test -d .libs
; then
9180 # MS-DOS does not allow filenames that begin with a dot.
9183 rmdir .libs
2>/dev
/null
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9186 $as_echo "$lt_cv_objdir" >&6; }
9187 objdir
=$lt_cv_objdir
9193 cat >>confdefs.h
<<_ACEOF
9194 #define LT_OBJDIR "$lt_cv_objdir/"
9202 # AIX sometimes has problems with the GCC collect2 program. For some
9203 # reason, if we set the COLLECT_NAMES environment variable, the problems
9204 # vanish in a puff of smoke.
9205 if test set != "${COLLECT_NAMES+set}"; then
9207 export COLLECT_NAMES
9214 can_build_shared
=yes
9216 # All known linkers require a '.a' archive for static linking (except MSVC,
9217 # which needs '.lib').
9220 with_gnu_ld
=$lt_cv_prog_gnu_ld
9225 # Set sane defaults for various variables
9226 test -z "$CC" && CC
=cc
9227 test -z "$LTCC" && LTCC
=$CC
9228 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9229 test -z "$LD" && LD
=ld
9230 test -z "$ac_objext" && ac_objext
=o
9232 func_cc_basename
$compiler
9233 cc_basename
=$func_cc_basename_result
9236 # Only perform the check for file, if the check method requires it
9237 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9238 case $deplibs_check_method in
9240 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9242 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9243 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9244 $as_echo_n "(cached) " >&6
9248 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9251 lt_save_MAGIC_CMD
=$MAGIC_CMD
9252 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9253 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9254 for ac_dir
in $ac_dummy; do
9256 test -z "$ac_dir" && ac_dir
=.
9257 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9258 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9259 if test -n "$file_magic_test_file"; then
9260 case $deplibs_check_method in
9262 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9263 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9264 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9265 $EGREP "$file_magic_regex" > /dev
/null
; then
9270 *** Warning: the command libtool uses to detect shared libraries,
9271 *** $file_magic_cmd, produces output that libtool cannot recognize.
9272 *** The result is that libtool may fail to recognize shared libraries
9273 *** as such. This will affect the creation of libtool libraries that
9274 *** depend on shared libraries, but programs linked with such libtool
9275 *** libraries will work regardless of this problem. Nevertheless, you
9276 *** may want to report the problem to your system manager and/or to
9277 *** bug-libtool@gnu.org
9287 MAGIC_CMD
=$lt_save_MAGIC_CMD
9292 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9293 if test -n "$MAGIC_CMD"; then
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9295 $as_echo "$MAGIC_CMD" >&6; }
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 $as_echo "no" >&6; }
9305 if test -z "$lt_cv_path_MAGIC_CMD"; then
9306 if test -n "$ac_tool_prefix"; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9308 $as_echo_n "checking for file... " >&6; }
9309 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9310 $as_echo_n "(cached) " >&6
9314 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9317 lt_save_MAGIC_CMD
=$MAGIC_CMD
9318 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9319 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9320 for ac_dir
in $ac_dummy; do
9322 test -z "$ac_dir" && ac_dir
=.
9323 if test -f "$ac_dir/file"; then
9324 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9325 if test -n "$file_magic_test_file"; then
9326 case $deplibs_check_method in
9328 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9329 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9330 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9331 $EGREP "$file_magic_regex" > /dev
/null
; then
9336 *** Warning: the command libtool uses to detect shared libraries,
9337 *** $file_magic_cmd, produces output that libtool cannot recognize.
9338 *** The result is that libtool may fail to recognize shared libraries
9339 *** as such. This will affect the creation of libtool libraries that
9340 *** depend on shared libraries, but programs linked with such libtool
9341 *** libraries will work regardless of this problem. Nevertheless, you
9342 *** may want to report the problem to your system manager and/or to
9343 *** bug-libtool@gnu.org
9353 MAGIC_CMD
=$lt_save_MAGIC_CMD
9358 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9359 if test -n "$MAGIC_CMD"; then
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9361 $as_echo "$MAGIC_CMD" >&6; }
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9364 $as_echo "no" >&6; }
9377 # Use C for the default configuration in the libtool script
9381 ac_cpp
='$CPP $CPPFLAGS'
9382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9387 # Source file extension for C test sources.
9390 # Object file extension for compiled C test sources.
9394 # Code to be used in simple compile tests
9395 lt_simple_compile_test_code
="int some_variable = 0;"
9397 # Code to be used in simple link tests
9398 lt_simple_link_test_code
='int main(){return(0);}'
9406 # If no C compiler was specified, use CC.
9409 # If no C compiler flags were specified, use CFLAGS.
9410 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9412 # Allow CC to be a program name with arguments.
9415 # Save the default compiler, since it gets overwritten when the other
9416 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9417 compiler_DEFAULT
=$CC
9419 # save warnings/boilerplate of simple test code
9420 ac_outfile
=conftest.
$ac_objext
9421 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9422 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9423 _lt_compiler_boilerplate
=`cat conftest.err`
9426 ac_outfile
=conftest.
$ac_objext
9427 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9428 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9429 _lt_linker_boilerplate
=`cat conftest.err`
9434 ## There is no encapsulation within the following macros, do not change
9435 ## the running order or otherwise move them around unless you know exactly
9436 ## what you are doing...
9437 if test -n "$compiler"; then
9439 lt_prog_compiler_no_builtin_flag
=
9441 if test yes = "$GCC"; then
9442 case $cc_basename in
9444 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9446 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9450 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9451 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9452 $as_echo_n "(cached) " >&6
9454 lt_cv_prog_compiler_rtti_exceptions
=no
9455 ac_outfile
=conftest.
$ac_objext
9456 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9457 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9458 # Insert the option either (1) after the last *FLAGS variable, or
9459 # (2) before a word containing "conftest.", or (3) at the end.
9460 # Note that $ac_compile itself does not contain backslashes and begins
9461 # with a dollar sign (not a hyphen), so the echo should work correctly.
9462 # The option is referenced via a variable to avoid confusing sed.
9463 lt_compile
=`echo "$ac_compile" | $SED \
9464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9466 -e 's:$: $lt_compiler_flag:'`
9467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9468 (eval "$lt_compile" 2>conftest.err
)
9470 cat conftest.err
>&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 if (exit $ac_status) && test -s "$ac_outfile"; then
9473 # The compiler can only warn and ignore the option if not recognized
9474 # So say no if there are warnings other than the usual output.
9475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9476 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9477 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9478 lt_cv_prog_compiler_rtti_exceptions
=yes
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9485 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9487 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9488 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9500 lt_prog_compiler_wl
=
9501 lt_prog_compiler_pic
=
9502 lt_prog_compiler_static
=
9505 if test yes = "$GCC"; then
9506 lt_prog_compiler_wl
='-Wl,'
9507 lt_prog_compiler_static
='-static'
9511 # All AIX code is PIC.
9512 if test ia64
= "$host_cpu"; then
9513 # AIX 5 now supports IA64 processor
9514 lt_prog_compiler_static
='-Bstatic'
9516 lt_prog_compiler_pic
='-fPIC'
9522 # see comment about AmigaOS4 .so support
9523 lt_prog_compiler_pic
='-fPIC'
9526 # FIXME: we need at least 68020 code to build shared libraries, but
9527 # adding the '-m68020' flag to GCC prevents building anything better,
9529 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9534 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9535 # PIC is the default for these OSes.
9538 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9539 # This hack is so that the source file can tell whether it is being
9540 # built for inclusion in a dll (and should export symbols for example).
9541 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9542 # (--disable-auto-import) libraries
9543 lt_prog_compiler_pic
='-DDLL_EXPORT'
9546 lt_prog_compiler_static
='$wl-static'
9551 darwin
* | rhapsody
*)
9552 # PIC is the default on this platform
9553 # Common symbols not allowed in MH_DYLIB files
9554 lt_prog_compiler_pic
='-fno-common'
9558 # PIC is the default for Haiku.
9559 # The "-static" flag exists, but is broken.
9560 lt_prog_compiler_static
=
9564 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9565 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9566 # sets the default TLS model and affects inlining.
9572 lt_prog_compiler_pic
='-fPIC'
9578 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9579 # Instead, we relocate shared libraries at runtime.
9583 # Just because we use GCC doesn't mean we suddenly get shared libraries
9584 # on systems that don't support them.
9585 lt_prog_compiler_can_build_shared
=no
9590 # QNX uses GNU C++, but need to define -shared option too, otherwise
9592 lt_prog_compiler_pic
='-fPIC -shared'
9596 if test -d /usr
/nec
; then
9597 lt_prog_compiler_pic
=-Kconform_pic
9602 lt_prog_compiler_pic
='-fPIC'
9606 case $cc_basename in
9607 nvcc
*) # Cuda Compiler Driver 2.2
9608 lt_prog_compiler_wl
='-Xlinker '
9609 if test -n "$lt_prog_compiler_pic"; then
9610 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9615 # PORTME Check for flag to pass linker flags through the system compiler.
9618 lt_prog_compiler_wl
='-Wl,'
9619 if test ia64
= "$host_cpu"; then
9620 # AIX 5 now supports IA64 processor
9621 lt_prog_compiler_static
='-Bstatic'
9623 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9627 darwin
* | rhapsody
*)
9628 # PIC is the default on this platform
9629 # Common symbols not allowed in MH_DYLIB files
9630 lt_prog_compiler_pic
='-fno-common'
9631 case $cc_basename in
9633 # NAG Fortran compiler
9634 lt_prog_compiler_wl
='-Wl,-Wl,,'
9635 lt_prog_compiler_pic
='-PIC'
9636 lt_prog_compiler_static
='-Bstatic'
9641 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9642 # This hack is so that the source file can tell whether it is being
9643 # built for inclusion in a dll (and should export symbols for example).
9644 lt_prog_compiler_pic
='-DDLL_EXPORT'
9647 lt_prog_compiler_static
='$wl-static'
9652 hpux9
* | hpux10
* | hpux11
*)
9653 lt_prog_compiler_wl
='-Wl,'
9654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9661 lt_prog_compiler_pic
='+Z'
9664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9665 lt_prog_compiler_static
='$wl-a ${wl}archive'
9668 irix5
* | irix6
* | nonstopux
*)
9669 lt_prog_compiler_wl
='-Wl,'
9670 # PIC (with -KPIC) is the default.
9671 lt_prog_compiler_static
='-non_shared'
9674 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9675 case $cc_basename in
9676 # old Intel for x86_64, which still supported -KPIC.
9678 lt_prog_compiler_wl
='-Wl,'
9679 lt_prog_compiler_pic
='-KPIC'
9680 lt_prog_compiler_static
='-static'
9682 # icc used to be incompatible with GCC.
9683 # ICC 10 doesn't accept -KPIC any more.
9685 lt_prog_compiler_wl
='-Wl,'
9686 lt_prog_compiler_pic
='-fPIC'
9687 lt_prog_compiler_static
='-static'
9689 # Lahey Fortran 8.1.
9691 lt_prog_compiler_wl
='-Wl,'
9692 lt_prog_compiler_pic
='--shared'
9693 lt_prog_compiler_static
='--static'
9696 # NAG Fortran compiler
9697 lt_prog_compiler_wl
='-Wl,-Wl,,'
9698 lt_prog_compiler_pic
='-PIC'
9699 lt_prog_compiler_static
='-Bstatic'
9702 # Fabrice Bellard et al's Tiny C Compiler
9703 lt_prog_compiler_wl
='-Wl,'
9704 lt_prog_compiler_pic
='-fPIC'
9705 lt_prog_compiler_static
='-static'
9707 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9708 # Portland Group compilers (*not* the Pentium gcc compiler,
9709 # which looks to be a dead project)
9710 lt_prog_compiler_wl
='-Wl,'
9711 lt_prog_compiler_pic
='-fpic'
9712 lt_prog_compiler_static
='-Bstatic'
9715 lt_prog_compiler_wl
='-Wl,'
9716 # All Alpha code is PIC.
9717 lt_prog_compiler_static
='-non_shared'
9719 xl
* | bgxl
* | bgf
* | mpixl
*)
9720 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9721 lt_prog_compiler_wl
='-Wl,'
9722 lt_prog_compiler_pic
='-qpic'
9723 lt_prog_compiler_static
='-qstaticlink'
9726 case `$CC -V 2>&1 | sed 5q` in
9727 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9728 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9729 lt_prog_compiler_pic
='-KPIC'
9730 lt_prog_compiler_static
='-Bstatic'
9731 lt_prog_compiler_wl
=''
9733 *Sun\ F
* | *Sun
*Fortran
*)
9734 lt_prog_compiler_pic
='-KPIC'
9735 lt_prog_compiler_static
='-Bstatic'
9736 lt_prog_compiler_wl
='-Qoption ld '
9740 lt_prog_compiler_pic
='-KPIC'
9741 lt_prog_compiler_static
='-Bstatic'
9742 lt_prog_compiler_wl
='-Wl,'
9744 *Intel
*\
[CF
]*Compiler
*)
9745 lt_prog_compiler_wl
='-Wl,'
9746 lt_prog_compiler_pic
='-fPIC'
9747 lt_prog_compiler_static
='-static'
9750 lt_prog_compiler_wl
='-Wl,'
9751 lt_prog_compiler_pic
='-fpic'
9752 lt_prog_compiler_static
='-Bstatic'
9760 lt_prog_compiler_pic
='-KPIC'
9761 lt_prog_compiler_static
='-Bstatic'
9765 # QNX uses GNU C++, but need to define -shared option too, otherwise
9767 lt_prog_compiler_pic
='-fPIC -shared'
9770 osf3
* | osf4
* | osf5
*)
9771 lt_prog_compiler_wl
='-Wl,'
9772 # All OSF/1 code is PIC.
9773 lt_prog_compiler_static
='-non_shared'
9777 lt_prog_compiler_static
='-non_shared'
9781 lt_prog_compiler_pic
='-KPIC'
9782 lt_prog_compiler_static
='-Bstatic'
9783 case $cc_basename in
9784 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9785 lt_prog_compiler_wl
='-Qoption ld ';;
9787 lt_prog_compiler_wl
='-Wl,';;
9792 lt_prog_compiler_wl
='-Qoption ld '
9793 lt_prog_compiler_pic
='-PIC'
9794 lt_prog_compiler_static
='-Bstatic'
9797 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9798 lt_prog_compiler_wl
='-Wl,'
9799 lt_prog_compiler_pic
='-KPIC'
9800 lt_prog_compiler_static
='-Bstatic'
9804 if test -d /usr
/nec
; then
9805 lt_prog_compiler_pic
='-Kconform_pic'
9806 lt_prog_compiler_static
='-Bstatic'
9810 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9811 lt_prog_compiler_wl
='-Wl,'
9812 lt_prog_compiler_pic
='-KPIC'
9813 lt_prog_compiler_static
='-Bstatic'
9817 lt_prog_compiler_wl
='-Wl,'
9818 lt_prog_compiler_can_build_shared
=no
9822 lt_prog_compiler_pic
='-pic'
9823 lt_prog_compiler_static
='-Bstatic'
9827 lt_prog_compiler_can_build_shared
=no
9833 # For platforms that do not support PIC, -DPIC is meaningless:
9835 lt_prog_compiler_pic
=
9838 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9843 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9844 if ${lt_cv_prog_compiler_pic+:} false
; then :
9845 $as_echo_n "(cached) " >&6
9847 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9850 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9851 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9854 # Check to make sure the PIC flag actually works.
9856 if test -n "$lt_prog_compiler_pic"; then
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9858 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9859 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9860 $as_echo_n "(cached) " >&6
9862 lt_cv_prog_compiler_pic_works
=no
9863 ac_outfile
=conftest.
$ac_objext
9864 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9865 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9866 # Insert the option either (1) after the last *FLAGS variable, or
9867 # (2) before a word containing "conftest.", or (3) at the end.
9868 # Note that $ac_compile itself does not contain backslashes and begins
9869 # with a dollar sign (not a hyphen), so the echo should work correctly.
9870 # The option is referenced via a variable to avoid confusing sed.
9871 lt_compile
=`echo "$ac_compile" | $SED \
9872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9874 -e 's:$: $lt_compiler_flag:'`
9875 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9876 (eval "$lt_compile" 2>conftest.err
)
9878 cat conftest.err
>&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 if (exit $ac_status) && test -s "$ac_outfile"; then
9881 # The compiler can only warn and ignore the option if not recognized
9882 # So say no if there are warnings other than the usual output.
9883 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9884 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9885 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9886 lt_cv_prog_compiler_pic_works
=yes
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9893 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9895 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9896 case $lt_prog_compiler_pic in
9898 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9901 lt_prog_compiler_pic
=
9902 lt_prog_compiler_can_build_shared
=no
9918 # Check to make sure the static flag actually works.
9920 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9922 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9923 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9924 $as_echo_n "(cached) " >&6
9926 lt_cv_prog_compiler_static_works
=no
9927 save_LDFLAGS
=$LDFLAGS
9928 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9929 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9930 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9931 # The linker can only warn and ignore the option if not recognized
9932 # So say no if there are warnings
9933 if test -s conftest.err
; then
9934 # Append any errors to the config.log.
9935 cat conftest.err
1>&5
9936 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9937 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9938 if diff conftest.exp conftest.er2
>/dev
/null
; then
9939 lt_cv_prog_compiler_static_works
=yes
9942 lt_cv_prog_compiler_static_works
=yes
9946 LDFLAGS
=$save_LDFLAGS
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9950 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9952 if test yes = "$lt_cv_prog_compiler_static_works"; then
9955 lt_prog_compiler_static
=
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9965 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9966 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9967 $as_echo_n "(cached) " >&6
9969 lt_cv_prog_compiler_c_o
=no
9970 $RM -r conftest
2>/dev
/null
9974 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9976 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9977 # Insert the option either (1) after the last *FLAGS variable, or
9978 # (2) before a word containing "conftest.", or (3) at the end.
9979 # Note that $ac_compile itself does not contain backslashes and begins
9980 # with a dollar sign (not a hyphen), so the echo should work correctly.
9981 lt_compile
=`echo "$ac_compile" | $SED \
9982 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9983 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9984 -e 's:$: $lt_compiler_flag:'`
9985 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9986 (eval "$lt_compile" 2>out
/conftest.err
)
9988 cat out
/conftest.err
>&5
9989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9992 # The compiler can only warn and ignore the option if not recognized
9993 # So say no if there are warnings
9994 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9995 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9996 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9997 lt_cv_prog_compiler_c_o
=yes
10002 # SGI C++ compiler will create directory out/ii_files/ for
10003 # template instantiation
10004 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10005 $RM out
/* && rmdir out
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10012 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10020 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10021 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10022 $as_echo_n "(cached) " >&6
10024 lt_cv_prog_compiler_c_o
=no
10025 $RM -r conftest
2>/dev
/null
10029 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10031 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10032 # Insert the option either (1) after the last *FLAGS variable, or
10033 # (2) before a word containing "conftest.", or (3) at the end.
10034 # Note that $ac_compile itself does not contain backslashes and begins
10035 # with a dollar sign (not a hyphen), so the echo should work correctly.
10036 lt_compile
=`echo "$ac_compile" | $SED \
10037 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10039 -e 's:$: $lt_compiler_flag:'`
10040 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10041 (eval "$lt_compile" 2>out
/conftest.err
)
10043 cat out
/conftest.err
>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10047 # The compiler can only warn and ignore the option if not recognized
10048 # So say no if there are warnings
10049 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10050 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10051 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10052 lt_cv_prog_compiler_c_o
=yes
10057 # SGI C++ compiler will create directory out/ii_files/ for
10058 # template instantiation
10059 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10060 $RM out
/* && rmdir out
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10067 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10072 hard_links
=nottested
10073 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10074 # do not overwrite the value of need_locks provided by the user
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10076 $as_echo_n "checking if we can lock with hard links... " >&6; }
10079 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10081 ln conftest.a conftest.b
2>&5 || hard_links
=no
10082 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10084 $as_echo "$hard_links" >&6; }
10085 if test no
= "$hard_links"; then
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10087 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10100 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10103 allow_undefined_flag
=
10104 always_export_symbols
=no
10106 archive_expsym_cmds
=
10107 compiler_needs_object
=no
10108 enable_shared_with_static_runtimes
=no
10109 export_dynamic_flag_spec
=
10110 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10111 hardcode_automatic
=no
10113 hardcode_direct_absolute
=no
10114 hardcode_libdir_flag_spec
=
10115 hardcode_libdir_separator
=
10116 hardcode_minus_L
=no
10117 hardcode_shlibpath_var
=unsupported
10119 link_all_deplibs
=unknown
10121 module_expsym_cmds
=
10122 old_archive_from_new_cmds
=
10123 old_archive_from_expsyms_cmds
=
10124 thread_safe_flag_spec
=
10125 whole_archive_flag_spec
=
10126 # include_expsyms should be a list of space-separated symbols to be *always*
10127 # included in the symbol list
10129 # exclude_expsyms can be an extended regexp of symbols to exclude
10130 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10131 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10132 # as well as any symbol that contains 'd'.
10133 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10134 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10135 # platforms (ab)use it in PIC code, but their linkers get confused if
10136 # the symbol is explicitly referenced. Since portable code cannot
10137 # rely on this symbol name, it's probably fine to never include it in
10138 # preloaded symbol tables.
10139 # Exclude shared library initialization/finalization symbols.
10140 extract_expsyms_cmds
=
10143 cygwin
* | mingw
* | pw32
* | cegcc
*)
10144 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10145 # When not using gcc, we currently assume that we are using
10146 # Microsoft Visual C++.
10147 if test yes != "$GCC"; then
10152 # we just hope/assume this is gcc and not c89 (= MSVC++)
10155 openbsd
* | bitrig
*)
10162 # On some targets, GNU ld is compatible enough with the native linker
10163 # that we're better off using the native interface for both.
10164 lt_use_gnu_ld_interface
=no
10165 if test yes = "$with_gnu_ld"; then
10168 # The AIX port of GNU ld has always aspired to compatibility
10169 # with the native linker. However, as the warning in the GNU ld
10170 # block says, versions before 2.19.5* couldn't really create working
10171 # shared libraries, regardless of the interface used.
10172 case `$LD -v 2>&1` in
10173 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10174 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10175 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10177 lt_use_gnu_ld_interface
=yes
10182 lt_use_gnu_ld_interface
=yes
10187 if test yes = "$lt_use_gnu_ld_interface"; then
10188 # If archive_cmds runs LD, not CC, wlarc should be empty
10191 # Set some defaults for GNU ld with shared library support. These
10192 # are reset later if shared libraries are not supported. Putting them
10193 # here allows them to be overridden if necessary.
10194 runpath_var
=LD_RUN_PATH
10195 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10196 export_dynamic_flag_spec
='$wl--export-dynamic'
10197 # ancient GNU ld didn't support --whole-archive et. al.
10198 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10199 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10201 whole_archive_flag_spec
=
10203 supports_anon_versioning
=no
10204 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10205 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10206 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10207 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10208 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10209 *\
2.11.
*) ;; # other 2.11 versions
10210 *) supports_anon_versioning
=yes ;;
10213 # See if GNU ld supports shared libraries.
10216 # On AIX/PPC, the GNU linker is very broken
10217 if test ia64
!= "$host_cpu"; then
10221 *** Warning: the GNU linker, at least up to release 2.19, is reported
10222 *** to be unable to reliably create shared libraries on AIX.
10223 *** Therefore, libtool is disabling shared libraries support. If you
10224 *** really care for shared libraries, you may want to install binutils
10225 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10226 *** You will then need to restart the configuration process.
10235 # see comment about AmigaOS4 .so support
10236 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10237 archive_expsym_cmds
=''
10240 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)'
10241 hardcode_libdir_flag_spec
='-L$libdir'
10242 hardcode_minus_L
=yes
10248 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10249 allow_undefined_flag
=unsupported
10250 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10251 # support --undefined. This deserves some investigation. FIXME
10252 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10258 cygwin
* | mingw
* | pw32
* | cegcc
*)
10259 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10260 # as there is no search path for DLLs.
10261 hardcode_libdir_flag_spec
='-L$libdir'
10262 export_dynamic_flag_spec
='$wl--export-all-symbols'
10263 allow_undefined_flag
=unsupported
10264 always_export_symbols
=no
10265 enable_shared_with_static_runtimes
=yes
10266 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'
10267 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10269 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10270 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10271 # If the export-symbols file already is a .def file, use it as
10272 # is; otherwise, prepend EXPORTS...
10273 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10274 cp $export_symbols $output_objdir/$soname.def;
10276 echo EXPORTS > $output_objdir/$soname.def;
10277 cat $export_symbols >> $output_objdir/$soname.def;
10279 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10286 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10287 link_all_deplibs
=yes
10291 hardcode_libdir_flag_spec
='-L$libdir'
10292 hardcode_minus_L
=yes
10293 allow_undefined_flag
=unsupported
10295 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10296 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10297 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10298 $ECHO EXPORTS >> $output_objdir/$libname.def~
10299 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10300 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10301 emximp -o $lib $output_objdir/$libname.def'
10302 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10303 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10304 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10305 $ECHO EXPORTS >> $output_objdir/$libname.def~
10306 prefix_cmds="$SED"~
10307 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10308 prefix_cmds="$prefix_cmds -e 1d";
10310 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10311 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10312 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10313 emximp -o $lib $output_objdir/$libname.def'
10314 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10315 enable_shared_with_static_runtimes
=yes
10320 hardcode_shlibpath_var
=no
10321 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10322 export_dynamic_flag_spec
='$wl-E'
10323 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10324 # Instead, shared libraries are loaded at an image base (0x10000000 by
10325 # default) and relocated if they conflict, which is a slow very memory
10326 # consuming and fragmenting process. To avoid this, we pick a random,
10327 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10328 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10329 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10330 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'
10333 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10335 if test linux
-dietlibc = "$host_os"; then
10336 case $cc_basename in
10337 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10340 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10341 && test no
= "$tmp_diet"
10343 tmp_addflag
=' $pic_flag'
10344 tmp_sharedflag
='-shared'
10345 case $cc_basename,$host_cpu in
10346 pgcc
*) # Portland Group C compiler
10347 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'
10348 tmp_addflag
=' $pic_flag'
10350 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10351 # Portland Group f77 and f90 compilers
10352 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'
10353 tmp_addflag
=' $pic_flag -Mnomain' ;;
10354 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10355 tmp_addflag
=' -i_dynamic' ;;
10356 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10357 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10358 ifc
* | ifort
*) # Intel Fortran compiler
10359 tmp_addflag
=' -nofor_main' ;;
10360 lf95
*) # Lahey Fortran 8.1
10361 whole_archive_flag_spec
=
10362 tmp_sharedflag
='--shared' ;;
10363 nagfor
*) # NAGFOR 5.3
10364 tmp_sharedflag
='-Wl,-shared' ;;
10365 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10366 tmp_sharedflag
='-qmkshrobj'
10368 nvcc
*) # Cuda Compiler Driver 2.2
10369 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'
10370 compiler_needs_object
=yes
10373 case `$CC -V 2>&1 | sed 5q` in
10374 *Sun\ C
*) # Sun C 5.9
10375 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'
10376 compiler_needs_object
=yes
10377 tmp_sharedflag
='-G' ;;
10378 *Sun\ F
*) # Sun Fortran 8.3
10379 tmp_sharedflag
='-G' ;;
10381 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10383 if test yes = "$supports_anon_versioning"; then
10384 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10385 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10386 echo "local: *; };" >> $output_objdir/$libname.ver~
10387 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10390 case $cc_basename in
10392 export_dynamic_flag_spec
='-rdynamic'
10394 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10395 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10396 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10397 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10398 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10399 if test yes = "$supports_anon_versioning"; then
10400 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10401 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10402 echo "local: *; };" >> $output_objdir/$libname.ver~
10403 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10413 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10414 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10417 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10418 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10423 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10427 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10428 *** create shared libraries on Solaris systems. Therefore, libtool
10429 *** is disabling shared libraries support. We urge you to upgrade GNU
10430 *** binutils to release 2.9.1 or newer. Another option is to modify
10431 *** your PATH or compiler configuration so that the native linker is
10432 *** used, and then restart.
10435 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10436 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10437 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10443 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10444 case `$LD -v 2>&1` in
10445 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10449 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10450 *** reliably create shared libraries on SCO systems. Therefore, libtool
10451 *** is disabling shared libraries support. We urge you to upgrade GNU
10452 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10453 *** your PATH or compiler configuration so that the native linker is
10454 *** used, and then restart.
10459 # For security reasons, it is highly recommended that you always
10460 # use absolute paths for naming shared libraries, and exclude the
10461 # DT_RUNPATH tag from executables and libraries. But doing so
10462 # requires that you compile everything twice, which is a pain.
10463 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10464 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10465 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10466 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10475 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10477 hardcode_direct
=yes
10478 hardcode_shlibpath_var
=no
10482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10483 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10484 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10491 if test no
= "$ld_shlibs"; then
10493 hardcode_libdir_flag_spec
=
10494 export_dynamic_flag_spec
=
10495 whole_archive_flag_spec
=
10498 # PORTME fill in a description of your system's linker (not GNU ld)
10501 allow_undefined_flag
=unsupported
10502 always_export_symbols
=yes
10503 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'
10504 # Note: this linker hardcodes the directories in LIBPATH if there
10505 # are no directories specified by -L.
10506 hardcode_minus_L
=yes
10507 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10508 # Neither direct hardcoding nor static linking is supported with a
10510 hardcode_direct
=unsupported
10515 if test ia64
= "$host_cpu"; then
10516 # On IA64, the linker does run time linking by default, so we don't
10517 # have to do anything special.
10518 aix_use_runtimelinking
=no
10519 exp_sym_flag
='-Bexport'
10522 # If we're using GNU nm, then we don't want the "-C" option.
10523 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10524 # Without the "-l" option, or with the "-B" option, AIX nm treats
10525 # weak defined symbols like other global defined symbols, whereas
10526 # GNU nm marks them as "W".
10527 # While the 'weak' keyword is ignored in the Export File, we need
10528 # it in the Import File for the 'aix-soname' feature, so we have
10529 # to replace the "-B" option with "-P" for AIX nm.
10530 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10531 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10533 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10535 aix_use_runtimelinking
=no
10537 # Test if we are trying to use run time linking or normal
10538 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10539 # have runtime linking enabled, and use it for executables.
10540 # For shared libraries, we enable/disable runtime linking
10541 # depending on the kind of the shared library created -
10542 # when "with_aix_soname,aix_use_runtimelinking" is:
10543 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10544 # "aix,yes" lib.so shared, rtl:yes, for executables
10545 # lib.a static archive
10546 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10547 # lib.a(lib.so.V) shared, rtl:no, for executables
10548 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10549 # lib.a(lib.so.V) shared, rtl:no
10550 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10551 # lib.a static archive
10552 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10553 for ld_flag
in $LDFLAGS; do
10554 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
10555 aix_use_runtimelinking
=yes
10559 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10560 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10561 # so we don't have lib.a shared libs to link our executables.
10562 # We have to force runtime linking in this case.
10563 aix_use_runtimelinking
=yes
10564 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10569 exp_sym_flag
='-bexport'
10570 no_entry_flag
='-bnoentry'
10573 # When large executables or shared objects are built, AIX ld can
10574 # have problems creating the table of contents. If linking a library
10575 # or program results in "error TOC overflow" add -mminimal-toc to
10576 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10577 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10580 hardcode_direct
=yes
10581 hardcode_direct_absolute
=yes
10582 hardcode_libdir_separator
=':'
10583 link_all_deplibs
=yes
10584 file_list_spec
='$wl-f,'
10585 case $with_aix_soname,$aix_use_runtimelinking in
10586 aix
,*) ;; # traditional, no import file
10587 svr4
,* | *,yes) # use import file
10588 # The Import File defines what to hardcode.
10590 hardcode_direct_absolute
=no
10594 if test yes = "$GCC"; then
10595 case $host_os in aix4.
[012]|aix4.
[012].
*)
10596 # We only want to do this on AIX 4.2 and lower, the check
10597 # below for broken collect2 doesn't work under 4.3+
10598 collect2name
=`$CC -print-prog-name=collect2`
10599 if test -f "$collect2name" &&
10600 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10602 # We have reworked collect2
10605 # We have old collect2
10606 hardcode_direct
=unsupported
10607 # It fails to find uninstalled libraries when the uninstalled
10608 # path is not listed in the libpath. Setting hardcode_minus_L
10609 # to unsupported forces relinking
10610 hardcode_minus_L
=yes
10611 hardcode_libdir_flag_spec
='-L$libdir'
10612 hardcode_libdir_separator
=
10616 shared_flag
='-shared'
10617 if test yes = "$aix_use_runtimelinking"; then
10618 shared_flag
="$shared_flag "'$wl-G'
10620 # Need to ensure runtime linking is disabled for the traditional
10621 # shared library, or the linker may eventually find shared libraries
10622 # /with/ Import File - we do not want to mix them.
10623 shared_flag_aix
='-shared'
10624 shared_flag_svr4
='-shared $wl-G'
10627 if test ia64
= "$host_cpu"; then
10628 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10629 # chokes on -Wl,-G. The following line is correct:
10632 if test yes = "$aix_use_runtimelinking"; then
10633 shared_flag
='$wl-G'
10635 shared_flag
='$wl-bM:SRE'
10637 shared_flag_aix
='$wl-bM:SRE'
10638 shared_flag_svr4
='$wl-G'
10642 export_dynamic_flag_spec
='$wl-bexpall'
10643 # It seems that -bexpall does not export symbols beginning with
10644 # underscore (_), so it is better to generate a list of symbols to export.
10645 always_export_symbols
=yes
10646 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10647 # Warning - without using the other runtime loading flags (-brtl),
10648 # -berok will link without error, but may produce a broken library.
10649 allow_undefined_flag
='-berok'
10650 # Determine the default libpath from the value encoded in an
10651 # empty executable.
10652 if test set = "${lt_cv_aix_libpath+set}"; then
10653 aix_libpath
=$lt_cv_aix_libpath
10655 if ${lt_cv_aix_libpath_+:} false
; then :
10656 $as_echo_n "(cached) " >&6
10658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10669 if ac_fn_c_try_link
"$LINENO"; then :
10671 lt_aix_libpath_sed
='
10672 /Import File Strings/,/^$/ {
10674 s/^0 *\([^ ]*\) *$/\1/
10678 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10679 # Check for a 64-bit object if we didn't find anything.
10680 if test -z "$lt_cv_aix_libpath_"; then
10681 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10684 rm -f core conftest.err conftest.
$ac_objext \
10685 conftest
$ac_exeext conftest.
$ac_ext
10686 if test -z "$lt_cv_aix_libpath_"; then
10687 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10692 aix_libpath
=$lt_cv_aix_libpath_
10695 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10696 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10698 if test ia64
= "$host_cpu"; then
10699 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10700 allow_undefined_flag
="-z nodefs"
10701 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"
10703 # Determine the default libpath from the value encoded in an
10704 # empty executable.
10705 if test set = "${lt_cv_aix_libpath+set}"; then
10706 aix_libpath
=$lt_cv_aix_libpath
10708 if ${lt_cv_aix_libpath_+:} false
; then :
10709 $as_echo_n "(cached) " >&6
10711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10722 if ac_fn_c_try_link
"$LINENO"; then :
10724 lt_aix_libpath_sed
='
10725 /Import File Strings/,/^$/ {
10727 s/^0 *\([^ ]*\) *$/\1/
10731 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10732 # Check for a 64-bit object if we didn't find anything.
10733 if test -z "$lt_cv_aix_libpath_"; then
10734 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10737 rm -f core conftest.err conftest.
$ac_objext \
10738 conftest
$ac_exeext conftest.
$ac_ext
10739 if test -z "$lt_cv_aix_libpath_"; then
10740 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10745 aix_libpath
=$lt_cv_aix_libpath_
10748 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10749 # Warning - without using the other run time loading flags,
10750 # -berok will link without error, but may produce a broken library.
10751 no_undefined_flag
=' $wl-bernotok'
10752 allow_undefined_flag
=' $wl-berok'
10753 if test yes = "$with_gnu_ld"; then
10754 # We only use this code for GNU lds that support --whole-archive.
10755 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10757 # Exported symbols can be pulled into shared objects from archives
10758 whole_archive_flag_spec
='$convenience'
10760 archive_cmds_need_lc
=yes
10761 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10762 # -brtl affects multiple linker settings, -berok does not and is overridden later
10763 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10764 if test svr4
!= "$with_aix_soname"; then
10765 # This is similar to how AIX traditionally builds its shared libraries.
10766 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10768 if test aix
!= "$with_aix_soname"; then
10769 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10771 # used by -dlpreopen to get the symbols
10772 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10774 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10782 # see comment about AmigaOS4 .so support
10783 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10784 archive_expsym_cmds
=''
10787 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)'
10788 hardcode_libdir_flag_spec
='-L$libdir'
10789 hardcode_minus_L
=yes
10795 export_dynamic_flag_spec
=-rdynamic
10798 cygwin
* | mingw
* | pw32
* | cegcc
*)
10799 # When not using gcc, we currently assume that we are using
10800 # Microsoft Visual C++.
10801 # hardcode_libdir_flag_spec is actually meaningless, as there is
10802 # no search path for DLLs.
10803 case $cc_basename in
10806 hardcode_libdir_flag_spec
=' '
10807 allow_undefined_flag
=unsupported
10808 always_export_symbols
=yes
10810 # Tell ltmain to make .lib files, not .a files.
10812 # Tell ltmain to make .dll files, not .so files.
10814 # FIXME: Setting linknames here is a bad hack.
10815 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10816 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10817 cp "$export_symbols" "$output_objdir/$soname.def";
10818 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10820 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10822 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10824 # The linker will not automatically build a static lib if we build a DLL.
10825 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10826 enable_shared_with_static_runtimes
=yes
10827 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10828 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10830 old_postinstall_cmds
='chmod 644 $oldlib'
10831 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10832 lt_tool_outputfile="@TOOL_OUTPUT@"~
10833 case $lt_outputfile in
10836 lt_outputfile=$lt_outputfile.exe
10837 lt_tool_outputfile=$lt_tool_outputfile.exe
10840 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10841 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10842 $RM "$lt_outputfile.manifest";
10846 # Assume MSVC wrapper
10847 hardcode_libdir_flag_spec
=' '
10848 allow_undefined_flag
=unsupported
10849 # Tell ltmain to make .lib files, not .a files.
10851 # Tell ltmain to make .dll files, not .so files.
10853 # FIXME: Setting linknames here is a bad hack.
10854 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10855 # The linker will automatically build a .lib file if we build a DLL.
10856 old_archive_from_new_cmds
='true'
10857 # FIXME: Should let the user specify the lib program.
10858 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10859 enable_shared_with_static_runtimes
=yes
10864 darwin
* | rhapsody
*)
10867 archive_cmds_need_lc
=no
10869 hardcode_automatic
=yes
10870 hardcode_shlibpath_var
=unsupported
10871 if test yes = "$lt_cv_ld_force_load"; then
10872 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\"`'
10875 whole_archive_flag_spec
=''
10877 link_all_deplibs
=yes
10878 allow_undefined_flag
=$_lt_dar_allow_undefined
10879 case $cc_basename in
10880 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10881 *) _lt_dar_can_shared
=$GCC ;;
10883 if test yes = "$_lt_dar_can_shared"; then
10884 output_verbose_link_cmd
=func_echo_all
10885 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10886 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10887 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"
10888 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"
10897 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10898 hardcode_libdir_flag_spec
='-L$libdir'
10899 hardcode_shlibpath_var
=no
10902 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10903 # support. Future versions do this automatically, but an explicit c++rt0.o
10904 # does not break anything, and helps significantly (at the cost of a little
10907 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10908 hardcode_libdir_flag_spec
='-R$libdir'
10909 hardcode_direct
=yes
10910 hardcode_shlibpath_var
=no
10913 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10915 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10916 hardcode_direct
=yes
10917 hardcode_minus_L
=yes
10918 hardcode_shlibpath_var
=no
10921 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10922 freebsd
* | dragonfly
*)
10923 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10924 hardcode_libdir_flag_spec
='-R$libdir'
10925 hardcode_direct
=yes
10926 hardcode_shlibpath_var
=no
10930 if test yes = "$GCC"; then
10931 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10933 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10935 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10936 hardcode_libdir_separator
=:
10937 hardcode_direct
=yes
10939 # hardcode_minus_L: Not really in the search PATH,
10940 # but as the default location of the library.
10941 hardcode_minus_L
=yes
10942 export_dynamic_flag_spec
='$wl-E'
10946 if test yes,no
= "$GCC,$with_gnu_ld"; then
10947 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10951 if test no
= "$with_gnu_ld"; then
10952 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10953 hardcode_libdir_separator
=:
10954 hardcode_direct
=yes
10955 hardcode_direct_absolute
=yes
10956 export_dynamic_flag_spec
='$wl-E'
10957 # hardcode_minus_L: Not really in the search PATH,
10958 # but as the default location of the library.
10959 hardcode_minus_L
=yes
10964 if test yes,no
= "$GCC,$with_gnu_ld"; then
10967 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10970 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10973 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10979 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10982 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10986 # Older versions of the 11.00 compiler do not understand -b yet
10987 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10989 $as_echo_n "checking if $CC understands -b... " >&6; }
10990 if ${lt_cv_prog_compiler__b+:} false
; then :
10991 $as_echo_n "(cached) " >&6
10993 lt_cv_prog_compiler__b
=no
10994 save_LDFLAGS
=$LDFLAGS
10995 LDFLAGS
="$LDFLAGS -b"
10996 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10997 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10998 # The linker can only warn and ignore the option if not recognized
10999 # So say no if there are warnings
11000 if test -s conftest.err
; then
11001 # Append any errors to the config.log.
11002 cat conftest.err
1>&5
11003 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11004 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11005 if diff conftest.exp conftest.er2
>/dev
/null
; then
11006 lt_cv_prog_compiler__b
=yes
11009 lt_cv_prog_compiler__b
=yes
11013 LDFLAGS
=$save_LDFLAGS
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11017 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11019 if test yes = "$lt_cv_prog_compiler__b"; then
11020 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11022 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11028 if test no
= "$with_gnu_ld"; then
11029 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11030 hardcode_libdir_separator
=:
11035 hardcode_shlibpath_var
=no
11038 hardcode_direct
=yes
11039 hardcode_direct_absolute
=yes
11040 export_dynamic_flag_spec
='$wl-E'
11042 # hardcode_minus_L: Not really in the search PATH,
11043 # but as the default location of the library.
11044 hardcode_minus_L
=yes
11050 irix5
* | irix6
* | nonstopux
*)
11051 if test yes = "$GCC"; then
11052 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'
11053 # Try to use the -exported_symbol ld option, if it does not
11054 # work, assume that -exports_file does not work either and
11055 # implicitly export all symbols.
11056 # This should be the same for all languages, so no per-tag cache variable.
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11058 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11059 if ${lt_cv_irix_exported_symbol+:} false
; then :
11060 $as_echo_n "(cached) " >&6
11062 save_LDFLAGS
=$LDFLAGS
11063 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11066 int foo (void) { return 0; }
11068 if ac_fn_c_try_link
"$LINENO"; then :
11069 lt_cv_irix_exported_symbol
=yes
11071 lt_cv_irix_exported_symbol
=no
11073 rm -f core conftest.err conftest.
$ac_objext \
11074 conftest
$ac_exeext conftest.
$ac_ext
11075 LDFLAGS
=$save_LDFLAGS
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11078 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11079 if test yes = "$lt_cv_irix_exported_symbol"; then
11080 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'
11083 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'
11084 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'
11086 archive_cmds_need_lc
='no'
11087 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11088 hardcode_libdir_separator
=:
11090 link_all_deplibs
=yes
11094 case $cc_basename in
11096 # Fabrice Bellard et al's Tiny C Compiler
11098 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11104 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11105 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11107 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11109 hardcode_libdir_flag_spec
='-R$libdir'
11110 hardcode_direct
=yes
11111 hardcode_shlibpath_var
=no
11115 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11116 hardcode_direct
=yes
11117 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11118 hardcode_libdir_separator
=:
11119 hardcode_shlibpath_var
=no
11125 openbsd
* | bitrig
*)
11126 if test -f /usr
/libexec
/ld.so
; then
11127 hardcode_direct
=yes
11128 hardcode_shlibpath_var
=no
11129 hardcode_direct_absolute
=yes
11130 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11131 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11132 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11133 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11134 export_dynamic_flag_spec
='$wl-E'
11136 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11137 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11145 hardcode_libdir_flag_spec
='-L$libdir'
11146 hardcode_minus_L
=yes
11147 allow_undefined_flag
=unsupported
11149 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11150 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11151 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11152 $ECHO EXPORTS >> $output_objdir/$libname.def~
11153 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11154 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11155 emximp -o $lib $output_objdir/$libname.def'
11156 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11157 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11158 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11159 $ECHO EXPORTS >> $output_objdir/$libname.def~
11160 prefix_cmds="$SED"~
11161 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11162 prefix_cmds="$prefix_cmds -e 1d";
11164 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11165 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11166 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11167 emximp -o $lib $output_objdir/$libname.def'
11168 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11169 enable_shared_with_static_runtimes
=yes
11173 if test yes = "$GCC"; then
11174 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11175 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'
11177 allow_undefined_flag
=' -expect_unresolved \*'
11178 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'
11180 archive_cmds_need_lc
='no'
11181 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11182 hardcode_libdir_separator
=:
11185 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11186 if test yes = "$GCC"; then
11187 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11188 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'
11189 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11191 allow_undefined_flag
=' -expect_unresolved \*'
11192 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'
11193 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~
11194 $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'
11196 # Both c and cxx compiler support -rpath directly
11197 hardcode_libdir_flag_spec
='-rpath $libdir'
11199 archive_cmds_need_lc
='no'
11200 hardcode_libdir_separator
=:
11204 no_undefined_flag
=' -z defs'
11205 if test yes = "$GCC"; then
11207 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11208 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11209 $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'
11211 case `$CC -V 2>&1` in
11214 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11215 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11216 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11220 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11221 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11222 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11226 hardcode_libdir_flag_spec
='-R$libdir'
11227 hardcode_shlibpath_var
=no
11229 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11231 # The compiler driver will combine and reorder linker options,
11232 # but understands '-z linker_flag'. GCC discards it without '$wl',
11233 # but is careful enough not to reorder.
11234 # Supported since Solaris 2.6 (maybe 2.5.1?)
11235 if test yes = "$GCC"; then
11236 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11238 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11242 link_all_deplibs
=yes
11246 if test sequent
= "$host_vendor"; then
11247 # Use $CC to link under sequent, because it throws in some extra .o
11248 # files that make .init and .fini sections work.
11249 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11251 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11253 hardcode_libdir_flag_spec
='-L$libdir'
11254 hardcode_direct
=yes
11255 hardcode_minus_L
=yes
11256 hardcode_shlibpath_var
=no
11260 case $host_vendor in
11262 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11263 hardcode_direct
=yes # is this really true???
11266 ## LD is ld it makes a PLAMLIB
11267 ## CC just makes a GrossModule.
11268 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11269 reload_cmds
='$CC -r -o $output$reload_objs'
11273 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11274 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11277 runpath_var
='LD_RUN_PATH'
11278 hardcode_shlibpath_var
=no
11282 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11283 hardcode_shlibpath_var
=no
11284 export_dynamic_flag_spec
='-Bexport'
11288 if test -d /usr
/nec
; then
11289 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11290 hardcode_shlibpath_var
=no
11291 runpath_var
=LD_RUN_PATH
11292 hardcode_runpath_var
=yes
11297 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11298 no_undefined_flag
='$wl-z,text'
11299 archive_cmds_need_lc
=no
11300 hardcode_shlibpath_var
=no
11301 runpath_var
='LD_RUN_PATH'
11303 if test yes = "$GCC"; then
11304 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11305 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11307 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11308 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11312 sysv5
* | sco3.2v5
* | sco5v6
*)
11313 # Note: We CANNOT use -z defs as we might desire, because we do not
11314 # link with -lc, and that would cause any symbols used from libc to
11315 # always be unresolved, which means just about no library would
11316 # ever link correctly. If we're not using GNU ld we use -z text
11317 # though, which does catch some bad symbols but isn't as heavy-handed
11319 no_undefined_flag
='$wl-z,text'
11320 allow_undefined_flag
='$wl-z,nodefs'
11321 archive_cmds_need_lc
=no
11322 hardcode_shlibpath_var
=no
11323 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11324 hardcode_libdir_separator
=':'
11325 link_all_deplibs
=yes
11326 export_dynamic_flag_spec
='$wl-Bexport'
11327 runpath_var
='LD_RUN_PATH'
11329 if test yes = "$GCC"; then
11330 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11331 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11333 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11334 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11339 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11340 hardcode_libdir_flag_spec
='-L$libdir'
11341 hardcode_shlibpath_var
=no
11349 if test sni
= "$host_vendor"; then
11351 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11352 export_dynamic_flag_spec
='$wl-Blargedynsym'
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11359 $as_echo "$ld_shlibs" >&6; }
11360 test no
= "$ld_shlibs" && can_build_shared
=no
11362 with_gnu_ld
=$with_gnu_ld
11379 # Do we need to explicitly link libc?
11381 case "x$archive_cmds_need_lc" in
11383 # Assume -lc should be added
11384 archive_cmds_need_lc
=yes
11386 if test yes,yes = "$GCC,$enable_shared"; then
11387 case $archive_cmds in
11389 # FIXME: we may have to deal with multi-command sequences.
11392 # Test whether the compiler implicitly links with -lc since on some
11393 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11394 # to ld, don't add -lc before -lgcc.
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11396 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11397 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11398 $as_echo_n "(cached) " >&6
11401 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11403 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11404 (eval $ac_compile) 2>&5
11406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11407 test $ac_status = 0; } 2>conftest.err
; then
11410 libobjs
=conftest.
$ac_objext
11412 wl
=$lt_prog_compiler_wl
11413 pic_flag
=$lt_prog_compiler_pic
11419 lt_save_allow_undefined_flag
=$allow_undefined_flag
11420 allow_undefined_flag
=
11421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11422 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11425 test $ac_status = 0; }
11427 lt_cv_archive_cmds_need_lc
=no
11429 lt_cv_archive_cmds_need_lc
=yes
11431 allow_undefined_flag
=$lt_save_allow_undefined_flag
11433 cat conftest.err
1>&5
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11439 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11440 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11599 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11601 if test yes = "$GCC"; then
11603 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11604 *) lt_awk_arg
='/^libraries:/' ;;
11607 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11608 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11610 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11611 case $lt_search_path_spec in
11613 # if the path contains ";" then we assume it to be the separator
11614 # otherwise default to the standard path separator (i.e. ":") - it is
11615 # assumed that no part of a normal pathname contains ";" but that should
11616 # okay in the real world where ";" in dirpaths is itself problematic.
11617 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11620 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11623 # Ok, now we have the path, separated by spaces, we can step through it
11624 # and add multilib dir if necessary...
11625 lt_tmp_lt_search_path_spec
=
11626 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11627 # ...but if some path component already ends with the multilib dir we assume
11628 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11629 case "$lt_multi_os_dir; $lt_search_path_spec " in
11630 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11634 for lt_sys_path
in $lt_search_path_spec; do
11635 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11636 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11637 elif test -n "$lt_multi_os_dir"; then
11638 test -d "$lt_sys_path" && \
11639 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11642 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11643 BEGIN {RS = " "; FS = "/|\n";} {
11646 for (lt_i = NF; lt_i > 0; lt_i--) {
11647 if ($lt_i != "" && $lt_i != ".") {
11648 if ($lt_i == "..") {
11651 if (lt_count == 0) {
11652 lt_foo = "/" $lt_i lt_foo;
11659 if (lt_foo != "") { lt_freq[lt_foo]++; }
11660 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11662 # AWK program above erroneously prepends '/' to C:/dos/paths
11665 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11666 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11668 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11670 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11672 library_names_spec
=
11673 libname_spec
='lib$name'
11677 postuninstall_cmds
=
11681 shlibpath_overrides_runpath
=unknown
11683 dynamic_linker
="$host_os ld.so"
11684 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11685 need_lib_prefix
=unknown
11686 hardcode_into_libs
=no
11688 # when you set need_version to no, make sure it does not cause -set_version
11689 # flags to be left without arguments
11690 need_version
=unknown
11696 version_type
=linux
# correct to gnu/linux during the next big refactor
11697 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11698 shlibpath_var
=LIBPATH
11700 # AIX 3 has no versioning support, so we append a major version to the name.
11701 soname_spec
='$libname$release$shared_ext$major'
11705 version_type
=linux
# correct to gnu/linux during the next big refactor
11708 hardcode_into_libs
=yes
11709 if test ia64
= "$host_cpu"; then
11710 # AIX 5 supports IA64
11711 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11712 shlibpath_var
=LD_LIBRARY_PATH
11714 # With GCC up to 2.95.x, collect2 would create an import file
11715 # for dependence libraries. The import file would start with
11716 # the line '#! .'. This would cause the generated library to
11717 # depend on '.', always an invalid library. This was fixed in
11718 # development snapshots of GCC prior to 3.0.
11720 aix4
| aix4.
[01] | aix4.
[01].
*)
11721 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11723 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11726 can_build_shared
=no
11730 # Using Import Files as archive members, it is possible to support
11731 # filename-based versioning of shared library archives on AIX. While
11732 # this would work for both with and without runtime linking, it will
11733 # prevent static linking of such archives. So we do filename-based
11734 # shared library versioning with .so extension only, which is used
11735 # when both runtime linking and shared linking is enabled.
11736 # Unfortunately, runtime linking may impact performance, so we do
11737 # not want this to be the default eventually. Also, we use the
11738 # versioned .so libs for executables only if there is the -brtl
11739 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11740 # To allow for filename-based versioning support, we need to create
11741 # libNAME.so.V as an archive file, containing:
11742 # *) an Import File, referring to the versioned filename of the
11743 # archive as well as the shared archive member, telling the
11744 # bitwidth (32 or 64) of that shared object, and providing the
11745 # list of exported symbols of that shared object, eventually
11746 # decorated with the 'weak' keyword
11747 # *) the shared object with the F_LOADONLY flag set, to really avoid
11748 # it being seen by the linker.
11749 # At run time we better use the real file rather than another symlink,
11750 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11752 case $with_aix_soname,$aix_use_runtimelinking in
11753 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11754 # soname into executable. Probably we can add versioning support to
11755 # collect2, so additional links can be useful in future.
11756 aix
,yes) # traditional libtool
11757 dynamic_linker
='AIX unversionable lib.so'
11758 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11759 # instead of lib<name>.a to let people know that these are not
11760 # typical AIX shared libraries.
11761 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11763 aix
,no
) # traditional AIX only
11764 dynamic_linker
='AIX lib.a(lib.so.V)'
11765 # We preserve .a as extension for shared libraries through AIX4.2
11766 # and later when we are not doing run time linking.
11767 library_names_spec
='$libname$release.a $libname.a'
11768 soname_spec
='$libname$release$shared_ext$major'
11770 svr4
,*) # full svr4 only
11771 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11772 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11773 # We do not specify a path in Import Files, so LIBPATH fires.
11774 shlibpath_overrides_runpath
=yes
11776 *,yes) # both, prefer svr4
11777 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11778 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11779 # unpreferred sharedlib libNAME.a needs extra handling
11780 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11781 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11782 # We do not specify a path in Import Files, so LIBPATH fires.
11783 shlibpath_overrides_runpath
=yes
11785 *,no
) # both, prefer aix
11786 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11787 library_names_spec
='$libname$release.a $libname.a'
11788 soname_spec
='$libname$release$shared_ext$major'
11789 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11790 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11791 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11794 shlibpath_var
=LIBPATH
11801 # Since July 2007 AmigaOS4 officially supports .so libraries.
11802 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11803 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11806 library_names_spec
='$libname.ixlibrary $libname.a'
11807 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11808 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11814 library_names_spec
='$libname$shared_ext'
11815 dynamic_linker
="$host_os ld.so"
11816 shlibpath_var
=LIBRARY_PATH
11820 version_type
=linux
# correct to gnu/linux during the next big refactor
11822 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11823 soname_spec
='$libname$release$shared_ext$major'
11824 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11825 shlibpath_var
=LD_LIBRARY_PATH
11826 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11827 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11828 # the default ld.so.conf also contains /usr/contrib/lib and
11829 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11830 # libtool to hard-code these into programs
11833 cygwin
* | mingw
* | pw32
* | cegcc
*)
11834 version_type
=windows
11839 case $GCC,$cc_basename in
11842 library_names_spec
='$libname.dll.a'
11843 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11844 postinstall_cmds
='base_file=`basename \$file`~
11845 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11846 dldir=$destdir/`dirname \$dlpath`~
11847 test -d \$dldir || mkdir -p \$dldir~
11848 $install_prog $dir/$dlname \$dldir/$dlname~
11849 chmod a+x \$dldir/$dlname~
11850 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11851 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11853 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11854 dlpath=$dir/\$dldll~
11856 shlibpath_overrides_runpath
=yes
11860 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11861 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11863 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11866 # MinGW DLLs use traditional 'lib' prefix
11867 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11870 # pw32 DLLs use 'pw' prefix rather than 'lib'
11871 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11874 dynamic_linker
='Win32 ld.exe'
11879 libname_spec
='$name'
11880 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11881 library_names_spec
='$libname.dll.lib'
11885 sys_lib_search_path_spec
=
11888 for lt_path
in $LIB
11891 # Let DOS variable expansion print the short 8.3 style file name.
11892 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11893 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11896 # Convert to MSYS style.
11897 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11900 # Convert to unix form, then to dos form, then back to unix form
11901 # but this time dos style (no spaces!) so that the unix form looks
11902 # like /cygdrive/c/PROGRA~1:/cygdr...
11903 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11904 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11905 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11908 sys_lib_search_path_spec
=$LIB
11909 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11910 # It is most probably a Windows format PATH.
11911 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11913 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11915 # FIXME: find the short name or the path components, as spaces are
11916 # common. (e.g. "Program Files" -> "PROGRA~1")
11920 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11921 postinstall_cmds
='base_file=`basename \$file`~
11922 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11923 dldir=$destdir/`dirname \$dlpath`~
11924 test -d \$dldir || mkdir -p \$dldir~
11925 $install_prog $dir/$dlname \$dldir/$dlname'
11926 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11927 dlpath=$dir/\$dldll~
11929 shlibpath_overrides_runpath
=yes
11930 dynamic_linker
='Win32 link.exe'
11934 # Assume MSVC wrapper
11935 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11936 dynamic_linker
='Win32 ld.exe'
11939 # FIXME: first we should search . and the directory the executable is in
11943 darwin
* | rhapsody
*)
11944 dynamic_linker
="$host_os dyld"
11945 version_type
=darwin
11948 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11949 soname_spec
='$libname$release$major$shared_ext'
11950 shlibpath_overrides_runpath
=yes
11951 shlibpath_var
=DYLD_LIBRARY_PATH
11952 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11954 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11955 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11959 version_type
=linux
# correct to gnu/linux during the next big refactor
11962 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11963 soname_spec
='$libname$release$shared_ext$major'
11964 shlibpath_var
=LD_LIBRARY_PATH
11967 freebsd
* | dragonfly
*)
11968 # DragonFly does not have aout. When/if they implement a new
11969 # versioning mechanism, adjust this.
11970 if test -x /usr
/bin
/objformat
; then
11971 objformat
=`/usr/bin/objformat`
11974 freebsd
[23].
*) objformat
=aout
;;
11975 *) objformat
=elf
;;
11978 version_type
=freebsd
-$objformat
11979 case $version_type in
11981 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11982 soname_spec
='$libname$release$shared_ext$major'
11987 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11991 shlibpath_var
=LD_LIBRARY_PATH
11994 shlibpath_overrides_runpath
=yes
11996 freebsd3.
[01]* | freebsdelf3.
[01]*)
11997 shlibpath_overrides_runpath
=yes
11998 hardcode_into_libs
=yes
12000 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12001 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12002 shlibpath_overrides_runpath
=no
12003 hardcode_into_libs
=yes
12005 *) # from 4.6 on, and DragonFly
12006 shlibpath_overrides_runpath
=yes
12007 hardcode_into_libs
=yes
12013 version_type
=linux
# correct to gnu/linux during the next big refactor
12016 dynamic_linker
="$host_os runtime_loader"
12017 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12018 soname_spec
='$libname$release$shared_ext$major'
12019 shlibpath_var
=LIBRARY_PATH
12020 shlibpath_overrides_runpath
=no
12021 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12022 hardcode_into_libs
=yes
12025 hpux9
* | hpux10
* | hpux11
*)
12026 # Give a soname corresponding to the major version so that dld.sl refuses to
12027 # link against other versions.
12034 hardcode_into_libs
=yes
12035 dynamic_linker
="$host_os dld.so"
12036 shlibpath_var
=LD_LIBRARY_PATH
12037 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12038 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12039 soname_spec
='$libname$release$shared_ext$major'
12040 if test 32 = "$HPUX_IA64_MODE"; then
12041 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12042 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12044 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12045 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12050 hardcode_into_libs
=yes
12051 dynamic_linker
="$host_os dld.sl"
12052 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12053 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12054 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12055 soname_spec
='$libname$release$shared_ext$major'
12056 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12057 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12061 dynamic_linker
="$host_os dld.sl"
12062 shlibpath_var
=SHLIB_PATH
12063 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12064 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12065 soname_spec
='$libname$release$shared_ext$major'
12068 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12069 postinstall_cmds
='chmod 555 $lib'
12070 # or fails outright, so override atomically:
12071 install_override_mode
=555
12075 version_type
=linux
# correct to gnu/linux during the next big refactor
12078 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12079 soname_spec
='$libname$release$shared_ext$major'
12080 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12081 shlibpath_var
=LD_LIBRARY_PATH
12082 shlibpath_overrides_runpath
=no
12083 hardcode_into_libs
=yes
12086 irix5
* | irix6
* | nonstopux
*)
12088 nonstopux
*) version_type
=nonstopux
;;
12090 if test yes = "$lt_cv_prog_gnu_ld"; then
12091 version_type
=linux
# correct to gnu/linux during the next big refactor
12098 soname_spec
='$libname$release$shared_ext$major'
12099 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12101 irix5
* | nonstopux
*)
12102 libsuff
= shlibsuff
=
12105 case $LD in # libtool.m4 will add one of these switches to LD
12106 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12107 libsuff
= shlibsuff
= libmagic
=32-bit;;
12108 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12109 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12110 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12111 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12112 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12116 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12117 shlibpath_overrides_runpath
=no
12118 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12119 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12120 hardcode_into_libs
=yes
12123 # No shared lib support for Linux oldld, aout, or coff.
12124 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12129 version_type
=none
# Android doesn't support versioned libraries.
12132 library_names_spec
='$libname$release$shared_ext'
12133 soname_spec
='$libname$release$shared_ext'
12135 shlibpath_var
=LD_LIBRARY_PATH
12136 shlibpath_overrides_runpath
=yes
12138 # This implies no fast_install, which is unacceptable.
12139 # Some rework will be needed to allow for fast_install
12140 # before this can be enabled.
12141 hardcode_into_libs
=yes
12143 dynamic_linker
='Android linker'
12144 # Don't embed -rpath directories since the linker doesn't support them.
12145 hardcode_libdir_flag_spec
='-L$libdir'
12148 # This must be glibc/ELF.
12149 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12150 version_type
=linux
# correct to gnu/linux during the next big refactor
12153 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12154 soname_spec
='$libname$release$shared_ext$major'
12155 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12156 shlibpath_var
=LD_LIBRARY_PATH
12157 shlibpath_overrides_runpath
=no
12159 # Some binutils ld are patched to set DT_RUNPATH
12160 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12161 $as_echo_n "(cached) " >&6
12163 lt_cv_shlibpath_overrides_runpath
=no
12164 save_LDFLAGS
=$LDFLAGS
12165 save_libdir
=$libdir
12166 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12167 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12179 if ac_fn_c_try_link
"$LINENO"; then :
12180 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12181 lt_cv_shlibpath_overrides_runpath
=yes
12184 rm -f core conftest.err conftest.
$ac_objext \
12185 conftest
$ac_exeext conftest.
$ac_ext
12186 LDFLAGS
=$save_LDFLAGS
12187 libdir
=$save_libdir
12191 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12193 # This implies no fast_install, which is unacceptable.
12194 # Some rework will be needed to allow for fast_install
12195 # before this can be enabled.
12196 hardcode_into_libs
=yes
12198 # Ideally, we could use ldconfig to report *all* directores which are
12199 # searched for libraries, however this is still not possible. Aside from not
12200 # being certain /sbin/ldconfig is available, command
12201 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12202 # even though it is searched at run-time. Try to do the best guess by
12203 # appending ld.so.conf contents (and includes) to the search path.
12204 if test -f /etc
/ld.so.conf
; then
12205 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' ' '`
12206 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12209 # We used to test for /lib/ld.so.1 and disable shared libraries on
12210 # powerpc, because MkLinux only supported shared libraries with the
12211 # GNU dynamic linker. Since this was broken with cross compilers,
12212 # most powerpc-linux boxes support dynamic linking these days and
12213 # people can always --disable-shared, the test was removed, and we
12214 # assume the GNU/Linux dynamic linker is in use.
12215 dynamic_linker
='GNU/Linux ld.so'
12222 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12223 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12224 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12225 dynamic_linker
='NetBSD (a.out) ld.so'
12227 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12228 soname_spec
='$libname$release$shared_ext$major'
12229 dynamic_linker
='NetBSD ld.elf_so'
12231 shlibpath_var
=LD_LIBRARY_PATH
12232 shlibpath_overrides_runpath
=yes
12233 hardcode_into_libs
=yes
12237 version_type
=linux
# correct to gnu/linux during the next big refactor
12238 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12239 shlibpath_var
=LD_LIBRARY_PATH
12240 shlibpath_overrides_runpath
=yes
12247 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12248 soname_spec
='$libname$release$shared_ext$major'
12249 shlibpath_var
=LD_LIBRARY_PATH
12250 shlibpath_overrides_runpath
=no
12251 hardcode_into_libs
=yes
12252 dynamic_linker
='ldqnx.so'
12255 openbsd
* | bitrig
*)
12257 sys_lib_dlsearch_path_spec
=/usr
/lib
12259 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12264 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12265 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12266 shlibpath_var
=LD_LIBRARY_PATH
12267 shlibpath_overrides_runpath
=yes
12271 libname_spec
='$name'
12272 version_type
=windows
12276 # OS/2 can only load a DLL with a base name of 8 characters or less.
12277 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12278 v=$($ECHO $release$versuffix | tr -d .-);
12279 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12280 $ECHO $n$v`$shared_ext'
12281 library_names_spec
='${libname}_dll.$libext'
12282 dynamic_linker
='OS/2 ld.exe'
12283 shlibpath_var
=BEGINLIBPATH
12284 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12285 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12286 postinstall_cmds
='base_file=`basename \$file`~
12287 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12288 dldir=$destdir/`dirname \$dlpath`~
12289 test -d \$dldir || mkdir -p \$dldir~
12290 $install_prog $dir/$dlname \$dldir/$dlname~
12291 chmod a+x \$dldir/$dlname~
12292 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12293 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12295 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12296 dlpath=$dir/\$dldll~
12300 osf3
* | osf4
* | osf5
*)
12304 soname_spec
='$libname$release$shared_ext$major'
12305 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12306 shlibpath_var
=LD_LIBRARY_PATH
12307 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12308 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12316 version_type
=linux
# correct to gnu/linux during the next big refactor
12319 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12320 soname_spec
='$libname$release$shared_ext$major'
12321 shlibpath_var
=LD_LIBRARY_PATH
12322 shlibpath_overrides_runpath
=yes
12323 hardcode_into_libs
=yes
12324 # ldd complains unless libraries are executable
12325 postinstall_cmds
='chmod +x $lib'
12330 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12331 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12332 shlibpath_var
=LD_LIBRARY_PATH
12333 shlibpath_overrides_runpath
=yes
12334 if test yes = "$with_gnu_ld"; then
12341 version_type
=linux
# correct to gnu/linux during the next big refactor
12342 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12343 soname_spec
='$libname$release$shared_ext$major'
12344 shlibpath_var
=LD_LIBRARY_PATH
12345 case $host_vendor in
12347 shlibpath_overrides_runpath
=no
12349 runpath_var
=LD_RUN_PATH
12357 shlibpath_overrides_runpath
=no
12358 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12364 if test -d /usr
/nec
; then
12365 version_type
=linux
# correct to gnu/linux during the next big refactor
12366 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12367 soname_spec
='$libname$shared_ext.$major'
12368 shlibpath_var
=LD_LIBRARY_PATH
12372 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12376 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12377 soname_spec
='$libname$release$shared_ext$major'
12378 shlibpath_var
=LD_LIBRARY_PATH
12379 shlibpath_overrides_runpath
=yes
12380 hardcode_into_libs
=yes
12381 if test yes = "$with_gnu_ld"; then
12382 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12384 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12387 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12391 sys_lib_dlsearch_path_spec
='/usr/lib'
12395 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12396 version_type
=linux
# correct to gnu/linux during the next big refactor
12399 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12400 shlibpath_var
=LD_LIBRARY_PATH
12401 shlibpath_overrides_runpath
=no
12402 hardcode_into_libs
=yes
12406 version_type
=linux
# correct to gnu/linux during the next big refactor
12407 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12408 soname_spec
='$libname$release$shared_ext$major'
12409 shlibpath_var
=LD_LIBRARY_PATH
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12417 $as_echo "$dynamic_linker" >&6; }
12418 test no
= "$dynamic_linker" && can_build_shared
=no
12420 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12421 if test yes = "$GCC"; then
12422 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12425 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12426 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12429 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12430 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12433 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12434 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12436 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12437 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12439 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12440 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12539 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12541 if test -n "$hardcode_libdir_flag_spec" ||
12542 test -n "$runpath_var" ||
12543 test yes = "$hardcode_automatic"; then
12545 # We can hardcode non-existent directories.
12546 if test no
!= "$hardcode_direct" &&
12547 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12548 # have to relink, otherwise we might link with an installed library
12549 # when we should be linking with a yet-to-be-installed one
12550 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12551 test no
!= "$hardcode_minus_L"; then
12552 # Linking always hardcodes the temporary library directory.
12553 hardcode_action
=relink
12555 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12556 hardcode_action
=immediate
12559 # We cannot hardcode anything, or else we can only hardcode existing
12561 hardcode_action
=unsupported
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12564 $as_echo "$hardcode_action" >&6; }
12566 if test relink
= "$hardcode_action" ||
12567 test yes = "$inherit_rpath"; then
12568 # Fast installation is not supported
12569 enable_fast_install
=no
12570 elif test yes = "$shlibpath_overrides_runpath" ||
12571 test no
= "$enable_shared"; then
12572 # Fast installation is not necessary
12573 enable_fast_install
=needless
12581 if test yes != "$enable_dlopen"; then
12582 enable_dlopen
=unknown
12583 enable_dlopen_self
=unknown
12584 enable_dlopen_self_static
=unknown
12591 lt_cv_dlopen
=load_add_on
12593 lt_cv_dlopen_self
=yes
12596 mingw
* | pw32
* | cegcc
*)
12597 lt_cv_dlopen
=LoadLibrary
12602 lt_cv_dlopen
=dlopen
12607 # if libdl is installed we need to link against it
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12609 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12610 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12611 $as_echo_n "(cached) " >&6
12613 ac_check_lib_save_LIBS
=$LIBS
12615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12633 if ac_fn_c_try_link
"$LINENO"; then :
12634 ac_cv_lib_dl_dlopen
=yes
12636 ac_cv_lib_dl_dlopen
=no
12638 rm -f core conftest.err conftest.
$ac_objext \
12639 conftest
$ac_exeext conftest.
$ac_ext
12640 LIBS
=$ac_check_lib_save_LIBS
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12643 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12644 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12645 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12650 lt_cv_dlopen_self
=yes
12657 # Don't try to run any link tests for TPF. We know it's impossible
12658 # because TPF is a cross-compiler, and we know how we open DSOs.
12659 lt_cv_dlopen
=dlopen
12661 lt_cv_dlopen_self
=no
12665 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12666 if test "x$ac_cv_func_shl_load" = xyes
; then :
12667 lt_cv_dlopen
=shl_load
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12670 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12671 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12672 $as_echo_n "(cached) " >&6
12674 ac_check_lib_save_LIBS
=$LIBS
12676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12689 return shl_load ();
12694 if ac_fn_c_try_link
"$LINENO"; then :
12695 ac_cv_lib_dld_shl_load
=yes
12697 ac_cv_lib_dld_shl_load
=no
12699 rm -f core conftest.err conftest.
$ac_objext \
12700 conftest
$ac_exeext conftest.
$ac_ext
12701 LIBS
=$ac_check_lib_save_LIBS
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12704 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12705 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12706 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12708 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12709 if test "x$ac_cv_func_dlopen" = xyes
; then :
12710 lt_cv_dlopen
=dlopen
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12713 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12714 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12715 $as_echo_n "(cached) " >&6
12717 ac_check_lib_save_LIBS
=$LIBS
12719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12720 /* end confdefs.h. */
12722 /* Override any GCC internal prototype to avoid an error.
12723 Use char because int might match the return type of a GCC
12724 builtin and then its argument prototype would still apply. */
12737 if ac_fn_c_try_link
"$LINENO"; then :
12738 ac_cv_lib_dl_dlopen
=yes
12740 ac_cv_lib_dl_dlopen
=no
12742 rm -f core conftest.err conftest.
$ac_objext \
12743 conftest
$ac_exeext conftest.
$ac_ext
12744 LIBS
=$ac_check_lib_save_LIBS
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12747 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12748 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12749 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12752 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12753 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12754 $as_echo_n "(cached) " >&6
12756 ac_check_lib_save_LIBS
=$LIBS
12757 LIBS
="-lsvld $LIBS"
12758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 /* Override any GCC internal prototype to avoid an error.
12762 Use char because int might match the return type of a GCC
12763 builtin and then its argument prototype would still apply. */
12776 if ac_fn_c_try_link
"$LINENO"; then :
12777 ac_cv_lib_svld_dlopen
=yes
12779 ac_cv_lib_svld_dlopen
=no
12781 rm -f core conftest.err conftest.
$ac_objext \
12782 conftest
$ac_exeext conftest.
$ac_ext
12783 LIBS
=$ac_check_lib_save_LIBS
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12786 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12787 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12788 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12791 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12792 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12793 $as_echo_n "(cached) " >&6
12795 ac_check_lib_save_LIBS
=$LIBS
12797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12810 return dld_link ();
12815 if ac_fn_c_try_link
"$LINENO"; then :
12816 ac_cv_lib_dld_dld_link
=yes
12818 ac_cv_lib_dld_dld_link
=no
12820 rm -f core conftest.err conftest.
$ac_objext \
12821 conftest
$ac_exeext conftest.
$ac_ext
12822 LIBS
=$ac_check_lib_save_LIBS
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12825 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12826 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12827 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12848 if test no
= "$lt_cv_dlopen"; then
12854 case $lt_cv_dlopen in
12856 save_CPPFLAGS
=$CPPFLAGS
12857 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12859 save_LDFLAGS
=$LDFLAGS
12860 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12863 LIBS
="$lt_cv_dlopen_libs $LIBS"
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12866 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12867 if ${lt_cv_dlopen_self+:} false
; then :
12868 $as_echo_n "(cached) " >&6
12870 if test yes = "$cross_compiling"; then :
12871 lt_cv_dlopen_self
=cross
12873 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12874 lt_status
=$lt_dlunknown
12875 cat > conftest.
$ac_ext <<_LT_EOF
12876 #line $LINENO "configure"
12877 #include "confdefs.h"
12886 # define LT_DLGLOBAL RTLD_GLOBAL
12889 # define LT_DLGLOBAL DL_GLOBAL
12891 # define LT_DLGLOBAL 0
12895 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12896 find out it does not work in some platform. */
12897 #ifndef LT_DLLAZY_OR_NOW
12899 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12902 # define LT_DLLAZY_OR_NOW DL_LAZY
12905 # define LT_DLLAZY_OR_NOW RTLD_NOW
12908 # define LT_DLLAZY_OR_NOW DL_NOW
12910 # define LT_DLLAZY_OR_NOW 0
12917 /* When -fvisibility=hidden is used, assume the code has been annotated
12918 correspondingly for the symbols needed. */
12919 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12920 int fnord () __attribute__((visibility("default")));
12923 int fnord () { return 42; }
12926 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12927 int status = $lt_dlunknown;
12931 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12934 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12935 else puts (dlerror ());
12937 /* dlclose (self); */
12945 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12946 (eval $ac_link) 2>&5
12948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12949 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12950 (.
/conftest
; exit; ) >&5 2>/dev
/null
12952 case x
$lt_status in
12953 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12954 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12955 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12958 # compilation failed
12959 lt_cv_dlopen_self
=no
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12967 $as_echo "$lt_cv_dlopen_self" >&6; }
12969 if test yes = "$lt_cv_dlopen_self"; then
12970 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12972 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12973 if ${lt_cv_dlopen_self_static+:} false
; then :
12974 $as_echo_n "(cached) " >&6
12976 if test yes = "$cross_compiling"; then :
12977 lt_cv_dlopen_self_static
=cross
12979 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12980 lt_status
=$lt_dlunknown
12981 cat > conftest.
$ac_ext <<_LT_EOF
12982 #line $LINENO "configure"
12983 #include "confdefs.h"
12992 # define LT_DLGLOBAL RTLD_GLOBAL
12995 # define LT_DLGLOBAL DL_GLOBAL
12997 # define LT_DLGLOBAL 0
13001 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13002 find out it does not work in some platform. */
13003 #ifndef LT_DLLAZY_OR_NOW
13005 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13008 # define LT_DLLAZY_OR_NOW DL_LAZY
13011 # define LT_DLLAZY_OR_NOW RTLD_NOW
13014 # define LT_DLLAZY_OR_NOW DL_NOW
13016 # define LT_DLLAZY_OR_NOW 0
13023 /* When -fvisibility=hidden is used, assume the code has been annotated
13024 correspondingly for the symbols needed. */
13025 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13026 int fnord () __attribute__((visibility("default")));
13029 int fnord () { return 42; }
13032 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13033 int status = $lt_dlunknown;
13037 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13040 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13041 else puts (dlerror ());
13043 /* dlclose (self); */
13051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13052 (eval $ac_link) 2>&5
13054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13055 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13056 (.
/conftest
; exit; ) >&5 2>/dev
/null
13058 case x
$lt_status in
13059 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13060 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13061 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13064 # compilation failed
13065 lt_cv_dlopen_self_static
=no
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13073 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13076 CPPFLAGS
=$save_CPPFLAGS
13077 LDFLAGS
=$save_LDFLAGS
13082 case $lt_cv_dlopen_self in
13083 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13084 *) enable_dlopen_self
=unknown
;;
13087 case $lt_cv_dlopen_self_static in
13088 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13089 *) enable_dlopen_self_static
=unknown
;;
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13112 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13113 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13114 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13115 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13117 $as_echo "yes" >&6; }
13119 # FIXME - insert some real tests, host_os isn't really good enough
13122 if test -n "$STRIP"; then
13123 striplib
="$STRIP -x"
13124 old_striplib
="$STRIP -S"
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13126 $as_echo "yes" >&6; }
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13129 $as_echo "no" >&6; }
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13134 $as_echo "no" >&6; }
13150 # Report what library types will actually be built
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13152 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13154 $as_echo "$can_build_shared" >&6; }
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13157 $as_echo_n "checking whether to build shared libraries... " >&6; }
13158 test no
= "$can_build_shared" && enable_shared
=no
13160 # On AIX, shared libraries and static libraries use the same namespace, and
13161 # are all built from PIC.
13164 test yes = "$enable_shared" && enable_static
=no
13165 if test -n "$RANLIB"; then
13166 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13167 postinstall_cmds
='$RANLIB $lib'
13172 if test ia64
!= "$host_cpu"; then
13173 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13174 yes,aix
,yes) ;; # shared object as lib.so file only
13175 yes,svr4
,*) ;; # shared object as lib.so archive member only
13176 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13182 $as_echo "$enable_shared" >&6; }
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13185 $as_echo_n "checking whether to build static libraries... " >&6; }
13186 # Make sure either enable_shared or enable_static is yes.
13187 test yes = "$enable_shared" || enable_static
=yes
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13189 $as_echo "$enable_static" >&6; }
13196 ac_cpp
='$CPP $CPPFLAGS'
13197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13203 if test -n "$CXX" && ( test no
!= "$CXX" &&
13204 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13205 (test g
++ != "$CXX"))); then
13207 ac_cpp
='$CXXCPP $CPPFLAGS'
13208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13212 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13213 if test -z "$CXXCPP"; then
13214 if ${ac_cv_prog_CXXCPP+:} false
; then :
13215 $as_echo_n "(cached) " >&6
13217 # Double quotes because CXXCPP needs to be expanded
13218 for CXXCPP
in "$CXX -E" "/lib/cpp"
13220 ac_preproc_ok
=false
13221 for ac_cxx_preproc_warn_flag
in '' yes
13223 # Use a header file that comes with gcc, so configuring glibc
13224 # with a fresh cross-compiler works.
13225 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13226 # <limits.h> exists even on freestanding compilers.
13227 # On the NeXT, cc -E runs the code through the compiler's parser,
13228 # not just through cpp. "Syntax error" is here to catch this case.
13229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13230 /* end confdefs.h. */
13232 # include <limits.h>
13234 # include <assert.h>
13238 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13241 # Broken: fails on valid input.
13244 rm -f conftest.err conftest.i conftest.
$ac_ext
13246 # OK, works on sane cases. Now check whether nonexistent headers
13247 # can be detected and how.
13248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13250 #include <ac_nonexistent.h>
13252 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13253 # Broken: success on invalid input.
13256 # Passes both tests.
13260 rm -f conftest.err conftest.i conftest.
$ac_ext
13263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13264 rm -f conftest.i conftest.err conftest.
$ac_ext
13265 if $ac_preproc_ok; then :
13270 ac_cv_prog_CXXCPP
=$CXXCPP
13273 CXXCPP
=$ac_cv_prog_CXXCPP
13275 ac_cv_prog_CXXCPP
=$CXXCPP
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13278 $as_echo "$CXXCPP" >&6; }
13279 ac_preproc_ok
=false
13280 for ac_cxx_preproc_warn_flag
in '' yes
13282 # Use a header file that comes with gcc, so configuring glibc
13283 # with a fresh cross-compiler works.
13284 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13285 # <limits.h> exists even on freestanding compilers.
13286 # On the NeXT, cc -E runs the code through the compiler's parser,
13287 # not just through cpp. "Syntax error" is here to catch this case.
13288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13289 /* end confdefs.h. */
13291 # include <limits.h>
13293 # include <assert.h>
13297 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13300 # Broken: fails on valid input.
13303 rm -f conftest.err conftest.i conftest.
$ac_ext
13305 # OK, works on sane cases. Now check whether nonexistent headers
13306 # can be detected and how.
13307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13308 /* end confdefs.h. */
13309 #include <ac_nonexistent.h>
13311 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13312 # Broken: success on invalid input.
13315 # Passes both tests.
13319 rm -f conftest.err conftest.i conftest.
$ac_ext
13322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13323 rm -f conftest.i conftest.err conftest.
$ac_ext
13324 if $ac_preproc_ok; then :
13327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13329 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13330 See \`config.log' for more details" "$LINENO" 5; }
13334 ac_cpp
='$CPP $CPPFLAGS'
13335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13340 _lt_caught_CXX_error
=yes
13344 ac_cpp
='$CXXCPP $CPPFLAGS'
13345 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13346 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13347 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13349 archive_cmds_need_lc_CXX
=no
13350 allow_undefined_flag_CXX
=
13351 always_export_symbols_CXX
=no
13352 archive_expsym_cmds_CXX
=
13353 compiler_needs_object_CXX
=no
13354 export_dynamic_flag_spec_CXX
=
13355 hardcode_direct_CXX
=no
13356 hardcode_direct_absolute_CXX
=no
13357 hardcode_libdir_flag_spec_CXX
=
13358 hardcode_libdir_separator_CXX
=
13359 hardcode_minus_L_CXX
=no
13360 hardcode_shlibpath_var_CXX
=unsupported
13361 hardcode_automatic_CXX
=no
13362 inherit_rpath_CXX
=no
13364 module_expsym_cmds_CXX
=
13365 link_all_deplibs_CXX
=unknown
13366 old_archive_cmds_CXX
=$old_archive_cmds
13367 reload_flag_CXX
=$reload_flag
13368 reload_cmds_CXX
=$reload_cmds
13369 no_undefined_flag_CXX
=
13370 whole_archive_flag_spec_CXX
=
13371 enable_shared_with_static_runtimes_CXX
=no
13373 # Source file extension for C++ test sources.
13376 # Object file extension for compiled C++ test sources.
13380 # No sense in running all these tests if we already determined that
13381 # the CXX compiler isn't working. Some variables (like enable_shared)
13382 # are currently assumed to apply to all compilers on this platform,
13383 # and will be corrupted by setting them based on a non-working compiler.
13384 if test yes != "$_lt_caught_CXX_error"; then
13385 # Code to be used in simple compile tests
13386 lt_simple_compile_test_code
="int some_variable = 0;"
13388 # Code to be used in simple link tests
13389 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13391 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13398 # If no C compiler was specified, use CC.
13401 # If no C compiler flags were specified, use CFLAGS.
13402 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13404 # Allow CC to be a program name with arguments.
13408 # save warnings/boilerplate of simple test code
13409 ac_outfile
=conftest.
$ac_objext
13410 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13411 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13412 _lt_compiler_boilerplate
=`cat conftest.err`
13415 ac_outfile
=conftest.
$ac_objext
13416 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13417 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13418 _lt_linker_boilerplate
=`cat conftest.err`
13422 # Allow CC to be a program name with arguments.
13424 lt_save_CFLAGS
=$CFLAGS
13428 lt_save_with_gnu_ld
=$with_gnu_ld
13429 lt_save_path_LD
=$lt_cv_path_LD
13430 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13431 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13433 $as_unset lt_cv_prog_gnu_ld
13435 if test -n "${lt_cv_path_LDCXX+set}"; then
13436 lt_cv_path_LD
=$lt_cv_path_LDCXX
13438 $as_unset lt_cv_path_LD
13440 test -z "${LDCXX+set}" || LD
=$LDCXX
13445 func_cc_basename
$compiler
13446 cc_basename
=$func_cc_basename_result
13449 if test -n "$compiler"; then
13450 # We don't want -fno-exception when compiling C++ code, so set the
13451 # no_builtin_flag separately
13452 if test yes = "$GXX"; then
13453 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13455 lt_prog_compiler_no_builtin_flag_CXX
=
13458 if test yes = "$GXX"; then
13459 # Set up default GNU C++ configuration
13463 # Check whether --with-gnu-ld was given.
13464 if test "${with_gnu_ld+set}" = set; then :
13465 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13471 if test yes = "$GCC"; then
13472 # Check if gcc -print-prog-name=ld gives a path.
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13474 $as_echo_n "checking for ld used by $CC... " >&6; }
13477 # gcc leaves a trailing carriage return, which upsets mingw
13478 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13480 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13483 # Accept absolute paths.
13485 re_direlt
='/[^/][^/]*/\.\./'
13486 # Canonicalize the pathname of ld
13487 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13488 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13489 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13491 test -z "$LD" && LD
=$ac_prog
13494 # If it fails, then pretend we aren't using GCC.
13498 # If it is relative, then search for the first ld in PATH.
13499 with_gnu_ld
=unknown
13502 elif test yes = "$with_gnu_ld"; then
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13504 $as_echo_n "checking for GNU ld... " >&6; }
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13507 $as_echo_n "checking for non-GNU ld... " >&6; }
13509 if ${lt_cv_path_LD+:} false
; then :
13510 $as_echo_n "(cached) " >&6
13512 if test -z "$LD"; then
13513 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13514 for ac_dir
in $PATH; do
13516 test -z "$ac_dir" && ac_dir
=.
13517 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13518 lt_cv_path_LD
=$ac_dir/$ac_prog
13519 # Check to see if the program is GNU ld. I'd rather use --version,
13520 # but apparently some variants of GNU ld only accept -v.
13521 # Break only if it was the GNU/non-GNU ld that we prefer.
13522 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13523 *GNU
* | *'with BFD'*)
13524 test no
!= "$with_gnu_ld" && break
13527 test yes != "$with_gnu_ld" && break
13534 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13539 if test -n "$LD"; then
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13541 $as_echo "$LD" >&6; }
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13544 $as_echo "no" >&6; }
13546 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13548 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13549 if ${lt_cv_prog_gnu_ld+:} false
; then :
13550 $as_echo_n "(cached) " >&6
13552 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13553 case `$LD -v 2>&1 </dev/null` in
13554 *GNU
* | *'with BFD'*)
13555 lt_cv_prog_gnu_ld
=yes
13558 lt_cv_prog_gnu_ld
=no
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13563 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13564 with_gnu_ld
=$lt_cv_prog_gnu_ld
13572 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13573 # archiving commands below assume that GNU ld is being used.
13574 if test yes = "$with_gnu_ld"; then
13575 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13576 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'
13578 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13579 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13581 # If archive_cmds runs LD, not CC, wlarc should be empty
13582 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13583 # investigate it a little bit more. (MM)
13586 # ancient GNU ld didn't support --whole-archive et. al.
13587 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13588 $GREP 'no-whole-archive' > /dev
/null
; then
13589 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13591 whole_archive_flag_spec_CXX
=
13597 # A generic and very simple default shared library creation
13598 # command for GNU C++ for the case where it uses the native
13599 # linker, instead of GNU ld. If possible, this setting should
13600 # overridden to take advantage of the native linker features on
13601 # the platform it is being used on.
13602 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13605 # Commands to make compiler produce verbose output that lists
13606 # what "hidden" libraries, object files and flags are used when
13607 # linking a shared library.
13608 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13616 # PORTME: fill in a description of your system's C++ link characteristics
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13618 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13622 # FIXME: insert proper C++ library support
13626 if test ia64
= "$host_cpu"; then
13627 # On IA64, the linker does run time linking by default, so we don't
13628 # have to do anything special.
13629 aix_use_runtimelinking
=no
13630 exp_sym_flag
='-Bexport'
13633 aix_use_runtimelinking
=no
13635 # Test if we are trying to use run time linking or normal
13636 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13637 # have runtime linking enabled, and use it for executables.
13638 # For shared libraries, we enable/disable runtime linking
13639 # depending on the kind of the shared library created -
13640 # when "with_aix_soname,aix_use_runtimelinking" is:
13641 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13642 # "aix,yes" lib.so shared, rtl:yes, for executables
13643 # lib.a static archive
13644 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13645 # lib.a(lib.so.V) shared, rtl:no, for executables
13646 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13647 # lib.a(lib.so.V) shared, rtl:no
13648 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13649 # lib.a static archive
13650 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13651 for ld_flag
in $LDFLAGS; do
13654 aix_use_runtimelinking
=yes
13659 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13660 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13661 # so we don't have lib.a shared libs to link our executables.
13662 # We have to force runtime linking in this case.
13663 aix_use_runtimelinking
=yes
13664 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13669 exp_sym_flag
='-bexport'
13670 no_entry_flag
='-bnoentry'
13673 # When large executables or shared objects are built, AIX ld can
13674 # have problems creating the table of contents. If linking a library
13675 # or program results in "error TOC overflow" add -mminimal-toc to
13676 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13677 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13679 archive_cmds_CXX
=''
13680 hardcode_direct_CXX
=yes
13681 hardcode_direct_absolute_CXX
=yes
13682 hardcode_libdir_separator_CXX
=':'
13683 link_all_deplibs_CXX
=yes
13684 file_list_spec_CXX
='$wl-f,'
13685 case $with_aix_soname,$aix_use_runtimelinking in
13686 aix
,*) ;; # no import file
13687 svr4
,* | *,yes) # use import file
13688 # The Import File defines what to hardcode.
13689 hardcode_direct_CXX
=no
13690 hardcode_direct_absolute_CXX
=no
13694 if test yes = "$GXX"; then
13695 case $host_os in aix4.
[012]|aix4.
[012].
*)
13696 # We only want to do this on AIX 4.2 and lower, the check
13697 # below for broken collect2 doesn't work under 4.3+
13698 collect2name
=`$CC -print-prog-name=collect2`
13699 if test -f "$collect2name" &&
13700 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13702 # We have reworked collect2
13705 # We have old collect2
13706 hardcode_direct_CXX
=unsupported
13707 # It fails to find uninstalled libraries when the uninstalled
13708 # path is not listed in the libpath. Setting hardcode_minus_L
13709 # to unsupported forces relinking
13710 hardcode_minus_L_CXX
=yes
13711 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13712 hardcode_libdir_separator_CXX
=
13715 shared_flag
='-shared'
13716 if test yes = "$aix_use_runtimelinking"; then
13717 shared_flag
=$shared_flag' $wl-G'
13719 # Need to ensure runtime linking is disabled for the traditional
13720 # shared library, or the linker may eventually find shared libraries
13721 # /with/ Import File - we do not want to mix them.
13722 shared_flag_aix
='-shared'
13723 shared_flag_svr4
='-shared $wl-G'
13726 if test ia64
= "$host_cpu"; then
13727 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13728 # chokes on -Wl,-G. The following line is correct:
13731 if test yes = "$aix_use_runtimelinking"; then
13732 shared_flag
='$wl-G'
13734 shared_flag
='$wl-bM:SRE'
13736 shared_flag_aix
='$wl-bM:SRE'
13737 shared_flag_svr4
='$wl-G'
13741 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13742 # It seems that -bexpall does not export symbols beginning with
13743 # underscore (_), so it is better to generate a list of symbols to
13745 always_export_symbols_CXX
=yes
13746 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13747 # Warning - without using the other runtime loading flags (-brtl),
13748 # -berok will link without error, but may produce a broken library.
13749 # The "-G" linker flag allows undefined symbols.
13750 no_undefined_flag_CXX
='-bernotok'
13751 # Determine the default libpath from the value encoded in an empty
13753 if test set = "${lt_cv_aix_libpath+set}"; then
13754 aix_libpath
=$lt_cv_aix_libpath
13756 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13757 $as_echo_n "(cached) " >&6
13759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13770 if ac_fn_cxx_try_link
"$LINENO"; then :
13772 lt_aix_libpath_sed
='
13773 /Import File Strings/,/^$/ {
13775 s/^0 *\([^ ]*\) *$/\1/
13779 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13780 # Check for a 64-bit object if we didn't find anything.
13781 if test -z "$lt_cv_aix_libpath__CXX"; then
13782 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13785 rm -f core conftest.err conftest.
$ac_objext \
13786 conftest
$ac_exeext conftest.
$ac_ext
13787 if test -z "$lt_cv_aix_libpath__CXX"; then
13788 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13793 aix_libpath
=$lt_cv_aix_libpath__CXX
13796 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13798 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
13800 if test ia64
= "$host_cpu"; then
13801 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13802 allow_undefined_flag_CXX
="-z nodefs"
13803 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"
13805 # Determine the default libpath from the value encoded in an
13806 # empty executable.
13807 if test set = "${lt_cv_aix_libpath+set}"; then
13808 aix_libpath
=$lt_cv_aix_libpath
13810 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13811 $as_echo_n "(cached) " >&6
13813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13824 if ac_fn_cxx_try_link
"$LINENO"; then :
13826 lt_aix_libpath_sed
='
13827 /Import File Strings/,/^$/ {
13829 s/^0 *\([^ ]*\) *$/\1/
13833 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13834 # Check for a 64-bit object if we didn't find anything.
13835 if test -z "$lt_cv_aix_libpath__CXX"; then
13836 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13839 rm -f core conftest.err conftest.
$ac_objext \
13840 conftest
$ac_exeext conftest.
$ac_ext
13841 if test -z "$lt_cv_aix_libpath__CXX"; then
13842 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13847 aix_libpath
=$lt_cv_aix_libpath__CXX
13850 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13851 # Warning - without using the other run time loading flags,
13852 # -berok will link without error, but may produce a broken library.
13853 no_undefined_flag_CXX
=' $wl-bernotok'
13854 allow_undefined_flag_CXX
=' $wl-berok'
13855 if test yes = "$with_gnu_ld"; then
13856 # We only use this code for GNU lds that support --whole-archive.
13857 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13859 # Exported symbols can be pulled into shared objects from archives
13860 whole_archive_flag_spec_CXX
='$convenience'
13862 archive_cmds_need_lc_CXX
=yes
13863 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13864 # -brtl affects multiple linker settings, -berok does not and is overridden later
13865 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13866 if test svr4
!= "$with_aix_soname"; then
13867 # This is similar to how AIX traditionally builds its shared
13868 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13869 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13871 if test aix
!= "$with_aix_soname"; then
13872 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13874 # used by -dlpreopen to get the symbols
13875 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13877 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13883 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13884 allow_undefined_flag_CXX
=unsupported
13885 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13886 # support --undefined. This deserves some investigation. FIXME
13887 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13894 case $cc_basename in
13896 # FIXME: insert proper C++ library support
13902 cygwin
* | mingw
* | pw32
* | cegcc
*)
13903 case $GXX,$cc_basename in
13906 # hardcode_libdir_flag_spec is actually meaningless, as there is
13907 # no search path for DLLs.
13908 hardcode_libdir_flag_spec_CXX
=' '
13909 allow_undefined_flag_CXX
=unsupported
13910 always_export_symbols_CXX
=yes
13911 file_list_spec_CXX
='@'
13912 # Tell ltmain to make .lib files, not .a files.
13914 # Tell ltmain to make .dll files, not .so files.
13916 # FIXME: Setting linknames here is a bad hack.
13917 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13918 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13919 cp "$export_symbols" "$output_objdir/$soname.def";
13920 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13922 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13924 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13926 # The linker will not automatically build a static lib if we build a DLL.
13927 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13928 enable_shared_with_static_runtimes_CXX
=yes
13930 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13931 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13932 lt_tool_outputfile="@TOOL_OUTPUT@"~
13933 case $lt_outputfile in
13936 lt_outputfile=$lt_outputfile.exe
13937 lt_tool_outputfile=$lt_tool_outputfile.exe
13940 func_to_tool_file "$lt_outputfile"~
13941 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13942 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13943 $RM "$lt_outputfile.manifest";
13948 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13949 # as there is no search path for DLLs.
13950 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13951 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
13952 allow_undefined_flag_CXX
=unsupported
13953 always_export_symbols_CXX
=no
13954 enable_shared_with_static_runtimes_CXX
=yes
13956 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13957 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'
13958 # If the export-symbols file already is a .def file, use it as
13959 # is; otherwise, prepend EXPORTS...
13960 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13961 cp $export_symbols $output_objdir/$soname.def;
13963 echo EXPORTS > $output_objdir/$soname.def;
13964 cat $export_symbols >> $output_objdir/$soname.def;
13966 $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'
13973 darwin
* | rhapsody
*)
13976 archive_cmds_need_lc_CXX
=no
13977 hardcode_direct_CXX
=no
13978 hardcode_automatic_CXX
=yes
13979 hardcode_shlibpath_var_CXX
=unsupported
13980 if test yes = "$lt_cv_ld_force_load"; then
13981 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\"`'
13984 whole_archive_flag_spec_CXX
=''
13986 link_all_deplibs_CXX
=yes
13987 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
13988 case $cc_basename in
13989 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
13990 *) _lt_dar_can_shared
=$GCC ;;
13992 if test yes = "$_lt_dar_can_shared"; then
13993 output_verbose_link_cmd
=func_echo_all
13994 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"
13995 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13996 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"
13997 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"
13998 if test yes != "$lt_cv_apple_cc_single_mod"; then
13999 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"
14000 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"
14010 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14011 hardcode_minus_L_CXX
=yes
14012 allow_undefined_flag_CXX
=unsupported
14014 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14015 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14016 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14017 $ECHO EXPORTS >> $output_objdir/$libname.def~
14018 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14019 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14020 emximp -o $lib $output_objdir/$libname.def'
14021 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14022 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14023 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14024 $ECHO EXPORTS >> $output_objdir/$libname.def~
14025 prefix_cmds="$SED"~
14026 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14027 prefix_cmds="$prefix_cmds -e 1d";
14029 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14030 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14031 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14032 emximp -o $lib $output_objdir/$libname.def'
14033 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14034 enable_shared_with_static_runtimes_CXX
=yes
14038 case $cc_basename in
14040 # FIXME: insert proper C++ library support
14044 # Green Hills C++ Compiler
14045 # FIXME: insert proper C++ library support
14049 # FIXME: insert proper C++ library support
14056 # C++ shared libraries reported to be fairly broken before
14062 archive_cmds_need_lc_CXX
=no
14065 freebsd
* | dragonfly
*)
14066 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14072 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14073 link_all_deplibs_CXX
=yes
14077 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14078 hardcode_libdir_separator_CXX
=:
14079 export_dynamic_flag_spec_CXX
='$wl-E'
14080 hardcode_direct_CXX
=yes
14081 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14082 # but as the default
14083 # location of the library.
14085 case $cc_basename in
14087 # FIXME: insert proper C++ library support
14091 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14092 # Commands to make compiler produce verbose output that lists
14093 # what "hidden" libraries, object files and flags are used when
14094 # linking a shared library.
14096 # There doesn't appear to be a way to prevent this compiler from
14097 # explicitly linking system object files so we need to strip them
14098 # from the output so that they don't get included in the library
14100 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"'
14103 if test yes = "$GXX"; then
14104 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14106 # FIXME: insert proper C++ library support
14114 if test no
= "$with_gnu_ld"; then
14115 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14116 hardcode_libdir_separator_CXX
=:
14122 export_dynamic_flag_spec_CXX
='$wl-E'
14128 hardcode_direct_CXX
=no
14129 hardcode_shlibpath_var_CXX
=no
14132 hardcode_direct_CXX
=yes
14133 hardcode_direct_absolute_CXX
=yes
14134 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14135 # but as the default
14136 # location of the library.
14140 case $cc_basename in
14142 # FIXME: insert proper C++ library support
14148 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14151 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14154 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14157 # Commands to make compiler produce verbose output that lists
14158 # what "hidden" libraries, object files and flags are used when
14159 # linking a shared library.
14161 # There doesn't appear to be a way to prevent this compiler from
14162 # explicitly linking system object files so we need to strip them
14163 # from the output so that they don't get included in the library
14165 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"'
14168 if test yes = "$GXX"; then
14169 if test no
= "$with_gnu_ld"; then
14172 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14175 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14178 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'
14183 # FIXME: insert proper C++ library support
14191 hardcode_direct_CXX
=no
14192 hardcode_shlibpath_var_CXX
=no
14193 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14194 export_dynamic_flag_spec_CXX
='$wl-E'
14195 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14196 # Instead, shared libraries are loaded at an image base (0x10000000 by
14197 # default) and relocated if they conflict, which is a slow very memory
14198 # consuming and fragmenting process. To avoid this, we pick a random,
14199 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14200 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14201 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'
14202 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'
14205 case $cc_basename in
14208 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'
14210 # Archives containing C++ object files must be created using
14211 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14212 # necessary to make sure instantiated templates are included
14214 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14217 if test yes = "$GXX"; then
14218 if test no
= "$with_gnu_ld"; then
14219 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'
14221 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'
14224 link_all_deplibs_CXX
=yes
14227 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14228 hardcode_libdir_separator_CXX
=:
14229 inherit_rpath_CXX
=yes
14232 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14233 case $cc_basename in
14235 # Kuck and Associates, Inc. (KAI) C++ Compiler
14237 # KCC will only create a shared library if the output file
14238 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14239 # to its proper name (with version) after linking.
14240 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'
14241 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'
14242 # Commands to make compiler produce verbose output that lists
14243 # what "hidden" libraries, object files and flags are used when
14244 # linking a shared library.
14246 # There doesn't appear to be a way to prevent this compiler from
14247 # explicitly linking system object files so we need to strip them
14248 # from the output so that they don't get included in the library
14250 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"'
14252 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14253 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14255 # Archives containing C++ object files must be created using
14256 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14257 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14262 # version 8.0 and above of icpc choke on multiply defined symbols
14263 # if we add $predep_objects and $postdep_objects, however 7.1 and
14264 # earlier do not add the objects themselves.
14265 case `$CC -V 2>&1` in
14267 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14268 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'
14270 *) # Version 8.0 or newer
14273 ia64
*) tmp_idyn
=' -i_dynamic';;
14275 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14276 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'
14279 archive_cmds_need_lc_CXX
=no
14280 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14281 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14282 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14285 # Portland Group C++ compiler
14287 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
14288 prelink_cmds_CXX
='tpldir=Template.dir~
14290 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14291 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14292 old_archive_cmds_CXX
='tpldir=Template.dir~
14294 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14295 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14297 archive_cmds_CXX
='tpldir=Template.dir~
14299 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14300 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14301 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14303 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14304 $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'
14306 *) # Version 6 and above use weak symbols
14307 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14308 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'
14312 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14313 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14314 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'
14318 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14319 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'
14321 runpath_var
=LD_RUN_PATH
14322 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14323 hardcode_libdir_separator_CXX
=:
14325 # Commands to make compiler produce verbose output that lists
14326 # what "hidden" libraries, object files and flags are used when
14327 # linking a shared library.
14329 # There doesn't appear to be a way to prevent this compiler from
14330 # explicitly linking system object files so we need to strip them
14331 # from the output so that they don't get included in the library
14333 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'
14335 xl
* | mpixl
* | bgxl
*)
14336 # IBM XL 8.0 on PPC, with GNU ld
14337 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14338 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14339 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14340 if test yes = "$supports_anon_versioning"; then
14341 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14342 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14343 echo "local: *; };" >> $output_objdir/$libname.ver~
14344 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14348 case `$CC -V 2>&1 | sed 5q` in
14351 no_undefined_flag_CXX
=' -zdefs'
14352 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14353 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'
14354 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14355 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'
14356 compiler_needs_object_CXX
=yes
14358 # Not sure whether something based on
14359 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14361 output_verbose_link_cmd
='func_echo_all'
14363 # Archives containing C++ object files must be created using
14364 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14365 # necessary to make sure instantiated templates are included
14367 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14375 # FIXME: insert proper C++ library support
14380 # FIXME: insert proper C++ library support
14385 case $cc_basename in
14387 # FIXME: insert proper C++ library support
14391 # FIXME: insert proper C++ library support
14398 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14399 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14401 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14402 hardcode_direct_CXX
=yes
14403 hardcode_shlibpath_var_CXX
=no
14405 # Workaround some broken pre-1.5 toolchains
14406 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14413 openbsd
* | bitrig
*)
14414 if test -f /usr
/libexec
/ld.so
; then
14415 hardcode_direct_CXX
=yes
14416 hardcode_shlibpath_var_CXX
=no
14417 hardcode_direct_absolute_CXX
=yes
14418 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14419 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14420 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14421 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14422 export_dynamic_flag_spec_CXX
='$wl-E'
14423 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14425 output_verbose_link_cmd
=func_echo_all
14431 osf3
* | osf4
* | osf5
*)
14432 case $cc_basename in
14434 # Kuck and Associates, Inc. (KAI) C++ Compiler
14436 # KCC will only create a shared library if the output file
14437 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14438 # to its proper name (with version) after linking.
14439 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'
14441 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14442 hardcode_libdir_separator_CXX
=:
14444 # Archives containing C++ object files must be created using
14445 # the KAI C++ compiler.
14447 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14448 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14452 # Rational C++ 2.4.1
14453 # FIXME: insert proper C++ library support
14459 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14460 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'
14461 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14464 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14465 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'
14466 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14467 echo "-hidden">> $lib.exp~
14468 $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~
14470 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14474 hardcode_libdir_separator_CXX
=:
14476 # Commands to make compiler produce verbose output that lists
14477 # what "hidden" libraries, object files and flags are used when
14478 # linking a shared library.
14480 # There doesn't appear to be a way to prevent this compiler from
14481 # explicitly linking system object files so we need to strip them
14482 # from the output so that they don't get included in the library
14484 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"'
14487 if test yes,no
= "$GXX,$with_gnu_ld"; then
14488 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14491 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'
14494 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'
14498 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14499 hardcode_libdir_separator_CXX
=:
14501 # Commands to make compiler produce verbose output that lists
14502 # what "hidden" libraries, object files and flags are used when
14503 # linking a shared library.
14504 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14507 # FIXME: insert proper C++ library support
14515 # FIXME: insert proper C++ library support
14520 case $cc_basename in
14523 # FIXME: insert proper C++ library support
14528 # FIXME: insert proper C++ library support
14532 # FIXME: insert proper C++ library support
14539 case $cc_basename in
14541 # Sun C++ 4.2, 5.x and Centerline C++
14542 archive_cmds_need_lc_CXX
=yes
14543 no_undefined_flag_CXX
=' -zdefs'
14544 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14545 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14546 $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'
14548 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14549 hardcode_shlibpath_var_CXX
=no
14551 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14553 # The compiler driver will combine and reorder linker options,
14554 # but understands '-z linker_flag'.
14555 # Supported since Solaris 2.6 (maybe 2.5.1?)
14556 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14559 link_all_deplibs_CXX
=yes
14561 output_verbose_link_cmd
='func_echo_all'
14563 # Archives containing C++ object files must be created using
14564 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14565 # necessary to make sure instantiated templates are included
14567 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14570 # Green Hills C++ Compiler
14571 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14573 # The C++ compiler must be used to create the archive.
14574 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14577 # GNU C++ compiler with Solaris linker
14578 if test yes,no
= "$GXX,$with_gnu_ld"; then
14579 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14580 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14581 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14582 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14583 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14585 # Commands to make compiler produce verbose output that lists
14586 # what "hidden" libraries, object files and flags are used when
14587 # linking a shared library.
14588 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14590 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14592 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14593 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14594 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14596 # Commands to make compiler produce verbose output that lists
14597 # what "hidden" libraries, object files and flags are used when
14598 # linking a shared library.
14599 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14602 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14604 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14606 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14614 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14615 no_undefined_flag_CXX
='$wl-z,text'
14616 archive_cmds_need_lc_CXX
=no
14617 hardcode_shlibpath_var_CXX
=no
14618 runpath_var
='LD_RUN_PATH'
14620 case $cc_basename in
14622 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14623 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14626 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14627 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14632 sysv5
* | sco3.2v5
* | sco5v6
*)
14633 # Note: We CANNOT use -z defs as we might desire, because we do not
14634 # link with -lc, and that would cause any symbols used from libc to
14635 # always be unresolved, which means just about no library would
14636 # ever link correctly. If we're not using GNU ld we use -z text
14637 # though, which does catch some bad symbols but isn't as heavy-handed
14639 no_undefined_flag_CXX
='$wl-z,text'
14640 allow_undefined_flag_CXX
='$wl-z,nodefs'
14641 archive_cmds_need_lc_CXX
=no
14642 hardcode_shlibpath_var_CXX
=no
14643 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14644 hardcode_libdir_separator_CXX
=':'
14645 link_all_deplibs_CXX
=yes
14646 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14647 runpath_var
='LD_RUN_PATH'
14649 case $cc_basename in
14651 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14652 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14653 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14654 '"$old_archive_cmds_CXX"
14655 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14656 '"$reload_cmds_CXX"
14659 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14660 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14666 case $cc_basename in
14668 # NonStop-UX NCC 3.20
14669 # FIXME: insert proper C++ library support
14673 # FIXME: insert proper C++ library support
14680 # FIXME: insert proper C++ library support
14685 # FIXME: insert proper C++ library support
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14691 $as_echo "$ld_shlibs_CXX" >&6; }
14692 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14698 ## There is no encapsulation within the following macros, do not change
14699 ## the running order or otherwise move them around unless you know exactly
14700 ## what you are doing...
14701 # Dependencies to place before and after the object being linked:
14702 predep_objects_CXX
=
14703 postdep_objects_CXX
=
14706 compiler_lib_search_path_CXX
=
14708 cat > conftest.
$ac_ext <<_LT_EOF
14712 Foo (void) { a = 0; }
14719 _lt_libdeps_save_CFLAGS
=$CFLAGS
14720 case "$CC $CFLAGS " in #(
14721 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14722 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14723 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14726 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14727 (eval $ac_compile) 2>&5
14729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14730 test $ac_status = 0; }; then
14731 # Parse the compiler output and extract the necessary
14732 # objects, libraries and library flags.
14734 # Sentinel used to keep track of whether or not we are before
14735 # the conftest object file.
14736 pre_test_object_deps_done
=no
14738 for p
in `eval "$output_verbose_link_cmd"`; do
14742 # Some compilers place space between "-{L,R}" and the path.
14743 # Remove the space.
14744 if test x
-L = "$p" ||
14745 test x
-R = "$p"; then
14750 # Expand the sysroot to ease extracting the directories later.
14751 if test -z "$prev"; then
14753 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14754 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14755 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14759 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14761 if test no
= "$pre_test_object_deps_done"; then
14764 # Internal compiler library paths should come after those
14765 # provided the user. The postdeps already come after the
14766 # user supplied libs so there is no need to process them.
14767 if test -z "$compiler_lib_search_path_CXX"; then
14768 compiler_lib_search_path_CXX
=$prev$p
14770 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14773 # The "-l" case would never come before the object being
14774 # linked, so don't bother handling this case.
14777 if test -z "$postdeps_CXX"; then
14778 postdeps_CXX
=$prev$p
14780 postdeps_CXX
="${postdeps_CXX} $prev$p"
14786 *.lto.
$objext) ;; # Ignore GCC LTO objects
14788 # This assumes that the test object file only shows up
14789 # once in the compiler output.
14790 if test "$p" = "conftest.$objext"; then
14791 pre_test_object_deps_done
=yes
14795 if test no
= "$pre_test_object_deps_done"; then
14796 if test -z "$predep_objects_CXX"; then
14797 predep_objects_CXX
=$p
14799 predep_objects_CXX
="$predep_objects_CXX $p"
14802 if test -z "$postdep_objects_CXX"; then
14803 postdep_objects_CXX
=$p
14805 postdep_objects_CXX
="$postdep_objects_CXX $p"
14810 *) ;; # Ignore the rest.
14818 echo "libtool.m4: error: problem compiling CXX test program"
14821 $RM -f confest.
$objext
14822 CFLAGS
=$_lt_libdeps_save_CFLAGS
14824 # PORTME: override above test on systems where it is broken
14827 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14828 # hack all around it, let's just trust "g++" to DTRT.
14829 predep_objects_CXX
=
14830 postdep_objects_CXX
=
14836 case " $postdeps_CXX " in
14837 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14839 compiler_lib_search_dirs_CXX
=
14840 if test -n "${compiler_lib_search_path_CXX}"; then
14841 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14874 lt_prog_compiler_wl_CXX
=
14875 lt_prog_compiler_pic_CXX
=
14876 lt_prog_compiler_static_CXX
=
14879 # C++ specific cases for pic, static, wl, etc.
14880 if test yes = "$GXX"; then
14881 lt_prog_compiler_wl_CXX
='-Wl,'
14882 lt_prog_compiler_static_CXX
='-static'
14886 # All AIX code is PIC.
14887 if test ia64
= "$host_cpu"; then
14888 # AIX 5 now supports IA64 processor
14889 lt_prog_compiler_static_CXX
='-Bstatic'
14891 lt_prog_compiler_pic_CXX
='-fPIC'
14897 # see comment about AmigaOS4 .so support
14898 lt_prog_compiler_pic_CXX
='-fPIC'
14901 # FIXME: we need at least 68020 code to build shared libraries, but
14902 # adding the '-m68020' flag to GCC prevents building anything better,
14904 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14909 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14910 # PIC is the default for these OSes.
14912 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14913 # This hack is so that the source file can tell whether it is being
14914 # built for inclusion in a dll (and should export symbols for example).
14915 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14916 # (--disable-auto-import) libraries
14917 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14920 lt_prog_compiler_static_CXX
='$wl-static'
14924 darwin
* | rhapsody
*)
14925 # PIC is the default on this platform
14926 # Common symbols not allowed in MH_DYLIB files
14927 lt_prog_compiler_pic_CXX
='-fno-common'
14930 # DJGPP does not support shared libraries at all
14931 lt_prog_compiler_pic_CXX
=
14934 # PIC is the default for Haiku.
14935 # The "-static" flag exists, but is broken.
14936 lt_prog_compiler_static_CXX
=
14939 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14940 # Instead, we relocate shared libraries at runtime.
14943 if test -d /usr
/nec
; then
14944 lt_prog_compiler_pic_CXX
=-Kconform_pic
14948 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14949 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14950 # sets the default TLS model and affects inlining.
14955 lt_prog_compiler_pic_CXX
='-fPIC'
14960 # QNX uses GNU C++, but need to define -shared option too, otherwise
14961 # it will coredump.
14962 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14965 lt_prog_compiler_pic_CXX
='-fPIC'
14971 # All AIX code is PIC.
14972 if test ia64
= "$host_cpu"; then
14973 # AIX 5 now supports IA64 processor
14974 lt_prog_compiler_static_CXX
='-Bstatic'
14976 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14980 case $cc_basename in
14982 # Green Hills C++ Compiler
14983 # _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"
14987 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14988 # This hack is so that the source file can tell whether it is being
14989 # built for inclusion in a dll (and should export symbols for example).
14990 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14993 case $cc_basename in
14995 lt_prog_compiler_pic_CXX
='-KPIC'
14998 # Green Hills C++ Compiler
14999 lt_prog_compiler_pic_CXX
='-pic'
15005 freebsd
* | dragonfly
*)
15006 # FreeBSD uses GNU C++
15008 hpux9
* | hpux10
* | hpux11
*)
15009 case $cc_basename in
15011 lt_prog_compiler_wl_CXX
='-Wl,'
15012 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15013 if test ia64
!= "$host_cpu"; then
15014 lt_prog_compiler_pic_CXX
='+Z'
15018 lt_prog_compiler_wl_CXX
='-Wl,'
15019 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15025 lt_prog_compiler_pic_CXX
='+Z'
15034 # This is c89, which is MS Visual C++ (no shared libs)
15035 # Anyone wants to do a port?
15037 irix5
* | irix6
* | nonstopux
*)
15038 case $cc_basename in
15040 lt_prog_compiler_wl_CXX
='-Wl,'
15041 lt_prog_compiler_static_CXX
='-non_shared'
15042 # CC pic flag -KPIC is the default.
15048 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15049 case $cc_basename in
15052 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15053 lt_prog_compiler_pic_CXX
='-fPIC'
15056 # old Intel C++ for x86_64, which still supported -KPIC.
15057 lt_prog_compiler_wl_CXX
='-Wl,'
15058 lt_prog_compiler_pic_CXX
='-KPIC'
15059 lt_prog_compiler_static_CXX
='-static'
15062 # Intel C++, used to be incompatible with GCC.
15063 # ICC 10 doesn't accept -KPIC any more.
15064 lt_prog_compiler_wl_CXX
='-Wl,'
15065 lt_prog_compiler_pic_CXX
='-fPIC'
15066 lt_prog_compiler_static_CXX
='-static'
15069 # Portland Group C++ compiler
15070 lt_prog_compiler_wl_CXX
='-Wl,'
15071 lt_prog_compiler_pic_CXX
='-fpic'
15072 lt_prog_compiler_static_CXX
='-Bstatic'
15076 # Make sure the PIC flag is empty. It appears that all Alpha
15077 # Linux and Compaq Tru64 Unix objects are PIC.
15078 lt_prog_compiler_pic_CXX
=
15079 lt_prog_compiler_static_CXX
='-non_shared'
15081 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15082 # IBM XL 8.0, 9.0 on PPC and BlueGene
15083 lt_prog_compiler_wl_CXX
='-Wl,'
15084 lt_prog_compiler_pic_CXX
='-qpic'
15085 lt_prog_compiler_static_CXX
='-qstaticlink'
15088 case `$CC -V 2>&1 | sed 5q` in
15091 lt_prog_compiler_pic_CXX
='-KPIC'
15092 lt_prog_compiler_static_CXX
='-Bstatic'
15093 lt_prog_compiler_wl_CXX
='-Qoption ld '
15104 case $cc_basename in
15106 lt_prog_compiler_pic_CXX
='-W c,exportall'
15115 # QNX uses GNU C++, but need to define -shared option too, otherwise
15116 # it will coredump.
15117 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15119 osf3
* | osf4
* | osf5
*)
15120 case $cc_basename in
15122 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15125 # Rational C++ 2.4.1
15126 lt_prog_compiler_pic_CXX
='-pic'
15129 # Digital/Compaq C++
15130 lt_prog_compiler_wl_CXX
='-Wl,'
15131 # Make sure the PIC flag is empty. It appears that all Alpha
15132 # Linux and Compaq Tru64 Unix objects are PIC.
15133 lt_prog_compiler_pic_CXX
=
15134 lt_prog_compiler_static_CXX
='-non_shared'
15143 case $cc_basename in
15145 # Sun C++ 4.2, 5.x and Centerline C++
15146 lt_prog_compiler_pic_CXX
='-KPIC'
15147 lt_prog_compiler_static_CXX
='-Bstatic'
15148 lt_prog_compiler_wl_CXX
='-Qoption ld '
15151 # Green Hills C++ Compiler
15152 lt_prog_compiler_pic_CXX
='-PIC'
15159 case $cc_basename in
15162 lt_prog_compiler_pic_CXX
='-pic'
15163 lt_prog_compiler_static_CXX
='-Bstatic'
15167 lt_prog_compiler_pic_CXX
='-pic'
15173 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15174 case $cc_basename in
15176 lt_prog_compiler_wl_CXX
='-Wl,'
15177 lt_prog_compiler_pic_CXX
='-KPIC'
15178 lt_prog_compiler_static_CXX
='-Bstatic'
15183 case $cc_basename in
15185 # NonStop-UX NCC 3.20
15186 lt_prog_compiler_pic_CXX
='-KPIC'
15195 lt_prog_compiler_can_build_shared_CXX
=no
15201 # For platforms that do not support PIC, -DPIC is meaningless:
15203 lt_prog_compiler_pic_CXX
=
15206 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15211 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15212 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
15213 $as_echo_n "(cached) " >&6
15215 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15218 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15219 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15222 # Check to make sure the PIC flag actually works.
15224 if test -n "$lt_prog_compiler_pic_CXX"; then
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15226 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15227 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15228 $as_echo_n "(cached) " >&6
15230 lt_cv_prog_compiler_pic_works_CXX
=no
15231 ac_outfile
=conftest.
$ac_objext
15232 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15233 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15234 # Insert the option either (1) after the last *FLAGS variable, or
15235 # (2) before a word containing "conftest.", or (3) at the end.
15236 # Note that $ac_compile itself does not contain backslashes and begins
15237 # with a dollar sign (not a hyphen), so the echo should work correctly.
15238 # The option is referenced via a variable to avoid confusing sed.
15239 lt_compile
=`echo "$ac_compile" | $SED \
15240 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15241 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15242 -e 's:$: $lt_compiler_flag:'`
15243 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15244 (eval "$lt_compile" 2>conftest.err
)
15246 cat conftest.err
>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 if (exit $ac_status) && test -s "$ac_outfile"; then
15249 # The compiler can only warn and ignore the option if not recognized
15250 # So say no if there are warnings other than the usual output.
15251 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15252 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15253 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15254 lt_cv_prog_compiler_pic_works_CXX
=yes
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15261 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15263 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15264 case $lt_prog_compiler_pic_CXX in
15266 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15269 lt_prog_compiler_pic_CXX
=
15270 lt_prog_compiler_can_build_shared_CXX
=no
15280 # Check to make sure the static flag actually works.
15282 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15284 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15285 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15286 $as_echo_n "(cached) " >&6
15288 lt_cv_prog_compiler_static_works_CXX
=no
15289 save_LDFLAGS
=$LDFLAGS
15290 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15291 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15292 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15293 # The linker can only warn and ignore the option if not recognized
15294 # So say no if there are warnings
15295 if test -s conftest.err
; then
15296 # Append any errors to the config.log.
15297 cat conftest.err
1>&5
15298 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15299 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15300 if diff conftest.exp conftest.er2
>/dev
/null
; then
15301 lt_cv_prog_compiler_static_works_CXX
=yes
15304 lt_cv_prog_compiler_static_works_CXX
=yes
15308 LDFLAGS
=$save_LDFLAGS
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15312 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15314 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15317 lt_prog_compiler_static_CXX
=
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15324 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15325 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15326 $as_echo_n "(cached) " >&6
15328 lt_cv_prog_compiler_c_o_CXX
=no
15329 $RM -r conftest
2>/dev
/null
15333 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15335 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15336 # Insert the option either (1) after the last *FLAGS variable, or
15337 # (2) before a word containing "conftest.", or (3) at the end.
15338 # Note that $ac_compile itself does not contain backslashes and begins
15339 # with a dollar sign (not a hyphen), so the echo should work correctly.
15340 lt_compile
=`echo "$ac_compile" | $SED \
15341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15343 -e 's:$: $lt_compiler_flag:'`
15344 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15345 (eval "$lt_compile" 2>out
/conftest.err
)
15347 cat out
/conftest.err
>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15351 # The compiler can only warn and ignore the option if not recognized
15352 # So say no if there are warnings
15353 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15354 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15355 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15356 lt_cv_prog_compiler_c_o_CXX
=yes
15361 # SGI C++ compiler will create directory out/ii_files/ for
15362 # template instantiation
15363 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15364 $RM out
/* && rmdir out
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15371 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15376 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15377 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15378 $as_echo_n "(cached) " >&6
15380 lt_cv_prog_compiler_c_o_CXX
=no
15381 $RM -r conftest
2>/dev
/null
15385 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15387 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15388 # Insert the option either (1) after the last *FLAGS variable, or
15389 # (2) before a word containing "conftest.", or (3) at the end.
15390 # Note that $ac_compile itself does not contain backslashes and begins
15391 # with a dollar sign (not a hyphen), so the echo should work correctly.
15392 lt_compile
=`echo "$ac_compile" | $SED \
15393 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15394 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15395 -e 's:$: $lt_compiler_flag:'`
15396 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15397 (eval "$lt_compile" 2>out
/conftest.err
)
15399 cat out
/conftest.err
>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15403 # The compiler can only warn and ignore the option if not recognized
15404 # So say no if there are warnings
15405 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15406 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15407 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15408 lt_cv_prog_compiler_c_o_CXX
=yes
15413 # SGI C++ compiler will create directory out/ii_files/ for
15414 # template instantiation
15415 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15416 $RM out
/* && rmdir out
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15423 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15428 hard_links
=nottested
15429 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15430 # do not overwrite the value of need_locks provided by the user
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15432 $as_echo_n "checking if we can lock with hard links... " >&6; }
15435 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15437 ln conftest.a conftest.b
2>&5 || hard_links
=no
15438 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15440 $as_echo "$hard_links" >&6; }
15441 if test no
= "$hard_links"; then
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15443 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15453 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15455 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15456 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15459 # If we're using GNU nm, then we don't want the "-C" option.
15460 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15461 # Without the "-l" option, or with the "-B" option, AIX nm treats
15462 # weak defined symbols like other global defined symbols, whereas
15463 # GNU nm marks them as "W".
15464 # While the 'weak' keyword is ignored in the Export File, we need
15465 # it in the Import File for the 'aix-soname' feature, so we have
15466 # to replace the "-B" option with "-P" for AIX nm.
15467 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
15468 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15470 export_symbols_cmds_CXX
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15474 export_symbols_cmds_CXX
=$ltdll_cmds
15476 cygwin
* | mingw
* | cegcc
*)
15477 case $cc_basename in
15479 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15482 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'
15483 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15488 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15493 $as_echo "$ld_shlibs_CXX" >&6; }
15494 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15496 with_gnu_ld_CXX
=$with_gnu_ld
15504 # Do we need to explicitly link libc?
15506 case "x$archive_cmds_need_lc_CXX" in
15508 # Assume -lc should be added
15509 archive_cmds_need_lc_CXX
=yes
15511 if test yes,yes = "$GCC,$enable_shared"; then
15512 case $archive_cmds_CXX in
15514 # FIXME: we may have to deal with multi-command sequences.
15517 # Test whether the compiler implicitly links with -lc since on some
15518 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15519 # to ld, don't add -lc before -lgcc.
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15521 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15522 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15523 $as_echo_n "(cached) " >&6
15526 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15529 (eval $ac_compile) 2>&5
15531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15532 test $ac_status = 0; } 2>conftest.err
; then
15535 libobjs
=conftest.
$ac_objext
15537 wl
=$lt_prog_compiler_wl_CXX
15538 pic_flag
=$lt_prog_compiler_pic_CXX
15544 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15545 allow_undefined_flag_CXX
=
15546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15547 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15550 test $ac_status = 0; }
15552 lt_cv_archive_cmds_need_lc_CXX
=no
15554 lt_cv_archive_cmds_need_lc_CXX
=yes
15556 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15558 cat conftest.err
1>&5
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15564 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15565 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15634 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15636 library_names_spec
=
15637 libname_spec
='lib$name'
15641 postuninstall_cmds
=
15645 shlibpath_overrides_runpath
=unknown
15647 dynamic_linker
="$host_os ld.so"
15648 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15649 need_lib_prefix
=unknown
15650 hardcode_into_libs
=no
15652 # when you set need_version to no, make sure it does not cause -set_version
15653 # flags to be left without arguments
15654 need_version
=unknown
15660 version_type
=linux
# correct to gnu/linux during the next big refactor
15661 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15662 shlibpath_var
=LIBPATH
15664 # AIX 3 has no versioning support, so we append a major version to the name.
15665 soname_spec
='$libname$release$shared_ext$major'
15669 version_type
=linux
# correct to gnu/linux during the next big refactor
15672 hardcode_into_libs
=yes
15673 if test ia64
= "$host_cpu"; then
15674 # AIX 5 supports IA64
15675 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15676 shlibpath_var
=LD_LIBRARY_PATH
15678 # With GCC up to 2.95.x, collect2 would create an import file
15679 # for dependence libraries. The import file would start with
15680 # the line '#! .'. This would cause the generated library to
15681 # depend on '.', always an invalid library. This was fixed in
15682 # development snapshots of GCC prior to 3.0.
15684 aix4
| aix4.
[01] | aix4.
[01].
*)
15685 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15687 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
15690 can_build_shared
=no
15694 # Using Import Files as archive members, it is possible to support
15695 # filename-based versioning of shared library archives on AIX. While
15696 # this would work for both with and without runtime linking, it will
15697 # prevent static linking of such archives. So we do filename-based
15698 # shared library versioning with .so extension only, which is used
15699 # when both runtime linking and shared linking is enabled.
15700 # Unfortunately, runtime linking may impact performance, so we do
15701 # not want this to be the default eventually. Also, we use the
15702 # versioned .so libs for executables only if there is the -brtl
15703 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15704 # To allow for filename-based versioning support, we need to create
15705 # libNAME.so.V as an archive file, containing:
15706 # *) an Import File, referring to the versioned filename of the
15707 # archive as well as the shared archive member, telling the
15708 # bitwidth (32 or 64) of that shared object, and providing the
15709 # list of exported symbols of that shared object, eventually
15710 # decorated with the 'weak' keyword
15711 # *) the shared object with the F_LOADONLY flag set, to really avoid
15712 # it being seen by the linker.
15713 # At run time we better use the real file rather than another symlink,
15714 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15716 case $with_aix_soname,$aix_use_runtimelinking in
15717 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15718 # soname into executable. Probably we can add versioning support to
15719 # collect2, so additional links can be useful in future.
15720 aix
,yes) # traditional libtool
15721 dynamic_linker
='AIX unversionable lib.so'
15722 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15723 # instead of lib<name>.a to let people know that these are not
15724 # typical AIX shared libraries.
15725 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15727 aix
,no
) # traditional AIX only
15728 dynamic_linker
='AIX lib.a(lib.so.V)'
15729 # We preserve .a as extension for shared libraries through AIX4.2
15730 # and later when we are not doing run time linking.
15731 library_names_spec
='$libname$release.a $libname.a'
15732 soname_spec
='$libname$release$shared_ext$major'
15734 svr4
,*) # full svr4 only
15735 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15736 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15737 # We do not specify a path in Import Files, so LIBPATH fires.
15738 shlibpath_overrides_runpath
=yes
15740 *,yes) # both, prefer svr4
15741 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15742 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15743 # unpreferred sharedlib libNAME.a needs extra handling
15744 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15745 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15746 # We do not specify a path in Import Files, so LIBPATH fires.
15747 shlibpath_overrides_runpath
=yes
15749 *,no
) # both, prefer aix
15750 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15751 library_names_spec
='$libname$release.a $libname.a'
15752 soname_spec
='$libname$release$shared_ext$major'
15753 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15754 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15755 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15758 shlibpath_var
=LIBPATH
15765 # Since July 2007 AmigaOS4 officially supports .so libraries.
15766 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15767 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15770 library_names_spec
='$libname.ixlibrary $libname.a'
15771 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15772 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
15778 library_names_spec
='$libname$shared_ext'
15779 dynamic_linker
="$host_os ld.so"
15780 shlibpath_var
=LIBRARY_PATH
15784 version_type
=linux
# correct to gnu/linux during the next big refactor
15786 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15787 soname_spec
='$libname$release$shared_ext$major'
15788 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15789 shlibpath_var
=LD_LIBRARY_PATH
15790 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15791 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15792 # the default ld.so.conf also contains /usr/contrib/lib and
15793 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15794 # libtool to hard-code these into programs
15797 cygwin
* | mingw
* | pw32
* | cegcc
*)
15798 version_type
=windows
15803 case $GCC,$cc_basename in
15806 library_names_spec
='$libname.dll.a'
15807 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15808 postinstall_cmds
='base_file=`basename \$file`~
15809 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15810 dldir=$destdir/`dirname \$dlpath`~
15811 test -d \$dldir || mkdir -p \$dldir~
15812 $install_prog $dir/$dlname \$dldir/$dlname~
15813 chmod a+x \$dldir/$dlname~
15814 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15815 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15817 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15818 dlpath=$dir/\$dldll~
15820 shlibpath_overrides_runpath
=yes
15824 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15825 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15829 # MinGW DLLs use traditional 'lib' prefix
15830 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15833 # pw32 DLLs use 'pw' prefix rather than 'lib'
15834 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15837 dynamic_linker
='Win32 ld.exe'
15842 libname_spec
='$name'
15843 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15844 library_names_spec
='$libname.dll.lib'
15848 sys_lib_search_path_spec
=
15851 for lt_path
in $LIB
15854 # Let DOS variable expansion print the short 8.3 style file name.
15855 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15856 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15859 # Convert to MSYS style.
15860 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15863 # Convert to unix form, then to dos form, then back to unix form
15864 # but this time dos style (no spaces!) so that the unix form looks
15865 # like /cygdrive/c/PROGRA~1:/cygdr...
15866 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15867 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15868 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15871 sys_lib_search_path_spec
=$LIB
15872 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15873 # It is most probably a Windows format PATH.
15874 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15876 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15878 # FIXME: find the short name or the path components, as spaces are
15879 # common. (e.g. "Program Files" -> "PROGRA~1")
15883 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15884 postinstall_cmds
='base_file=`basename \$file`~
15885 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15886 dldir=$destdir/`dirname \$dlpath`~
15887 test -d \$dldir || mkdir -p \$dldir~
15888 $install_prog $dir/$dlname \$dldir/$dlname'
15889 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15890 dlpath=$dir/\$dldll~
15892 shlibpath_overrides_runpath
=yes
15893 dynamic_linker
='Win32 link.exe'
15897 # Assume MSVC wrapper
15898 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
15899 dynamic_linker
='Win32 ld.exe'
15902 # FIXME: first we should search . and the directory the executable is in
15906 darwin
* | rhapsody
*)
15907 dynamic_linker
="$host_os dyld"
15908 version_type
=darwin
15911 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
15912 soname_spec
='$libname$release$major$shared_ext'
15913 shlibpath_overrides_runpath
=yes
15914 shlibpath_var
=DYLD_LIBRARY_PATH
15915 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15917 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15921 version_type
=linux
# correct to gnu/linux during the next big refactor
15924 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15925 soname_spec
='$libname$release$shared_ext$major'
15926 shlibpath_var
=LD_LIBRARY_PATH
15929 freebsd
* | dragonfly
*)
15930 # DragonFly does not have aout. When/if they implement a new
15931 # versioning mechanism, adjust this.
15932 if test -x /usr
/bin
/objformat
; then
15933 objformat
=`/usr/bin/objformat`
15936 freebsd
[23].
*) objformat
=aout
;;
15937 *) objformat
=elf
;;
15940 version_type
=freebsd
-$objformat
15941 case $version_type in
15943 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15944 soname_spec
='$libname$release$shared_ext$major'
15949 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15953 shlibpath_var
=LD_LIBRARY_PATH
15956 shlibpath_overrides_runpath
=yes
15958 freebsd3.
[01]* | freebsdelf3.
[01]*)
15959 shlibpath_overrides_runpath
=yes
15960 hardcode_into_libs
=yes
15962 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15963 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15964 shlibpath_overrides_runpath
=no
15965 hardcode_into_libs
=yes
15967 *) # from 4.6 on, and DragonFly
15968 shlibpath_overrides_runpath
=yes
15969 hardcode_into_libs
=yes
15975 version_type
=linux
# correct to gnu/linux during the next big refactor
15978 dynamic_linker
="$host_os runtime_loader"
15979 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15980 soname_spec
='$libname$release$shared_ext$major'
15981 shlibpath_var
=LIBRARY_PATH
15982 shlibpath_overrides_runpath
=no
15983 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15984 hardcode_into_libs
=yes
15987 hpux9
* | hpux10
* | hpux11
*)
15988 # Give a soname corresponding to the major version so that dld.sl refuses to
15989 # link against other versions.
15996 hardcode_into_libs
=yes
15997 dynamic_linker
="$host_os dld.so"
15998 shlibpath_var
=LD_LIBRARY_PATH
15999 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16000 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16001 soname_spec
='$libname$release$shared_ext$major'
16002 if test 32 = "$HPUX_IA64_MODE"; then
16003 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16004 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16006 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16007 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16012 hardcode_into_libs
=yes
16013 dynamic_linker
="$host_os dld.sl"
16014 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16015 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16016 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16017 soname_spec
='$libname$release$shared_ext$major'
16018 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16019 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16023 dynamic_linker
="$host_os dld.sl"
16024 shlibpath_var
=SHLIB_PATH
16025 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16026 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16027 soname_spec
='$libname$release$shared_ext$major'
16030 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16031 postinstall_cmds
='chmod 555 $lib'
16032 # or fails outright, so override atomically:
16033 install_override_mode
=555
16037 version_type
=linux
# correct to gnu/linux during the next big refactor
16040 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16041 soname_spec
='$libname$release$shared_ext$major'
16042 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16043 shlibpath_var
=LD_LIBRARY_PATH
16044 shlibpath_overrides_runpath
=no
16045 hardcode_into_libs
=yes
16048 irix5
* | irix6
* | nonstopux
*)
16050 nonstopux
*) version_type
=nonstopux
;;
16052 if test yes = "$lt_cv_prog_gnu_ld"; then
16053 version_type
=linux
# correct to gnu/linux during the next big refactor
16060 soname_spec
='$libname$release$shared_ext$major'
16061 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16063 irix5
* | nonstopux
*)
16064 libsuff
= shlibsuff
=
16067 case $LD in # libtool.m4 will add one of these switches to LD
16068 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16069 libsuff
= shlibsuff
= libmagic
=32-bit;;
16070 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16071 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16072 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16073 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16074 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16078 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16079 shlibpath_overrides_runpath
=no
16080 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16081 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16082 hardcode_into_libs
=yes
16085 # No shared lib support for Linux oldld, aout, or coff.
16086 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16091 version_type
=none
# Android doesn't support versioned libraries.
16094 library_names_spec
='$libname$release$shared_ext'
16095 soname_spec
='$libname$release$shared_ext'
16097 shlibpath_var
=LD_LIBRARY_PATH
16098 shlibpath_overrides_runpath
=yes
16100 # This implies no fast_install, which is unacceptable.
16101 # Some rework will be needed to allow for fast_install
16102 # before this can be enabled.
16103 hardcode_into_libs
=yes
16105 dynamic_linker
='Android linker'
16106 # Don't embed -rpath directories since the linker doesn't support them.
16107 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16110 # This must be glibc/ELF.
16111 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16112 version_type
=linux
# correct to gnu/linux during the next big refactor
16115 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16116 soname_spec
='$libname$release$shared_ext$major'
16117 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16118 shlibpath_var
=LD_LIBRARY_PATH
16119 shlibpath_overrides_runpath
=no
16121 # Some binutils ld are patched to set DT_RUNPATH
16122 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
16123 $as_echo_n "(cached) " >&6
16125 lt_cv_shlibpath_overrides_runpath
=no
16126 save_LDFLAGS
=$LDFLAGS
16127 save_libdir
=$libdir
16128 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16129 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16141 if ac_fn_cxx_try_link
"$LINENO"; then :
16142 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
16143 lt_cv_shlibpath_overrides_runpath
=yes
16146 rm -f core conftest.err conftest.
$ac_objext \
16147 conftest
$ac_exeext conftest.
$ac_ext
16148 LDFLAGS
=$save_LDFLAGS
16149 libdir
=$save_libdir
16153 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16155 # This implies no fast_install, which is unacceptable.
16156 # Some rework will be needed to allow for fast_install
16157 # before this can be enabled.
16158 hardcode_into_libs
=yes
16160 # Ideally, we could use ldconfig to report *all* directores which are
16161 # searched for libraries, however this is still not possible. Aside from not
16162 # being certain /sbin/ldconfig is available, command
16163 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16164 # even though it is searched at run-time. Try to do the best guess by
16165 # appending ld.so.conf contents (and includes) to the search path.
16166 if test -f /etc
/ld.so.conf
; then
16167 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' ' '`
16168 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16171 # We used to test for /lib/ld.so.1 and disable shared libraries on
16172 # powerpc, because MkLinux only supported shared libraries with the
16173 # GNU dynamic linker. Since this was broken with cross compilers,
16174 # most powerpc-linux boxes support dynamic linking these days and
16175 # people can always --disable-shared, the test was removed, and we
16176 # assume the GNU/Linux dynamic linker is in use.
16177 dynamic_linker
='GNU/Linux ld.so'
16184 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16185 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16186 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16187 dynamic_linker
='NetBSD (a.out) ld.so'
16189 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16190 soname_spec
='$libname$release$shared_ext$major'
16191 dynamic_linker
='NetBSD ld.elf_so'
16193 shlibpath_var
=LD_LIBRARY_PATH
16194 shlibpath_overrides_runpath
=yes
16195 hardcode_into_libs
=yes
16199 version_type
=linux
# correct to gnu/linux during the next big refactor
16200 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16201 shlibpath_var
=LD_LIBRARY_PATH
16202 shlibpath_overrides_runpath
=yes
16209 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16210 soname_spec
='$libname$release$shared_ext$major'
16211 shlibpath_var
=LD_LIBRARY_PATH
16212 shlibpath_overrides_runpath
=no
16213 hardcode_into_libs
=yes
16214 dynamic_linker
='ldqnx.so'
16217 openbsd
* | bitrig
*)
16219 sys_lib_dlsearch_path_spec
=/usr
/lib
16221 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16226 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16227 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16228 shlibpath_var
=LD_LIBRARY_PATH
16229 shlibpath_overrides_runpath
=yes
16233 libname_spec
='$name'
16234 version_type
=windows
16238 # OS/2 can only load a DLL with a base name of 8 characters or less.
16239 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16240 v=$($ECHO $release$versuffix | tr -d .-);
16241 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16242 $ECHO $n$v`$shared_ext'
16243 library_names_spec
='${libname}_dll.$libext'
16244 dynamic_linker
='OS/2 ld.exe'
16245 shlibpath_var
=BEGINLIBPATH
16246 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16247 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16248 postinstall_cmds
='base_file=`basename \$file`~
16249 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16250 dldir=$destdir/`dirname \$dlpath`~
16251 test -d \$dldir || mkdir -p \$dldir~
16252 $install_prog $dir/$dlname \$dldir/$dlname~
16253 chmod a+x \$dldir/$dlname~
16254 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16255 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16257 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16258 dlpath=$dir/\$dldll~
16262 osf3
* | osf4
* | osf5
*)
16266 soname_spec
='$libname$release$shared_ext$major'
16267 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16268 shlibpath_var
=LD_LIBRARY_PATH
16269 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16270 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16278 version_type
=linux
# correct to gnu/linux during the next big refactor
16281 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16282 soname_spec
='$libname$release$shared_ext$major'
16283 shlibpath_var
=LD_LIBRARY_PATH
16284 shlibpath_overrides_runpath
=yes
16285 hardcode_into_libs
=yes
16286 # ldd complains unless libraries are executable
16287 postinstall_cmds
='chmod +x $lib'
16292 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16293 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16294 shlibpath_var
=LD_LIBRARY_PATH
16295 shlibpath_overrides_runpath
=yes
16296 if test yes = "$with_gnu_ld"; then
16303 version_type
=linux
# correct to gnu/linux during the next big refactor
16304 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16305 soname_spec
='$libname$release$shared_ext$major'
16306 shlibpath_var
=LD_LIBRARY_PATH
16307 case $host_vendor in
16309 shlibpath_overrides_runpath
=no
16311 runpath_var
=LD_RUN_PATH
16319 shlibpath_overrides_runpath
=no
16320 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16326 if test -d /usr
/nec
; then
16327 version_type
=linux
# correct to gnu/linux during the next big refactor
16328 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16329 soname_spec
='$libname$shared_ext.$major'
16330 shlibpath_var
=LD_LIBRARY_PATH
16334 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16338 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16339 soname_spec
='$libname$release$shared_ext$major'
16340 shlibpath_var
=LD_LIBRARY_PATH
16341 shlibpath_overrides_runpath
=yes
16342 hardcode_into_libs
=yes
16343 if test yes = "$with_gnu_ld"; then
16344 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16346 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16349 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16353 sys_lib_dlsearch_path_spec
='/usr/lib'
16357 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16358 version_type
=linux
# correct to gnu/linux during the next big refactor
16361 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16362 shlibpath_var
=LD_LIBRARY_PATH
16363 shlibpath_overrides_runpath
=no
16364 hardcode_into_libs
=yes
16368 version_type
=linux
# correct to gnu/linux during the next big refactor
16369 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16370 soname_spec
='$libname$release$shared_ext$major'
16371 shlibpath_var
=LD_LIBRARY_PATH
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16379 $as_echo "$dynamic_linker" >&6; }
16380 test no
= "$dynamic_linker" && can_build_shared
=no
16382 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16383 if test yes = "$GCC"; then
16384 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16387 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16388 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16391 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16392 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16395 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16396 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16398 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16399 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16401 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16402 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16444 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16445 hardcode_action_CXX
=
16446 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16447 test -n "$runpath_var_CXX" ||
16448 test yes = "$hardcode_automatic_CXX"; then
16450 # We can hardcode non-existent directories.
16451 if test no
!= "$hardcode_direct_CXX" &&
16452 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16453 # have to relink, otherwise we might link with an installed library
16454 # when we should be linking with a yet-to-be-installed one
16455 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16456 test no
!= "$hardcode_minus_L_CXX"; then
16457 # Linking always hardcodes the temporary library directory.
16458 hardcode_action_CXX
=relink
16460 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16461 hardcode_action_CXX
=immediate
16464 # We cannot hardcode anything, or else we can only hardcode existing
16466 hardcode_action_CXX
=unsupported
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16469 $as_echo "$hardcode_action_CXX" >&6; }
16471 if test relink
= "$hardcode_action_CXX" ||
16472 test yes = "$inherit_rpath_CXX"; then
16473 # Fast installation is not supported
16474 enable_fast_install
=no
16475 elif test yes = "$shlibpath_overrides_runpath" ||
16476 test no
= "$enable_shared"; then
16477 # Fast installation is not necessary
16478 enable_fast_install
=needless
16487 fi # test -n "$compiler"
16490 CFLAGS
=$lt_save_CFLAGS
16494 with_gnu_ld
=$lt_save_with_gnu_ld
16495 lt_cv_path_LDCXX
=$lt_cv_path_LD
16496 lt_cv_path_LD
=$lt_save_path_LD
16497 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16498 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16499 fi # test yes != "$_lt_caught_CXX_error"
16502 ac_cpp
='$CPP $CPPFLAGS'
16503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16521 ac_config_commands
="$ac_config_commands libtool"
16526 # Only expand once:
16531 ac_cpp
='$CXXCPP $CPPFLAGS'
16532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16537 ax_cxx_compile_cxx11_required
=true
16539 ac_cpp
='$CXXCPP $CPPFLAGS'
16540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
16545 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
16546 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
16547 $as_echo_n "(cached) " >&6
16549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16552 template <typename T>
16555 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16559 virtual void f() {}
16561 struct Child : public Base {
16562 virtual void f() override {}
16565 typedef check<check<bool>> right_angle_brackets;
16570 typedef check<int> check_type;
16572 check_type&& cr = static_cast<check_type&&>(c);
16578 if ac_fn_cxx_try_compile
"$LINENO"; then :
16579 ax_cv_cxx_compile_cxx11
=yes
16581 ax_cv_cxx_compile_cxx11
=no
16583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
16586 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
16587 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
16591 if test x
$ac_success = xno
; then
16592 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
16593 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
16595 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
16596 if eval \
${$cachevar+:} false
; then :
16597 $as_echo_n "(cached) " >&6
16599 ac_save_CXXFLAGS
="$CXXFLAGS"
16600 CXXFLAGS
="$CXXFLAGS $switch"
16601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16604 template <typename T>
16607 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16611 virtual void f() {}
16613 struct Child : public Base {
16614 virtual void f() override {}
16617 typedef check<check<bool>> right_angle_brackets;
16622 typedef check<int> check_type;
16624 check_type&& cr = static_cast<check_type&&>(c);
16630 if ac_fn_cxx_try_compile
"$LINENO"; then :
16635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16636 CXXFLAGS
="$ac_save_CXXFLAGS"
16638 eval ac_res
=\$
$cachevar
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16640 $as_echo "$ac_res" >&6; }
16641 if eval test x\$
$cachevar = xyes
; then
16642 CXXFLAGS
="$CXXFLAGS $switch"
16651 ac_cpp
='$CXXCPP $CPPFLAGS'
16652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16656 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
16657 if test x
$ac_success = xno
; then
16658 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
16661 if test x
$ac_success = xno
; then
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
16664 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
16668 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
16675 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
16684 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16685 if test -n "$ac_tool_prefix"; then
16686 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16687 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16689 $as_echo_n "checking for $ac_word... " >&6; }
16690 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16691 $as_echo_n "(cached) " >&6
16693 case $PKG_CONFIG in
16695 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16699 for as_dir
in $PATH
16702 test -z "$as_dir" && as_dir
=.
16703 for ac_exec_ext
in '' $ac_executable_extensions; do
16704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16705 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16716 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16717 if test -n "$PKG_CONFIG"; then
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16719 $as_echo "$PKG_CONFIG" >&6; }
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16722 $as_echo "no" >&6; }
16727 if test -z "$ac_cv_path_PKG_CONFIG"; then
16728 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16729 # Extract the first word of "pkg-config", so it can be a program name with args.
16730 set dummy pkg
-config; ac_word
=$2
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16732 $as_echo_n "checking for $ac_word... " >&6; }
16733 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16734 $as_echo_n "(cached) " >&6
16736 case $ac_pt_PKG_CONFIG in
16738 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16742 for as_dir
in $PATH
16745 test -z "$as_dir" && as_dir
=.
16746 for ac_exec_ext
in '' $ac_executable_extensions; do
16747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16748 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16759 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16760 if test -n "$ac_pt_PKG_CONFIG"; then
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16762 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16765 $as_echo "no" >&6; }
16768 if test "x$ac_pt_PKG_CONFIG" = x
; then
16771 case $cross_compiling:$ac_tool_warned in
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16775 ac_tool_warned
=yes ;;
16777 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16780 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16784 if test -n "$PKG_CONFIG"; then
16785 _pkg_min_version
=0.22
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16787 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16788 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16790 $as_echo "yes" >&6; }
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16793 $as_echo "no" >&6; }
16798 # Extract the first word of "git", so it can be a program name with args.
16799 set dummy git
; ac_word
=$2
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16801 $as_echo_n "checking for $ac_word... " >&6; }
16802 if ${ac_cv_path_GIT+:} false
; then :
16803 $as_echo_n "(cached) " >&6
16807 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16811 for as_dir
in $PATH
16814 test -z "$as_dir" && as_dir
=.
16815 for ac_exec_ext
in '' $ac_executable_extensions; do
16816 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16817 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16828 GIT
=$ac_cv_path_GIT
16829 if test -n "$GIT"; then
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16831 $as_echo "$GIT" >&6; }
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16834 $as_echo "no" >&6; }
16838 # Extract the first word of "time", so it can be a program name with args.
16839 set dummy
time; ac_word
=$2
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16841 $as_echo_n "checking for $ac_word... " >&6; }
16842 if ${ac_cv_path_TIME+:} false
; then :
16843 $as_echo_n "(cached) " >&6
16847 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16851 for as_dir
in $PATH
16854 test -z "$as_dir" && as_dir
=.
16855 for ac_exec_ext
in '' $ac_executable_extensions; do
16856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16857 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16868 TIME
=$ac_cv_path_TIME
16869 if test -n "$TIME"; then
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16871 $as_echo "$TIME" >&6; }
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16874 $as_echo "no" >&6; }
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
16884 $as_echo_n "checking for bison >= 3.0... " >&6; }
16885 if test -z "$BISON"; then
16886 ac_path_BISON_found
=false
16887 # Loop through the user's path and test for each of PROGNAME-LIST
16888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16889 for as_dir
in $PATH
16892 test -z "$as_dir" && as_dir
=.
16893 for ac_prog
in bison
; do
16894 for ac_exec_ext
in '' $ac_executable_extensions; do
16895 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16896 as_fn_executable_p
"$ac_path_BISON" || continue
16897 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16898 if ${version:+false} :; then :
16901 as_awk_strverscmp
='
16902 # Use only awk features that work with 7th edition Unix awk (1978).
16903 # My, what an old awk you have, Mr. Solaris!
16905 while (length(v1) && length(v2)) {
16906 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16907 # Normally this is a single character, but if v1 and v2 contain digits,
16908 # compare them as integers and fractions as strverscmp does.
16909 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16910 # Split v1 and v2 into their leading digit string components d1 and d2,
16911 # and advance v1 and v2 past the leading digit strings.
16912 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16913 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16914 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16915 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16918 # Compare two fractions.
16919 while (d1 ~ /^0/ && d2 ~ /^0/) {
16920 d1 = substr(d1, 2); len1--
16921 d2 = substr(d2, 2); len2--
16923 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16924 # The two components differ in length, and the common prefix
16925 # contains only leading zeros. Consider the longer to be less.
16929 # Otherwise, compare as strings.
16934 # A fraction is less than an integer.
16939 # An integer is greater than a fraction.
16942 # Compare two integers.
16948 # The normal case, without worrying about digits.
16949 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16950 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16952 if (d1 < d2) exit 1
16953 if (d1 > d2) exit 2
16955 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16956 # which mishandles some comparisons of empty strings to integers.
16957 if (length(v2)) exit 1
16958 if (length(v1)) exit 2
16963 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16968 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16970 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16976 $ac_path_BISON_found && break 3
16981 if test -z "$ac_cv_path_BISON"; then
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16983 $as_echo "no" >&6; }
16986 ac_cv_path_BISON
=$BISON
16992 BISON
=$ac_cv_path_BISON
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16995 $as_echo "$BISON" >&6; }
17000 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17007 $as_echo "no" >&6; }
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
17016 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
17017 if test -z "$FLEX"; then
17018 ac_path_FLEX_found
=false
17019 # Loop through the user's path and test for each of PROGNAME-LIST
17020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17021 for as_dir
in $PATH
17024 test -z "$as_dir" && as_dir
=.
17025 for ac_prog
in flex
; do
17026 for ac_exec_ext
in '' $ac_executable_extensions; do
17027 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
17028 as_fn_executable_p
"$ac_path_FLEX" || continue
17029 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
17030 if ${version:+false} :; then :
17035 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17040 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17042 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17048 $ac_path_FLEX_found && break 3
17053 if test -z "$ac_cv_path_FLEX"; then
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17055 $as_echo "no" >&6; }
17058 ac_cv_path_FLEX
=$FLEX
17064 FLEX
=$ac_cv_path_FLEX
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17067 $as_echo "$FLEX" >&6; }
17072 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17079 $as_echo "no" >&6; }
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
17088 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
17089 if test -z "$GPERF"; then
17090 ac_path_GPERF_found
=false
17091 # Loop through the user's path and test for each of PROGNAME-LIST
17092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17093 for as_dir
in $PATH
17096 test -z "$as_dir" && as_dir
=.
17097 for ac_prog
in gperf
; do
17098 for ac_exec_ext
in '' $ac_executable_extensions; do
17099 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
17100 as_fn_executable_p
"$ac_path_GPERF" || continue
17101 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
17102 if ${version:+false} :; then :
17107 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17112 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17114 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17120 $ac_path_GPERF_found && break 3
17125 if test -z "$ac_cv_path_GPERF"; then
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17127 $as_echo "no" >&6; }
17130 ac_cv_path_GPERF
=$GPERF
17136 GPERF
=$ac_cv_path_GPERF
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17139 $as_echo "$GPERF" >&6; }
17144 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17151 $as_echo "no" >&6; }
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
17160 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
17161 if test -z "$GNUTAR"; then
17162 ac_path_GNUTAR_found
=false
17163 # Loop through the user's path and test for each of PROGNAME-LIST
17164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17165 for as_dir
in $PATH
17168 test -z "$as_dir" && as_dir
=.
17169 for ac_prog
in tar gtar gnutar
; do
17170 for ac_exec_ext
in '' $ac_executable_extensions; do
17171 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
17172 as_fn_executable_p
"$ac_path_GNUTAR" || continue
17173 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
17174 if ${version:+false} :; then :
17179 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17184 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17186 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17192 $ac_path_GNUTAR_found && break 3
17197 if test -z "$ac_cv_path_GNUTAR"; then
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17199 $as_echo "no" >&6; }
17202 ac_cv_path_GNUTAR
=$GNUTAR
17208 GNUTAR
=$ac_cv_path_GNUTAR
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
17211 $as_echo "$GNUTAR" >&6; }
17216 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17223 $as_echo "no" >&6; }
17238 ac_cpp
='$CPP $CPPFLAGS'
17239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
17244 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
17245 if ${ac_cv_cflags_warn_all+:} false
; then :
17246 $as_echo_n "(cached) " >&6
17248 ac_cv_cflags_warn_all
="no, unknown"
17249 ac_save_CFLAGS
="$CFLAGS"
17250 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" #
17251 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17263 if ac_fn_c_try_compile
"$LINENO"; then :
17264 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17268 CFLAGS
="$ac_save_CFLAGS"
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
17272 $as_echo "$ac_cv_cflags_warn_all" >&6; }
17275 case ".$ac_cv_cflags_warn_all" in
17278 *) if ${CFLAGS+:} false
; then :
17279 case " $CFLAGS " in
17280 *" $ac_cv_cflags_warn_all "*)
17281 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
17282 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
17284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17285 test $ac_status = 0; }
17288 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
17289 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
17291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17292 test $ac_status = 0; }
17293 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
17297 CFLAGS
="$ac_cv_cflags_warn_all"
17303 ac_cpp
='$CXXCPP $CPPFLAGS'
17304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17310 ac_cpp
='$CXXCPP $CPPFLAGS'
17311 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17312 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17313 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17316 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17317 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17318 $as_echo_n "(cached) " >&6
17320 ac_cv_cxxflags_warn_all
="no, unknown"
17321 ac_save_CXXFLAGS
="$CXXFLAGS"
17322 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" #
17323 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17335 if ac_fn_cxx_try_compile
"$LINENO"; then :
17336 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17340 CXXFLAGS
="$ac_save_CXXFLAGS"
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17344 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17347 case ".$ac_cv_cxxflags_warn_all" in
17350 *) if ${CXXFLAGS+:} false
; then :
17351 case " $CXXFLAGS " in
17352 *" $ac_cv_cxxflags_warn_all "*)
17353 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17354 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17357 test $ac_status = 0; }
17360 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17361 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17364 test $ac_status = 0; }
17365 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17369 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17375 ac_cpp
='$CXXCPP $CPPFLAGS'
17376 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17377 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17378 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17382 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17383 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17384 $as_echo_n "(cached) " >&6
17386 ac_cv_cxxflags_warn_all
="no, unknown"
17387 ac_save_CXXFLAGS
="$CXXFLAGS"
17388 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" #
17389 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17401 if ac_fn_cxx_try_compile
"$LINENO"; then :
17402 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17406 CXXFLAGS
="$ac_save_CXXFLAGS"
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17410 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17413 case ".$ac_cv_cxxflags_warn_all" in
17416 *) if ${CXXFLAGS+:} false
; then :
17417 case " $CXXFLAGS " in
17418 *" $ac_cv_cxxflags_warn_all "*)
17419 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17420 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17423 test $ac_status = 0; }
17426 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17427 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17430 test $ac_status = 0; }
17431 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17435 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17445 ac_cpp
='$CPP $CPPFLAGS'
17446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
17451 $as_echo_n "checking for cc -Werror... " >&6; }
17455 for element
in -Werror; do
17457 for x
in $CFLAGS; do
17459 acl_save_prefix
="$prefix"
17460 prefix
="$acl_final_prefix"
17461 acl_save_exec_prefix
="$exec_prefix"
17462 exec_prefix
="$acl_final_exec_prefix"
17464 exec_prefix
="$acl_save_exec_prefix"
17465 prefix
="$acl_save_prefix"
17467 if test "X$x" = "X$element"; then
17472 if test -z "$haveit"; then
17473 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17482 if ac_fn_c_try_compile
"$LINENO"; then :
17487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17490 if test "x$cy_good" = x1
; then :
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17492 $as_echo "yes" >&6; }
17494 for element
in -Werror; do
17496 for x
in $CFLAGS; do
17498 acl_save_prefix
="$prefix"
17499 prefix
="$acl_final_prefix"
17500 acl_save_exec_prefix
="$exec_prefix"
17501 exec_prefix
="$acl_final_exec_prefix"
17503 exec_prefix
="$acl_save_exec_prefix"
17504 prefix
="$acl_save_prefix"
17506 if test "X$x" = "X$element"; then
17511 if test -z "$haveit"; then
17512 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17519 $as_echo "no" >&6; }
17523 ac_cpp
='$CXXCPP $CPPFLAGS'
17524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17531 ac_cpp
='$CXXCPP $CPPFLAGS'
17532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
17537 $as_echo_n "checking for c++ -Werror... " >&6; }
17541 for element
in -Werror; do
17543 for x
in $CXXFLAGS; 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 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17568 if ac_fn_cxx_try_compile
"$LINENO"; then :
17573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17576 if test "x$cy_good" = x1
; then :
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17578 $as_echo "yes" >&6; }
17580 for element
in -Werror; do
17582 for x
in $CXXFLAGS; do
17584 acl_save_prefix
="$prefix"
17585 prefix
="$acl_final_prefix"
17586 acl_save_exec_prefix
="$exec_prefix"
17587 exec_prefix
="$acl_final_exec_prefix"
17589 exec_prefix
="$acl_save_exec_prefix"
17590 prefix
="$acl_save_prefix"
17592 if test "X$x" = "X$element"; then
17597 if test -z "$haveit"; then
17598 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17605 $as_echo "no" >&6; }
17609 ac_cpp
='$CXXCPP $CPPFLAGS'
17610 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17617 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17618 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
17623 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
17625 cy_save
=$OBJCXXFLAGS
17627 for element
in -Werror; do
17629 for x
in $OBJCXXFLAGS; do
17631 acl_save_prefix
="$prefix"
17632 prefix
="$acl_final_prefix"
17633 acl_save_exec_prefix
="$exec_prefix"
17634 exec_prefix
="$acl_final_exec_prefix"
17636 exec_prefix
="$acl_save_exec_prefix"
17637 prefix
="$acl_save_prefix"
17639 if test "X$x" = "X$element"; then
17644 if test -z "$haveit"; then
17645 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17654 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17661 OBJCXXFLAGS
=$cy_save
17662 if test "x$cy_good" = x1
; then :
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17664 $as_echo "yes" >&6; }
17666 for element
in -Werror; do
17668 for x
in $OBJCXXFLAGS; do
17670 acl_save_prefix
="$prefix"
17671 prefix
="$acl_final_prefix"
17672 acl_save_exec_prefix
="$exec_prefix"
17673 exec_prefix
="$acl_final_exec_prefix"
17675 exec_prefix
="$acl_save_exec_prefix"
17676 prefix
="$acl_save_prefix"
17678 if test "X$x" = "X$element"; then
17683 if test -z "$haveit"; then
17684 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17691 $as_echo "no" >&6; }
17695 ac_cpp
='$CXXCPP $CPPFLAGS'
17696 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17697 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17706 ac_cpp
='$CPP $CPPFLAGS'
17707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17712 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17716 for element
in -Wno-deprecated-declarations; do
17718 for x
in $CFLAGS; do
17720 acl_save_prefix
="$prefix"
17721 prefix
="$acl_final_prefix"
17722 acl_save_exec_prefix
="$exec_prefix"
17723 exec_prefix
="$acl_final_exec_prefix"
17725 exec_prefix
="$acl_save_exec_prefix"
17726 prefix
="$acl_save_prefix"
17728 if test "X$x" = "X$element"; then
17733 if test -z "$haveit"; then
17734 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h. */
17743 if ac_fn_c_try_compile
"$LINENO"; then :
17748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17751 if test "x$cy_good" = x1
; then :
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17753 $as_echo "yes" >&6; }
17755 for element
in -Wno-deprecated-declarations; do
17757 for x
in $CFLAGS; do
17759 acl_save_prefix
="$prefix"
17760 prefix
="$acl_final_prefix"
17761 acl_save_exec_prefix
="$exec_prefix"
17762 exec_prefix
="$acl_final_exec_prefix"
17764 exec_prefix
="$acl_save_exec_prefix"
17765 prefix
="$acl_save_prefix"
17767 if test "X$x" = "X$element"; then
17772 if test -z "$haveit"; then
17773 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17780 $as_echo "no" >&6; }
17784 ac_cpp
='$CXXCPP $CPPFLAGS'
17785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17792 ac_cpp
='$CXXCPP $CPPFLAGS'
17793 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17794 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17795 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17798 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17802 for element
in -Wno-deprecated-declarations; do
17804 for x
in $CXXFLAGS; do
17806 acl_save_prefix
="$prefix"
17807 prefix
="$acl_final_prefix"
17808 acl_save_exec_prefix
="$exec_prefix"
17809 exec_prefix
="$acl_final_exec_prefix"
17811 exec_prefix
="$acl_save_exec_prefix"
17812 prefix
="$acl_save_prefix"
17814 if test "X$x" = "X$element"; then
17819 if test -z "$haveit"; then
17820 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17829 if ac_fn_cxx_try_compile
"$LINENO"; then :
17834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17837 if test "x$cy_good" = x1
; then :
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17839 $as_echo "yes" >&6; }
17841 for element
in -Wno-deprecated-declarations; do
17843 for x
in $CXXFLAGS; do
17845 acl_save_prefix
="$prefix"
17846 prefix
="$acl_final_prefix"
17847 acl_save_exec_prefix
="$exec_prefix"
17848 exec_prefix
="$acl_final_exec_prefix"
17850 exec_prefix
="$acl_save_exec_prefix"
17851 prefix
="$acl_save_prefix"
17853 if test "X$x" = "X$element"; then
17858 if test -z "$haveit"; then
17859 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17866 $as_echo "no" >&6; }
17870 ac_cpp
='$CXXCPP $CPPFLAGS'
17871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17878 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17879 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17884 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17886 cy_save
=$OBJCXXFLAGS
17888 for element
in -Wno-deprecated-declarations; do
17890 for x
in $OBJCXXFLAGS; do
17892 acl_save_prefix
="$prefix"
17893 prefix
="$acl_final_prefix"
17894 acl_save_exec_prefix
="$exec_prefix"
17895 exec_prefix
="$acl_final_exec_prefix"
17897 exec_prefix
="$acl_save_exec_prefix"
17898 prefix
="$acl_save_prefix"
17900 if test "X$x" = "X$element"; then
17905 if test -z "$haveit"; then
17906 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17915 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17922 OBJCXXFLAGS
=$cy_save
17923 if test "x$cy_good" = x1
; then :
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17925 $as_echo "yes" >&6; }
17927 for element
in -Wno-deprecated-declarations; do
17929 for x
in $OBJCXXFLAGS; do
17931 acl_save_prefix
="$prefix"
17932 prefix
="$acl_final_prefix"
17933 acl_save_exec_prefix
="$exec_prefix"
17934 exec_prefix
="$acl_final_exec_prefix"
17936 exec_prefix
="$acl_save_exec_prefix"
17937 prefix
="$acl_save_prefix"
17939 if test "X$x" = "X$element"; then
17944 if test -z "$haveit"; then
17945 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17952 $as_echo "no" >&6; }
17956 ac_cpp
='$CXXCPP $CPPFLAGS'
17957 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17967 ac_cpp
='$CPP $CPPFLAGS'
17968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17973 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17977 for element
in -Wno-dangling-else; do
17979 for x
in $CFLAGS; do
17981 acl_save_prefix
="$prefix"
17982 prefix
="$acl_final_prefix"
17983 acl_save_exec_prefix
="$exec_prefix"
17984 exec_prefix
="$acl_final_exec_prefix"
17986 exec_prefix
="$acl_save_exec_prefix"
17987 prefix
="$acl_save_prefix"
17989 if test "X$x" = "X$element"; then
17994 if test -z "$haveit"; then
17995 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18004 if ac_fn_c_try_compile
"$LINENO"; then :
18009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18012 if test "x$cy_good" = x1
; then :
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18014 $as_echo "yes" >&6; }
18016 for element
in -Wno-dangling-else; do
18018 for x
in $CFLAGS; do
18020 acl_save_prefix
="$prefix"
18021 prefix
="$acl_final_prefix"
18022 acl_save_exec_prefix
="$exec_prefix"
18023 exec_prefix
="$acl_final_exec_prefix"
18025 exec_prefix
="$acl_save_exec_prefix"
18026 prefix
="$acl_save_prefix"
18028 if test "X$x" = "X$element"; then
18033 if test -z "$haveit"; then
18034 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18041 $as_echo "no" >&6; }
18045 ac_cpp
='$CXXCPP $CPPFLAGS'
18046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18053 ac_cpp
='$CXXCPP $CPPFLAGS'
18054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
18059 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
18063 for element
in -Wno-dangling-else; do
18065 for x
in $CXXFLAGS; do
18067 acl_save_prefix
="$prefix"
18068 prefix
="$acl_final_prefix"
18069 acl_save_exec_prefix
="$exec_prefix"
18070 exec_prefix
="$acl_final_exec_prefix"
18072 exec_prefix
="$acl_save_exec_prefix"
18073 prefix
="$acl_save_prefix"
18075 if test "X$x" = "X$element"; then
18080 if test -z "$haveit"; then
18081 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18090 if ac_fn_cxx_try_compile
"$LINENO"; then :
18095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18098 if test "x$cy_good" = x1
; then :
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18100 $as_echo "yes" >&6; }
18102 for element
in -Wno-dangling-else; do
18104 for x
in $CXXFLAGS; do
18106 acl_save_prefix
="$prefix"
18107 prefix
="$acl_final_prefix"
18108 acl_save_exec_prefix
="$exec_prefix"
18109 exec_prefix
="$acl_final_exec_prefix"
18111 exec_prefix
="$acl_save_exec_prefix"
18112 prefix
="$acl_save_prefix"
18114 if test "X$x" = "X$element"; then
18119 if test -z "$haveit"; then
18120 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18127 $as_echo "no" >&6; }
18131 ac_cpp
='$CXXCPP $CPPFLAGS'
18132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18139 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18140 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18141 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18142 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
18145 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
18147 cy_save
=$OBJCXXFLAGS
18149 for element
in -Wno-dangling-else; do
18151 for x
in $OBJCXXFLAGS; do
18153 acl_save_prefix
="$prefix"
18154 prefix
="$acl_final_prefix"
18155 acl_save_exec_prefix
="$exec_prefix"
18156 exec_prefix
="$acl_final_exec_prefix"
18158 exec_prefix
="$acl_save_exec_prefix"
18159 prefix
="$acl_save_prefix"
18161 if test "X$x" = "X$element"; then
18166 if test -z "$haveit"; then
18167 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h. */
18176 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18183 OBJCXXFLAGS
=$cy_save
18184 if test "x$cy_good" = x1
; then :
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18186 $as_echo "yes" >&6; }
18188 for element
in -Wno-dangling-else; do
18190 for x
in $OBJCXXFLAGS; do
18192 acl_save_prefix
="$prefix"
18193 prefix
="$acl_final_prefix"
18194 acl_save_exec_prefix
="$exec_prefix"
18195 exec_prefix
="$acl_final_exec_prefix"
18197 exec_prefix
="$acl_save_exec_prefix"
18198 prefix
="$acl_save_prefix"
18200 if test "X$x" = "X$element"; then
18205 if test -z "$haveit"; then
18206 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18213 $as_echo "no" >&6; }
18217 ac_cpp
='$CXXCPP $CPPFLAGS'
18218 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18219 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18220 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18227 ac_cpp
='$CPP $CPPFLAGS'
18228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
18233 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
18237 for element
in -Wno-overloaded-virtual; do
18239 for x
in $CFLAGS; do
18241 acl_save_prefix
="$prefix"
18242 prefix
="$acl_final_prefix"
18243 acl_save_exec_prefix
="$exec_prefix"
18244 exec_prefix
="$acl_final_exec_prefix"
18246 exec_prefix
="$acl_save_exec_prefix"
18247 prefix
="$acl_save_prefix"
18249 if test "X$x" = "X$element"; then
18254 if test -z "$haveit"; then
18255 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18261 /* end confdefs.h. */
18264 if ac_fn_c_try_compile
"$LINENO"; then :
18269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18272 if test "x$cy_good" = x1
; then :
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18274 $as_echo "yes" >&6; }
18276 for element
in -Wno-overloaded-virtual; do
18278 for x
in $CFLAGS; do
18280 acl_save_prefix
="$prefix"
18281 prefix
="$acl_final_prefix"
18282 acl_save_exec_prefix
="$exec_prefix"
18283 exec_prefix
="$acl_final_exec_prefix"
18285 exec_prefix
="$acl_save_exec_prefix"
18286 prefix
="$acl_save_prefix"
18288 if test "X$x" = "X$element"; then
18293 if test -z "$haveit"; then
18294 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18301 $as_echo "no" >&6; }
18305 ac_cpp
='$CXXCPP $CPPFLAGS'
18306 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18307 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18308 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18313 ac_cpp
='$CXXCPP $CPPFLAGS'
18314 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18315 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18316 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
18319 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
18323 for element
in -Wno-overloaded-virtual; do
18325 for x
in $CXXFLAGS; do
18327 acl_save_prefix
="$prefix"
18328 prefix
="$acl_final_prefix"
18329 acl_save_exec_prefix
="$exec_prefix"
18330 exec_prefix
="$acl_final_exec_prefix"
18332 exec_prefix
="$acl_save_exec_prefix"
18333 prefix
="$acl_save_prefix"
18335 if test "X$x" = "X$element"; then
18340 if test -z "$haveit"; then
18341 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18347 /* end confdefs.h. */
18350 if ac_fn_cxx_try_compile
"$LINENO"; then :
18355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18358 if test "x$cy_good" = x1
; then :
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18360 $as_echo "yes" >&6; }
18362 for element
in -Wno-overloaded-virtual; do
18364 for x
in $CXXFLAGS; do
18366 acl_save_prefix
="$prefix"
18367 prefix
="$acl_final_prefix"
18368 acl_save_exec_prefix
="$exec_prefix"
18369 exec_prefix
="$acl_final_exec_prefix"
18371 exec_prefix
="$acl_save_exec_prefix"
18372 prefix
="$acl_save_prefix"
18374 if test "X$x" = "X$element"; then
18379 if test -z "$haveit"; then
18380 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18387 $as_echo "no" >&6; }
18391 ac_cpp
='$CXXCPP $CPPFLAGS'
18392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18399 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18400 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18401 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18402 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
18405 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
18407 cy_save
=$OBJCXXFLAGS
18409 for element
in -Wno-overloaded-virtual; do
18411 for x
in $OBJCXXFLAGS; do
18413 acl_save_prefix
="$prefix"
18414 prefix
="$acl_final_prefix"
18415 acl_save_exec_prefix
="$exec_prefix"
18416 exec_prefix
="$acl_final_exec_prefix"
18418 exec_prefix
="$acl_save_exec_prefix"
18419 prefix
="$acl_save_prefix"
18421 if test "X$x" = "X$element"; then
18426 if test -z "$haveit"; then
18427 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18436 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18443 OBJCXXFLAGS
=$cy_save
18444 if test "x$cy_good" = x1
; then :
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18446 $as_echo "yes" >&6; }
18448 for element
in -Wno-overloaded-virtual; do
18450 for x
in $OBJCXXFLAGS; do
18452 acl_save_prefix
="$prefix"
18453 prefix
="$acl_final_prefix"
18454 acl_save_exec_prefix
="$exec_prefix"
18455 exec_prefix
="$acl_final_exec_prefix"
18457 exec_prefix
="$acl_save_exec_prefix"
18458 prefix
="$acl_save_prefix"
18460 if test "X$x" = "X$element"; then
18465 if test -z "$haveit"; then
18466 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18473 $as_echo "no" >&6; }
18477 ac_cpp
='$CXXCPP $CPPFLAGS'
18478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18487 ac_cpp
='$CPP $CPPFLAGS'
18488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
18493 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
18497 for element
in -Wno-parentheses; do
18499 for x
in $CFLAGS; do
18501 acl_save_prefix
="$prefix"
18502 prefix
="$acl_final_prefix"
18503 acl_save_exec_prefix
="$exec_prefix"
18504 exec_prefix
="$acl_final_exec_prefix"
18506 exec_prefix
="$acl_save_exec_prefix"
18507 prefix
="$acl_save_prefix"
18509 if test "X$x" = "X$element"; then
18514 if test -z "$haveit"; then
18515 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18524 if ac_fn_c_try_compile
"$LINENO"; then :
18529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18532 if test "x$cy_good" = x1
; then :
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18534 $as_echo "yes" >&6; }
18536 for element
in -Wno-parentheses; do
18538 for x
in $CFLAGS; do
18540 acl_save_prefix
="$prefix"
18541 prefix
="$acl_final_prefix"
18542 acl_save_exec_prefix
="$exec_prefix"
18543 exec_prefix
="$acl_final_exec_prefix"
18545 exec_prefix
="$acl_save_exec_prefix"
18546 prefix
="$acl_save_prefix"
18548 if test "X$x" = "X$element"; then
18553 if test -z "$haveit"; then
18554 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18561 $as_echo "no" >&6; }
18565 ac_cpp
='$CXXCPP $CPPFLAGS'
18566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18573 ac_cpp
='$CXXCPP $CPPFLAGS'
18574 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18575 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18576 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
18579 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
18583 for element
in -Wno-parentheses; do
18585 for x
in $CXXFLAGS; do
18587 acl_save_prefix
="$prefix"
18588 prefix
="$acl_final_prefix"
18589 acl_save_exec_prefix
="$exec_prefix"
18590 exec_prefix
="$acl_final_exec_prefix"
18592 exec_prefix
="$acl_save_exec_prefix"
18593 prefix
="$acl_save_prefix"
18595 if test "X$x" = "X$element"; then
18600 if test -z "$haveit"; then
18601 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18610 if ac_fn_cxx_try_compile
"$LINENO"; then :
18615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18618 if test "x$cy_good" = x1
; then :
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18620 $as_echo "yes" >&6; }
18622 for element
in -Wno-parentheses; do
18624 for x
in $CXXFLAGS; do
18626 acl_save_prefix
="$prefix"
18627 prefix
="$acl_final_prefix"
18628 acl_save_exec_prefix
="$exec_prefix"
18629 exec_prefix
="$acl_final_exec_prefix"
18631 exec_prefix
="$acl_save_exec_prefix"
18632 prefix
="$acl_save_prefix"
18634 if test "X$x" = "X$element"; then
18639 if test -z "$haveit"; then
18640 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18647 $as_echo "no" >&6; }
18651 ac_cpp
='$CXXCPP $CPPFLAGS'
18652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18659 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18660 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
18665 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
18667 cy_save
=$OBJCXXFLAGS
18669 for element
in -Wno-parentheses; do
18671 for x
in $OBJCXXFLAGS; do
18673 acl_save_prefix
="$prefix"
18674 prefix
="$acl_final_prefix"
18675 acl_save_exec_prefix
="$exec_prefix"
18676 exec_prefix
="$acl_final_exec_prefix"
18678 exec_prefix
="$acl_save_exec_prefix"
18679 prefix
="$acl_save_prefix"
18681 if test "X$x" = "X$element"; then
18686 if test -z "$haveit"; then
18687 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18696 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18703 OBJCXXFLAGS
=$cy_save
18704 if test "x$cy_good" = x1
; then :
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18706 $as_echo "yes" >&6; }
18708 for element
in -Wno-parentheses; do
18710 for x
in $OBJCXXFLAGS; do
18712 acl_save_prefix
="$prefix"
18713 prefix
="$acl_final_prefix"
18714 acl_save_exec_prefix
="$exec_prefix"
18715 exec_prefix
="$acl_final_exec_prefix"
18717 exec_prefix
="$acl_save_exec_prefix"
18718 prefix
="$acl_save_prefix"
18720 if test "X$x" = "X$element"; then
18725 if test -z "$haveit"; then
18726 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18733 $as_echo "no" >&6; }
18737 ac_cpp
='$CXXCPP $CPPFLAGS'
18738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18747 ac_cpp
='$CPP $CPPFLAGS'
18748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18753 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18757 for element
in -Wno-unneeded-internal-declaration; do
18759 for x
in $CFLAGS; do
18761 acl_save_prefix
="$prefix"
18762 prefix
="$acl_final_prefix"
18763 acl_save_exec_prefix
="$exec_prefix"
18764 exec_prefix
="$acl_final_exec_prefix"
18766 exec_prefix
="$acl_save_exec_prefix"
18767 prefix
="$acl_save_prefix"
18769 if test "X$x" = "X$element"; then
18774 if test -z "$haveit"; then
18775 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18784 if ac_fn_c_try_compile
"$LINENO"; then :
18789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18792 if test "x$cy_good" = x1
; then :
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18794 $as_echo "yes" >&6; }
18796 for element
in -Wno-unneeded-internal-declaration; do
18798 for x
in $CFLAGS; do
18800 acl_save_prefix
="$prefix"
18801 prefix
="$acl_final_prefix"
18802 acl_save_exec_prefix
="$exec_prefix"
18803 exec_prefix
="$acl_final_exec_prefix"
18805 exec_prefix
="$acl_save_exec_prefix"
18806 prefix
="$acl_save_prefix"
18808 if test "X$x" = "X$element"; then
18813 if test -z "$haveit"; then
18814 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18821 $as_echo "no" >&6; }
18825 ac_cpp
='$CXXCPP $CPPFLAGS'
18826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18833 ac_cpp
='$CXXCPP $CPPFLAGS'
18834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18839 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18843 for element
in -Wno-unneeded-internal-declaration; do
18845 for x
in $CXXFLAGS; do
18847 acl_save_prefix
="$prefix"
18848 prefix
="$acl_final_prefix"
18849 acl_save_exec_prefix
="$exec_prefix"
18850 exec_prefix
="$acl_final_exec_prefix"
18852 exec_prefix
="$acl_save_exec_prefix"
18853 prefix
="$acl_save_prefix"
18855 if test "X$x" = "X$element"; then
18860 if test -z "$haveit"; then
18861 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18867 /* end confdefs.h. */
18870 if ac_fn_cxx_try_compile
"$LINENO"; then :
18875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18878 if test "x$cy_good" = x1
; then :
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18880 $as_echo "yes" >&6; }
18882 for element
in -Wno-unneeded-internal-declaration; do
18884 for x
in $CXXFLAGS; do
18886 acl_save_prefix
="$prefix"
18887 prefix
="$acl_final_prefix"
18888 acl_save_exec_prefix
="$exec_prefix"
18889 exec_prefix
="$acl_final_exec_prefix"
18891 exec_prefix
="$acl_save_exec_prefix"
18892 prefix
="$acl_save_prefix"
18894 if test "X$x" = "X$element"; then
18899 if test -z "$haveit"; then
18900 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18907 $as_echo "no" >&6; }
18911 ac_cpp
='$CXXCPP $CPPFLAGS'
18912 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18913 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18914 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18919 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18920 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18921 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18922 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18925 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18927 cy_save
=$OBJCXXFLAGS
18929 for element
in -Wno-unneeded-internal-declaration; do
18931 for x
in $OBJCXXFLAGS; do
18933 acl_save_prefix
="$prefix"
18934 prefix
="$acl_final_prefix"
18935 acl_save_exec_prefix
="$exec_prefix"
18936 exec_prefix
="$acl_final_exec_prefix"
18938 exec_prefix
="$acl_save_exec_prefix"
18939 prefix
="$acl_save_prefix"
18941 if test "X$x" = "X$element"; then
18946 if test -z "$haveit"; then
18947 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18953 /* end confdefs.h. */
18956 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18963 OBJCXXFLAGS
=$cy_save
18964 if test "x$cy_good" = x1
; then :
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18966 $as_echo "yes" >&6; }
18968 for element
in -Wno-unneeded-internal-declaration; do
18970 for x
in $OBJCXXFLAGS; do
18972 acl_save_prefix
="$prefix"
18973 prefix
="$acl_final_prefix"
18974 acl_save_exec_prefix
="$exec_prefix"
18975 exec_prefix
="$acl_final_exec_prefix"
18977 exec_prefix
="$acl_save_exec_prefix"
18978 prefix
="$acl_save_prefix"
18980 if test "X$x" = "X$element"; then
18985 if test -z "$haveit"; then
18986 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18993 $as_echo "no" >&6; }
18997 ac_cpp
='$CXXCPP $CPPFLAGS'
18998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19007 for cy_arch
in ppc ppc64 i386 x86_64 armv6 arm64
; do
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
19009 $as_echo_n "checking for -arch $cy_arch... " >&6; }
19013 for element
in "-arch $cy_arch"; do
19015 for x
in $CXXFLAGS; do
19017 acl_save_prefix
="$prefix"
19018 prefix
="$acl_final_prefix"
19019 acl_save_exec_prefix
="$exec_prefix"
19020 exec_prefix
="$acl_final_exec_prefix"
19022 exec_prefix
="$acl_save_exec_prefix"
19023 prefix
="$acl_save_prefix"
19025 if test "X$x" = "X$element"; then
19030 if test -z "$haveit"; then
19031 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19047 if ac_fn_cxx_try_link
"$LINENO"; then :
19052 rm -f core conftest.err conftest.
$ac_objext \
19053 conftest
$ac_exeext conftest.
$ac_ext
19056 if test "x$cy_good" = x1
; then :
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19058 $as_echo "yes" >&6; }
19060 for element
in "-arch $cy_arch"; do
19062 for x
in $CY_ARCH; do
19064 acl_save_prefix
="$prefix"
19065 prefix
="$acl_final_prefix"
19066 acl_save_exec_prefix
="$exec_prefix"
19067 exec_prefix
="$acl_final_exec_prefix"
19069 exec_prefix
="$acl_save_exec_prefix"
19070 prefix
="$acl_save_prefix"
19072 if test "X$x" = "X$element"; then
19077 if test -z "$haveit"; then
19078 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19085 $as_echo "no" >&6; }
19095 # Check whether --enable-javascript was given.
19096 if test "${enable_javascript+set}" = set; then :
19097 enableval
=$enable_javascript;
19098 case $enableval in #(
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19107 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19108 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19109 $as_echo_n "(cached) " >&6
19111 ac_func_search_save_LIBS
=$LIBS
19112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19115 /* Override any GCC internal prototype to avoid an error.
19116 Use char because int might match the return type of a GCC
19117 builtin and then its argument prototype would still apply. */
19121 char JSEvaluateScript ();
19125 return JSEvaluateScript ();
19130 for ac_lib
in '' JavaScriptCore
; do
19131 if test -z "$ac_lib"; then
19132 ac_res
="none required"
19135 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19137 if ac_fn_cxx_try_link
"$LINENO"; then :
19138 ac_cv_search_JSEvaluateScript
=$ac_res
19140 rm -f core conftest.err conftest.
$ac_objext \
19142 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19146 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19149 ac_cv_search_JSEvaluateScript
=no
19151 rm conftest.
$ac_ext
19152 LIBS
=$ac_func_search_save_LIBS
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19155 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19156 ac_res
=$ac_cv_search_JSEvaluateScript
19157 if test "$ac_res" != no
; then :
19158 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19166 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19167 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19168 $as_echo_n "(cached) " >&6
19171 ac_check_framework_save_LIBS
=$LIBS
19172 LIBS
="-framework JavaScriptCore $LIBS"
19173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19174 /* end confdefs.h. */
19176 #include <JavaScriptCore/JSBase.h>
19182 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19188 if ac_fn_cxx_try_link
"$LINENO"; then :
19190 ac_cv_framework_JavaScriptCore
=yes
19193 ac_cv_framework_JavaScriptCore
=no
19195 rm -f core conftest.err conftest.
$ac_objext \
19196 conftest
$ac_exeext conftest.
$ac_ext
19197 LIBS
=$ac_check_framework_save_LIBS
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19201 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19202 if test $ac_cv_framework_JavaScriptCore = yes; then :
19205 for element
in "-framework JavaScriptCore"; do
19209 acl_save_prefix
="$prefix"
19210 prefix
="$acl_final_prefix"
19211 acl_save_exec_prefix
="$exec_prefix"
19212 exec_prefix
="$acl_final_exec_prefix"
19214 exec_prefix
="$acl_save_exec_prefix"
19215 prefix
="$acl_save_prefix"
19217 if test "X$x" = "X$element"; then
19222 if test -z "$haveit"; then
19223 LIBS
="${LIBS}${LIBS:+ }$element"
19234 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19238 $as_echo_n "checking for WEBKIT... " >&6; }
19240 if test -n "$WEBKIT_CFLAGS"; then
19241 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19242 elif test -n "$PKG_CONFIG"; then
19243 if test -n "$PKG_CONFIG" && \
19244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19245 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19248 test $ac_status = 0; }; then
19249 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19250 test "x$?" != "x0" && pkg_failed
=yes
19257 if test -n "$WEBKIT_LIBS"; then
19258 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19259 elif test -n "$PKG_CONFIG"; then
19260 if test -n "$PKG_CONFIG" && \
19261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19262 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19265 test $ac_status = 0; }; then
19266 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19267 test "x$?" != "x0" && pkg_failed
=yes
19277 if test $pkg_failed = yes; then
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19279 $as_echo "no" >&6; }
19281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19282 _pkg_short_errors_supported
=yes
19284 _pkg_short_errors_supported
=no
19286 if test $_pkg_short_errors_supported = yes; then
19287 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19289 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19291 # Put the nasty error message in config.log where it belongs
19292 echo "$WEBKIT_PKG_ERRORS" >&5
19295 elif test $pkg_failed = untried
; then
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19297 $as_echo "no" >&6; }
19300 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19301 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19303 $as_echo "yes" >&6; }
19308 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19310 for x
in $CPPFLAGS; do
19312 acl_save_prefix
="$prefix"
19313 prefix
="$acl_final_prefix"
19314 acl_save_exec_prefix
="$exec_prefix"
19315 exec_prefix
="$acl_final_exec_prefix"
19317 exec_prefix
="$acl_save_exec_prefix"
19318 prefix
="$acl_save_prefix"
19320 if test "X$x" = "X$element"; then
19325 if test -z "$haveit"; then
19326 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19331 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19335 acl_save_prefix
="$prefix"
19336 prefix
="$acl_final_prefix"
19337 acl_save_exec_prefix
="$exec_prefix"
19338 exec_prefix
="$acl_final_exec_prefix"
19340 exec_prefix
="$acl_save_exec_prefix"
19341 prefix
="$acl_save_prefix"
19343 if test "X$x" = "X$element"; then
19348 if test -z "$haveit"; then
19349 LIBS
="${LIBS}${LIBS:+ }$element"
19354 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19360 LTJAVASCRIPTCORE
=$LIBS
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19376 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19377 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19378 $as_echo_n "(cached) " >&6
19380 ac_func_search_save_LIBS
=$LIBS
19381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19384 /* Override any GCC internal prototype to avoid an error.
19385 Use char because int might match the return type of a GCC
19386 builtin and then its argument prototype would still apply. */
19390 char JSEvaluateScript ();
19394 return JSEvaluateScript ();
19399 for ac_lib
in '' JavaScriptCore
; do
19400 if test -z "$ac_lib"; then
19401 ac_res
="none required"
19404 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19406 if ac_fn_cxx_try_link
"$LINENO"; then :
19407 ac_cv_search_JSEvaluateScript
=$ac_res
19409 rm -f core conftest.err conftest.
$ac_objext \
19411 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19415 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19418 ac_cv_search_JSEvaluateScript
=no
19420 rm conftest.
$ac_ext
19421 LIBS
=$ac_func_search_save_LIBS
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19424 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19425 ac_res
=$ac_cv_search_JSEvaluateScript
19426 if test "$ac_res" != no
; then :
19427 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19435 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19436 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19437 $as_echo_n "(cached) " >&6
19440 ac_check_framework_save_LIBS
=$LIBS
19441 LIBS
="-framework JavaScriptCore $LIBS"
19442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h. */
19445 #include <JavaScriptCore/JSBase.h>
19451 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19457 if ac_fn_cxx_try_link
"$LINENO"; then :
19459 ac_cv_framework_JavaScriptCore
=yes
19462 ac_cv_framework_JavaScriptCore
=no
19464 rm -f core conftest.err conftest.
$ac_objext \
19465 conftest
$ac_exeext conftest.
$ac_ext
19466 LIBS
=$ac_check_framework_save_LIBS
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19470 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19471 if test $ac_cv_framework_JavaScriptCore = yes; then :
19474 for element
in "-framework JavaScriptCore"; do
19478 acl_save_prefix
="$prefix"
19479 prefix
="$acl_final_prefix"
19480 acl_save_exec_prefix
="$exec_prefix"
19481 exec_prefix
="$acl_final_exec_prefix"
19483 exec_prefix
="$acl_save_exec_prefix"
19484 prefix
="$acl_save_prefix"
19486 if test "X$x" = "X$element"; then
19491 if test -z "$haveit"; then
19492 LIBS
="${LIBS}${LIBS:+ }$element"
19503 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19507 $as_echo_n "checking for WEBKIT... " >&6; }
19509 if test -n "$WEBKIT_CFLAGS"; then
19510 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19511 elif test -n "$PKG_CONFIG"; then
19512 if test -n "$PKG_CONFIG" && \
19513 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19514 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19517 test $ac_status = 0; }; then
19518 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19519 test "x$?" != "x0" && pkg_failed
=yes
19526 if test -n "$WEBKIT_LIBS"; then
19527 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19528 elif test -n "$PKG_CONFIG"; then
19529 if test -n "$PKG_CONFIG" && \
19530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19531 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19534 test $ac_status = 0; }; then
19535 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19536 test "x$?" != "x0" && pkg_failed
=yes
19546 if test $pkg_failed = yes; then
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19548 $as_echo "no" >&6; }
19550 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19551 _pkg_short_errors_supported
=yes
19553 _pkg_short_errors_supported
=no
19555 if test $_pkg_short_errors_supported = yes; then
19556 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19558 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19560 # Put the nasty error message in config.log where it belongs
19561 echo "$WEBKIT_PKG_ERRORS" >&5
19564 elif test $pkg_failed = untried
; then
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19566 $as_echo "no" >&6; }
19569 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19570 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19572 $as_echo "yes" >&6; }
19577 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19579 for x
in $CPPFLAGS; do
19581 acl_save_prefix
="$prefix"
19582 prefix
="$acl_final_prefix"
19583 acl_save_exec_prefix
="$exec_prefix"
19584 exec_prefix
="$acl_final_exec_prefix"
19586 exec_prefix
="$acl_save_exec_prefix"
19587 prefix
="$acl_save_prefix"
19589 if test "X$x" = "X$element"; then
19594 if test -z "$haveit"; then
19595 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19600 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19604 acl_save_prefix
="$prefix"
19605 prefix
="$acl_final_prefix"
19606 acl_save_exec_prefix
="$exec_prefix"
19607 exec_prefix
="$acl_final_exec_prefix"
19609 exec_prefix
="$acl_save_exec_prefix"
19610 prefix
="$acl_save_prefix"
19612 if test "X$x" = "X$element"; then
19617 if test -z "$haveit"; then
19618 LIBS
="${LIBS}${LIBS:+ }$element"
19623 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19629 LTJAVASCRIPTCORE
=$LIBS
19635 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19645 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19646 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19647 $as_echo_n "(cached) " >&6
19649 ac_func_search_save_LIBS
=$LIBS
19650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19651 /* end confdefs.h. */
19653 /* Override any GCC internal prototype to avoid an error.
19654 Use char because int might match the return type of a GCC
19655 builtin and then its argument prototype would still apply. */
19659 char JSEvaluateScript ();
19663 return JSEvaluateScript ();
19668 for ac_lib
in '' JavaScriptCore
; do
19669 if test -z "$ac_lib"; then
19670 ac_res
="none required"
19673 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19675 if ac_fn_cxx_try_link
"$LINENO"; then :
19676 ac_cv_search_JSEvaluateScript
=$ac_res
19678 rm -f core conftest.err conftest.
$ac_objext \
19680 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19684 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19687 ac_cv_search_JSEvaluateScript
=no
19689 rm conftest.
$ac_ext
19690 LIBS
=$ac_func_search_save_LIBS
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19693 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19694 ac_res
=$ac_cv_search_JSEvaluateScript
19695 if test "$ac_res" != no
; then :
19696 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19704 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19705 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19706 $as_echo_n "(cached) " >&6
19709 ac_check_framework_save_LIBS
=$LIBS
19710 LIBS
="-framework JavaScriptCore $LIBS"
19711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19712 /* end confdefs.h. */
19714 #include <JavaScriptCore/JSBase.h>
19720 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19726 if ac_fn_cxx_try_link
"$LINENO"; then :
19728 ac_cv_framework_JavaScriptCore
=yes
19731 ac_cv_framework_JavaScriptCore
=no
19733 rm -f core conftest.err conftest.
$ac_objext \
19734 conftest
$ac_exeext conftest.
$ac_ext
19735 LIBS
=$ac_check_framework_save_LIBS
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19739 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19740 if test $ac_cv_framework_JavaScriptCore = yes; then :
19743 for element
in "-framework JavaScriptCore"; do
19747 acl_save_prefix
="$prefix"
19748 prefix
="$acl_final_prefix"
19749 acl_save_exec_prefix
="$exec_prefix"
19750 exec_prefix
="$acl_final_exec_prefix"
19752 exec_prefix
="$acl_save_exec_prefix"
19753 prefix
="$acl_save_prefix"
19755 if test "X$x" = "X$element"; then
19760 if test -z "$haveit"; then
19761 LIBS
="${LIBS}${LIBS:+ }$element"
19772 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19776 $as_echo_n "checking for WEBKIT... " >&6; }
19778 if test -n "$WEBKIT_CFLAGS"; then
19779 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19780 elif test -n "$PKG_CONFIG"; then
19781 if test -n "$PKG_CONFIG" && \
19782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19783 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19786 test $ac_status = 0; }; then
19787 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19788 test "x$?" != "x0" && pkg_failed
=yes
19795 if test -n "$WEBKIT_LIBS"; then
19796 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19797 elif test -n "$PKG_CONFIG"; then
19798 if test -n "$PKG_CONFIG" && \
19799 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19800 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19803 test $ac_status = 0; }; then
19804 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19805 test "x$?" != "x0" && pkg_failed
=yes
19815 if test $pkg_failed = yes; then
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19817 $as_echo "no" >&6; }
19819 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19820 _pkg_short_errors_supported
=yes
19822 _pkg_short_errors_supported
=no
19824 if test $_pkg_short_errors_supported = yes; then
19825 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19827 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19829 # Put the nasty error message in config.log where it belongs
19830 echo "$WEBKIT_PKG_ERRORS" >&5
19833 elif test $pkg_failed = untried
; then
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19835 $as_echo "no" >&6; }
19838 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19839 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19841 $as_echo "yes" >&6; }
19846 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19848 for x
in $CPPFLAGS; do
19850 acl_save_prefix
="$prefix"
19851 prefix
="$acl_final_prefix"
19852 acl_save_exec_prefix
="$exec_prefix"
19853 exec_prefix
="$acl_final_exec_prefix"
19855 exec_prefix
="$acl_save_exec_prefix"
19856 prefix
="$acl_save_prefix"
19858 if test "X$x" = "X$element"; then
19863 if test -z "$haveit"; then
19864 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19869 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19873 acl_save_prefix
="$prefix"
19874 prefix
="$acl_final_prefix"
19875 acl_save_exec_prefix
="$exec_prefix"
19876 exec_prefix
="$acl_final_exec_prefix"
19878 exec_prefix
="$acl_save_exec_prefix"
19879 prefix
="$acl_save_prefix"
19881 if test "X$x" = "X$element"; then
19886 if test -z "$haveit"; then
19887 LIBS
="${LIBS}${LIBS:+ }$element"
19892 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19898 LTJAVASCRIPTCORE
=$LIBS
19906 # Check whether --enable-console was given.
19907 if test "${enable_console+set}" = set; then :
19908 enableval
=$enable_console;
19911 if test "x$enable_console" != "xno"; then
19913 CY_CONSOLE_FALSE
='#'
19915 CY_CONSOLE_TRUE
='#'
19922 if test "x$CY_EXECUTE" = x1
; then
19924 CY_EXECUTE_FALSE
='#'
19926 CY_EXECUTE_TRUE
='#'
19932 case $CY_EXECUTE in #(
19935 for ac_header
in ffi.h ffi
/ffi.h
19937 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19938 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19939 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19940 cat >>confdefs.h
<<_ACEOF
19941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19952 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
19956 C compiler flags
for LIBFFI
, overriding pkg
-config
19957 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
19961 $as_echo_n "checking for LIBFFI... " >&6; }
19963 if test -n "$LIBFFI_CFLAGS"; then
19964 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
19965 elif test -n "$PKG_CONFIG"; then
19966 if test -n "$PKG_CONFIG" && \
19967 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19968 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19971 test $ac_status = 0; }; then
19972 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
19973 test "x$?" != "x0" && pkg_failed
=yes
19980 if test -n "$LIBFFI_LIBS"; then
19981 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
19982 elif test -n "$PKG_CONFIG"; then
19983 if test -n "$PKG_CONFIG" && \
19984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
19985 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
19987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19988 test $ac_status = 0; }; then
19989 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
19990 test "x$?" != "x0" && pkg_failed
=yes
20000 if test $pkg_failed = yes; then
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20002 $as_echo "no" >&6; }
20004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20005 _pkg_short_errors_supported
=yes
20007 _pkg_short_errors_supported
=no
20009 if test $_pkg_short_errors_supported = yes; then
20010 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20012 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20014 # Put the nasty error message in config.log where it belongs
20015 echo "$LIBFFI_PKG_ERRORS" >&5
20017 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20018 elif test $pkg_failed = untried
; then
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20020 $as_echo "no" >&6; }
20021 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20023 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20024 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20026 $as_echo "yes" >&6; }
20029 for element
in `$PKG_CONFIG --cflags libffi`; do
20031 for x
in $CPPFLAGS; do
20033 acl_save_prefix
="$prefix"
20034 prefix
="$acl_final_prefix"
20035 acl_save_exec_prefix
="$exec_prefix"
20036 exec_prefix
="$acl_final_exec_prefix"
20038 exec_prefix
="$acl_save_exec_prefix"
20039 prefix
="$acl_save_prefix"
20041 if test "X$x" = "X$element"; then
20046 if test -z "$haveit"; then
20047 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20052 for element
in `$PKG_CONFIG --libs libffi`; do
20056 acl_save_prefix
="$prefix"
20057 prefix
="$acl_final_prefix"
20058 acl_save_exec_prefix
="$exec_prefix"
20059 exec_prefix
="$acl_final_exec_prefix"
20061 exec_prefix
="$acl_save_exec_prefix"
20062 prefix
="$acl_save_prefix"
20064 if test "X$x" = "X$element"; then
20069 if test -z "$haveit"; then
20070 LIBS
="${LIBS}${LIBS:+ }$element"
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
20080 $as_echo_n "checking for library containing ffi_call... " >&6; }
20081 if ${ac_cv_search_ffi_call+:} false
; then :
20082 $as_echo_n "(cached) " >&6
20084 ac_func_search_save_LIBS
=$LIBS
20085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20088 /* Override any GCC internal prototype to avoid an error.
20089 Use char because int might match the return type of a GCC
20090 builtin and then its argument prototype would still apply. */
20098 return ffi_call ();
20103 for ac_lib
in '' ffi
; do
20104 if test -z "$ac_lib"; then
20105 ac_res
="none required"
20108 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20110 if ac_fn_cxx_try_link
"$LINENO"; then :
20111 ac_cv_search_ffi_call
=$ac_res
20113 rm -f core conftest.err conftest.
$ac_objext \
20115 if ${ac_cv_search_ffi_call+:} false
; then :
20119 if ${ac_cv_search_ffi_call+:} false
; then :
20122 ac_cv_search_ffi_call
=no
20124 rm conftest.
$ac_ext
20125 LIBS
=$ac_func_search_save_LIBS
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
20128 $as_echo "$ac_cv_search_ffi_call" >&6; }
20129 ac_res
=$ac_cv_search_ffi_call
20130 if test "$ac_res" != no
; then :
20131 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20135 case $ac_cv_search_ffi_call in #(
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20141 $as_echo_n "checking for LIBFFI... " >&6; }
20143 if test -n "$LIBFFI_CFLAGS"; then
20144 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20145 elif test -n "$PKG_CONFIG"; then
20146 if test -n "$PKG_CONFIG" && \
20147 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20148 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20151 test $ac_status = 0; }; then
20152 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20153 test "x$?" != "x0" && pkg_failed
=yes
20160 if test -n "$LIBFFI_LIBS"; then
20161 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20162 elif test -n "$PKG_CONFIG"; then
20163 if test -n "$PKG_CONFIG" && \
20164 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20165 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20168 test $ac_status = 0; }; then
20169 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20170 test "x$?" != "x0" && pkg_failed
=yes
20180 if test $pkg_failed = yes; then
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20182 $as_echo "no" >&6; }
20184 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20185 _pkg_short_errors_supported
=yes
20187 _pkg_short_errors_supported
=no
20189 if test $_pkg_short_errors_supported = yes; then
20190 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20192 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20194 # Put the nasty error message in config.log where it belongs
20195 echo "$LIBFFI_PKG_ERRORS" >&5
20197 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20198 elif test $pkg_failed = untried
; then
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20200 $as_echo "no" >&6; }
20201 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20203 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20204 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20206 $as_echo "yes" >&6; }
20209 for element
in `$PKG_CONFIG --cflags libffi`; do
20211 for x
in $CPPFLAGS; do
20213 acl_save_prefix
="$prefix"
20214 prefix
="$acl_final_prefix"
20215 acl_save_exec_prefix
="$exec_prefix"
20216 exec_prefix
="$acl_final_exec_prefix"
20218 exec_prefix
="$acl_save_exec_prefix"
20219 prefix
="$acl_save_prefix"
20221 if test "X$x" = "X$element"; then
20226 if test -z "$haveit"; then
20227 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20232 for element
in `$PKG_CONFIG --libs libffi`; do
20236 acl_save_prefix
="$prefix"
20237 prefix
="$acl_final_prefix"
20238 acl_save_exec_prefix
="$exec_prefix"
20239 exec_prefix
="$acl_final_exec_prefix"
20241 exec_prefix
="$acl_save_exec_prefix"
20242 prefix
="$acl_save_prefix"
20244 if test "X$x" = "X$element"; then
20249 if test -z "$haveit"; then
20250 LIBS
="${LIBS}${LIBS:+ }$element"
20266 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
20267 if test "x$ac_cv_header_jni_h" = xyes
; then :
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
20275 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
20276 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20277 $as_echo_n "(cached) " >&6
20279 ac_func_search_save_LIBS
=$LIBS
20280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20281 /* end confdefs.h. */
20283 /* Override any GCC internal prototype to avoid an error.
20284 Use char because int might match the return type of a GCC
20285 builtin and then its argument prototype would still apply. */
20289 char JNI_GetCreatedJavaVMs ();
20293 return JNI_GetCreatedJavaVMs ();
20298 for ac_lib
in '' dvm
; do
20299 if test -z "$ac_lib"; then
20300 ac_res
="none required"
20303 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20305 if ac_fn_cxx_try_link
"$LINENO"; then :
20306 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
20308 rm -f core conftest.err conftest.
$ac_objext \
20310 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20314 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20317 ac_cv_search_JNI_GetCreatedJavaVMs
=no
20319 rm conftest.
$ac_ext
20320 LIBS
=$ac_func_search_save_LIBS
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
20323 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
20324 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
20325 if test "$ac_res" != no
; then :
20326 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20346 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20347 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20348 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20349 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
20353 $as_echo_n "checking if we really have Objective C++... " >&6; }
20354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20355 /* end confdefs.h. */
20358 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20362 $as_echo "yes" >&6; }
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20366 $as_echo "no" >&6; }
20368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20370 if test "x$CY_OBJECTIVEC" = x1
; then :
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
20377 $as_echo_n "checking for framework CoreFoundation... " >&6; }
20378 if ${ac_cv_framework_CoreFoundation+:} false
; then :
20379 $as_echo_n "(cached) " >&6
20382 ac_check_framework_save_LIBS
=$LIBS
20383 LIBS
="-framework CoreFoundation $LIBS"
20384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20385 /* end confdefs.h. */
20387 #include <CoreFoundation/CFBase.h>
20392 CFAllocatorGetDefault();
20397 if ac_fn_objcxx_try_link
"$LINENO"; then :
20399 ac_cv_framework_CoreFoundation
=yes
20402 ac_cv_framework_CoreFoundation
=no
20404 rm -f core conftest.err conftest.
$ac_objext \
20405 conftest
$ac_exeext conftest.
$ac_ext
20406 LIBS
=$ac_check_framework_save_LIBS
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
20410 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
20411 if test $ac_cv_framework_CoreFoundation = yes; then :
20414 for element
in "-framework CoreFoundation"; do
20418 acl_save_prefix
="$prefix"
20419 prefix
="$acl_final_prefix"
20420 acl_save_exec_prefix
="$exec_prefix"
20421 exec_prefix
="$acl_final_exec_prefix"
20423 exec_prefix
="$acl_save_exec_prefix"
20424 prefix
="$acl_save_prefix"
20426 if test "X$x" = "X$element"; then
20431 if test -z "$haveit"; then
20432 LIBS
="${LIBS}${LIBS:+ }$element"
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
20442 $as_echo_n "checking for framework Foundation... " >&6; }
20443 if ${ac_cv_framework_Foundation+:} false
; then :
20444 $as_echo_n "(cached) " >&6
20447 ac_check_framework_save_LIBS
=$LIBS
20448 LIBS
="-framework Foundation $LIBS"
20449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20450 /* end confdefs.h. */
20452 #include <Foundation/NSObject.h>
20457 [[NSObject alloc] init];
20462 if ac_fn_objcxx_try_link
"$LINENO"; then :
20464 ac_cv_framework_Foundation
=yes
20467 ac_cv_framework_Foundation
=no
20469 rm -f core conftest.err conftest.
$ac_objext \
20470 conftest
$ac_exeext conftest.
$ac_ext
20471 LIBS
=$ac_check_framework_save_LIBS
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
20475 $as_echo "$ac_cv_framework_Foundation" >&6; }
20476 if test $ac_cv_framework_Foundation = yes; then :
20479 for element
in "-framework Foundation"; do
20483 acl_save_prefix
="$prefix"
20484 prefix
="$acl_final_prefix"
20485 acl_save_exec_prefix
="$exec_prefix"
20486 exec_prefix
="$acl_final_exec_prefix"
20488 exec_prefix
="$acl_save_exec_prefix"
20489 prefix
="$acl_save_prefix"
20491 if test "X$x" = "X$element"; then
20496 if test -z "$haveit"; then
20497 LIBS
="${LIBS}${LIBS:+ }$element"
20501 cat >>confdefs.h
<<_ACEOF
20502 #define HAVE_FRAMEWORK_FOUNDATION 1
20512 for ac_prog
in gnustep
-config
20514 # Extract the first word of "$ac_prog", so it can be a program name with args.
20515 set dummy
$ac_prog; ac_word
=$2
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20517 $as_echo_n "checking for $ac_word... " >&6; }
20518 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
20519 $as_echo_n "(cached) " >&6
20521 if test -n "$GNUSTEP_CONFIG"; then
20522 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
20524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20525 for as_dir
in $PATH
20528 test -z "$as_dir" && as_dir
=.
20529 for ac_exec_ext
in '' $ac_executable_extensions; do
20530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20531 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
20532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20541 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
20542 if test -n "$GNUSTEP_CONFIG"; then
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
20544 $as_echo "$GNUSTEP_CONFIG" >&6; }
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20547 $as_echo "no" >&6; }
20551 test -n "$GNUSTEP_CONFIG" && break
20555 if test "x$GNUSTEP_CONFIG" != x
; then :
20559 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
20561 for x
in $OBJCXXFLAGS; do
20563 acl_save_prefix
="$prefix"
20564 prefix
="$acl_final_prefix"
20565 acl_save_exec_prefix
="$exec_prefix"
20566 exec_prefix
="$acl_final_exec_prefix"
20568 exec_prefix
="$acl_save_exec_prefix"
20569 prefix
="$acl_save_prefix"
20571 if test "X$x" = "X$element"; then
20576 if test -z "$haveit"; then
20577 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
20582 for element
in `$GNUSTEP_CONFIG --base-libs`; do
20586 acl_save_prefix
="$prefix"
20587 prefix
="$acl_final_prefix"
20588 acl_save_exec_prefix
="$exec_prefix"
20589 exec_prefix
="$acl_final_exec_prefix"
20591 exec_prefix
="$acl_save_exec_prefix"
20592 prefix
="$acl_save_prefix"
20594 if test "X$x" = "X$element"; then
20599 if test -z "$haveit"; then
20600 LIBS
="${LIBS}${LIBS:+ }$element"
20619 ac_cpp
='$CXXCPP $CPPFLAGS'
20620 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20621 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20622 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20629 if test "x$CY_JAVA" = x1
; then
20637 if test "x$CY_OBJECTIVEC" = x1
; then
20638 CY_OBJECTIVEC_TRUE
=
20639 CY_OBJECTIVEC_FALSE
='#'
20641 CY_OBJECTIVEC_TRUE
='#'
20642 CY_OBJECTIVEC_FALSE
=
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
20651 $as_echo_n "checking for a readline compatible library... " >&6; }
20652 if ${ax_cv_lib_readline+:} false
; then :
20653 $as_echo_n "(cached) " >&6
20657 for readline_lib
in readline edit editline
; do
20658 for termcap_lib
in "" termcap curses ncurses
; do
20659 if test -z "$termcap_lib"; then
20660 TRY_LIB
="-l$readline_lib"
20662 TRY_LIB
="-l$readline_lib -l$termcap_lib"
20664 LIBS
="$ORIG_LIBS $TRY_LIB"
20665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20666 /* end confdefs.h. */
20668 /* Override any GCC internal prototype to avoid an error.
20669 Use char because int might match the return type of a GCC
20670 builtin and then its argument prototype would still apply. */
20678 return readline ();
20683 if ac_fn_cxx_try_link
"$LINENO"; then :
20684 ax_cv_lib_readline
="$TRY_LIB"
20686 rm -f core conftest.err conftest.
$ac_objext \
20687 conftest
$ac_exeext conftest.
$ac_ext
20688 if test -n "$ax_cv_lib_readline"; then
20692 if test -n "$ax_cv_lib_readline"; then
20696 if test -z "$ax_cv_lib_readline"; then
20697 ax_cv_lib_readline
="no"
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
20703 $as_echo "$ax_cv_lib_readline" >&6; }
20705 if test "$ax_cv_lib_readline" != "no"; then
20706 LIBS
="$LIBS $ax_cv_lib_readline"
20708 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
20710 for ac_header
in readline.h readline
/readline.h
20712 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20713 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20714 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20715 cat >>confdefs.h
<<_ACEOF
20716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
20724 $as_echo_n "checking whether readline supports history... " >&6; }
20725 if ${ax_cv_lib_readline_history+:} false
; then :
20726 $as_echo_n "(cached) " >&6
20729 ax_cv_lib_readline_history
="no"
20730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20731 /* end confdefs.h. */
20733 /* Override any GCC internal prototype to avoid an error.
20734 Use char because int might match the return type of a GCC
20735 builtin and then its argument prototype would still apply. */
20739 char add_history ();
20743 return add_history ();
20748 if ac_fn_cxx_try_link
"$LINENO"; then :
20749 ax_cv_lib_readline_history
="yes"
20751 rm -f core conftest.err conftest.
$ac_objext \
20752 conftest
$ac_exeext conftest.
$ac_ext
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
20756 $as_echo "$ax_cv_lib_readline_history" >&6; }
20757 if test "$ax_cv_lib_readline_history" = "yes"; then
20759 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
20761 for ac_header
in history.h readline
/history.h
20763 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20764 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20765 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20766 cat >>confdefs.h
<<_ACEOF
20767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20777 LTLIBREADLINE
=$LIBS
20781 case $ax_cv_lib_readline in #(
20783 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
20792 $as_echo_n "checking for library containing cur_term... " >&6; }
20793 if ${ac_cv_search_cur_term+:} false
; then :
20794 $as_echo_n "(cached) " >&6
20796 ac_func_search_save_LIBS
=$LIBS
20797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20798 /* end confdefs.h. */
20800 /* Override any GCC internal prototype to avoid an error.
20801 Use char because int might match the return type of a GCC
20802 builtin and then its argument prototype would still apply. */
20810 return cur_term ();
20815 for ac_lib
in '' termcap ncurses
; do
20816 if test -z "$ac_lib"; then
20817 ac_res
="none required"
20820 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20822 if ac_fn_cxx_try_link
"$LINENO"; then :
20823 ac_cv_search_cur_term
=$ac_res
20825 rm -f core conftest.err conftest.
$ac_objext \
20827 if ${ac_cv_search_cur_term+:} false
; then :
20831 if ${ac_cv_search_cur_term+:} false
; then :
20834 ac_cv_search_cur_term
=no
20836 rm conftest.
$ac_ext
20837 LIBS
=$ac_func_search_save_LIBS
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
20840 $as_echo "$ac_cv_search_cur_term" >&6; }
20841 ac_res
=$ac_cv_search_cur_term
20842 if test "$ac_res" != no
; then :
20843 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20858 if test "x$CY_EXECUTE" = x1
; then :
20860 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
20861 if test "x$ac_cv_header_mach_mach_h" = xyes
; then :
20863 if test -n "$ac_tool_prefix"; then
20864 for ac_prog
in lipo
20866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20867 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20869 $as_echo_n "checking for $ac_word... " >&6; }
20870 if ${ac_cv_prog__LIPO+:} false
; then :
20871 $as_echo_n "(cached) " >&6
20873 if test -n "$_LIPO"; then
20874 ac_cv_prog__LIPO
="$_LIPO" # Let the user override the test.
20876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20877 for as_dir
in $PATH
20880 test -z "$as_dir" && as_dir
=.
20881 for ac_exec_ext
in '' $ac_executable_extensions; do
20882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20883 ac_cv_prog__LIPO
="$ac_tool_prefix$ac_prog"
20884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20893 _LIPO
=$ac_cv_prog__LIPO
20894 if test -n "$_LIPO"; then
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
20896 $as_echo "$_LIPO" >&6; }
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20899 $as_echo "no" >&6; }
20903 test -n "$_LIPO" && break
20906 if test -z "$_LIPO"; then
20908 for ac_prog
in lipo
20910 # Extract the first word of "$ac_prog", so it can be a program name with args.
20911 set dummy
$ac_prog; ac_word
=$2
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20913 $as_echo_n "checking for $ac_word... " >&6; }
20914 if ${ac_cv_prog_ac_ct__LIPO+:} false
; then :
20915 $as_echo_n "(cached) " >&6
20917 if test -n "$ac_ct__LIPO"; then
20918 ac_cv_prog_ac_ct__LIPO
="$ac_ct__LIPO" # Let the user override the test.
20920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20921 for as_dir
in $PATH
20924 test -z "$as_dir" && as_dir
=.
20925 for ac_exec_ext
in '' $ac_executable_extensions; do
20926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20927 ac_cv_prog_ac_ct__LIPO
="$ac_prog"
20928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20937 ac_ct__LIPO
=$ac_cv_prog_ac_ct__LIPO
20938 if test -n "$ac_ct__LIPO"; then
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
20940 $as_echo "$ac_ct__LIPO" >&6; }
20942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20943 $as_echo "no" >&6; }
20947 test -n "$ac_ct__LIPO" && break
20950 if test "x$ac_ct__LIPO" = x
; then
20951 _LIPO
="as_fn_error $? "missing
\"lipo
\"" "$LINENO" 5"
20953 case $cross_compiling:$ac_tool_warned in
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20957 ac_tool_warned
=yes ;;
20963 if test -n "$ac_tool_prefix"; then
20966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20967 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20969 $as_echo_n "checking for $ac_word... " >&6; }
20970 if ${ac_cv_prog__NM+:} false
; then :
20971 $as_echo_n "(cached) " >&6
20973 if test -n "$_NM"; then
20974 ac_cv_prog__NM
="$_NM" # Let the user override the test.
20976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20977 for as_dir
in $PATH
20980 test -z "$as_dir" && as_dir
=.
20981 for ac_exec_ext
in '' $ac_executable_extensions; do
20982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20983 ac_cv_prog__NM
="$ac_tool_prefix$ac_prog"
20984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20993 _NM
=$ac_cv_prog__NM
20994 if test -n "$_NM"; then
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
20996 $as_echo "$_NM" >&6; }
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20999 $as_echo "no" >&6; }
21003 test -n "$_NM" && break
21006 if test -z "$_NM"; then
21010 # Extract the first word of "$ac_prog", so it can be a program name with args.
21011 set dummy
$ac_prog; ac_word
=$2
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21013 $as_echo_n "checking for $ac_word... " >&6; }
21014 if ${ac_cv_prog_ac_ct__NM+:} false
; then :
21015 $as_echo_n "(cached) " >&6
21017 if test -n "$ac_ct__NM"; then
21018 ac_cv_prog_ac_ct__NM
="$ac_ct__NM" # Let the user override the test.
21020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21021 for as_dir
in $PATH
21024 test -z "$as_dir" && as_dir
=.
21025 for ac_exec_ext
in '' $ac_executable_extensions; do
21026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21027 ac_cv_prog_ac_ct__NM
="$ac_prog"
21028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21037 ac_ct__NM
=$ac_cv_prog_ac_ct__NM
21038 if test -n "$ac_ct__NM"; then
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
21040 $as_echo "$ac_ct__NM" >&6; }
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21043 $as_echo "no" >&6; }
21047 test -n "$ac_ct__NM" && break
21050 if test "x$ac_ct__NM" = x
; then
21051 _NM
="as_fn_error $? "missing
\"nm
\"" "$LINENO" 5"
21053 case $cross_compiling:$ac_tool_warned in
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21057 ac_tool_warned
=yes ;;
21063 if test -n "$ac_tool_prefix"; then
21064 for ac_prog
in otool
21066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21067 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
21068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21069 $as_echo_n "checking for $ac_word... " >&6; }
21070 if ${ac_cv_prog__OTOOL+:} false
; then :
21071 $as_echo_n "(cached) " >&6
21073 if test -n "$_OTOOL"; then
21074 ac_cv_prog__OTOOL
="$_OTOOL" # Let the user override the test.
21076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21077 for as_dir
in $PATH
21080 test -z "$as_dir" && as_dir
=.
21081 for ac_exec_ext
in '' $ac_executable_extensions; do
21082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21083 ac_cv_prog__OTOOL
="$ac_tool_prefix$ac_prog"
21084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21093 _OTOOL
=$ac_cv_prog__OTOOL
21094 if test -n "$_OTOOL"; then
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
21096 $as_echo "$_OTOOL" >&6; }
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21099 $as_echo "no" >&6; }
21103 test -n "$_OTOOL" && break
21106 if test -z "$_OTOOL"; then
21107 ac_ct__OTOOL
=$_OTOOL
21108 for ac_prog
in otool
21110 # Extract the first word of "$ac_prog", so it can be a program name with args.
21111 set dummy
$ac_prog; ac_word
=$2
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21113 $as_echo_n "checking for $ac_word... " >&6; }
21114 if ${ac_cv_prog_ac_ct__OTOOL+:} false
; then :
21115 $as_echo_n "(cached) " >&6
21117 if test -n "$ac_ct__OTOOL"; then
21118 ac_cv_prog_ac_ct__OTOOL
="$ac_ct__OTOOL" # Let the user override the test.
21120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21121 for as_dir
in $PATH
21124 test -z "$as_dir" && as_dir
=.
21125 for ac_exec_ext
in '' $ac_executable_extensions; do
21126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21127 ac_cv_prog_ac_ct__OTOOL
="$ac_prog"
21128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21137 ac_ct__OTOOL
=$ac_cv_prog_ac_ct__OTOOL
21138 if test -n "$ac_ct__OTOOL"; then
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
21140 $as_echo "$ac_ct__OTOOL" >&6; }
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21143 $as_echo "no" >&6; }
21147 test -n "$ac_ct__OTOOL" && break
21150 if test "x$ac_ct__OTOOL" = x
; then
21151 _OTOOL
="as_fn_error $? "missing
\"otool
\"" "$LINENO" 5"
21153 case $cross_compiling:$ac_tool_warned in
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21157 ac_tool_warned
=yes ;;
21159 _OTOOL
=$ac_ct__OTOOL
21163 CY_ATTACH_GROUP
=procmod
21171 if test "x$CY_MACH" = x1
; then
21180 ac_config_files
="$ac_config_files Makefile"
21182 cat >confcache
<<\_ACEOF
21183 # This file is a shell script that caches the results of configure
21184 # tests run on this system so they can be shared between configure
21185 # scripts and configure runs, see configure's option --config-cache.
21186 # It is not useful on other systems. If it contains results you don't
21187 # want to keep, you may remove or edit it.
21189 # config.status only pays attention to the cache file if you give it
21190 # the --recheck option to rerun configure.
21192 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21193 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21194 # following values.
21198 # The following way of writing the cache mishandles newlines in values,
21199 # but we know of no workaround that is simple, portable, and efficient.
21200 # So, we kill variables containing newlines.
21201 # Ultrix sh set writes to stderr and can't be redirected directly,
21202 # and sets the high bit in the cache file unless we assign to the vars.
21204 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21205 eval ac_val
=\$
$ac_var
21209 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21210 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21213 _
| IFS
| as_nl
) ;; #(
21214 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21215 *) { eval $ac_var=; unset $ac_var;} ;;
21221 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21222 *${as_nl}ac_space
=\
*)
21223 # `set' does not quote correctly, so add quotes: double-quote
21224 # substitution turns \\\\ into \\, and sed turns \\ into \.
21227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21230 # `set' quotes correctly as required by POSIX, so do not add quotes.
21231 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21240 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21242 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21244 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21245 if test -w "$cache_file"; then
21246 if test "x$cache_file" != "x/dev/null"; then
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21248 $as_echo "$as_me: updating cache $cache_file" >&6;}
21249 if test ! -f "$cache_file" || test -h "$cache_file"; then
21250 cat confcache
>"$cache_file"
21252 case $cache_file in #(
21254 mv -f confcache
"$cache_file"$$
&&
21255 mv -f "$cache_file"$$
"$cache_file" ;; #(
21257 mv -f confcache
"$cache_file" ;;
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21263 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21268 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21269 # Let make expand exec_prefix.
21270 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21272 DEFS
=-DHAVE_CONFIG_H
21277 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21278 # 1. Remove the extension, and $U if already installed.
21279 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21280 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21281 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21282 # will be set to the directory where LIBOBJS objects are built.
21283 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21284 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21286 LIBOBJS
=$ac_libobjs
21288 LTLIBOBJS
=$ac_ltlibobjs
21291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21292 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21293 if test -n "$am_sleep_pid"; then
21294 # Hide warnings about reused PIDs.
21295 wait $am_sleep_pid 2>/dev
/null
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21298 $as_echo "done" >&6; }
21299 if test -n "$EXEEXT"; then
21301 am__EXEEXT_FALSE
='#'
21303 am__EXEEXT_TRUE
='#'
21307 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21308 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21311 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21312 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21315 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21316 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21319 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21320 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21323 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
21324 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
21325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21327 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
21328 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
21329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21331 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
21332 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
21333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21335 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
21336 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
21337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21339 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
21340 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
21341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21343 if test -z "${CY_MACH_TRUE}" && test -z "${CY_MACH_FALSE}"; then
21344 as_fn_error $?
"conditional \"CY_MACH\" was never defined.
21345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21348 : "${CONFIG_STATUS=./config.status}"
21350 ac_clean_files_save
=$ac_clean_files
21351 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21353 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21355 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21357 # Generated by $as_me.
21358 # Run this file to recreate the current configuration.
21359 # Compiler output produced by configure, useful for debugging
21360 # configure, is in config.log if it exists.
21363 ac_cs_recheck=false
21366 SHELL=\${CONFIG_SHELL-$SHELL}
21369 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21370 ## -------------------- ##
21371 ## M4sh Initialization. ##
21372 ## -------------------- ##
21374 # Be more Bourne compatible
21375 DUALCASE
=1; export DUALCASE
# for MKS sh
21376 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21379 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21380 # is contrary to our usage. Disable this feature.
21381 alias -g '${1+"$@"}'='"$@"'
21382 setopt NO_GLOB_SUBST
21384 case `(set -o) 2>/dev/null` in #(
21396 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21397 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21398 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21399 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21400 # Prefer a ksh shell builtin over an external printf program on Solaris,
21401 # but without wasting forks for bash or zsh.
21402 if test -z "$BASH_VERSION$ZSH_VERSION" \
21403 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21404 as_echo='print
-r --'
21405 as_echo_n='print
-rn --'
21406 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21407 as_echo='printf %s
\n'
21408 as_echo_n='printf %s
'
21410 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21411 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21412 as_echo_n='/usr
/ucb
/echo -n'
21414 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21415 as_echo_n_body='eval
21419 expr "X$arg" : "X\\(.*\\)$as_nl";
21420 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21422 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21424 export as_echo_n_body
21425 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21427 export as_echo_body
21428 as_echo='sh
-c $as_echo_body as_echo
'
21431 # The user is always right.
21432 if test "${PATH_SEPARATOR+set}" != set; then
21434 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21435 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21442 # We need space, tab and new line, in precisely that order. Quoting is
21443 # there to prevent editors from complaining about space-tab.
21444 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21445 # splitting by setting IFS to empty value.)
21448 # Find who we are. Look in the path if we contain no directory separator.
21451 *[\\/]* ) as_myself=$0 ;;
21452 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21453 for as_dir in $PATH
21456 test -z "$as_dir" && as_dir=.
21457 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21463 # We did not find ourselves, most probably we were run as `sh COMMAND'
21464 # in which case we are not to be found in the path.
21465 if test "x$as_myself" = x
; then
21468 if test ! -f "$as_myself"; then
21469 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21473 # Unset variables that we do not need and which cause bugs (e.g. in
21474 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21475 # suppresses any "Segmentation fault" message there. '((' could
21476 # trigger a bug in pdksh 5.2.14.
21477 for as_var
in BASH_ENV ENV MAIL MAILPATH
21478 do eval test x\
${$as_var+set} = xset \
21479 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
21492 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21495 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21496 # ----------------------------------------
21497 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21498 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21499 # script with STATUS, using 1 if that was 0.
21502 as_status
=$1; test $as_status -eq 0 && as_status
=1
21504 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21505 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21507 $as_echo "$as_me: error: $2" >&2
21508 as_fn_exit
$as_status
21512 # as_fn_set_status STATUS
21513 # -----------------------
21514 # Set $? to STATUS, without forking.
21515 as_fn_set_status
()
21518 } # as_fn_set_status
21520 # as_fn_exit STATUS
21521 # -----------------
21522 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21526 as_fn_set_status
$1
21532 # Portably unset VAR.
21535 { eval $1=; unset $1;}
21537 as_unset
=as_fn_unset
21538 # as_fn_append VAR VALUE
21539 # ----------------------
21540 # Append the text in VALUE to the end of the definition contained in VAR. Take
21541 # advantage of any shell optimizations that allow amortized linear growth over
21542 # repeated appends, instead of the typical quadratic growth present in naive
21544 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21545 eval 'as_fn_append ()
21556 # as_fn_arith ARG...
21557 # ------------------
21558 # Perform arithmetic evaluation on the ARGs, and store the result in the
21559 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21560 # must be portable across $(()) and expr.
21561 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21562 eval 'as_fn_arith ()
21569 as_val
=`expr "$@" || test $? -eq 1`
21574 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21575 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21581 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21582 as_basename
=basename
21587 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21593 as_me
=`$as_basename -- "$0" ||
21594 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21595 X"$0" : 'X\(//\)$' \| \
21596 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21598 sed '/^.*\/\([^/][^/]*\)\/*$/{
21612 # Avoid depending upon Character Ranges.
21613 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21614 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21615 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21616 as_cr_digits
='0123456789'
21617 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21619 ECHO_C
= ECHO_N
= ECHO_T
=
21620 case `echo -n x` in #(((((
21622 case `echo 'xy\c'` in
21623 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21625 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21632 rm -f conf$$ conf$$.exe conf$$.
file
21633 if test -d conf$$.dir
; then
21634 rm -f conf$$.dir
/conf$$.
file
21637 mkdir conf$$.dir
2>/dev
/null
21639 if (echo >conf$$.
file) 2>/dev
/null
; then
21640 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21642 # ... but there are two gotchas:
21643 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21644 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21645 # In both cases, we have to default to `cp -pR'.
21646 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
21648 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21656 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21657 rmdir conf$$.dir
2>/dev
/null
21662 # Create "$as_dir" as a directory, including parents if necessary.
21667 -*) as_dir
=.
/$as_dir;;
21669 test -d "$as_dir" || eval $as_mkdir_p || {
21673 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21674 *) as_qdir
=$as_dir;;
21676 as_dirs
="'$as_qdir' $as_dirs"
21677 as_dir
=`$as_dirname -- "$as_dir" ||
21678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21679 X"$as_dir" : 'X\(//\)[^/]' \| \
21680 X"$as_dir" : 'X\(//\)$' \| \
21681 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21682 $as_echo X"$as_dir" |
21683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21687 /^X\(\/\/\)[^/].*/{
21700 test -d "$as_dir" && break
21702 test -z "$as_dirs" || eval "mkdir $as_dirs"
21703 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21707 if mkdir -p .
2>/dev
/null
; then
21708 as_mkdir_p
='mkdir -p "$as_dir"'
21710 test -d .
/-p && rmdir .
/-p
21715 # as_fn_executable_p FILE
21716 # -----------------------
21717 # Test if FILE is an executable regular file.
21718 as_fn_executable_p
()
21720 test -f "$1" && test -x "$1"
21721 } # as_fn_executable_p
21722 as_test_x
='test -x'
21723 as_executable_p
=as_fn_executable_p
21725 # Sed expression to map a string onto a valid CPP name.
21726 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21728 # Sed expression to map a string onto a valid variable name.
21729 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21733 ## ----------------------------------- ##
21734 ## Main body of $CONFIG_STATUS script. ##
21735 ## ----------------------------------- ##
21737 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21739 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21740 # Save the log message, to keep $0 and so on meaningful, and to
21741 # report actual input values of CONFIG_FILES etc. instead of their
21742 # values after options handling.
21744 This file was extended by Cycript $as_me 0.9, which was
21745 generated by GNU Autoconf 2.69. Invocation command line was
21747 CONFIG_FILES = $CONFIG_FILES
21748 CONFIG_HEADERS = $CONFIG_HEADERS
21749 CONFIG_LINKS = $CONFIG_LINKS
21750 CONFIG_COMMANDS = $CONFIG_COMMANDS
21753 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21758 case $ac_config_files in *"
21759 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21762 case $ac_config_headers in *"
21763 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21768 # Files that config.status was made for.
21769 config_files="$ac_config_files"
21770 config_headers="$ac_config_headers"
21771 config_commands="$ac_config_commands"
21775 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21777 \`$as_me' instantiates files and other configuration actions
21778 from templates according to the current configuration. Unless the files
21779 and actions are specified as TAGs, all are instantiated by default.
21781 Usage: $0 [OPTION]... [TAG]...
21783 -h, --help print this help, then exit
21784 -V, --version print version number and configuration settings, then exit
21785 --config print configuration, then exit
21786 -q, --quiet, --silent
21787 do not print progress messages
21788 -d, --debug don't remove temporary files
21789 --recheck update $as_me by reconfiguring in the same conditions
21790 --file=FILE[:TEMPLATE]
21791 instantiate the configuration file FILE
21792 --header=FILE[:TEMPLATE]
21793 instantiate the configuration header FILE
21795 Configuration files:
21798 Configuration headers:
21801 Configuration commands:
21804 Report bugs to <saurik@saurik.com>.
21805 Cycript home page: <http://www.cycript.org/>."
21808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21809 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21811 Cycript config.status 0.9
21812 configured by $0, generated by GNU Autoconf 2.69,
21813 with options \\"\$ac_cs_config\\"
21815 Copyright (C) 2012 Free Software Foundation, Inc.
21816 This config.status script is free software; the Free Software Foundation
21817 gives unlimited permission to copy, distribute and modify it."
21824 test -n "\$AWK" || AWK=awk
21827 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21828 # The default lists apply if the user does not specify any file.
21834 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21835 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21839 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21851 # Handling of the options.
21852 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21854 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21855 $as_echo "$ac_cs_version"; exit ;;
21856 --config | --confi | --conf | --con | --co | --c )
21857 $as_echo "$ac_cs_config"; exit ;;
21858 --debug | --debu | --deb | --de | --d | -d )
21860 --file | --fil | --fi | --f )
21863 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21864 '') as_fn_error $?
"missing file argument" ;;
21866 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21867 ac_need_defaults
=false
;;
21868 --header | --heade | --head | --hea )
21871 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21873 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21874 ac_need_defaults
=false
;;
21876 # Conflict between --help and --header
21877 as_fn_error $?
"ambiguous option: \`$1'
21878 Try \`$0 --help' for more information.";;
21879 --help | --hel | -h )
21880 $as_echo "$ac_cs_usage"; exit ;;
21881 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21882 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21885 # This is an error.
21886 -*) as_fn_error $?
"unrecognized option: \`$1'
21887 Try \`$0 --help' for more information." ;;
21889 *) as_fn_append ac_config_targets
" $1"
21890 ac_need_defaults
=false
;;
21896 ac_configure_extra_args
=
21898 if $ac_cs_silent; then
21900 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21905 if \$ac_cs_recheck; then
21906 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21908 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21909 CONFIG_SHELL='$SHELL'
21910 export CONFIG_SHELL
21915 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21919 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21920 ## Running $as_me. ##
21926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21930 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21933 # The HP-UX ksh and POSIX shell print the target directory to stdout
21934 # if CDPATH is set.
21935 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21937 sed_quote_subst='$sed_quote_subst'
21938 double_quote_subst='$double_quote_subst'
21939 delay_variable_subst='$delay_variable_subst'
21940 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21941 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21942 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21943 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21944 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21945 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21946 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
21947 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21948 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21949 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21950 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21951 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21952 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21953 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21954 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21955 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21956 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21957 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21958 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21959 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21960 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21961 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21962 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21963 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21964 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21965 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21966 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21967 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21968 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21969 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21970 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21971 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21972 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21973 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21974 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21975 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21976 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21977 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21978 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21979 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21980 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21981 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21982 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21983 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21984 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21985 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21986 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21987 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21988 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21989 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21990 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21991 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21992 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21993 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21994 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21995 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21996 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
21997 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21998 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"`'
21999 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22000 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22001 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22002 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22003 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22004 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22005 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22006 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22007 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22008 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22009 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22010 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22011 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22012 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22013 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22014 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22015 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22016 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22017 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22018 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22019 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22020 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22021 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22022 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22023 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22024 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22025 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22026 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22027 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22028 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22029 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22030 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22031 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22032 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22033 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22034 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22035 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22036 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22037 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22038 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22039 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22040 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22041 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22042 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22043 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22044 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22045 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22046 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22047 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22048 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22049 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22050 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22051 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22052 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22053 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22054 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22055 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22056 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22057 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22058 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22059 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22060 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22061 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22062 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22063 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22064 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22065 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22066 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22067 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22068 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22069 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22070 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22071 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22072 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22073 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22074 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22075 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22076 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22077 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22078 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22079 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22080 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22081 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22082 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22083 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22084 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22085 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22086 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22087 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22088 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22089 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22090 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22091 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22092 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22093 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22094 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22095 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22096 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22097 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22098 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22099 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22100 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22101 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22102 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22103 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22104 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22105 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22106 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22107 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22108 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22109 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22110 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22111 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22112 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22113 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22114 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22115 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22116 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22117 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22118 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22119 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22120 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22121 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22122 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22123 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22124 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22125 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22126 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22127 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22128 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22131 LTCFLAGS='$LTCFLAGS'
22132 compiler='$compiler_DEFAULT'
22134 # A function that is used when there is no print builtin or printf.
22135 func_fallback_echo ()
22137 eval 'cat <<_LTECHO_EOF
22142 # Quote evaled strings.
22157 deplibs_check_method \
22162 sharedlib_from_linklib_cmd \
22165 archiver_list_spec \
22171 lt_cv_sys_global_symbol_pipe \
22172 lt_cv_sys_global_symbol_to_cdecl \
22173 lt_cv_sys_global_symbol_to_import \
22174 lt_cv_sys_global_symbol_to_c_name_address \
22175 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22176 lt_cv_nm_interface \
22177 nm_file_list_spec \
22178 lt_cv_truncate_bin \
22179 lt_prog_compiler_no_builtin_flag \
22180 lt_prog_compiler_pic \
22181 lt_prog_compiler_wl \
22182 lt_prog_compiler_static \
22183 lt_cv_prog_compiler_c_o \
22192 export_dynamic_flag_spec \
22193 whole_archive_flag_spec \
22194 compiler_needs_object \
22196 allow_undefined_flag \
22197 no_undefined_flag \
22198 hardcode_libdir_flag_spec \
22199 hardcode_libdir_separator \
22203 variables_saved_for_relink \
22205 library_names_spec \
22207 install_override_mode \
22211 compiler_lib_search_dirs \
22216 compiler_lib_search_path \
22220 lt_prog_compiler_no_builtin_flag_CXX \
22221 lt_prog_compiler_pic_CXX \
22222 lt_prog_compiler_wl_CXX \
22223 lt_prog_compiler_static_CXX \
22224 lt_cv_prog_compiler_c_o_CXX \
22225 export_dynamic_flag_spec_CXX \
22226 whole_archive_flag_spec_CXX \
22227 compiler_needs_object_CXX \
22229 allow_undefined_flag_CXX \
22230 no_undefined_flag_CXX \
22231 hardcode_libdir_flag_spec_CXX \
22232 hardcode_libdir_separator_CXX \
22233 exclude_expsyms_CXX \
22234 include_expsyms_CXX \
22235 file_list_spec_CXX \
22236 compiler_lib_search_dirs_CXX \
22237 predep_objects_CXX \
22238 postdep_objects_CXX \
22241 compiler_lib_search_path_CXX; do
22242 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22243 *[\\\\\\\`\\"\\\$]*)
22244 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22247 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22252 # Double-quote double-evaled strings.
22253 for var in reload_cmds \
22254 old_postinstall_cmds \
22255 old_postuninstall_cmds \
22257 extract_expsyms_cmds \
22258 old_archive_from_new_cmds \
22259 old_archive_from_expsyms_cmds \
22261 archive_expsym_cmds \
22263 module_expsym_cmds \
22264 export_symbols_cmds \
22268 postuninstall_cmds \
22270 sys_lib_search_path_spec \
22271 configure_time_dlsearch_path \
22272 configure_time_lt_sys_library_path \
22274 old_archive_cmds_CXX \
22275 old_archive_from_new_cmds_CXX \
22276 old_archive_from_expsyms_cmds_CXX \
22278 archive_expsym_cmds_CXX \
22280 module_expsym_cmds_CXX \
22281 export_symbols_cmds_CXX \
22283 postlink_cmds_CXX; do
22284 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22285 *[\\\\\\\`\\"\\\$]*)
22286 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22289 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22294 ac_aux_dir='$ac_aux_dir'
22296 # See if we are running on zsh, and set the options that allow our
22297 # commands through without removal of \ escapes INIT.
22298 if test -n "\${ZSH_VERSION+set}"; then
22299 setopt NO_GLOB_SUBST
22315 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22317 # Handling of arguments.
22318 for ac_config_target
in $ac_config_targets
22320 case $ac_config_target in
22321 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22322 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22323 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22324 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22326 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22331 # If the user did not use the arguments to specify the items to instantiate,
22332 # then the envvar interface is used. Set only those that are not.
22333 # We use the long form for the default assignment because of an extremely
22334 # bizarre bug on SunOS 4.1.3.
22335 if $ac_need_defaults; then
22336 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22337 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22338 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22341 # Have a temporary directory for convenience. Make it in the build tree
22342 # simply because there is no reason against having it here, and in addition,
22343 # creating and moving files from /tmp can sometimes cause problems.
22344 # Hook for its removal unless debugging.
22345 # Note that there is a small window in which the directory will not be cleaned:
22346 # after its creation but before its name has been assigned to `$tmp'.
22350 trap 'exit_status=$?
22351 : "${ac_tmp:=$tmp}"
22352 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22354 trap 'as_fn_exit 1' 1 2 13 15
22356 # Create a (secure) tmp directory for tmp files.
22359 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22363 tmp
=.
/conf$$
-$RANDOM
22364 (umask 077 && mkdir "$tmp")
22365 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22368 # Set up the scripts for CONFIG_FILES section.
22369 # No need to generate them if there are no CONFIG_FILES.
22370 # This happens for instance with `./config.status config.h'.
22371 if test -n "$CONFIG_FILES"; then
22374 ac_cr
=`echo X | tr X '\015'`
22375 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22376 # But we know of no other shell where ac_cr would be empty at this
22377 # point, so we can use a bashism as a fallback.
22378 if test "x$ac_cr" = x
; then
22379 eval ac_cr
=\$
\'\\r
\'
22381 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22382 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22385 ac_cs_awk_cr
=$ac_cr
22388 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22393 echo "cat >conf$$subs.awk <<_ACEOF" &&
22394 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22396 } >conf$$subs.sh ||
22397 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22398 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22400 for ac_last_try in false false false false false :; do
22401 . ./conf$$subs.sh ||
22402 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22404 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22405 if test $ac_delim_n = $ac_delim_num; then
22407 elif $ac_last_try; then
22408 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22410 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22413 rm -f conf$$subs.sh
22415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22416 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22420 s/^/S["/; s
/!.
*/"]=/
22430 s/\(.\{148\}\)..*/\1/
22432 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22437 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22444 s/\(.\{148\}\)..*/\1/
22446 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22450 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22455 ' <conf$$subs.awk | sed '
22460 ' >>$CONFIG_STATUS || ac_write_fail=1
22461 rm -f conf$$subs.awk
22462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22464 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22465 for (key in S) S_is_set[key] = 1
22471 nfields = split(line, field, "@
")
22473 len = length(field[1])
22474 for (i = 2; i < nfields; i++) {
22476 keylen = length(key)
22477 if (S_is_set[key]) {
22479 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22480 len += length(value) + length(field[++i])
22491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22492 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22493 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22496 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22497 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22500 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22501 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22502 # trailing colons and then remove the whole line if VPATH becomes empty
22503 # (actually we leave an empty line to preserve line numbers).
22504 if test "x
$srcdir" = x.; then
22505 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22524 fi # test -n "$CONFIG_FILES"
22526 # Set up the scripts for CONFIG_HEADERS section.
22527 # No need to generate them if there are no CONFIG_HEADERS.
22528 # This happens for instance with `./config.status Makefile'.
22529 if test -n "$CONFIG_HEADERS"; then
22530 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22534 # Transform confdefs.h into an awk script `defines.awk', embedded as
22535 # here-document in config.status, that substitutes the proper values into
22536 # config.h.in to produce config.h.
22538 # Create a delimiter string that does not exist in confdefs.h, to ease
22539 # handling of long lines.
22541 for ac_last_try in false false :; do
22542 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22543 if test -z "$ac_tt"; then
22545 elif $ac_last_try; then
22546 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22548 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22552 # For the awk script, D is an array of macro values keyed by name,
22553 # likewise P contains macro parameters if any. Preserve backslash
22554 # newline sequences.
22556 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22558 s/.\{148\}/&'"$ac_delim"'/g
22561 s/^[ ]*#[ ]*define[ ][ ]*/ /
22568 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22570 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22574 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22575 D["\
1"]=" \
3\\\\\\n
"\\/p
22577 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22582 s/.\{148\}/&'"$ac_delim"'/g
22587 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22590 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22592 ' <confdefs.h | sed '
22593 s/'"$ac_delim"'/"\\\
22594 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22597 for (key in D) D_is_set[key] = 1
22600 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22602 split(line, arg, " ")
22603 if (arg[1] == "#") {
22607 defundef
= substr
(arg
[1], 2)
22610 split(mac1
, mac2
, "(") #)
22612 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22613 if (D_is_set
[macro
]) {
22614 # Preserve the white space surrounding the "#".
22615 print prefix
"define", macro P
[macro
] D
[macro
]
22618 # Replace #undef with comments. This is necessary, for example,
22619 # in the case of _POSIX_SOURCE, which is predefined and required
22620 # on some systems where configure will not decide to define it.
22621 if (defundef
== "undef") {
22622 print
"/*", prefix defundef
, macro
, "*/"
22630 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22631 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22632 fi # test -n "$CONFIG_HEADERS"
22635 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22640 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22642 case $ac_mode$ac_tag in
22644 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22645 :[FH
]-) ac_tag
=-:-;;
22646 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22663 -) ac_f
="$ac_tmp/stdin";;
22664 *) # Look for the file first in the build tree, then in the source tree
22665 # (if the path is not absolute). The absolute path cannot be DOS-style,
22666 # because $ac_f cannot contain `:'.
22670 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22672 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22674 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22675 as_fn_append ac_file_inputs
" '$ac_f'"
22678 # Let's still pretend it is `configure' which instantiates (i.e., don't
22679 # use $as_me), people would be surprised to read:
22680 # /* config.h. Generated by config.status. */
22681 configure_input
='Generated from '`
22682 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22684 if test x
"$ac_file" != x
-; then
22685 configure_input
="$ac_file. $configure_input"
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22687 $as_echo "$as_me: creating $ac_file" >&6;}
22689 # Neutralize special characters interpreted by sed in replacement strings.
22690 case $configure_input in #(
22691 *\
&* | *\
|* | *\\* )
22692 ac_sed_conf_input
=`$as_echo "$configure_input" |
22693 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22694 *) ac_sed_conf_input
=$configure_input;;
22698 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22699 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22704 ac_dir
=`$as_dirname -- "$ac_file" ||
22705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22706 X"$ac_file" : 'X\(//\)[^/]' \| \
22707 X"$ac_file" : 'X\(//\)$' \| \
22708 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22709 $as_echo X"$ac_file" |
22710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22714 /^X\(\/\/\)[^/].*/{
22727 as_dir
="$ac_dir"; as_fn_mkdir_p
22731 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22733 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22734 # A ".." for each directory in $ac_dir_suffix.
22735 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22736 case $ac_top_builddir_sub in
22737 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22738 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22741 ac_abs_top_builddir
=$ac_pwd
22742 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22743 # for backward compatibility:
22744 ac_top_builddir
=$ac_top_build_prefix
22747 .
) # We are building in place.
22749 ac_top_srcdir
=$ac_top_builddir_sub
22750 ac_abs_top_srcdir
=$ac_pwd ;;
22751 [\\/]* | ?
:[\\/]* ) # Absolute name.
22752 ac_srcdir
=$srcdir$ac_dir_suffix;
22753 ac_top_srcdir
=$srcdir
22754 ac_abs_top_srcdir
=$srcdir ;;
22755 *) # Relative name.
22756 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22757 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22758 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22760 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22770 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22771 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22773 ac_MKDIR_P
=$MKDIR_P
22775 [\\/$
]* | ?
:[\\/]* ) ;;
22776 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22780 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22781 # If the template does not know about datarootdir, expand it.
22782 # FIXME: This hack should be removed a few years after 2.60.
22783 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22794 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22795 *datarootdir
*) ac_datarootdir_seen
=yes;;
22796 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22798 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22801 ac_datarootdir_hack='
22802 s&@datadir@&$datadir&g
22803 s&@docdir@&$docdir&g
22804 s&@infodir@&$infodir&g
22805 s&@localedir@&$localedir&g
22806 s&@mandir@&$mandir&g
22807 s&\\\${datarootdir}&$datarootdir&g' ;;
22811 # Neutralize VPATH when `$srcdir' = `.'.
22812 # Shell code in configure.ac might set extrasub.
22813 # FIXME: do we really want to maintain this feature?
22814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22815 ac_sed_extra="$ac_vpsub
22818 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22820 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
22821 s
|@configure_input@
|$ac_sed_conf_input|;t t
22822 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22823 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22824 s
&@srcdir@
&$ac_srcdir&;t t
22825 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22826 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22827 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22828 s
&@builddir@
&$ac_builddir&;t t
22829 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22830 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22831 s
&@INSTALL@
&$ac_INSTALL&;t t
22832 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22833 $ac_datarootdir_hack
22835 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22836 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22838 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22839 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22840 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22841 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22843 which seems to be undefined. Please make sure it is defined" >&5
22844 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22845 which seems to be undefined. Please make sure it is defined" >&2;}
22847 rm -f "$ac_tmp/stdin"
22849 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22850 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22852 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22858 if test x"$ac_file" != x-; then
22860 $as_echo "/* $configure_input */" \
22861 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22862 } >"$ac_tmp/config.h" \
22863 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22864 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22866 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22869 mv "$ac_tmp/config.h" "$ac_file" \
22870 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22873 $as_echo "/* $configure_input */" \
22874 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22875 || as_fn_error $? "could not create -" "$LINENO" 5
22877 # Compute "$ac_file"'s index
in $config_headers.
22880 for _am_header
in $config_headers :; do
22881 case $_am_header in
22882 $_am_arg | $_am_arg:* )
22885 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22888 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22889 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22890 X"$_am_arg" : 'X\(//\)[^/]' \| \
22891 X"$_am_arg" : 'X\(//\)$' \| \
22892 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22893 $as_echo X"$_am_arg" |
22894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22898 /^X\(\/\/\)[^/].*/{
22910 s/.*/./; q'`/stamp
-h$_am_stamp_count
22913 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22914 $as_echo "$as_me: executing $ac_file commands" >&6;}
22919 case $ac_file$ac_mode in
22920 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
22921 # Older Autoconf quotes --file arguments for eval, but not when files
22922 # are listed without --file. Let's play safe and only enable the eval
22923 # if we detect the quoting.
22924 case $CONFIG_FILES in
22925 *\'*) eval set x
"$CONFIG_FILES" ;;
22926 *) set x
$CONFIG_FILES ;;
22931 # Strip MF so we end up with the name of the file.
22932 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22933 # Check whether this is an Automake generated Makefile or not.
22934 # We used to match only the files named 'Makefile.in', but
22935 # some people rename them; so instead we look at the file content.
22936 # Grep'ing the first line is not enough: some people post-process
22937 # each Makefile.in and add a new line on top of each file to say so.
22938 # Grep'ing the whole file is not good either: AIX grep has a line
22939 # limit of 2048, but all sed's we know have understand at least 4000.
22940 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
22941 dirpart
=`$as_dirname -- "$mf" ||
22942 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22943 X"$mf" : 'X\(//\)[^/]' \| \
22944 X"$mf" : 'X\(//\)$' \| \
22945 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22951 /^X\(\/\/\)[^/].*/{
22967 # Extract the definition of DEPDIR, am__include, and am__quote
22968 # from the Makefile without running 'make'.
22969 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22970 test -z "$DEPDIR" && continue
22971 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22972 test -z "$am__include" && continue
22973 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22974 # Find all dependency output files, they are included files with
22975 # $(DEPDIR) in their names. We invoke sed twice because it is the
22976 # simplest approach to changing $(DEPDIR) to its actual value in the
22978 for file in `sed -n "
22979 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22980 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22981 # Make sure the directory exists.
22982 test -f "$dirpart/$file" && continue
22983 fdir
=`$as_dirname -- "$file" ||
22984 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22985 X"$file" : 'X\(//\)[^/]' \| \
22986 X"$file" : 'X\(//\)$' \| \
22987 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22988 $as_echo X"$file" |
22989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22993 /^X\(\/\/\)[^/].*/{
23006 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23007 # echo "creating $dirpart/$file"
23008 echo '# dummy' > "$dirpart/$file"
23015 # See if we are running on zsh, and set the options that allow our
23016 # commands through without removal of \ escapes.
23017 if test -n "${ZSH_VERSION+set}"; then
23018 setopt NO_GLOB_SUBST
23022 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23025 cat <<_LT_EOF >> "$cfgfile"
23027 # Generated automatically by $as_me ($PACKAGE) $VERSION
23028 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23029 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23031 # Provide generalized library-building support services.
23032 # Written by Gordon Matzigkeit, 1996
23034 # Copyright (C) 2014 Free Software Foundation, Inc.
23035 # This is free software; see the source for copying conditions. There is NO
23036 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23038 # GNU Libtool is free software; you can redistribute it and/or modify
23039 # it under the terms of the GNU General Public License as published by
23040 # the Free Software Foundation; either version 2 of of the License, or
23041 # (at your option) any later version.
23043 # As a special exception to the GNU General Public License, if you
23044 # distribute this file as part of a program or library that is built
23045 # using GNU Libtool, you may include this file under the same
23046 # distribution terms that you use for the rest of that program.
23048 # GNU Libtool is distributed in the hope that it will be useful, but
23049 # WITHOUT ANY WARRANTY; without even the implied warranty of
23050 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23051 # GNU General Public License for more details.
23053 # You should have received a copy of the GNU General Public License
23054 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23057 # The names of the tagged configurations supported by this script.
23058 available_tags='CXX '
23060 # Configured defaults for sys_lib_dlsearch_path munging.
23061 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23063 # ### BEGIN LIBTOOL CONFIG
23065 # Which release of libtool.m4 was used?
23066 macro_version=$macro_version
23067 macro_revision=$macro_revision
23069 # Whether or not to build static libraries.
23070 build_old_libs=$enable_static
23072 # Whether or not to build shared libraries.
23073 build_libtool_libs=$enable_shared
23075 # What type of objects to build.
23078 # Whether or not to optimize for fast installation.
23079 fast_install=$enable_fast_install
23081 # Shared archive member basename,for filename based shared library versioning on AIX.
23082 shared_archive_member_spec=$shared_archive_member_spec
23084 # Shell to use when invoking shell scripts.
23087 # An echo program that protects backslashes.
23090 # The PATH separator for the build system.
23091 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23094 host_alias=$host_alias
23098 # The build system.
23099 build_alias=$build_alias
23103 # A sed program that does not truncate output.
23106 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23107 Xsed="\$SED -e 1s/^X//"
23109 # A grep program that handles long lines.
23115 # A literal string matcher.
23118 # A BSD- or MS-compatible name lister.
23121 # Whether we need soft or hard links.
23124 # What is the maximum length of a command?
23125 max_cmd_len=$max_cmd_len
23127 # Object file suffix (normally "o").
23130 # Executable file suffix (normally "").
23133 # whether the shell understands "unset".
23136 # turn spaces into newlines.
23139 # turn newlines into spaces.
23142 # convert \$build file names to \$host format.
23143 to_host_file_cmd=$lt_cv_to_host_file_cmd
23145 # convert \$build files to toolchain format.
23146 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23148 # An object symbol dumper.
23149 OBJDUMP=$lt_OBJDUMP
23151 # Method to check whether dependent libraries are shared objects.
23152 deplibs_check_method=$lt_deplibs_check_method
23154 # Command to use when deplibs_check_method = "file_magic".
23155 file_magic_cmd=$lt_file_magic_cmd
23157 # How to find potential files when deplibs_check_method = "file_magic".
23158 file_magic_glob=$lt_file_magic_glob
23160 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23161 want_nocaseglob=$lt_want_nocaseglob
23163 # DLL creation program.
23164 DLLTOOL=$lt_DLLTOOL
23166 # Command to associate shared and link libraries.
23167 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23172 # Flags to create an archive.
23173 AR_FLAGS=$lt_AR_FLAGS
23175 # How to feed a file listing to the archiver.
23176 archiver_list_spec=$lt_archiver_list_spec
23178 # A symbol stripping program.
23181 # Commands used to install an old-style archive.
23183 old_postinstall_cmds=$lt_old_postinstall_cmds
23184 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23186 # Whether to use a lock for old archive extraction.
23187 lock_old_archive_extraction=$lock_old_archive_extraction
23192 # LTCC compiler flags.
23193 LTCFLAGS=$lt_CFLAGS
23195 # Take the output of nm and produce a listing of raw symbols and C names.
23196 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23198 # Transform the output of nm in a proper C declaration.
23199 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23201 # Transform the output of nm into a list of symbols to manually relocate.
23202 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23204 # Transform the output of nm in a C name address pair.
23205 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23207 # Transform the output of nm in a C name address pair when lib prefix is needed.
23208 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23210 # The name lister interface.
23211 nm_interface=$lt_lt_cv_nm_interface
23213 # Specify filename containing input files for \$NM.
23214 nm_file_list_spec=$lt_nm_file_list_spec
23216 # The root where to search for dependent libraries,and where our libraries should be installed.
23217 lt_sysroot=$lt_sysroot
23219 # Command to truncate a binary pipe.
23220 lt_truncate_bin=$lt_lt_cv_truncate_bin
23222 # The name of the directory that contains temporary libtool files.
23225 # Used to examine libraries when file_magic_cmd begins with "file".
23226 MAGIC_CMD=$MAGIC_CMD
23228 # Must we lock files when doing compilation?
23229 need_locks=$lt_need_locks
23232 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23234 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23235 DSYMUTIL=$lt_DSYMUTIL
23237 # Tool to change global to local symbols on Mac OS X.
23240 # Tool to manipulate fat objects and archives on Mac OS X.
23243 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23246 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23247 OTOOL64=$lt_OTOOL64
23249 # Old archive suffix (normally "a").
23252 # Shared library suffix (normally ".so").
23253 shrext_cmds=$lt_shrext_cmds
23255 # The commands to extract the exported symbol list from a shared archive.
23256 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23258 # Variables whose values should be saved in libtool wrapper scripts and
23259 # restored at link time.
23260 variables_saved_for_relink=$lt_variables_saved_for_relink
23262 # Do we need the "lib" prefix for modules?
23263 need_lib_prefix=$need_lib_prefix
23265 # Do we need a version for libraries?
23266 need_version=$need_version
23268 # Library versioning type.
23269 version_type=$version_type
23271 # Shared library runtime path variable.
23272 runpath_var=$runpath_var
23274 # Shared library path variable.
23275 shlibpath_var=$shlibpath_var
23277 # Is shlibpath searched before the hard-coded library search path?
23278 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23280 # Format of library name prefix.
23281 libname_spec=$lt_libname_spec
23283 # List of archive names. First name is the real one, the rest are links.
23284 # The last name is the one that the linker finds with -lNAME
23285 library_names_spec=$lt_library_names_spec
23287 # The coded name of the library, if different from the real name.
23288 soname_spec=$lt_soname_spec
23290 # Permission mode override for installation of shared libraries.
23291 install_override_mode=$lt_install_override_mode
23293 # Command to use after installation of a shared archive.
23294 postinstall_cmds=$lt_postinstall_cmds
23296 # Command to use after uninstallation of a shared archive.
23297 postuninstall_cmds=$lt_postuninstall_cmds
23299 # Commands used to finish a libtool library installation in a directory.
23300 finish_cmds=$lt_finish_cmds
23302 # As "finish_cmds", except a single script fragment to be evaled but
23304 finish_eval=$lt_finish_eval
23306 # Whether we should hardcode library paths into libraries.
23307 hardcode_into_libs=$hardcode_into_libs
23309 # Compile-time system search path for libraries.
23310 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23312 # Detected run-time system search path for libraries.
23313 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23315 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23316 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23318 # Whether dlopen is supported.
23319 dlopen_support=$enable_dlopen
23321 # Whether dlopen of programs is supported.
23322 dlopen_self=$enable_dlopen_self
23324 # Whether dlopen of statically linked programs is supported.
23325 dlopen_self_static=$enable_dlopen_self_static
23327 # Commands to strip libraries.
23328 old_striplib=$lt_old_striplib
23329 striplib=$lt_striplib
23332 # The linker used to build libraries.
23335 # How to create reloadable object files.
23336 reload_flag=$lt_reload_flag
23337 reload_cmds=$lt_reload_cmds
23339 # Commands used to build an old-style archive.
23340 old_archive_cmds=$lt_old_archive_cmds
23342 # A language specific compiler.
23345 # Is the compiler the GNU compiler?
23348 # Compiler flag to turn off builtin functions.
23349 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23351 # Additional compiler flags for building library objects.
23352 pic_flag=$lt_lt_prog_compiler_pic
23354 # How to pass a linker flag through the compiler.
23355 wl=$lt_lt_prog_compiler_wl
23357 # Compiler flag to prevent dynamic linking.
23358 link_static_flag=$lt_lt_prog_compiler_static
23360 # Does compiler simultaneously support -c and -o options?
23361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23363 # Whether or not to add -lc for building shared libraries.
23364 build_libtool_need_lc=$archive_cmds_need_lc
23366 # Whether or not to disallow shared libs when runtime libs are static.
23367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23369 # Compiler flag to allow reflexive dlopens.
23370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23372 # Compiler flag to generate shared objects directly from archives.
23373 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23375 # Whether the compiler copes with passing no objects directly.
23376 compiler_needs_object=$lt_compiler_needs_object
23378 # Create an old-style archive from a shared archive.
23379 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23381 # Create a temporary old-style archive to link instead of a shared archive.
23382 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23384 # Commands used to build a shared archive.
23385 archive_cmds=$lt_archive_cmds
23386 archive_expsym_cmds=$lt_archive_expsym_cmds
23388 # Commands used to build a loadable module if different from building
23389 # a shared archive.
23390 module_cmds=$lt_module_cmds
23391 module_expsym_cmds=$lt_module_expsym_cmds
23393 # Whether we are building with GNU ld or not.
23394 with_gnu_ld=$lt_with_gnu_ld
23396 # Flag that allows shared libraries with undefined symbols to be built.
23397 allow_undefined_flag=$lt_allow_undefined_flag
23399 # Flag that enforces no undefined symbols.
23400 no_undefined_flag=$lt_no_undefined_flag
23402 # Flag to hardcode \$libdir into a binary during linking.
23403 # This must work even if \$libdir does not exist
23404 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23406 # Whether we need a single "-rpath" flag with a separated argument.
23407 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23409 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23410 # DIR into the resulting binary.
23411 hardcode_direct=$hardcode_direct
23413 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23414 # DIR into the resulting binary and the resulting library dependency is
23415 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23416 # library is relocated.
23417 hardcode_direct_absolute=$hardcode_direct_absolute
23419 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23420 # into the resulting binary.
23421 hardcode_minus_L=$hardcode_minus_L
23423 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23424 # into the resulting binary.
23425 hardcode_shlibpath_var=$hardcode_shlibpath_var
23427 # Set to "yes" if building a shared library automatically hardcodes DIR
23428 # into the library and all subsequent libraries and executables linked
23430 hardcode_automatic=$hardcode_automatic
23432 # Set to yes if linker adds runtime paths of dependent libraries
23433 # to runtime path list.
23434 inherit_rpath=$inherit_rpath
23436 # Whether libtool must link a program against all its dependency libraries.
23437 link_all_deplibs=$link_all_deplibs
23439 # Set to "yes" if exported symbols are required.
23440 always_export_symbols=$always_export_symbols
23442 # The commands to list exported symbols.
23443 export_symbols_cmds=$lt_export_symbols_cmds
23445 # Symbols that should not be listed in the preloaded symbols.
23446 exclude_expsyms=$lt_exclude_expsyms
23448 # Symbols that must always be exported.
23449 include_expsyms=$lt_include_expsyms
23451 # Commands necessary for linking programs (against libraries) with templates.
23452 prelink_cmds=$lt_prelink_cmds
23454 # Commands necessary for finishing linking programs.
23455 postlink_cmds=$lt_postlink_cmds
23457 # Specify filename containing input files.
23458 file_list_spec=$lt_file_list_spec
23460 # How to hardcode a shared library path into an executable.
23461 hardcode_action=$hardcode_action
23463 # The directories searched by this compiler when creating a shared library.
23464 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23466 # Dependencies to place before and after the objects being linked to
23467 # create a shared library.
23468 predep_objects=$lt_predep_objects
23469 postdep_objects=$lt_postdep_objects
23470 predeps=$lt_predeps
23471 postdeps=$lt_postdeps
23473 # The library search path used internally by the compiler when linking
23474 # a shared library.
23475 compiler_lib_search_path=$lt_compiler_lib_search_path
23477 # ### END LIBTOOL CONFIG
23481 cat <<'_LT_EOF' >> "$cfgfile"
23483 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23485 # func_munge_path_list VARIABLE PATH
23486 # -----------------------------------
23487 # VARIABLE is name of variable containing _space_ separated list of
23488 # directories to be munged by the contents of PATH, which is string
23491 # string "DIR[ DIR]" will be prepended to VARIABLE
23493 # string "DIR[ DIR]" will be appended to VARIABLE
23494 # "DIRP[:DIRP]::[DIRA:]DIRA"
23495 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23496 # "DIRA[ DIRA]" will be appended to VARIABLE
23498 # VARIABLE will be replaced by "DIR[ DIR]"
23499 func_munge_path_list ()
23505 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23508 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23511 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23512 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23515 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23521 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23522 func_cc_basename ()
23524 for cc_temp in $*""; do
23526 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23527 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23532 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23536 # ### END FUNCTIONS SHARED WITH CONFIGURE
23542 cat <<\_LT_EOF
>> "$cfgfile"
23543 # AIX sometimes has problems with the GCC collect2 program. For some
23544 # reason, if we set the COLLECT_NAMES environment variable, the problems
23545 # vanish in a puff of smoke.
23546 if test set != "${COLLECT_NAMES+set}"; then
23548 export COLLECT_NAMES
23555 ltmain
=$ac_aux_dir/ltmain.sh
23558 # We use sed instead of cat because bash on DJGPP gets confused if
23559 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23560 # text mode, it properly converts lines to CR/LF. This bash problem
23561 # is reportedly fixed, but why not run on old versions too?
23562 sed '$q' "$ltmain" >> "$cfgfile" \
23563 || (rm -f "$cfgfile"; exit 1)
23565 mv -f "$cfgfile" "$ofile" ||
23566 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23570 cat <<_LT_EOF >> "$ofile"
23572 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23574 # The linker used to build libraries.
23577 # How to create reloadable object files.
23578 reload_flag=$lt_reload_flag_CXX
23579 reload_cmds=$lt_reload_cmds_CXX
23581 # Commands used to build an old-style archive.
23582 old_archive_cmds=$lt_old_archive_cmds_CXX
23584 # A language specific compiler.
23585 CC=$lt_compiler_CXX
23587 # Is the compiler the GNU compiler?
23590 # Compiler flag to turn off builtin functions.
23591 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23593 # Additional compiler flags for building library objects.
23594 pic_flag=$lt_lt_prog_compiler_pic_CXX
23596 # How to pass a linker flag through the compiler.
23597 wl=$lt_lt_prog_compiler_wl_CXX
23599 # Compiler flag to prevent dynamic linking.
23600 link_static_flag=$lt_lt_prog_compiler_static_CXX
23602 # Does compiler simultaneously support -c and -o options?
23603 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23605 # Whether or not to add -lc for building shared libraries.
23606 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23608 # Whether or not to disallow shared libs when runtime libs are static.
23609 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23611 # Compiler flag to allow reflexive dlopens.
23612 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23614 # Compiler flag to generate shared objects directly from archives.
23615 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23617 # Whether the compiler copes with passing no objects directly.
23618 compiler_needs_object=$lt_compiler_needs_object_CXX
23620 # Create an old-style archive from a shared archive.
23621 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23623 # Create a temporary old-style archive to link instead of a shared archive.
23624 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23626 # Commands used to build a shared archive.
23627 archive_cmds=$lt_archive_cmds_CXX
23628 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23630 # Commands used to build a loadable module if different from building
23631 # a shared archive.
23632 module_cmds=$lt_module_cmds_CXX
23633 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23635 # Whether we are building with GNU ld or not.
23636 with_gnu_ld=$lt_with_gnu_ld_CXX
23638 # Flag that allows shared libraries with undefined symbols to be built.
23639 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23641 # Flag that enforces no undefined symbols.
23642 no_undefined_flag=$lt_no_undefined_flag_CXX
23644 # Flag to hardcode \$libdir into a binary during linking.
23645 # This must work even if \$libdir does not exist
23646 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23648 # Whether we need a single "-rpath" flag with a separated argument.
23649 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23651 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23652 # DIR into the resulting binary.
23653 hardcode_direct=$hardcode_direct_CXX
23655 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23656 # DIR into the resulting binary and the resulting library dependency is
23657 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23658 # library is relocated.
23659 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23661 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23662 # into the resulting binary.
23663 hardcode_minus_L=$hardcode_minus_L_CXX
23665 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23666 # into the resulting binary.
23667 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23669 # Set to "yes" if building a shared library automatically hardcodes DIR
23670 # into the library and all subsequent libraries and executables linked
23672 hardcode_automatic=$hardcode_automatic_CXX
23674 # Set to yes if linker adds runtime paths of dependent libraries
23675 # to runtime path list.
23676 inherit_rpath=$inherit_rpath_CXX
23678 # Whether libtool must link a program against all its dependency libraries.
23679 link_all_deplibs=$link_all_deplibs_CXX
23681 # Set to "yes" if exported symbols are required.
23682 always_export_symbols=$always_export_symbols_CXX
23684 # The commands to list exported symbols.
23685 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23687 # Symbols that should not be listed in the preloaded symbols.
23688 exclude_expsyms=$lt_exclude_expsyms_CXX
23690 # Symbols that must always be exported.
23691 include_expsyms=$lt_include_expsyms_CXX
23693 # Commands necessary for linking programs (against libraries) with templates.
23694 prelink_cmds=$lt_prelink_cmds_CXX
23696 # Commands necessary for finishing linking programs.
23697 postlink_cmds=$lt_postlink_cmds_CXX
23699 # Specify filename containing input files.
23700 file_list_spec=$lt_file_list_spec_CXX
23702 # How to hardcode a shared library path into an executable.
23703 hardcode_action=$hardcode_action_CXX
23705 # The directories searched by this compiler when creating a shared library.
23706 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23708 # Dependencies to place before and after the objects being linked to
23709 # create a shared library.
23710 predep_objects=$lt_predep_objects_CXX
23711 postdep_objects=$lt_postdep_objects_CXX
23712 predeps=$lt_predeps_CXX
23713 postdeps=$lt_postdeps_CXX
23715 # The library search path used internally by the compiler when linking
23716 # a shared library.
23717 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23719 # ### END LIBTOOL TAG CONFIG: CXX
23730 ac_clean_files
=$ac_clean_files_save
23732 test $ac_write_fail = 0 ||
23733 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23736 # configure is writing to config.log, and then calls config.status.
23737 # config.status does its own redirection, appending to config.log.
23738 # Unfortunately, on DOS this fails, as config.log is still kept open
23739 # by configure, so config.status won't be able to write to it; its
23740 # output is simply discarded. So we exec the FD to /dev/null,
23741 # effectively closing config.log, so it can be properly (re)opened and
23742 # appended to by config.status. When coming back to configure, we
23743 # need to make the FD available again.
23744 if test "$no_create" != yes; then
23746 ac_config_status_args
=
23747 test "$silent" = yes &&
23748 ac_config_status_args
="$ac_config_status_args --quiet"
23750 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23752 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23753 # would make configure fail if this is the last instruction.
23754 $ac_cs_success || as_fn_exit
1
23756 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23758 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}