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
715 am__fastdepOBJCXX_FALSE
716 am__fastdepOBJCXX_TRUE
745 MAINTAINER_MODE_FALSE
759 INSTALL_STRIP_PROGRAM
801 program_transform_name
814 enable_option_checking
816 enable_maintainer_mode
817 enable_dependency_tracking
830 ac_precious_vars
='build_alias
860 # Initialize some variables set by options.
862 ac_init_version
=false
863 ac_unrecognized_opts
=
865 # The variables have the same names as the options, with
866 # dashes changed to underlines.
874 program_transform_name
=s
,x
,x
,
882 # Installation directory options.
883 # These are left unexpanded so users can "make install exec_prefix=/foo"
884 # and all the variables that are supposed to be based on exec_prefix
885 # by default will actually change.
886 # Use braces instead of parens because sh, perl, etc. also accept them.
887 # (The list follows the same order as the GNU Coding Standards.)
888 bindir
='${exec_prefix}/bin'
889 sbindir
='${exec_prefix}/sbin'
890 libexecdir
='${exec_prefix}/libexec'
891 datarootdir
='${prefix}/share'
892 datadir
='${datarootdir}'
893 sysconfdir
='${prefix}/etc'
894 sharedstatedir
='${prefix}/com'
895 localstatedir
='${prefix}/var'
896 includedir
='${prefix}/include'
897 oldincludedir
='/usr/include'
898 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
899 infodir
='${datarootdir}/info'
904 libdir
='${exec_prefix}/lib'
905 localedir
='${datarootdir}/locale'
906 mandir
='${datarootdir}/man'
912 # If the previous option needs an argument, assign it.
913 if test -n "$ac_prev"; then
914 eval $ac_prev=\
$ac_option
920 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
925 # Accept the important Cygnus configure options, so we can diagnose typos.
927 case $ac_dashdash$ac_option in
931 -bindir | --bindir | --bindi | --bind | --bin | --bi)
933 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
936 -build | --build | --buil | --bui | --bu)
937 ac_prev
=build_alias
;;
938 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
939 build_alias
=$ac_optarg ;;
941 -cache-file | --cache-file | --cache-fil | --cache-fi \
942 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
943 ac_prev
=cache_file
;;
944 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
945 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
946 cache_file
=$ac_optarg ;;
949 cache_file
=config.cache
;;
951 -datadir | --datadir | --datadi | --datad)
953 -datadir=* | --datadir=* | --datadi=* | --datad=*)
954 datadir
=$ac_optarg ;;
956 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
957 | --dataroo | --dataro | --datar)
958 ac_prev
=datarootdir
;;
959 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
960 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
961 datarootdir
=$ac_optarg ;;
963 -disable-* | --disable-*)
964 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
967 as_fn_error $?
"invalid feature name: $ac_useropt"
968 ac_useropt_orig
=$ac_useropt
969 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
974 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
975 ac_unrecognized_sep
=', ';;
977 eval enable_
$ac_useropt=no
;;
979 -docdir | --docdir | --docdi | --doc | --do)
981 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
984 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
986 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
989 -enable-* | --enable-*)
990 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
993 as_fn_error $?
"invalid feature name: $ac_useropt"
994 ac_useropt_orig
=$ac_useropt
995 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1001 ac_unrecognized_sep
=', ';;
1003 eval enable_
$ac_useropt=\
$ac_optarg ;;
1005 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1006 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1007 | --exec | --exe | --ex)
1008 ac_prev
=exec_prefix
;;
1009 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1010 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1011 | --exec=* | --exe=* | --ex=*)
1012 exec_prefix
=$ac_optarg ;;
1014 -gas | --gas | --ga | --g)
1015 # Obsolete; use --with-gas.
1018 -help | --help | --hel | --he | -h)
1019 ac_init_help
=long
;;
1020 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1021 ac_init_help
=recursive
;;
1022 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1023 ac_init_help
=short
;;
1025 -host | --host | --hos | --ho)
1026 ac_prev
=host_alias
;;
1027 -host=* | --host=* | --hos=* | --ho=*)
1028 host_alias
=$ac_optarg ;;
1030 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1032 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1034 htmldir
=$ac_optarg ;;
1036 -includedir | --includedir | --includedi | --included | --include \
1037 | --includ | --inclu | --incl | --inc)
1038 ac_prev
=includedir
;;
1039 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1040 | --includ=* | --inclu=* | --incl=* | --inc=*)
1041 includedir
=$ac_optarg ;;
1043 -infodir | --infodir | --infodi | --infod | --info | --inf)
1045 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1046 infodir
=$ac_optarg ;;
1048 -libdir | --libdir | --libdi | --libd)
1050 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1051 libdir
=$ac_optarg ;;
1053 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1054 | --libexe | --libex | --libe)
1055 ac_prev
=libexecdir
;;
1056 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1057 | --libexe=* | --libex=* | --libe=*)
1058 libexecdir
=$ac_optarg ;;
1060 -localedir | --localedir | --localedi | --localed | --locale)
1061 ac_prev
=localedir
;;
1062 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1063 localedir
=$ac_optarg ;;
1065 -localstatedir | --localstatedir | --localstatedi | --localstated \
1066 | --localstate | --localstat | --localsta | --localst | --locals)
1067 ac_prev
=localstatedir
;;
1068 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1069 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1070 localstatedir
=$ac_optarg ;;
1072 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1074 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1075 mandir
=$ac_optarg ;;
1077 -nfp | --nfp | --nf)
1078 # Obsolete; use --without-fp.
1081 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1082 | --no-cr | --no-c | -n)
1085 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1086 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1089 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1090 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1091 | --oldin | --oldi | --old | --ol | --o)
1092 ac_prev
=oldincludedir
;;
1093 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1094 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1095 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1096 oldincludedir
=$ac_optarg ;;
1098 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1100 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1101 prefix
=$ac_optarg ;;
1103 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1104 | --program-pre | --program-pr | --program-p)
1105 ac_prev
=program_prefix
;;
1106 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1107 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1108 program_prefix
=$ac_optarg ;;
1110 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1111 | --program-suf | --program-su | --program-s)
1112 ac_prev
=program_suffix
;;
1113 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1114 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1115 program_suffix
=$ac_optarg ;;
1117 -program-transform-name | --program-transform-name \
1118 | --program-transform-nam | --program-transform-na \
1119 | --program-transform-n | --program-transform- \
1120 | --program-transform | --program-transfor \
1121 | --program-transfo | --program-transf \
1122 | --program-trans | --program-tran \
1123 | --progr-tra | --program-tr | --program-t)
1124 ac_prev
=program_transform_name
;;
1125 -program-transform-name=* | --program-transform-name=* \
1126 | --program-transform-nam=* | --program-transform-na=* \
1127 | --program-transform-n=* | --program-transform-=* \
1128 | --program-transform=* | --program-transfor=* \
1129 | --program-transfo=* | --program-transf=* \
1130 | --program-trans=* | --program-tran=* \
1131 | --progr-tra=* | --program-tr=* | --program-t=*)
1132 program_transform_name
=$ac_optarg ;;
1134 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1136 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1137 pdfdir
=$ac_optarg ;;
1139 -psdir | --psdir | --psdi | --psd | --ps)
1141 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1144 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1145 | -silent | --silent | --silen | --sile | --sil)
1148 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1150 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1152 sbindir
=$ac_optarg ;;
1154 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1155 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1156 | --sharedst | --shareds | --shared | --share | --shar \
1158 ac_prev
=sharedstatedir
;;
1159 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1160 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1161 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1163 sharedstatedir
=$ac_optarg ;;
1165 -site | --site | --sit)
1167 -site=* | --site=* | --sit=*)
1170 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1172 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1173 srcdir
=$ac_optarg ;;
1175 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1176 | --syscon | --sysco | --sysc | --sys | --sy)
1177 ac_prev
=sysconfdir
;;
1178 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1179 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1180 sysconfdir
=$ac_optarg ;;
1182 -target | --target | --targe | --targ | --tar | --ta | --t)
1183 ac_prev
=target_alias
;;
1184 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1185 target_alias
=$ac_optarg ;;
1187 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1190 -version | --version | --versio | --versi | --vers | -V)
1191 ac_init_version
=: ;;
1194 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1197 as_fn_error $?
"invalid package name: $ac_useropt"
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=\
$ac_optarg ;;
1209 -without-* | --without-*)
1210 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1213 as_fn_error $?
"invalid package name: $ac_useropt"
1214 ac_useropt_orig
=$ac_useropt
1215 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1216 case $ac_user_opts in
1220 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221 ac_unrecognized_sep
=', ';;
1223 eval with_
$ac_useropt=no
;;
1226 # Obsolete; use --with-x.
1229 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1230 | --x-incl | --x-inc | --x-in | --x-i)
1231 ac_prev
=x_includes
;;
1232 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1233 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1234 x_includes
=$ac_optarg ;;
1236 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1237 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1238 ac_prev
=x_libraries
;;
1239 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1240 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1241 x_libraries
=$ac_optarg ;;
1243 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1244 Try \`$0 --help' for more information"
1248 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1249 # Reject names that are not valid shell variable names.
1250 case $ac_envvar in #(
1251 '' | [0-9]* | *[!_$as_cr_alnum]* )
1252 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1254 eval $ac_envvar=\
$ac_optarg
1255 export $ac_envvar ;;
1258 # FIXME: should be removed in autoconf 3.0.
1259 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1260 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1261 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1262 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1268 if test -n "$ac_prev"; then
1269 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1270 as_fn_error $?
"missing argument to $ac_option"
1273 if test -n "$ac_unrecognized_opts"; then
1274 case $enable_option_checking in
1276 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1277 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1281 # Check all directory arguments for consistency.
1282 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir
1287 eval ac_val
=\$
$ac_var
1288 # Remove trailing slashes.
1291 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1292 eval $ac_var=\
$ac_val;;
1294 # Be sure to have absolute directory names.
1296 [\\/$
]* | ?
:[\\/]* ) continue;;
1297 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1299 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1307 target
=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x
; then
1311 if test "x$build_alias" = x
; then
1312 cross_compiling
=maybe
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1321 test "$silent" = yes && exec 6>/dev
/null
1324 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di
=`ls -di .` &&
1326 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1327 as_fn_error $?
"working directory cannot be determined"
1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1329 as_fn_error $?
"pwd does not report name of working directory"
1332 # Find the source files, if location was not specified.
1333 if test -z "$srcdir"; then
1334 ac_srcdir_defaulted
=yes
1335 # Try the directory containing this script, then the parent directory.
1336 ac_confdir
=`$as_dirname -- "$as_myself" ||
1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1338 X"$as_myself" : 'X\(//\)[^/]' \| \
1339 X"$as_myself" : 'X\(//\)$' \| \
1340 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1341 $as_echo X"$as_myself" |
1342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1360 if test ! -r "$srcdir/$ac_unique_file"; then
1364 ac_srcdir_defaulted
=no
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1367 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1368 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1370 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1372 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1382 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 for ac_var
in $ac_precious_vars; do
1385 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1386 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1387 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1388 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking ...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --libdir=DIR object code libraries [EPREFIX/lib]
1439 --includedir=DIR C header files [PREFIX/include]
1440 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1441 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1442 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1443 --infodir=DIR info documentation [DATAROOTDIR/info]
1444 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1445 --mandir=DIR man documentation [DATAROOTDIR/man]
1446 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1447 --htmldir=DIR html documentation [DOCDIR]
1448 --dvidir=DIR dvi documentation [DOCDIR]
1449 --pdfdir=DIR pdf documentation [DOCDIR]
1450 --psdir=DIR ps documentation [DOCDIR]
1456 --program-prefix=PREFIX prepend PREFIX to installed program names
1457 --program-suffix=SUFFIX append SUFFIX to installed program names
1458 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1461 --build=BUILD configure
for building on BUILD
[guessed
]
1462 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1473 --disable-option-checking ignore unrecognized
--enable/--with options
1474 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1475 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1476 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1477 --disable-silent-rules verbose build output
(undo
: "make V=0")
1478 --enable-maintainer-mode
1479 enable make rules and dependencies not useful
(and
1480 sometimes confusing
) to the casual installer
1481 --enable-dependency-tracking
1482 do not reject slow dependency extractors
1483 --disable-dependency-tracking
1484 speeds up one
-time build
1485 --enable-static[=PKGS
] build static libraries
[default
=no
]
1486 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1487 --enable-fast-install[=PKGS
]
1488 optimize
for fast installation
[default
=yes]
1489 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1490 --enable-javascript[=ENGINE
]
1491 use a JavaScript runtime
(currently the only
1492 available option
for ENGINE is JavaScriptCore
)
1494 --disable-console disable console
1495 --disable-attach disable attach
1498 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1499 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1500 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1502 --with-aix-soname=aix
|svr4
|both
1503 shared library versioning
(aka
"SONAME") variant to
1504 provide on AIX
, [default
=aix
].
1505 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1506 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1507 compiler
's sysroot if not specified).
1509 Some influential environment variables:
1510 CC C compiler command
1511 CFLAGS C compiler flags
1512 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1513 nonstandard directory <lib dir>
1514 LIBS libraries to pass to the linker, e.g. -l<library>
1515 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1516 you have headers in a nonstandard directory <include dir>
1517 CXX C++ compiler command
1518 CXXFLAGS C++ compiler flags
1519 OBJCXX Objective C++ compiler command
1520 OBJCXXFLAGS Objective C++ compiler flags
1522 User-defined run-time library search path.
1524 CXXCPP C++ preprocessor
1525 PKG_CONFIG path to pkg-config utility
1527 directories to add to pkg-config's search path
1529 path overriding pkg
-config's built-in search path
1530 BISON GNU Project parser generator (yacc replacement)
1531 FLEX the fast lexical analyser generator
1532 GPERF perfect hash function generator
1533 GNUTAR a very sticky lump of files
1535 C compiler flags for WEBKIT, overriding pkg-config
1536 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1538 prints information about the current gnustep installation
1540 Use these variables to override the choices made by `configure' or to
help
1541 it to
find libraries and programs with nonstandard names
/locations.
1543 Report bugs to
<saurik@saurik.com
>.
1544 Cycript home page
: <http
://www.cycript.org
/>.
1549 if test "$ac_init_help" = "recursive"; then
1550 # If there are subdirs, report their specific --help.
1551 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1552 test -d "$ac_dir" ||
1553 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1558 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1560 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1561 # A ".." for each directory in $ac_dir_suffix.
1562 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1563 case $ac_top_builddir_sub in
1564 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1565 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1568 ac_abs_top_builddir
=$ac_pwd
1569 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1570 # for backward compatibility:
1571 ac_top_builddir
=$ac_top_build_prefix
1574 .
) # We are building in place.
1576 ac_top_srcdir
=$ac_top_builddir_sub
1577 ac_abs_top_srcdir
=$ac_pwd ;;
1578 [\\/]* | ?
:[\\/]* ) # Absolute name.
1579 ac_srcdir
=$srcdir$ac_dir_suffix;
1580 ac_top_srcdir
=$srcdir
1581 ac_abs_top_srcdir
=$srcdir ;;
1583 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1584 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1585 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1587 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1589 cd "$ac_dir" || { ac_status
=$?
; continue; }
1590 # Check for guested configure.
1591 if test -f "$ac_srcdir/configure.gnu"; then
1593 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1594 elif test -f "$ac_srcdir/configure"; then
1596 $SHELL "$ac_srcdir/configure" --help=recursive
1598 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1600 cd "$ac_pwd" || { ac_status
=$?
; break; }
1604 test -n "$ac_init_help" && exit $ac_status
1605 if $ac_init_version; then
1607 Cycript configure
0.9
1608 generated by GNU Autoconf
2.69
1610 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1611 This configure
script is free software
; the Free Software Foundation
1612 gives unlimited permission to copy
, distribute and modify it.
1614 Copyright
(C
) 2009-2014 Jay Freeman
(saurik
)
1619 ## ------------------------ ##
1620 ## Autoconf initialization. ##
1621 ## ------------------------ ##
1623 # ac_fn_c_try_compile LINENO
1624 # --------------------------
1625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1626 ac_fn_c_try_compile
()
1628 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1629 rm -f conftest.
$ac_objext
1630 if { { ac_try
="$ac_compile"
1632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_compile") 2>conftest.err
1639 if test -s conftest.err; then
1640 grep -v '^ *+' conftest.err >conftest.er1
1641 cat conftest.er1 >&5
1642 mv -f conftest.er1 conftest.err
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; } && {
1646 test -z "$ac_c_werror_flag" ||
1647 test ! -s conftest.err
1648 } && test -s conftest.$ac_objext; then :
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 as_fn_set_status $ac_retval
1659 } # ac_fn_c_try_compile
1661 # ac_fn_cxx_try_compile LINENO
1662 # ----------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_cxx_try_compile ()
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext
1668 if { { ac_try="$ac_compile"
1670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1671 *) ac_try_echo
=$ac_try;;
1673 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_compile") 2>conftest.err
1677 if test -s conftest.err
; then
1678 grep -v '^ *+' conftest.err
>conftest.er1
1679 cat conftest.er1
>&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_cxx_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.
$ac_objext; then :
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.
$ac_ext >&5
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status
$ac_retval
1697 } # ac_fn_cxx_try_compile
1699 # ac_fn_objcxx_try_compile LINENO
1700 # -------------------------------
1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1702 ac_fn_objcxx_try_compile
()
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 rm -f conftest.
$ac_objext
1706 if { { ac_try
="$ac_compile"
1708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_compile") 2>conftest.err
1715 if test -s conftest.err; then
1716 grep -v '^ *+' conftest.err >conftest.er1
1717 cat conftest.er1 >&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_objcxx_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest.$ac_objext; then :
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733 as_fn_set_status $ac_retval
1735 } # ac_fn_objcxx_try_compile
1737 # ac_fn_c_try_link LINENO
1738 # -----------------------
1739 # Try to link conftest.$ac_ext, and return whether this succeeded.
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 rm -f conftest.$ac_objext conftest$ac_exeext
1744 if { { ac_try="$ac_link"
1746 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1747 *) ac_try_echo
=$ac_try;;
1749 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_link") 2>conftest.err
1753 if test -s conftest.err
; then
1754 grep -v '^ *+' conftest.err
>conftest.er1
1755 cat conftest.er1
>&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest
$ac_exeext && {
1763 test "$cross_compiling" = yes ||
1764 test -x conftest
$ac_exeext
1768 $as_echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.
$ac_ext >&5
1773 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1774 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1775 # interfere with the next link command; also delete a directory that is
1776 # left behind by Apple's compiler. We do this before executing the actions.
1777 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779 as_fn_set_status
$ac_retval
1781 } # ac_fn_c_try_link
1783 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1784 # -------------------------------------------------------
1785 # Tests whether HEADER exists and can be compiled using the include files in
1786 # INCLUDES, setting the cache variable VAR accordingly.
1787 ac_fn_c_check_header_compile
()
1789 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791 $as_echo_n "checking for $2... " >&6; }
1792 if eval \
${$3+:} false
; then :
1793 $as_echo_n "(cached) " >&6
1795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1796 /* end confdefs.h. */
1800 if ac_fn_c_try_compile
"$LINENO"; then :
1805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1809 $as_echo "$ac_res" >&6; }
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812 } # ac_fn_c_check_header_compile
1814 # ac_fn_c_try_cpp LINENO
1815 # ----------------------
1816 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1819 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1820 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1829 if test -s conftest.err; then
1830 grep -v '^ *+' conftest.err >conftest.er1
1831 cat conftest.er1 >&5
1832 mv -f conftest.er1 conftest.err
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; } > conftest.i && {
1836 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1837 test ! -s conftest.err
1841 $as_echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.$ac_ext >&5
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 as_fn_set_status $ac_retval
1851 # ac_fn_c_try_run LINENO
1852 # ----------------------
1853 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1854 # that executables *can* be run.
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 if { { ac_try="$ac_link"
1860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1861 *) ac_try_echo
=$ac_try;;
1863 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_link") 2>&5
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1869 { { case "(($ac_try" in
1870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1871 *) ac_try_echo=$ac_try;;
1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_try") 2>&5
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; }; }; then :
1881 $as_echo "$as_me: program exited with status $ac_status" >&5
1882 $as_echo "$as_me: failed program was:" >&5
1883 sed 's/^/| /' conftest.$ac_ext >&5
1885 ac_retval=$ac_status
1887 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status $ac_retval
1893 # ac_fn_c_check_func LINENO FUNC VAR
1894 # ----------------------------------
1895 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1896 ac_fn_c_check_func ()
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if eval \${$3+:} false; then :
1902 $as_echo_n "(cached) " >&6
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1906 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1908 #define $2 innocuous_$2
1910 /* System header to define __stub macros and hopefully few prototypes,
1911 which can conflict with char $2 (); below.
1912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1913 <limits.h> exists even on freestanding compilers. */
1916 # include <limits.h>
1918 # include <assert.h>
1923 /* Override any GCC internal prototype to avoid an error.
1924 Use char because int might match the return type of a GCC
1925 builtin and then its argument prototype would still apply. */
1930 /* The GNU C library defines this for functions which it implements
1931 to always fail with ENOSYS. Some functions are actually named
1932 something starting with __ and the normal name is an alias. */
1933 #if defined __stub_$2 || defined __stub___$2
1945 if ac_fn_c_try_link "$LINENO"; then :
1950 rm -f core conftest.err conftest.$ac_objext \
1951 conftest$ac_exeext conftest.$ac_ext
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958 } # ac_fn_c_check_func
1960 # ac_fn_cxx_try_cpp LINENO
1961 # ------------------------
1962 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1963 ac_fn_cxx_try_cpp ()
1965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966 if { { ac_try="$ac_cpp conftest.$ac_ext"
1968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1969 *) ac_try_echo
=$ac_try;;
1971 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1972 $as_echo "$ac_try_echo"; } >&5
1973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1975 if test -s conftest.err
; then
1976 grep -v '^ *+' conftest.err
>conftest.er1
1977 cat conftest.er1
>&5
1978 mv -f conftest.er1 conftest.err
1980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981 test $ac_status = 0; } > conftest.i
&& {
1982 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1983 test ! -s conftest.err
1987 $as_echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.
$ac_ext >&5
1992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 as_fn_set_status
$ac_retval
1995 } # ac_fn_cxx_try_cpp
1997 # ac_fn_cxx_try_link LINENO
1998 # -------------------------
1999 # Try to link conftest.$ac_ext, and return whether this succeeded.
2000 ac_fn_cxx_try_link
()
2002 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2003 rm -f conftest.
$ac_objext conftest
$ac_exeext
2004 if { { ac_try
="$ac_link"
2006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2007 *) ac_try_echo=$ac_try;;
2009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2010 $as_echo "$ac_try_echo"; } >&5
2011 (eval "$ac_link") 2>conftest.err
2013 if test -s conftest.err; then
2014 grep -v '^ *+' conftest.err >conftest.er1
2015 cat conftest.er1 >&5
2016 mv -f conftest.er1 conftest.err
2018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2019 test $ac_status = 0; } && {
2020 test -z "$ac_cxx_werror_flag" ||
2021 test ! -s conftest.err
2022 } && test -s conftest$ac_exeext && {
2023 test "$cross_compiling" = yes ||
2024 test -x conftest$ac_exeext
2028 $as_echo "$as_me: failed program was:" >&5
2029 sed 's/^/| /' conftest.$ac_ext >&5
2033 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2034 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2035 # interfere with the next link command; also delete a directory that is
2036 # left behind by Apple's compiler. We do this before executing the actions.
2037 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039 as_fn_set_status $ac_retval
2041 } # ac_fn_cxx_try_link
2043 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2044 # ---------------------------------------------------------
2045 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2046 # the include files in INCLUDES and setting the cache variable VAR
2048 ac_fn_cxx_check_header_mongrel ()
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 if eval \${$3+:} false; then :
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2053 $as_echo_n "checking for $2... " >&6; }
2054 if eval \${$3+:} false; then :
2055 $as_echo_n "(cached) " >&6
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2061 # Is the header compilable?
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2063 $as_echo_n "checking $2 usability... " >&6; }
2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2069 if ac_fn_cxx_try_compile "$LINENO"; then :
2070 ac_header_compiler=yes
2072 ac_header_compiler=no
2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2076 $as_echo "$ac_header_compiler" >&6; }
2078 # Is the header present?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2080 $as_echo_n "checking $2 presence... " >&6; }
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2085 if ac_fn_cxx_try_cpp "$LINENO"; then :
2086 ac_header_preproc=yes
2088 ac_header_preproc=no
2090 rm -f conftest.err conftest.i conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2092 $as_echo "$ac_header_preproc" >&6; }
2094 # So? What about this header?
2095 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2098 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2104 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2106 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2108 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2110 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2112 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2113 ( $as_echo "## -------------------------------- ##
2114 ## Report this to saurik@saurik.com ##
2115 ## -------------------------------- ##"
2116 ) | sed "s/^/$as_me: WARNING: /" >&2
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120 $as_echo_n "checking for $2... " >&6; }
2121 if eval \${$3+:} false; then :
2122 $as_echo_n "(cached) " >&6
2124 eval "$3=\$ac_header_compiler"
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 } # ac_fn_cxx_check_header_mongrel
2134 # ac_fn_objcxx_try_link LINENO
2135 # ----------------------------
2136 # Try to link conftest.$ac_ext, and return whether this succeeded.
2137 ac_fn_objcxx_try_link ()
2139 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2140 rm -f conftest.$ac_objext conftest$ac_exeext
2141 if { { ac_try="$ac_link"
2143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2144 *) ac_try_echo
=$ac_try;;
2146 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2147 $as_echo "$ac_try_echo"; } >&5
2148 (eval "$ac_link") 2>conftest.err
2150 if test -s conftest.err
; then
2151 grep -v '^ *+' conftest.err
>conftest.er1
2152 cat conftest.er1
>&5
2153 mv -f conftest.er1 conftest.err
2155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2156 test $ac_status = 0; } && {
2157 test -z "$ac_objcxx_werror_flag" ||
2158 test ! -s conftest.err
2159 } && test -s conftest
$ac_exeext && {
2160 test "$cross_compiling" = yes ||
2161 test -x conftest
$ac_exeext
2165 $as_echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.
$ac_ext >&5
2170 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2171 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2172 # interfere with the next link command; also delete a directory that is
2173 # left behind by Apple's compiler. We do this before executing the actions.
2174 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2176 as_fn_set_status
$ac_retval
2178 } # ac_fn_objcxx_try_link
2179 cat >config.log
<<_ACEOF
2180 This file contains any messages produced by compilers while
2181 running configure, to aid debugging if configure makes a mistake.
2183 It was created by Cycript $as_me 0.9, which was
2184 generated by GNU Autoconf 2.69. Invocation command line was
2196 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2197 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2198 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2199 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2200 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2202 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2203 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2205 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2206 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2207 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2208 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2209 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2210 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2211 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir
=.
2220 $as_echo "PATH: $as_dir"
2236 # Keep a trace of the command line.
2237 # Strip out --no-create and --no-recursion so they do not pile up.
2238 # Strip out --silent because we don't want to record it for future runs.
2239 # Also quote any args containing shell meta-characters.
2240 # Make two passes to allow for proper duplicate-argument suppression.
2244 ac_must_keep_next
=false
2250 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2252 | -silent | --silent | --silen | --sile | --sil)
2255 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2258 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2260 as_fn_append ac_configure_args1
" '$ac_arg'"
2261 if test $ac_must_keep_next = true
; then
2262 ac_must_keep_next
=false
# Got value, back to normal.
2265 *=* | --config-cache | -C | -disable-* | --disable-* \
2266 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2267 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2268 | -with-* | --with-* | -without-* | --without-* | --x)
2269 case "$ac_configure_args0 " in
2270 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2273 -* ) ac_must_keep_next
=true
;;
2276 as_fn_append ac_configure_args
" '$ac_arg'"
2281 { ac_configure_args0
=; unset ac_configure_args0
;}
2282 { ac_configure_args1
=; unset ac_configure_args1
;}
2284 # When interrupted or exit'd, cleanup temporary files, and complete
2285 # config.log. We remove comments because anyway the quotes in there
2286 # would cause problems or look ugly.
2287 # WARNING: Use '\'' to represent an apostrophe within the trap.
2288 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2289 trap 'exit_status=$?
2290 # Save into config.log some information that might help in debugging.
2294 $as_echo "## ---------------- ##
2295 ## Cache variables. ##
2296 ## ---------------- ##"
2298 # The following way of writing the cache mishandles newlines in values,
2300 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2301 eval ac_val=\$$ac_var
2305 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2306 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2309 _ | IFS | as_nl) ;; #(
2310 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2311 *) { eval $ac_var=; unset $ac_var;} ;;
2316 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2317 *${as_nl}ac_space=\ *)
2319 "s/'\''/'\''\\\\'\'''\''/g;
2320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2323 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2330 $as_echo "## ----------------- ##
2331 ## Output variables. ##
2332 ## ----------------- ##"
2334 for ac_var in $ac_subst_vars
2336 eval ac_val=\$$ac_var
2338 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340 $as_echo "$ac_var='\''$ac_val'\''"
2344 if test -n "$ac_subst_files"; then
2345 $as_echo "## ------------------- ##
2346 ## File substitutions. ##
2347 ## ------------------- ##"
2349 for ac_var
in $ac_subst_files
2351 eval ac_val
=\$
$ac_var
2353 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2355 $as_echo "$ac_var='\''$ac_val'\''"
2360 if test -s confdefs.h; then
2361 $as_echo "## ----------- ##
2368 test "$ac_signal" != 0 &&
2369 $as_echo "$as_me: caught signal $ac_signal"
2370 $as_echo "$as_me: exit $exit_status"
2372 rm -f core *.core core.conftest.* &&
2373 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2376 for ac_signal
in 1 2 13 15; do
2377 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2381 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2382 rm -f -r conftest
* confdefs.h
2384 $as_echo "/* confdefs.h */" > confdefs.h
2386 # Predefined preprocessor variables.
2388 cat >>confdefs.h
<<_ACEOF
2389 #define PACKAGE_NAME "$PACKAGE_NAME"
2392 cat >>confdefs.h
<<_ACEOF
2393 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2396 cat >>confdefs.h
<<_ACEOF
2397 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2400 cat >>confdefs.h
<<_ACEOF
2401 #define PACKAGE_STRING "$PACKAGE_STRING"
2404 cat >>confdefs.h
<<_ACEOF
2405 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2408 cat >>confdefs.h
<<_ACEOF
2409 #define PACKAGE_URL "$PACKAGE_URL"
2413 # Let the site file select an alternate cache file if it wants to.
2414 # Prefer an explicitly selected file to automatically selected ones.
2417 if test -n "$CONFIG_SITE"; then
2418 # We do not want a PATH search for config.site.
2419 case $CONFIG_SITE in #((
2420 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2421 */*) ac_site_file1
=$CONFIG_SITE;;
2422 *) ac_site_file1
=.
/$CONFIG_SITE;;
2424 elif test "x$prefix" != xNONE
; then
2425 ac_site_file1
=$prefix/share
/config.site
2426 ac_site_file2
=$prefix/etc
/config.site
2428 ac_site_file1
=$ac_default_prefix/share
/config.site
2429 ac_site_file2
=$ac_default_prefix/etc
/config.site
2431 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2433 test "x$ac_site_file" = xNONE
&& continue
2434 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2436 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2437 sed 's/^/| /' "$ac_site_file" >&5
2439 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441 as_fn_error $?
"failed to load site script $ac_site_file
2442 See \`config.log' for more details" "$LINENO" 5; }
2446 if test -r "$cache_file"; then
2447 # Some versions of bash will fail to source /dev/null (special files
2448 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2449 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2451 $as_echo "$as_me: loading cache $cache_file" >&6;}
2453 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2454 *) .
"./$cache_file";;
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2459 $as_echo "$as_me: creating cache $cache_file" >&6;}
2463 # Check that the precious variables saved in the cache have kept the same
2465 ac_cache_corrupted
=false
2466 for ac_var
in $ac_precious_vars; do
2467 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2468 eval ac_new_set
=\
$ac_env_${ac_var}_set
2469 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2470 eval ac_new_val
=\
$ac_env_${ac_var}_value
2471 case $ac_old_set,$ac_new_set in
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2474 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2475 ac_cache_corrupted
=: ;;
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2478 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2479 ac_cache_corrupted
=: ;;
2482 if test "x$ac_old_val" != "x$ac_new_val"; then
2483 # differences in whitespace do not lead to failure.
2484 ac_old_val_w
=`echo x $ac_old_val`
2485 ac_new_val_w
=`echo x $ac_new_val`
2486 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2488 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2489 ac_cache_corrupted
=:
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2492 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2493 eval $ac_var=\
$ac_old_val
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2496 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2498 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2501 # Pass precious variables to config.status.
2502 if test "$ac_new_set" = set; then
2504 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2505 *) ac_arg
=$ac_var=$ac_new_val ;;
2507 case " $ac_configure_args " in
2508 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2509 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2513 if $ac_cache_corrupted; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2517 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2518 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2520 ## -------------------- ##
2521 ## Main body of script. ##
2522 ## -------------------- ##
2525 ac_cpp
='$CPP $CPPFLAGS'
2526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2535 for ac_dir
in .
"$srcdir"/.
; do
2536 if test -f "$ac_dir/install-sh"; then
2538 ac_install_sh
="$ac_aux_dir/install-sh -c"
2540 elif test -f "$ac_dir/install.sh"; then
2542 ac_install_sh
="$ac_aux_dir/install.sh -c"
2544 elif test -f "$ac_dir/shtool"; then
2546 ac_install_sh
="$ac_aux_dir/shtool install -c"
2550 if test -z "$ac_aux_dir"; then
2551 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2554 # These three variables are undocumented and unsupported,
2555 # and are intended to be withdrawn in a future Autoconf release.
2556 # They can cause serious problems if a builder's source tree is in a directory
2557 # whose full name contains unusual characters.
2558 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2559 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2560 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2564 ac_config_headers
="$ac_config_headers config.h"
2567 am__api_version
='1.15'
2569 # Find a good install program. We prefer a C program (faster),
2570 # so one script is as good as another. But avoid the broken or
2571 # incompatible versions:
2572 # SysV /etc/install, /usr/sbin/install
2573 # SunOS /usr/etc/install
2574 # IRIX /sbin/install
2576 # AmigaOS /C/install, which installs bootblocks on floppy discs
2577 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2580 # OS/2's system install, which has a completely different semantic
2581 # ./install, which can be erroneously created by make from ./install.sh.
2582 # Reject install programs that cannot install multiple files.
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2584 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2585 if test -z "$INSTALL"; then
2586 if ${ac_cv_path_install+:} false
; then :
2587 $as_echo_n "(cached) " >&6
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 # Account for people who put trailing slashes in PATH elements.
2595 case $as_dir/ in #((
2596 .
/ | .
// | /[cC
]/* | \
2597 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2598 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2601 # OSF1 and SCO ODT 3.0 have their own names for install.
2602 # Don't use installbsd from OSF since it installs stuff as root
2604 for ac_prog
in ginstall scoinst
install; do
2605 for ac_exec_ext
in '' $ac_executable_extensions; do
2606 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2607 if test $ac_prog = install &&
2608 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2609 # AIX install. It has an incompatible calling convention.
2611 elif test $ac_prog = install &&
2612 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2613 # program-specific install script used by HP pwplus--don't use.
2616 rm -rf conftest.one conftest.two conftest.dir
2617 echo one
> conftest.one
2618 echo two
> conftest.two
2620 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2621 test -s conftest.one
&& test -s conftest.two
&&
2622 test -s conftest.dir
/conftest.one
&&
2623 test -s conftest.dir
/conftest.two
2625 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2638 rm -rf conftest.one conftest.two conftest.dir
2641 if test "${ac_cv_path_install+set}" = set; then
2642 INSTALL
=$ac_cv_path_install
2644 # As a last resort, use the slow shell script. Don't cache a
2645 # value for INSTALL within a source directory, because that will
2646 # break other packages using the cache if that directory is
2647 # removed, or if the value is a relative name.
2648 INSTALL
=$ac_install_sh
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2652 $as_echo "$INSTALL" >&6; }
2654 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2655 # It thinks the first close brace ends the variable substitution.
2656 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2658 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2660 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2663 $as_echo_n "checking whether build environment is sane... " >&6; }
2664 # Reject unsafe characters in $srcdir or the absolute working directory
2665 # name. Accept space and tab only in the latter.
2669 *[\\\"\#\$\&\'\`$am_lf]*)
2670 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2673 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2674 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2677 # Do 'set' in a subshell so we don't clobber the current shell's
2678 # arguments. Must try -L first in case configure is actually a
2679 # symlink; some systems play weird games with the mod time of symlinks
2680 # (eg FreeBSD returns the mod time of the symlink's containing
2684 for am_try
in 1 2; do
2685 echo "timestamp, slept: $am_has_slept" > conftest.
file
2686 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2687 if test "$*" = "X"; then
2689 set X
`ls -t "$srcdir/configure" conftest.file`
2691 if test "$*" != "X $srcdir/configure conftest.file" \
2692 && test "$*" != "X conftest.file $srcdir/configure"; then
2694 # If neither matched, then we have a broken ls. This can happen
2695 # if, for instance, CONFIG_SHELL is bash and it inherits a
2696 # broken ls alias from the environment. This has actually
2697 # happened. Such a system could not be considered "sane".
2698 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2699 alias in your environment" "$LINENO" 5
2701 if test "$2" = conftest.
file || test $am_try -eq 2; then
2708 test "$2" = conftest.
file
2714 as_fn_error $?
"newly created file is older than distributed files!
2715 Check your system clock" "$LINENO" 5
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2718 $as_echo "yes" >&6; }
2719 # If we didn't sleep, we still need to ensure time stamps of config.status and
2720 # generated files are strictly newer.
2722 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2729 test "$program_prefix" != NONE
&&
2730 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2731 # Use a double $ so make ignores it.
2732 test "$program_suffix" != NONE
&&
2733 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2734 # Double any \ or $.
2735 # By default was `s,x,x', remove it if useless.
2736 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2737 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2739 # Expand $ac_aux_dir to an absolute path.
2740 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2742 if test x
"${MISSING+set}" != xset
; then
2745 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2747 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2750 # Use eval to expand $SHELL
2751 if eval "$MISSING --is-lightweight"; then
2752 am_missing_run
="$MISSING "
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2756 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2759 if test x
"${install_sh+set}" != xset
; then
2762 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2764 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2768 # Installed binaries are usually stripped using 'strip' when the user
2769 # run "make install-strip". However 'strip' might not be the right
2770 # tool to use in cross-compilation environments, therefore Automake
2771 # will honor the 'STRIP' environment variable to overrule this program.
2772 if test "$cross_compiling" != no
; then
2773 if test -n "$ac_tool_prefix"; then
2774 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2775 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if ${ac_cv_prog_STRIP+:} false
; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$STRIP"; then
2782 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir
=.
2789 for ac_exec_ext
in '' $ac_executable_extensions; do
2790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2791 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 STRIP
=$ac_cv_prog_STRIP
2802 if test -n "$STRIP"; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2804 $as_echo "$STRIP" >&6; }
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2807 $as_echo "no" >&6; }
2812 if test -z "$ac_cv_prog_STRIP"; then
2814 # Extract the first word of "strip", so it can be a program name with args.
2815 set dummy strip
; ac_word
=$2
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2817 $as_echo_n "checking for $ac_word... " >&6; }
2818 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2819 $as_echo_n "(cached) " >&6
2821 if test -n "$ac_ct_STRIP"; then
2822 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir
=.
2829 for ac_exec_ext
in '' $ac_executable_extensions; do
2830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_ac_ct_STRIP
="strip"
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2842 if test -n "$ac_ct_STRIP"; then
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2844 $as_echo "$ac_ct_STRIP" >&6; }
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847 $as_echo "no" >&6; }
2850 if test "x$ac_ct_STRIP" = x
; then
2853 case $cross_compiling:$ac_tool_warned in
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2857 ac_tool_warned
=yes ;;
2862 STRIP
="$ac_cv_prog_STRIP"
2866 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2869 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2870 if test -z "$MKDIR_P"; then
2871 if ${ac_cv_path_mkdir+:} false
; then :
2872 $as_echo_n "(cached) " >&6
2874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2875 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2878 test -z "$as_dir" && as_dir
=.
2879 for ac_prog
in mkdir gmkdir
; do
2880 for ac_exec_ext
in '' $ac_executable_extensions; do
2881 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2882 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2883 'mkdir (GNU coreutils) '* | \
2884 'mkdir (coreutils) '* | \
2885 'mkdir (fileutils) '4.1*)
2886 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2896 test -d .
/--version && rmdir .
/--version
2897 if test "${ac_cv_path_mkdir+set}" = set; then
2898 MKDIR_P
="$ac_cv_path_mkdir -p"
2900 # As a last resort, use the slow shell script. Don't cache a
2901 # value for MKDIR_P within a source directory, because that will
2902 # break other packages using the cache if that directory is
2903 # removed, or if the value is a relative name.
2904 MKDIR_P
="$ac_install_sh -d"
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2908 $as_echo "$MKDIR_P" >&6; }
2910 for ac_prog
in gawk mawk nawk
awk
2912 # Extract the first word of "$ac_prog", so it can be a program name with args.
2913 set dummy
$ac_prog; ac_word
=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if ${ac_cv_prog_AWK+:} false
; then :
2917 $as_echo_n "(cached) " >&6
2919 if test -n "$AWK"; then
2920 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_prog_AWK
="$ac_prog"
2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 if test -n "$AWK"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2942 $as_echo "$AWK" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2949 test -n "$AWK" && break
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2953 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2955 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2956 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2957 $as_echo_n "(cached) " >&6
2959 cat >conftest.
make <<\_ACEOF
2962 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2964 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2965 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2967 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2969 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2973 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2975 $as_echo "yes" >&6; }
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2979 $as_echo "no" >&6; }
2980 SET_MAKE
="MAKE=${MAKE-make}"
2983 rm -rf .tst
2>/dev
/null
2984 mkdir .tst
2>/dev
/null
2985 if test -d .tst
; then
2990 rmdir .tst
2>/dev
/null
2992 # Check whether --enable-silent-rules was given.
2993 if test "${enable_silent_rules+set}" = set; then :
2994 enableval
=$enable_silent_rules;
2997 case $enable_silent_rules in # (((
2998 yes) AM_DEFAULT_VERBOSITY
=0;;
2999 no
) AM_DEFAULT_VERBOSITY
=1;;
3000 *) AM_DEFAULT_VERBOSITY
=1;;
3002 am_make
=${MAKE-make}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3004 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3005 if ${am_cv_make_support_nested_variables+:} false
; then :
3006 $as_echo_n "(cached) " >&6
3008 if $as_echo 'TRUE=$(BAR$(V))
3014 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3015 am_cv_make_support_nested_variables
=yes
3017 am_cv_make_support_nested_variables
=no
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3021 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3022 if test $am_cv_make_support_nested_variables = yes; then
3024 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3026 AM_V
=$AM_DEFAULT_VERBOSITY
3027 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3031 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3032 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3033 # is not polluted with repeated "-I."
3034 am__isrc
=' -I$(srcdir)'
3035 # test to see if srcdir already configured
3036 if test -f $srcdir/config.status
; then
3037 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3041 # test whether we have cygpath
3042 if test -z "$CYGPATH_W"; then
3043 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3044 CYGPATH_W
='cygpath -w'
3051 # Define the identity of the package.
3056 cat >>confdefs.h
<<_ACEOF
3057 #define PACKAGE "$PACKAGE"
3061 cat >>confdefs.h
<<_ACEOF
3062 #define VERSION "$VERSION"
3065 # Some tools Automake needs.
3067 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3070 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3073 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3076 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3079 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3081 # For better backward compatibility. To be removed once Automake 1.9.x
3082 # dies out for good. For more background, see:
3083 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3084 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3085 mkdir_p
='$(MKDIR_P)'
3087 # We need awk for the "check" target (and possibly the TAP driver). The
3088 # system "awk" is bad on some platforms.
3089 # Always define AMTAR for backward compatibility. Yes, it's still used
3090 # in the wild :-( We should find a proper way to deprecate it ...
3094 # We'll loop over all known methods to create a tar archive until one works.
3095 _am_tools
='gnutar pax cpio none'
3097 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3104 # POSIX will say in a future version that running "rm -f" with no argument
3105 # is OK; and we want to be able to make that assumption in our Makefile
3106 # recipes. So use an aggressive probe to check that the usage we want is
3107 # actually supported "in the wild" to an acceptable degree.
3108 # See automake bug#10828.
3109 # To make any issue more visible, cause the running configure to be aborted
3110 # by default if the 'rm' program in use doesn't match our expectations; the
3111 # user can still override this though.
3112 if rm -f && rm -fr && rm -rf; then : OK
; else
3116 Your 'rm' program seems unable to run without file operands specified
3117 on the command line, even when the '-f' option is present. This is contrary
3118 to the behaviour of most rm programs out there, and not conforming with
3119 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3121 Please tell bug-automake@gnu.org about your system, including the value
3122 of your $PATH and any error possibly output before this message. This
3123 can help us improve future automake versions.
3126 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3127 echo 'Configuration will proceed anyway, since you have set the' >&2
3128 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3132 Aborting the configuration process, to ensure you take notice of the issue.
3134 You can download and install GNU coreutils to get an 'rm' implementation
3135 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3137 If you want to complete the configuration process using your problematic
3138 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3139 to "yes", and re-run configure.
3142 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3148 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3149 # Check whether --enable-maintainer-mode was given.
3150 if test "${enable_maintainer_mode+set}" = set; then :
3151 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3153 USE_MAINTAINER_MODE
=no
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3157 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3158 if test $USE_MAINTAINER_MODE = yes; then
3159 MAINTAINER_MODE_TRUE
=
3160 MAINTAINER_MODE_FALSE
='#'
3162 MAINTAINER_MODE_TRUE
='#'
3163 MAINTAINER_MODE_FALSE
=
3166 MAINT
=$MAINTAINER_MODE_TRUE
3171 ac_cpp
='$CPP $CPPFLAGS'
3172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3175 if test -n "$ac_tool_prefix"; then
3176 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3177 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_CC+:} false
; then :
3181 $as_echo_n "(cached) " >&6
3183 if test -n "$CC"; then
3184 ac_cv_prog_CC
="$CC" # Let the user override the test.
3186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir
=.
3191 for ac_exec_ext
in '' $ac_executable_extensions; do
3192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 if test -n "$CC"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3206 $as_echo "$CC" >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3214 if test -z "$ac_cv_prog_CC"; then
3216 # Extract the first word of "gcc", so it can be a program name with args.
3217 set dummy gcc
; ac_word
=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3221 $as_echo_n "(cached) " >&6
3223 if test -n "$ac_ct_CC"; then
3224 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir
=.
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3233 ac_cv_prog_ac_ct_CC
="gcc"
3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3244 if test -n "$ac_ct_CC"; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3246 $as_echo "$ac_ct_CC" >&6; }
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3252 if test "x$ac_ct_CC" = x
; then
3255 case $cross_compiling:$ac_tool_warned in
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3259 ac_tool_warned
=yes ;;
3267 if test -z "$CC"; then
3268 if test -n "$ac_tool_prefix"; then
3269 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3270 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3272 $as_echo_n "checking for $ac_word... " >&6; }
3273 if ${ac_cv_prog_CC+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3276 if test -n "$CC"; then
3277 ac_cv_prog_CC
="$CC" # Let the user override the test.
3279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3283 test -z "$as_dir" && as_dir
=.
3284 for ac_exec_ext
in '' $ac_executable_extensions; do
3285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3286 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 if test -n "$CC"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3299 $as_echo "$CC" >&6; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3302 $as_echo "no" >&6; }
3308 if test -z "$CC"; then
3309 # Extract the first word of "cc", so it can be a program name with args.
3310 set dummy cc
; ac_word
=$2
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if ${ac_cv_prog_CC+:} false
; then :
3314 $as_echo_n "(cached) " >&6
3316 if test -n "$CC"; then
3317 ac_cv_prog_CC
="$CC" # Let the user override the test.
3320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3324 test -z "$as_dir" && as_dir
=.
3325 for ac_exec_ext
in '' $ac_executable_extensions; do
3326 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3327 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3328 ac_prog_rejected
=yes
3332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3339 if test $ac_prog_rejected = yes; then
3340 # We found a bogon in the path, so make sure we never use it.
3341 set dummy
$ac_cv_prog_CC
3343 if test $# != 0; then
3344 # We chose a different compiler from the bogus one.
3345 # However, it has the same basename, so the bogon will be chosen
3346 # first if we set CC to just the basename; use the full file name.
3348 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3354 if test -n "$CC"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3356 $as_echo "$CC" >&6; }
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3364 if test -z "$CC"; then
3365 if test -n "$ac_tool_prefix"; then
3366 for ac_prog
in cl.exe
3368 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3369 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3371 $as_echo_n "checking for $ac_word... " >&6; }
3372 if ${ac_cv_prog_CC+:} false
; then :
3373 $as_echo_n "(cached) " >&6
3375 if test -n "$CC"; then
3376 ac_cv_prog_CC
="$CC" # Let the user override the test.
3378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3382 test -z "$as_dir" && as_dir
=.
3383 for ac_exec_ext
in '' $ac_executable_extensions; do
3384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3385 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 if test -n "$CC"; then
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3398 $as_echo "$CC" >&6; }
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3401 $as_echo "no" >&6; }
3405 test -n "$CC" && break
3408 if test -z "$CC"; then
3410 for ac_prog
in cl.exe
3412 # Extract the first word of "$ac_prog", so it can be a program name with args.
3413 set dummy
$ac_prog; ac_word
=$2
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3415 $as_echo_n "checking for $ac_word... " >&6; }
3416 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3417 $as_echo_n "(cached) " >&6
3419 if test -n "$ac_ct_CC"; then
3420 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3426 test -z "$as_dir" && as_dir
=.
3427 for ac_exec_ext
in '' $ac_executable_extensions; do
3428 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3429 ac_cv_prog_ac_ct_CC
="$ac_prog"
3430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3440 if test -n "$ac_ct_CC"; then
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3442 $as_echo "$ac_ct_CC" >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445 $as_echo "no" >&6; }
3449 test -n "$ac_ct_CC" && break
3452 if test "x$ac_ct_CC" = x
; then
3455 case $cross_compiling:$ac_tool_warned in
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3459 ac_tool_warned
=yes ;;
3468 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470 as_fn_error $?
"no acceptable C compiler found in \$PATH
3471 See \`config.log' for more details" "$LINENO" 5; }
3473 # Provide some information about the compiler.
3474 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3477 for ac_option
in --version -v -V -qversion; do
3478 { { ac_try
="$ac_compiler $ac_option >&5"
3480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3481 *) ac_try_echo=$ac_try;;
3483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484 $as_echo "$ac_try_echo"; } >&5
3485 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3487 if test -s conftest.err; then
3489 ... rest of stderr output deleted ...
3490 10q' conftest.err >conftest.er1
3491 cat conftest.er1 >&5
3493 rm -f conftest.er1 conftest.err
3494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495 test $ac_status = 0; }
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3509 ac_clean_files_save=$ac_clean_files
3510 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3511 # Try to create an executable without -o first, disregard a.out.
3512 # It will help us diagnose broken compilers, and finding out an intuition
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3515 $as_echo_n "checking whether the C compiler works... " >&6; }
3516 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3518 # The possible output files:
3519 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3522 for ac_file in $ac_files
3525 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3526 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3531 if { { ac_try="$ac_link_default"
3533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3534 *) ac_try_echo
=$ac_try;;
3536 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537 $as_echo "$ac_try_echo"; } >&5
3538 (eval "$ac_link_default") 2>&5
3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }; then :
3542 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3543 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3544 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3545 # so that the user can short-circuit this test for compilers unknown to
3547 for ac_file
in $ac_files ''
3549 test -f "$ac_file" || continue
3551 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3554 # We found the default executable, but exeext='' is most
3558 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3560 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3562 # We set ac_cv_exeext here because the later test for it is not
3563 # safe: cross compilers may not add the suffix if given an `-o'
3564 # argument, so we may need to know it at that point already.
3565 # Even if this section looks crufty: it has the advantage of
3572 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3577 if test -z "$ac_file"; then :
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3580 $as_echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.
$ac_ext >&5
3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3585 as_fn_error
77 "C compiler cannot create executables
3586 See \`config.log' for more details" "$LINENO" 5; }
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3589 $as_echo "yes" >&6; }
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3592 $as_echo_n "checking for C compiler default output file name... " >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3594 $as_echo "$ac_file" >&6; }
3595 ac_exeext
=$ac_cv_exeext
3597 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3598 ac_clean_files
=$ac_clean_files_save
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3600 $as_echo_n "checking for suffix of executables... " >&6; }
3601 if { { ac_try
="$ac_link"
3603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3607 $as_echo "$ac_try_echo"; } >&5
3608 (eval "$ac_link") 2>&5
3610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3611 test $ac_status = 0; }; then :
3612 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3613 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3614 # work properly (i.e., refer to `conftest.exe'), while it won't with
3616 for ac_file
in conftest.exe conftest conftest.
*; do
3617 test -f "$ac_file" || continue
3619 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3620 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3628 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3629 See \`config.log' for more details" "$LINENO" 5; }
3631 rm -f conftest conftest
$ac_cv_exeext
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3633 $as_echo "$ac_cv_exeext" >&6; }
3635 rm -f conftest.
$ac_ext
3636 EXEEXT
=$ac_cv_exeext
3638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3639 /* end confdefs.h. */
3644 FILE *f = fopen ("conftest.out", "w");
3645 return ferror (f) || fclose (f) != 0;
3651 ac_clean_files
="$ac_clean_files conftest.out"
3652 # Check that the compiler produces executables we can run. If not, either
3653 # the compiler is broken, or we cross compile.
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3655 $as_echo_n "checking whether we are cross compiling... " >&6; }
3656 if test "$cross_compiling" != yes; then
3657 { { ac_try
="$ac_link"
3659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3660 *) ac_try_echo=$ac_try;;
3662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3663 $as_echo "$ac_try_echo"; } >&5
3664 (eval "$ac_link") 2>&5
3666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3667 test $ac_status = 0; }
3668 if { ac_try='./conftest$ac_cv_exeext'
3669 { { case "(($ac_try" in
3670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3671 *) ac_try_echo
=$ac_try;;
3673 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3674 $as_echo "$ac_try_echo"; } >&5
3675 (eval "$ac_try") 2>&5
3677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3678 test $ac_status = 0; }; }; then
3681 if test "$cross_compiling" = maybe
; then
3684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3686 as_fn_error $?
"cannot run C compiled programs.
3687 If you meant to cross compile, use \`--host'.
3688 See \`config.log' for more details" "$LINENO" 5; }
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3693 $as_echo "$cross_compiling" >&6; }
3695 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3696 ac_clean_files
=$ac_clean_files_save
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3698 $as_echo_n "checking for suffix of object files... " >&6; }
3699 if ${ac_cv_objext+:} false
; then :
3700 $as_echo_n "(cached) " >&6
3702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3713 rm -f conftest.o conftest.obj
3714 if { { ac_try
="$ac_compile"
3716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3717 *) ac_try_echo=$ac_try;;
3719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3720 $as_echo "$ac_try_echo"; } >&5
3721 (eval "$ac_compile") 2>&5
3723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3724 test $ac_status = 0; }; then :
3725 for ac_file in conftest.o conftest.obj conftest.*; do
3726 test -f "$ac_file" || continue;
3728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3729 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3734 $as_echo "$as_me: failed program was:" >&5
3735 sed 's/^/| /' conftest.$ac_ext >&5
3737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3739 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3740 See \
`config.log' for more details" "$LINENO" 5; }
3742 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3745 $as_echo "$ac_cv_objext" >&6; }
3746 OBJEXT=$ac_cv_objext
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3749 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3750 if ${ac_cv_c_compiler_gnu+:} false; then :
3751 $as_echo_n "(cached) " >&6
3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3754 /* end confdefs.h. */
3767 if ac_fn_c_try_compile "$LINENO"; then :
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3777 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3778 if test $ac_compiler_gnu = yes; then
3783 ac_test_CFLAGS=${CFLAGS+set}
3784 ac_save_CFLAGS=$CFLAGS
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3786 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3787 if ${ac_cv_prog_cc_g+:} false; then :
3788 $as_echo_n "(cached) " >&6
3790 ac_save_c_werror_flag=$ac_c_werror_flag
3791 ac_c_werror_flag=yes
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3805 if ac_fn_c_try_compile "$LINENO"; then :
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 if ac_fn_c_try_compile "$LINENO"; then :
3823 ac_c_werror_flag=$ac_save_c_werror_flag
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3836 if ac_fn_c_try_compile "$LINENO"; then :
3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 ac_c_werror_flag=$ac_save_c_werror_flag
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3847 $as_echo "$ac_cv_prog_cc_g" >&6; }
3848 if test "$ac_test_CFLAGS" = set; then
3849 CFLAGS=$ac_save_CFLAGS
3850 elif test $ac_cv_prog_cc_g = yes; then
3851 if test "$GCC" = yes; then
3857 if test "$GCC" = yes; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3864 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3865 if ${ac_cv_prog_cc_c89+:} false; then :
3866 $as_echo_n "(cached) " >&6
3868 ac_cv_prog_cc_c89=no
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3876 struct buf { int x; };
3877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3878 static char *e (p, i)
3884 static char *f (char * (*g) (char **, int), char **p, ...)
3889 s = g (p, va_arg (v,int));
3894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3895 function prototypes and stuff, but not '\xHH' hex character constants.
3896 These don't provoke an error unfortunately, instead are silently treated
3897 as 'x'. The following induces an error, until -std is added to get
3898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3899 array size at least. It's necessary to write '\x00'==0 to get something
3900 that's true only with -std. */
3901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3904 inside strings and character constants. */
3906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3908 int test (int i, double x);
3909 struct s1 {int (*f) (int a);};
3910 struct s2 {int (*f) (double a);};
3911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3925 CC="$ac_save_CC $ac_arg"
3926 if ac_fn_c_try_compile "$LINENO"; then :
3927 ac_cv_prog_cc_c89=$ac_arg
3929 rm -f core conftest.err conftest.$ac_objext
3930 test "x$ac_cv_prog_cc_c89" != "xno" && break
3932 rm -f conftest.$ac_ext
3937 case "x$ac_cv_prog_cc_c89" in
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3940 $as_echo "none needed" >&6; } ;;
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3943 $as_echo "unsupported" >&6; } ;;
3945 CC="$CC $ac_cv_prog_cc_c89"
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3947 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3949 if test "x$ac_cv_prog_cc_c89" != xno; then :
3954 ac_cpp='$CPP $CPPFLAGS'
3955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3960 ac_cpp='$CPP $CPPFLAGS'
3961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3965 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3966 if ${am_cv_prog_cc_c_o+:} false; then :
3967 $as_echo_n "(cached) " >&6
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3980 # Make sure it works both with $CC and with simple cc.
3981 # Following AC_PROG_CC_C_O, we do the test twice because some
3982 # compilers refuse to overwrite an existing .o file with -o,
3983 # though they will create one.
3984 am_cv_prog_cc_c_o=yes
3986 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3987 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } \
3991 && test -f conftest2.$ac_objext; then
3994 am_cv_prog_cc_c_o=no
3998 rm -f core conftest*
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4002 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4003 if test "$am_cv_prog_cc_c_o" != yes; then
4004 # Losing compiler, so override with the script.
4005 # FIXME: It is wrong to rewrite CC.
4006 # But if we don't then we get into trouble of one sort or another.
4007 # A longer-term fix would be to have automake use am__CC in this case,
4008 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4009 CC="$am_aux_dir/compile $CC"
4012 ac_cpp='$CPP $CPPFLAGS'
4013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4017 DEPDIR="${am__leading_dot}deps"
4019 ac_config_commands="$ac_config_commands depfiles"
4022 am_make=${MAKE-make}
4023 cat > confinc << 'END'
4025 @echo this is the am__doit target
4028 # If we don't find an include directive, just comment out the code.
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4030 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4034 # First try GNU make style include.
4035 echo "include confinc" > confmf
4036 # Ignore all kinds of additional output from 'make'.
4037 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4038 *the\ am__doit\ target*)
4044 # Now try BSD make style include.
4045 if test "$am__include" = "#"; then
4046 echo '.include "confinc"' > confmf
4047 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4048 *the\ am__doit\ target*)
4049 am__include=.include
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4058 $as_echo "$_am_result" >&6; }
4059 rm -f confinc confmf
4061 # Check whether --enable-dependency-tracking was given.
4062 if test "${enable_dependency_tracking+set}" = set; then :
4063 enableval=$enable_dependency_tracking;
4066 if test "x$enable_dependency_tracking" != xno; then
4067 am_depcomp="$ac_aux_dir/depcomp"
4071 if test "x$enable_dependency_tracking" != xno; then
4081 depcc="$CC" am_compiler_list=
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4084 $as_echo_n "checking dependency style of $depcc... " >&6; }
4085 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4086 $as_echo_n "(cached) " >&6
4088 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4089 # We make a subdir and do the tests there. Otherwise we can end up
4090 # making bogus files that we don't know about and never remove. For
4091 # instance it was reported that on HP-UX the gcc test will end up
4092 # making a dummy file named 'D' -- because '-MD' means "put the output
4096 # Copy depcomp to subdir because otherwise we won't find it if we're
4097 # using a relative directory.
4098 cp "$am_depcomp" conftest.dir
4100 # We will build objects and dependencies in a subdirectory because
4101 # it helps to detect inapplicable dependency modes. For instance
4102 # both Tru64's cc and ICC support -MD to output dependencies as a
4103 # side effect of compilation, but ICC will put the dependencies in
4104 # the current directory while Tru64 will put them in the object
4108 am_cv_CC_dependencies_compiler_type=none
4109 if test "$am_compiler_list" = ""; then
4110 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4113 case " $depcc " in #(
4114 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4117 for depmode in $am_compiler_list; do
4118 # Setup a source with many dependencies, because some compilers
4119 # like to wrap large dependency lists on column 80 (with \), and
4120 # we should not choose a depcomp mode which is confused by this.
4122 # We need to recreate these files for each test, as the compiler may
4123 # overwrite some of them when testing with obscure command lines.
4124 # This happens at least with the AIX C compiler.
4126 for i in 1 2 3 4 5 6; do
4127 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4128 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4129 # Solaris 10 /bin/sh.
4130 echo '/* dummy */' > sub/conftst$i.h
4132 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4134 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4135 # mode. It turns out that the SunPro C++ compiler does not properly
4136 # handle '-M -o', and we need to detect this. Also, some Intel
4137 # versions had trouble with output in subdirs.
4138 am__obj=sub/conftest.${OBJEXT-o}
4139 am__minus_obj="-o $am__obj"
4142 # This depmode causes a compiler race in universal mode.
4143 test "$am__universal" = false || continue
4146 # After this tag, mechanisms are not by side-effect, so they'll
4147 # only be used when explicitly requested.
4148 if test "x$enable_dependency_tracking" = xyes; then
4154 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4155 # This compiler won't grok '-c -o', but also, the minuso test has
4156 # not run yet. These depmodes are late enough in the game, and
4157 # so weak that their functioning should not be impacted.
4158 am__obj=conftest.${OBJEXT-o}
4163 if depmode=$depmode \
4164 source=sub/conftest.c object=$am__obj \
4165 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4166 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4167 >/dev/null 2>conftest.err &&
4168 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4169 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4170 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4171 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4172 # icc doesn't choke on unknown options, it will just issue warnings
4173 # or remarks (even with -Werror). So we grep stderr for any message
4174 # that says an option was ignored or not supported.
4175 # When given -MP, icc 7.0 and 7.1 complain thusly:
4176 # icc: Command line warning: ignoring option '-M'; no argument required
4177 # The diagnosis changed in icc 8.0:
4178 # icc: Command line remark: option '-MP' not supported
4179 if (grep 'ignoring option' conftest.err ||
4180 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4181 am_cv_CC_dependencies_compiler_type=$depmode
4190 am_cv_CC_dependencies_compiler_type=none
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4195 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4196 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4199 test "x$enable_dependency_tracking" != xno \
4200 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4202 am__fastdepCC_FALSE='#'
4204 am__fastdepCC_TRUE='#'
4205 am__fastdepCC_FALSE=
4210 ac_cpp='$CXXCPP $CPPFLAGS'
4211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4214 if test -z "$CXX"; then
4215 if test -n "$CCC"; then
4218 if test -n "$ac_tool_prefix"; then
4219 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if ${ac_cv_prog_CXX+:} false; then :
4226 $as_echo_n "(cached) " >&6
4228 if test -n "$CXX"; then
4229 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir=.
4236 for ac_exec_ext in '' $ac_executable_extensions; do
4237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4238 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 if test -n "$CXX"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4251 $as_echo "$CXX" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4258 test -n "$CXX" && break
4261 if test -z "$CXX"; then
4263 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4265 # Extract the first word of "$ac_prog", so it can be a program name with args.
4266 set dummy $ac_prog; ac_word=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4270 $as_echo_n "(cached) " >&6
4272 if test -n "$ac_ct_CXX"; then
4273 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir=.
4280 for ac_exec_ext in '' $ac_executable_extensions; do
4281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4282 ac_cv_prog_ac_ct_CXX="$ac_prog"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4293 if test -n "$ac_ct_CXX"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4295 $as_echo "$ac_ct_CXX" >&6; }
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4302 test -n "$ac_ct_CXX" && break
4305 if test "x$ac_ct_CXX" = x; then
4308 case $cross_compiling:$ac_tool_warned in
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4312 ac_tool_warned=yes ;;
4320 # Provide some information about the compiler.
4321 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4324 for ac_option in --version -v -V -qversion; do
4325 { { ac_try="$ac_compiler $ac_option >&5"
4327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4328 *) ac_try_echo
=$ac_try;;
4330 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4331 $as_echo "$ac_try_echo"; } >&5
4332 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4334 if test -s conftest.err
; then
4336 ... rest of stderr output deleted ...
4337 10q' conftest.err
>conftest.er1
4338 cat conftest.er1
>&5
4340 rm -f conftest.er1 conftest.err
4341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4346 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4347 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4348 $as_echo_n "(cached) " >&6
4350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4364 if ac_fn_cxx_try_compile
"$LINENO"; then :
4369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4370 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4374 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4375 if test $ac_compiler_gnu = yes; then
4380 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4381 ac_save_CXXFLAGS
=$CXXFLAGS
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4383 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4384 if ${ac_cv_prog_cxx_g+:} false
; then :
4385 $as_echo_n "(cached) " >&6
4387 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4388 ac_cxx_werror_flag
=yes
4391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4402 if ac_fn_cxx_try_compile
"$LINENO"; then :
4403 ac_cv_prog_cxx_g
=yes
4406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4417 if ac_fn_cxx_try_compile
"$LINENO"; then :
4420 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4433 if ac_fn_cxx_try_compile
"$LINENO"; then :
4434 ac_cv_prog_cxx_g
=yes
4436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4441 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4444 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4445 if test "$ac_test_CXXFLAGS" = set; then
4446 CXXFLAGS
=$ac_save_CXXFLAGS
4447 elif test $ac_cv_prog_cxx_g = yes; then
4448 if test "$GXX" = yes; then
4454 if test "$GXX" = yes; then
4461 ac_cpp
='$CPP $CPPFLAGS'
4462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4466 depcc
="$CXX" am_compiler_list
=
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4469 $as_echo_n "checking dependency style of $depcc... " >&6; }
4470 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4471 $as_echo_n "(cached) " >&6
4473 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4474 # We make a subdir and do the tests there. Otherwise we can end up
4475 # making bogus files that we don't know about and never remove. For
4476 # instance it was reported that on HP-UX the gcc test will end up
4477 # making a dummy file named 'D' -- because '-MD' means "put the output
4481 # Copy depcomp to subdir because otherwise we won't find it if we're
4482 # using a relative directory.
4483 cp "$am_depcomp" conftest.dir
4485 # We will build objects and dependencies in a subdirectory because
4486 # it helps to detect inapplicable dependency modes. For instance
4487 # both Tru64's cc and ICC support -MD to output dependencies as a
4488 # side effect of compilation, but ICC will put the dependencies in
4489 # the current directory while Tru64 will put them in the object
4493 am_cv_CXX_dependencies_compiler_type
=none
4494 if test "$am_compiler_list" = ""; then
4495 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4498 case " $depcc " in #(
4499 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4502 for depmode
in $am_compiler_list; do
4503 # Setup a source with many dependencies, because some compilers
4504 # like to wrap large dependency lists on column 80 (with \), and
4505 # we should not choose a depcomp mode which is confused by this.
4507 # We need to recreate these files for each test, as the compiler may
4508 # overwrite some of them when testing with obscure command lines.
4509 # This happens at least with the AIX C compiler.
4511 for i
in 1 2 3 4 5 6; do
4512 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4513 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4514 # Solaris 10 /bin/sh.
4515 echo '/* dummy */' > sub
/conftst
$i.h
4517 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4519 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4520 # mode. It turns out that the SunPro C++ compiler does not properly
4521 # handle '-M -o', and we need to detect this. Also, some Intel
4522 # versions had trouble with output in subdirs.
4523 am__obj
=sub
/conftest.
${OBJEXT-o}
4524 am__minus_obj
="-o $am__obj"
4527 # This depmode causes a compiler race in universal mode.
4528 test "$am__universal" = false
|| continue
4531 # After this tag, mechanisms are not by side-effect, so they'll
4532 # only be used when explicitly requested.
4533 if test "x$enable_dependency_tracking" = xyes
; then
4539 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4540 # This compiler won't grok '-c -o', but also, the minuso test has
4541 # not run yet. These depmodes are late enough in the game, and
4542 # so weak that their functioning should not be impacted.
4543 am__obj
=conftest.
${OBJEXT-o}
4548 if depmode
=$depmode \
4549 source=sub
/conftest.c object
=$am__obj \
4550 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4551 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4552 >/dev
/null
2>conftest.err
&&
4553 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4554 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4555 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4556 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4557 # icc doesn't choke on unknown options, it will just issue warnings
4558 # or remarks (even with -Werror). So we grep stderr for any message
4559 # that says an option was ignored or not supported.
4560 # When given -MP, icc 7.0 and 7.1 complain thusly:
4561 # icc: Command line warning: ignoring option '-M'; no argument required
4562 # The diagnosis changed in icc 8.0:
4563 # icc: Command line remark: option '-MP' not supported
4564 if (grep 'ignoring option' conftest.err
||
4565 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4566 am_cv_CXX_dependencies_compiler_type
=$depmode
4575 am_cv_CXX_dependencies_compiler_type
=none
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4580 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4581 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4584 test "x$enable_dependency_tracking" != xno \
4585 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4586 am__fastdepCXX_TRUE
=
4587 am__fastdepCXX_FALSE
='#'
4589 am__fastdepCXX_TRUE
='#'
4590 am__fastdepCXX_FALSE
=
4595 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4596 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4599 if test -n "$ac_tool_prefix"; then
4600 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4603 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_OBJCXX+:} false
; then :
4607 $as_echo_n "(cached) " >&6
4609 if test -n "$OBJCXX"; then
4610 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir
=.
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 OBJCXX
=$ac_cv_prog_OBJCXX
4630 if test -n "$OBJCXX"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4632 $as_echo "$OBJCXX" >&6; }
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 test -n "$OBJCXX" && break
4642 if test -z "$OBJCXX"; then
4643 ac_ct_OBJCXX
=$OBJCXX
4644 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4646 # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy
$ac_prog; ac_word
=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$ac_ct_OBJCXX"; then
4654 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4674 if test -n "$ac_ct_OBJCXX"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4676 $as_echo "$ac_ct_OBJCXX" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$ac_ct_OBJCXX" && break
4686 if test "x$ac_ct_OBJCXX" = x
; then
4689 case $cross_compiling:$ac_tool_warned in
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4693 ac_tool_warned
=yes ;;
4695 OBJCXX
=$ac_ct_OBJCXX
4699 # Provide some information about the compiler.
4700 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4703 for ac_option
in --version -v -V -qversion; do
4704 { { ac_try
="$ac_compiler $ac_option >&5"
4706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4710 $as_echo "$ac_try_echo"; } >&5
4711 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4713 if test -s conftest.err; then
4715 ... rest of stderr output deleted ...
4716 10q' conftest.err >conftest.er1
4717 cat conftest.er1 >&5
4719 rm -f conftest.er1 conftest.err
4720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4721 test $ac_status = 0; }
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4725 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4726 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4727 $as_echo_n "(cached) " >&6
4729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4743 if ac_fn_objcxx_try_compile "$LINENO"; then :
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4753 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4754 if test $ac_compiler_gnu = yes; then
4759 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4760 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4762 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4763 if ${ac_cv_prog_objcxx_g+:} false; then :
4764 $as_echo_n "(cached) " >&6
4766 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4767 ac_objcxx_werror_flag=yes
4768 ac_cv_prog_objcxx_g=no
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4781 if ac_fn_objcxx_try_compile "$LINENO"; then :
4782 ac_cv_prog_objcxx_g=yes
4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4786 /* end confdefs.h. */
4796 if ac_fn_objcxx_try_compile "$LINENO"; then :
4799 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4812 if ac_fn_objcxx_try_compile "$LINENO"; then :
4813 ac_cv_prog_objcxx_g=yes
4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4820 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4823 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4824 if test "$ac_test_OBJCXXFLAGS" = set; then
4825 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4826 elif test $ac_cv_prog_objcxx_g = yes; then
4827 if test "$GOBJCXX" = yes; then
4828 OBJCXXFLAGS="-g -O2"
4833 if test "$GOBJCXX" = yes; then
4840 ac_cpp='$CPP $CPPFLAGS'
4841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4845 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4848 $as_echo_n "checking dependency style of $depcc... " >&6; }
4849 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4850 $as_echo_n "(cached) " >&6
4852 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4853 # We make a subdir and do the tests there. Otherwise we can end up
4854 # making bogus files that we don't know about and never remove. For
4855 # instance it was reported that on HP-UX the gcc test will end up
4856 # making a dummy file named 'D' -- because '-MD' means "put the output
4860 # Copy depcomp to subdir because otherwise we won't find it if we're
4861 # using a relative directory.
4862 cp "$am_depcomp" conftest.dir
4864 # We will build objects and dependencies in a subdirectory because
4865 # it helps to detect inapplicable dependency modes. For instance
4866 # both Tru64's cc and ICC support -MD to output dependencies as a
4867 # side effect of compilation, but ICC will put the dependencies in
4868 # the current directory while Tru64 will put them in the object
4872 am_cv_OBJCXX_dependencies_compiler_type=none
4873 if test "$am_compiler_list" = ""; then
4874 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4879 for depmode in $am_compiler_list; do
4880 # Setup a source with many dependencies, because some compilers
4881 # like to wrap large dependency lists on column 80 (with \), and
4882 # we should not choose a depcomp mode which is confused by this.
4884 # We need to recreate these files for each test, as the compiler may
4885 # overwrite some of them when testing with obscure command lines.
4886 # This happens at least with the AIX C compiler.
4888 for i in 1 2 3 4 5 6; do
4889 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4890 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4891 # Solaris 10 /bin/sh.
4892 echo '/* dummy */' > sub/conftst$i.h
4894 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4896 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4897 # mode. It turns out that the SunPro C++ compiler does not properly
4898 # handle '-M -o', and we need to detect this. Also, some Intel
4899 # versions had trouble with output in subdirs.
4900 am__obj=sub/conftest.${OBJEXT-o}
4901 am__minus_obj="-o $am__obj"
4904 # This depmode causes a compiler race in universal mode.
4905 test "$am__universal" = false || continue
4908 # After this tag, mechanisms are not by side-effect, so they'll
4909 # only be used when explicitly requested.
4910 if test "x$enable_dependency_tracking" = xyes; then
4916 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4917 # This compiler won't grok '-c -o', but also, the minuso test has
4918 # not run yet. These depmodes are late enough in the game, and
4919 # so weak that their functioning should not be impacted.
4920 am__obj=conftest.${OBJEXT-o}
4925 if depmode=$depmode \
4926 source=sub/conftest.c object=$am__obj \
4927 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4928 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4929 >/dev/null 2>conftest.err &&
4930 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4931 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4932 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4933 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4934 # icc doesn't choke on unknown options, it will just issue warnings
4935 # or remarks (even with -Werror). So we grep stderr for any message
4936 # that says an option was ignored or not supported.
4937 # When given -MP, icc 7.0 and 7.1 complain thusly:
4938 # icc: Command line warning: ignoring option '-M'; no argument required
4939 # The diagnosis changed in icc 8.0:
4940 # icc: Command line remark: option '-MP' not supported
4941 if (grep 'ignoring option' conftest.err ||
4942 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4943 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4952 am_cv_OBJCXX_dependencies_compiler_type=none
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4957 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4958 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4961 test "x$enable_dependency_tracking" != xno \
4962 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4963 am__fastdepOBJCXX_TRUE=
4964 am__fastdepOBJCXX_FALSE='#'
4966 am__fastdepOBJCXX_TRUE='#'
4967 am__fastdepOBJCXX_FALSE=
4973 if test -n "$ac_tool_prefix"; then
4974 for ac_prog in ar lib "link -lib"
4976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if ${ac_cv_prog_AR+:} false; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$AR"; then
4984 ac_cv_prog_AR="$AR" # Let the user override the test.
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 if test -n "$AR"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5006 $as_echo "$AR" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 test -n "$AR" && break
5016 if test -z "$AR"; then
5018 for ac_prog in ar lib "link -lib"
5020 # Extract the first word of "$ac_prog", so it can be a program name with args.
5021 set dummy $ac_prog; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -n "$ac_ct_AR"; then
5028 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_ac_ct_AR="$ac_prog"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5048 if test -n "$ac_ct_AR"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5050 $as_echo "$ac_ct_AR" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5057 test -n "$ac_ct_AR" && break
5060 if test "x$ac_ct_AR" = x; then
5063 case $cross_compiling:$ac_tool_warned in
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5067 ac_tool_warned=yes ;;
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5076 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5077 if ${am_cv_ar_interface+:} false; then :
5078 $as_echo_n "(cached) " >&6
5081 ac_cpp='$CPP $CPPFLAGS'
5082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5086 am_cv_ar_interface=ar
5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5089 int some_variable = 0;
5091 if ac_fn_c_try_compile "$LINENO"; then :
5092 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5093 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5094 (eval $am_ar_try) 2>&5
5096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5097 test $ac_status = 0; }
5098 if test "$ac_status" -eq 0; then
5099 am_cv_ar_interface=ar
5101 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5102 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5103 (eval $am_ar_try) 2>&5
5105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5106 test $ac_status = 0; }
5107 if test "$ac_status" -eq 0; then
5108 am_cv_ar_interface=lib
5110 am_cv_ar_interface=unknown
5113 rm -f conftest.lib libconftest.a
5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5118 ac_cpp='$CPP $CPPFLAGS'
5119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5125 $as_echo "$am_cv_ar_interface" >&6; }
5127 case $am_cv_ar_interface in
5131 # Microsoft lib, so override with the ar-lib wrapper script.
5132 # FIXME: It is wrong to rewrite AR.
5133 # But if we don't then we get into trouble of one sort or another.
5134 # A longer-term fix would be to have automake use am__AR in this case,
5135 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5137 AR="$am_aux_dir/ar-lib $AR"
5140 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5149 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5154 macro_version='2.4.6'
5155 macro_revision='2.4.6'
5169 ltmain=$ac_aux_dir/ltmain.sh
5171 # Make sure we can run config.sub.
5172 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5173 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5176 $as_echo_n "checking build system type... " >&6; }
5177 if ${ac_cv_build+:} false; then :
5178 $as_echo_n "(cached) " >&6
5180 ac_build_alias=$build_alias
5181 test "x$ac_build_alias" = x &&
5182 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5183 test "x$ac_build_alias" = x &&
5184 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5185 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5186 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5190 $as_echo "$ac_cv_build" >&6; }
5191 case $ac_cv_build in
5193 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5196 ac_save_IFS=$IFS; IFS='-'
5202 # Remember, the first character of IFS is used to create $*,
5203 # except with old shells:
5206 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5210 $as_echo_n "checking host system type... " >&6; }
5211 if ${ac_cv_host+:} false; then :
5212 $as_echo_n "(cached) " >&6
5214 if test "x$host_alias" = x; then
5215 ac_cv_host=$ac_cv_build
5217 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5218 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5223 $as_echo "$ac_cv_host" >&6; }
5226 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5229 ac_save_IFS=$IFS; IFS='-'
5235 # Remember, the first character of IFS is used to create $*,
5236 # except with old shells:
5239 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5242 # Backslashify metacharacters that are still active within
5243 # double-quoted strings.
5244 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5246 # Same as above, but do not quote variable references.
5247 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5249 # Sed substitution to delay expansion of an escaped shell variable in a
5250 # double_quote_subst'ed string.
5251 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5253 # Sed substitution to delay expansion of an escaped single quote.
5254 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5256 # Sed substitution to avoid accidental globbing in evaled expressions
5257 no_glob_subst='s/\*/\\\*/g'
5259 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5260 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5261 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5264 $as_echo_n "checking how to print
strings...
" >&6; }
5265 # Test print first, because it will be a builtin if present.
5266 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5267 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5269 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5272 # Use this function as a fallback that always works.
5273 func_fallback_echo ()
5275 eval 'cat <<_LTECHO_EOF
5279 ECHO='func_fallback_echo'
5282 # func_echo_all arg...
5283 # Invoke $ECHO with all args, space-separated.
5290 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5291 $as_echo "printf" >&6; } ;;
5292 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5293 $as_echo "print
-r" >&6; } ;;
5294 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5295 $as_echo "cat" >&6; } ;;
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5312 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5313 if ${ac_cv_path_SED+:} false; then :
5314 $as_echo_n "(cached
) " >&6
5316 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5317 for ac_i in 1 2 3 4 5 6 7; do
5318 ac_script="$ac_script$as_nl$ac_script"
5320 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5321 { ac_script=; unset ac_script;}
5322 if test -z "$SED"; then
5323 ac_path_SED_found=false
5324 # Loop through the user's path and test for each of PROGNAME-LIST
5325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5329 test -z "$as_dir" && as_dir=.
5330 for ac_prog in sed gsed; do
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5333 as_fn_executable_p "$ac_path_SED" || continue
5334 # Check for GNU ac_path_SED and select it if it is found.
5335 # Check for GNU $ac_path_SED
5336 case `"$ac_path_SED" --version 2>&1` in
5338 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5341 $as_echo_n 0123456789 >"conftest.
in"
5344 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5345 mv "conftest.tmp
" "conftest.
in"
5346 cp "conftest.
in" "conftest.
nl"
5347 $as_echo '' >> "conftest.
nl"
5348 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5349 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5350 as_fn_arith $ac_count + 1 && ac_count=$as_val
5351 if test $ac_count -gt ${ac_path_SED_max-0}; then
5352 # Best one so far, save it but keep looking for a better one
5353 ac_cv_path_SED="$ac_path_SED"
5354 ac_path_SED_max=$ac_count
5356 # 10*(2^10) chars as input seems more than enough
5357 test $ac_count -gt 10 && break
5359 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5362 $ac_path_SED_found && break 3
5367 if test -z "$ac_cv_path_SED"; then
5368 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5376 $as_echo "$ac_cv_path_SED" >&6; }
5377 SED="$ac_cv_path_SED"
5380 test -z "$SED" && SED=sed
5381 Xsed="$SED -e 1s
/^X
//"
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5394 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5395 if ${ac_cv_path_GREP+:} false; then :
5396 $as_echo_n "(cached
) " >&6
5398 if test -z "$GREP"; then
5399 ac_path_GREP_found=false
5400 # Loop through the user's path and test for each of PROGNAME-LIST
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5405 test -z "$as_dir" && as_dir=.
5406 for ac_prog in grep ggrep; do
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5409 as_fn_executable_p "$ac_path_GREP" || continue
5410 # Check for GNU ac_path_GREP and select it if it is found.
5411 # Check for GNU $ac_path_GREP
5412 case `"$ac_path_GREP" --version 2>&1` in
5414 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5417 $as_echo_n 0123456789 >"conftest.
in"
5420 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5421 mv "conftest.tmp
" "conftest.
in"
5422 cp "conftest.
in" "conftest.
nl"
5423 $as_echo 'GREP' >> "conftest.
nl"
5424 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5425 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5426 as_fn_arith $ac_count + 1 && ac_count=$as_val
5427 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5428 # Best one so far, save it but keep looking for a better one
5429 ac_cv_path_GREP="$ac_path_GREP"
5430 ac_path_GREP_max=$ac_count
5432 # 10*(2^10) chars as input seems more than enough
5433 test $ac_count -gt 10 && break
5435 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5438 $ac_path_GREP_found && break 3
5443 if test -z "$ac_cv_path_GREP"; then
5444 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5447 ac_cv_path_GREP=$GREP
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5452 $as_echo "$ac_cv_path_GREP" >&6; }
5453 GREP="$ac_cv_path_GREP"
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5457 $as_echo_n "checking
for egrep...
" >&6; }
5458 if ${ac_cv_path_EGREP+:} false; then :
5459 $as_echo_n "(cached
) " >&6
5461 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5462 then ac_cv_path_EGREP="$GREP -E"
5464 if test -z "$EGREP"; then
5465 ac_path_EGREP_found=false
5466 # Loop through the user's path and test for each of PROGNAME-LIST
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5471 test -z "$as_dir" && as_dir=.
5472 for ac_prog in egrep; do
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5475 as_fn_executable_p "$ac_path_EGREP" || continue
5476 # Check for GNU ac_path_EGREP and select it if it is found.
5477 # Check for GNU $ac_path_EGREP
5478 case `"$ac_path_EGREP" --version 2>&1` in
5480 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5483 $as_echo_n 0123456789 >"conftest.
in"
5486 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5487 mv "conftest.tmp
" "conftest.
in"
5488 cp "conftest.
in" "conftest.
nl"
5489 $as_echo 'EGREP' >> "conftest.
nl"
5490 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5491 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5492 as_fn_arith $ac_count + 1 && ac_count=$as_val
5493 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5494 # Best one so far, save it but keep looking for a better one
5495 ac_cv_path_EGREP="$ac_path_EGREP"
5496 ac_path_EGREP_max=$ac_count
5498 # 10*(2^10) chars as input seems more than enough
5499 test $ac_count -gt 10 && break
5501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5504 $ac_path_EGREP_found && break 3
5509 if test -z "$ac_cv_path_EGREP"; then
5510 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5513 ac_cv_path_EGREP=$EGREP
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5519 $as_echo "$ac_cv_path_EGREP" >&6; }
5520 EGREP="$ac_cv_path_EGREP"
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5524 $as_echo_n "checking
for fgrep...
" >&6; }
5525 if ${ac_cv_path_FGREP+:} false; then :
5526 $as_echo_n "(cached
) " >&6
5528 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5529 then ac_cv_path_FGREP="$GREP -F"
5531 if test -z "$FGREP"; then
5532 ac_path_FGREP_found=false
5533 # Loop through the user's path and test for each of PROGNAME-LIST
5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5538 test -z "$as_dir" && as_dir=.
5539 for ac_prog in fgrep; do
5540 for ac_exec_ext in '' $ac_executable_extensions; do
5541 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5542 as_fn_executable_p "$ac_path_FGREP" || continue
5543 # Check for GNU ac_path_FGREP and select it if it is found.
5544 # Check for GNU $ac_path_FGREP
5545 case `"$ac_path_FGREP" --version 2>&1` in
5547 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5550 $as_echo_n 0123456789 >"conftest.
in"
5553 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5554 mv "conftest.tmp
" "conftest.
in"
5555 cp "conftest.
in" "conftest.
nl"
5556 $as_echo 'FGREP' >> "conftest.
nl"
5557 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5558 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5559 as_fn_arith $ac_count + 1 && ac_count=$as_val
5560 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5561 # Best one so far, save it but keep looking for a better one
5562 ac_cv_path_FGREP="$ac_path_FGREP"
5563 ac_path_FGREP_max=$ac_count
5565 # 10*(2^10) chars as input seems more than enough
5566 test $ac_count -gt 10 && break
5568 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5571 $ac_path_FGREP_found && break 3
5576 if test -z "$ac_cv_path_FGREP"; then
5577 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5580 ac_cv_path_FGREP=$FGREP
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5586 $as_echo "$ac_cv_path_FGREP" >&6; }
5587 FGREP="$ac_cv_path_FGREP"
5590 test -z "$GREP" && GREP=grep
5610 # Check whether --with-gnu-ld was given.
5611 if test "${with_gnu_ld+set}" = set; then :
5612 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5618 if test yes = "$GCC"; then
5619 # Check if gcc -print-prog-name=ld gives a path.
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5621 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5624 # gcc leaves a trailing carriage return, which upsets mingw
5625 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5627 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5630 # Accept absolute paths.
5632 re_direlt='/[^/][^/]*/\.\./'
5633 # Canonicalize the pathname of ld
5634 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5635 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5636 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5638 test -z "$LD" && LD=$ac_prog
5641 # If it fails, then pretend we aren't using GCC.
5645 # If it is relative, then search for the first ld in PATH.
5649 elif test yes = "$with_gnu_ld"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5651 $as_echo_n "checking
for GNU ld...
" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5654 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5656 if ${lt_cv_path_LD+:} false; then :
5657 $as_echo_n "(cached
) " >&6
5659 if test -z "$LD"; then
5660 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5661 for ac_dir in $PATH; do
5663 test -z "$ac_dir" && ac_dir=.
5664 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5665 lt_cv_path_LD=$ac_dir/$ac_prog
5666 # Check to see if the program is GNU ld. I'd rather use --version,
5667 # but apparently some variants of GNU ld only accept -v.
5668 # Break only if it was the GNU/non-GNU ld that we prefer.
5669 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5670 *GNU* | *'with BFD'*)
5671 test no != "$with_gnu_ld" && break
5674 test yes != "$with_gnu_ld" && break
5681 lt_cv_path_LD=$LD # Let the user override the test with a path.
5686 if test -n "$LD"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5688 $as_echo "$LD" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5691 $as_echo "no
" >&6; }
5693 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5695 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5696 if ${lt_cv_prog_gnu_ld+:} false; then :
5697 $as_echo_n "(cached
) " >&6
5699 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5700 case `$LD -v 2>&1 </dev/null` in
5701 *GNU* | *'with BFD'*)
5702 lt_cv_prog_gnu_ld=yes
5705 lt_cv_prog_gnu_ld=no
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5710 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5711 with_gnu_ld=$lt_cv_prog_gnu_ld
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5722 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5723 if ${lt_cv_path_NM+:} false; then :
5724 $as_echo_n "(cached
) " >&6
5726 if test -n "$NM"; then
5727 # Let the user override the test.
5730 lt_nm_to_check=${ac_tool_prefix}nm
5731 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5732 lt_nm_to_check="$lt_nm_to_check nm
"
5734 for lt_tmp_nm in $lt_nm_to_check; do
5735 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5736 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5738 test -z "$ac_dir" && ac_dir=.
5739 tmp_nm=$ac_dir/$lt_tmp_nm
5740 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5741 # Check to see if the nm accepts a BSD-compat flag.
5742 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5743 # nm: unknown option "B
" ignored
5744 # Tru64's nm complains that /dev/null is an invalid object file
5745 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5747 mingw*) lt_bad_file=conftest.nm/nofile ;;
5748 *) lt_bad_file=/dev/null ;;
5750 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5751 *$lt_bad_file* | *'Invalid file or object type'*)
5752 lt_cv_path_NM="$tmp_nm -B"
5756 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5758 lt_cv_path_NM="$tmp_nm -p"
5762 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5763 continue # so that we can try to find one that supports BSD flags
5772 : ${lt_cv_path_NM=no}
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5776 $as_echo "$lt_cv_path_NM" >&6; }
5777 if test no != "$lt_cv_path_NM"; then
5780 # Didn't find any BSD compatible name lister, look for dumpbin.
5781 if test -n "$DUMPBIN"; then :
5782 # Let the user override the test.
5784 if test -n "$ac_tool_prefix"; then
5785 for ac_prog in dumpbin "link
-dump"
5787 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5788 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5790 $as_echo_n "checking
for $ac_word...
" >&6; }
5791 if ${ac_cv_prog_DUMPBIN+:} false; then :
5792 $as_echo_n "(cached
) " >&6
5794 if test -n "$DUMPBIN"; then
5795 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 test -z "$as_dir" && as_dir=.
5802 for ac_exec_ext in '' $ac_executable_extensions; do
5803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5804 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5814 DUMPBIN=$ac_cv_prog_DUMPBIN
5815 if test -n "$DUMPBIN"; then
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5817 $as_echo "$DUMPBIN" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5820 $as_echo "no
" >&6; }
5824 test -n "$DUMPBIN" && break
5827 if test -z "$DUMPBIN"; then
5828 ac_ct_DUMPBIN=$DUMPBIN
5829 for ac_prog in dumpbin "link
-dump"
5831 # Extract the first word of "$ac_prog", so it can be a program name with args.
5832 set dummy $ac_prog; ac_word=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5834 $as_echo_n "checking
for $ac_word...
" >&6; }
5835 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5836 $as_echo_n "(cached
) " >&6
5838 if test -n "$ac_ct_DUMPBIN"; then
5839 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5858 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5859 if test -n "$ac_ct_DUMPBIN"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5861 $as_echo "$ac_ct_DUMPBIN" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5864 $as_echo "no
" >&6; }
5868 test -n "$ac_ct_DUMPBIN" && break
5871 if test "x
$ac_ct_DUMPBIN" = x; then
5874 case $cross_compiling:$ac_tool_warned in
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5877 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5878 ac_tool_warned=yes ;;
5880 DUMPBIN=$ac_ct_DUMPBIN
5884 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5886 DUMPBIN="$DUMPBIN -symbols -headers"
5894 if test : != "$DUMPBIN"; then
5898 test -z "$NM" && NM=nm
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5906 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5907 if ${lt_cv_nm_interface+:} false; then :
5908 $as_echo_n "(cached
) " >&6
5910 lt_cv_nm_interface="BSD nm
"
5911 echo "int some_variable
= 0;" > conftest.$ac_ext
5912 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5913 (eval "$ac_compile" 2>conftest.err)
5914 cat conftest.err >&5
5915 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5916 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5917 cat conftest.err >&5
5918 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5919 cat conftest.out >&5
5920 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5921 lt_cv_nm_interface="MS dumpbin
"
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5926 $as_echo "$lt_cv_nm_interface" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5929 $as_echo_n "checking whether
ln -s works...
" >&6; }
5931 if test "$LN_S" = "ln -s"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5933 $as_echo "yes" >&6; }
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5936 $as_echo "no
, using
$LN_S" >&6; }
5939 # find the maximum length of command line arguments
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5941 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5942 if ${lt_cv_sys_max_cmd_len+:} false; then :
5943 $as_echo_n "(cached
) " >&6
5950 # On DJGPP, this test can blow up pretty badly due to problems in libc
5951 # (any single argument exceeding 2000 bytes causes a buffer overrun
5952 # during glob expansion). Even if it were fixed, the result of this
5953 # check would be larger than it should be.
5954 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5958 # Under GNU Hurd, this test is not required because there is
5959 # no limit to the length of command line arguments.
5960 # Libtool will interpret -1 as no limit whatsoever
5961 lt_cv_sys_max_cmd_len=-1;
5964 cygwin* | mingw* | cegcc*)
5965 # On Win9x/ME, this test blows up -- it succeeds, but takes
5966 # about 5 minutes as the teststring grows exponentially.
5967 # Worse, since 9x/ME are not pre-emptively multitasking,
5968 # you end up with a "frozen
" computer, even though with patience
5969 # the test eventually succeeds (with a max line length of 256k).
5970 # Instead, let's just punt: use the minimum linelength reported by
5971 # all of the supported platforms: 8192 (on NT/2K/XP).
5972 lt_cv_sys_max_cmd_len=8192;
5976 # On MiNT this can take a long time and run out of memory.
5977 lt_cv_sys_max_cmd_len=8192;
5981 # On AmigaOS with pdksh, this test takes hours, literally.
5982 # So we just punt and use a minimum line length of 8192.
5983 lt_cv_sys_max_cmd_len=8192;
5986 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5987 # This has been around since 386BSD, at least. Likely further.
5988 if test -x /sbin/sysctl; then
5989 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5990 elif test -x /usr/sbin/sysctl; then
5991 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5993 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5995 # And add a safety zone
5996 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5997 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6001 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6002 lt_cv_sys_max_cmd_len=196608
6006 # The test takes a long time on OS/2.
6007 lt_cv_sys_max_cmd_len=8192
6011 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6012 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6013 # nice to cause kernel panics so lets avoid the loop below.
6014 # First set a reasonable default.
6015 lt_cv_sys_max_cmd_len=16384
6017 if test -x /sbin/sysconfig; then
6018 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6019 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6024 lt_cv_sys_max_cmd_len=102400
6026 sysv5* | sco5v6* | sysv4.2uw2*)
6027 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6028 if test -n "$kargmax"; then
6029 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6031 lt_cv_sys_max_cmd_len=32768
6035 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6036 if test -n "$lt_cv_sys_max_cmd_len" && \
6037 test undefined != "$lt_cv_sys_max_cmd_len"; then
6038 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6039 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6041 # Make teststring a little bigger before we do anything with it.
6042 # a 1K string should be a reasonable start.
6043 for i in 1 2 3 4 5 6 7 8; do
6044 teststring=$teststring$teststring
6046 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6047 # If test is not a shell built-in, we'll probably end up computing a
6048 # maximum length that is only half of the actual maximum length, but
6050 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6051 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6052 test 17 != "$i" # 1/2 MB should be enough
6055 teststring=$teststring$teststring
6057 # Only check the string length outside the loop.
6058 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6060 # Add a significant safety factor because C++ compilers can tack on
6061 # massive amounts of additional arguments before passing them to the
6062 # linker. It appears as though 1/2 is a usable value.
6063 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6070 if test -n "$lt_cv_sys_max_cmd_len"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6072 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6075 $as_echo "none
" >&6; }
6077 max_cmd_len=$lt_cv_sys_max_cmd_len
6088 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6098 # test EBCDIC or ASCII
6099 case `echo X|tr X '\101'` in
6100 A) # ASCII based system
6101 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6102 lt_SP2NL='tr \040 \012'
6103 lt_NL2SP='tr \015\012 \040\040'
6105 *) # EBCDIC based system
6106 lt_SP2NL='tr \100 \n'
6107 lt_NL2SP='tr \r\n \100\100'
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6120 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6121 if ${lt_cv_to_host_file_cmd+:} false; then :
6122 $as_echo_n "(cached
) " >&6
6127 *-*-mingw* ) # actually msys
6128 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6131 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6133 * ) # otherwise, assume *nix
6134 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6140 *-*-mingw* ) # actually msys
6141 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6144 lt_cv_to_host_file_cmd=func_convert_file_noop
6146 * ) # otherwise, assume *nix
6147 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6151 * ) # unhandled hosts (and "normal
" native builds)
6152 lt_cv_to_host_file_cmd=func_convert_file_noop
6158 to_host_file_cmd=$lt_cv_to_host_file_cmd
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6160 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6167 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6168 if ${lt_cv_to_tool_file_cmd+:} false; then :
6169 $as_echo_n "(cached
) " >&6
6171 #assume ordinary cross tools, or native build.
6172 lt_cv_to_tool_file_cmd=func_convert_file_noop
6176 *-*-mingw* ) # actually msys
6177 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6185 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6187 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6194 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6195 if ${lt_cv_ld_reload_flag+:} false; then :
6196 $as_echo_n "(cached
) " >&6
6198 lt_cv_ld_reload_flag='-r'
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6201 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6202 reload_flag=$lt_cv_ld_reload_flag
6203 case $reload_flag in
6205 *) reload_flag=" $reload_flag" ;;
6207 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6209 cygwin* | mingw* | pw32* | cegcc*)
6210 if test yes != "$GCC"; then
6215 if test yes = "$GCC"; then
6216 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6218 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6231 if test -n "$ac_tool_prefix"; then
6232 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6233 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6235 $as_echo_n "checking
for $ac_word...
" >&6; }
6236 if ${ac_cv_prog_OBJDUMP+:} false; then :
6237 $as_echo_n "(cached
) " >&6
6239 if test -n "$OBJDUMP"; then
6240 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6249 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6250 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6259 OBJDUMP=$ac_cv_prog_OBJDUMP
6260 if test -n "$OBJDUMP"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6262 $as_echo "$OBJDUMP" >&6; }
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6265 $as_echo "no
" >&6; }
6270 if test -z "$ac_cv_prog_OBJDUMP"; then
6271 ac_ct_OBJDUMP=$OBJDUMP
6272 # Extract the first word of "objdump
", so it can be a program name with args.
6273 set dummy objdump; ac_word=$2
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6275 $as_echo_n "checking
for $ac_word...
" >&6; }
6276 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6277 $as_echo_n "(cached
) " >&6
6279 if test -n "$ac_ct_OBJDUMP"; then
6280 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6289 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6299 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6300 if test -n "$ac_ct_OBJDUMP"; then
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6302 $as_echo "$ac_ct_OBJDUMP" >&6; }
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6305 $as_echo "no
" >&6; }
6308 if test "x
$ac_ct_OBJDUMP" = x; then
6311 case $cross_compiling:$ac_tool_warned in
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6314 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6315 ac_tool_warned=yes ;;
6317 OBJDUMP=$ac_ct_OBJDUMP
6320 OBJDUMP="$ac_cv_prog_OBJDUMP"
6323 test -z "$OBJDUMP" && OBJDUMP=objdump
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6334 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6335 if ${lt_cv_deplibs_check_method+:} false; then :
6336 $as_echo_n "(cached
) " >&6
6338 lt_cv_file_magic_cmd='$MAGIC_CMD'
6339 lt_cv_file_magic_test_file=
6340 lt_cv_deplibs_check_method='unknown'
6341 # Need to set the preceding variable on all platforms that support
6342 # interlibrary dependencies.
6343 # 'none' -- dependencies not supported.
6344 # 'unknown' -- same as none, but documents that we really don't know.
6345 # 'pass_all' -- all dependencies passed with no checks.
6346 # 'test_compile' -- check by making test program.
6347 # 'file_magic [[regex]]' -- check by looking for files in library path
6348 # that responds to the $file_magic_cmd with a given extended regex.
6349 # If you have 'file' or equivalent on your system and you're not sure
6350 # whether 'pass_all' will *always* work, you probably want this one.
6354 lt_cv_deplibs_check_method=pass_all
6358 lt_cv_deplibs_check_method=pass_all
6362 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6363 lt_cv_file_magic_cmd='/usr/bin/file -L'
6364 lt_cv_file_magic_test_file=/shlib/libc.so
6368 # func_win32_libid is a shell function defined in ltmain.sh
6369 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6370 lt_cv_file_magic_cmd='func_win32_libid'
6374 # Base MSYS/MinGW do not provide the 'file' command needed by
6375 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6376 # unless we find 'file', for example because we are cross-compiling.
6377 if ( file / ) >/dev/null 2>&1; then
6378 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6379 lt_cv_file_magic_cmd='func_win32_libid'
6381 # Keep this pattern in sync with the one in func_win32_libid.
6382 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6383 lt_cv_file_magic_cmd='$OBJDUMP -f'
6388 # use the weaker test based on 'objdump'. See mingw*.
6389 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6390 lt_cv_file_magic_cmd='$OBJDUMP -f'
6393 darwin* | rhapsody*)
6394 lt_cv_deplibs_check_method=pass_all
6397 freebsd* | dragonfly*)
6398 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6401 # Not sure whether the presence of OpenBSD here was a mistake.
6402 # Let's accept both of them until this is cleared up.
6403 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6404 lt_cv_file_magic_cmd=/usr/bin/file
6405 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6409 lt_cv_deplibs_check_method=pass_all
6414 lt_cv_deplibs_check_method=pass_all
6417 hpux10.20* | hpux11*)
6418 lt_cv_file_magic_cmd=/usr/bin/file
6421 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6422 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6425 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]'
6426 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6429 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6430 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6436 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6437 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6440 irix5* | irix6* | nonstopux*)
6442 *-32|*"-32 ") libmagic=32-bit;;
6443 *-n32|*"-n32 ") libmagic=N32;;
6444 *-64|*"-64 ") libmagic=64-bit;;
6445 *) libmagic=never-match;;
6447 lt_cv_deplibs_check_method=pass_all
6450 # This must be glibc/ELF.
6451 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6452 lt_cv_deplibs_check_method=pass_all
6456 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6457 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6459 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6464 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6465 lt_cv_file_magic_cmd=/usr/bin/file
6466 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6470 lt_cv_deplibs_check_method=pass_all
6474 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6475 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6477 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6481 osf3* | osf4* | osf5*)
6482 lt_cv_deplibs_check_method=pass_all
6486 lt_cv_deplibs_check_method=pass_all
6490 lt_cv_deplibs_check_method=pass_all
6493 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6494 lt_cv_deplibs_check_method=pass_all
6498 case $host_vendor in
6500 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]'
6501 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6504 lt_cv_deplibs_check_method=pass_all
6507 lt_cv_file_magic_cmd='/bin/file'
6508 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6511 lt_cv_file_magic_cmd='/bin/file'
6512 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6513 lt_cv_file_magic_test_file=/lib/libc.so
6516 lt_cv_deplibs_check_method=pass_all
6519 lt_cv_deplibs_check_method=pass_all
6525 lt_cv_deplibs_check_method=pass_all
6528 lt_cv_deplibs_check_method=pass_all
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6534 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6538 if test "$build" = "$host"; then
6541 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6544 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6550 file_magic_cmd=$lt_cv_file_magic_cmd
6551 deplibs_check_method=$lt_cv_deplibs_check_method
6552 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6575 if test -n "$ac_tool_prefix"; then
6576 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6577 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6579 $as_echo_n "checking
for $ac_word...
" >&6; }
6580 if ${ac_cv_prog_DLLTOOL+:} false; then :
6581 $as_echo_n "(cached
) " >&6
6583 if test -n "$DLLTOOL"; then
6584 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590 test -z "$as_dir" && as_dir=.
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6603 DLLTOOL=$ac_cv_prog_DLLTOOL
6604 if test -n "$DLLTOOL"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6606 $as_echo "$DLLTOOL" >&6; }
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6609 $as_echo "no
" >&6; }
6614 if test -z "$ac_cv_prog_DLLTOOL"; then
6615 ac_ct_DLLTOOL=$DLLTOOL
6616 # Extract the first word of "dlltool
", so it can be a program name with args.
6617 set dummy dlltool; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6619 $as_echo_n "checking
for $ac_word...
" >&6; }
6620 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6621 $as_echo_n "(cached
) " >&6
6623 if test -n "$ac_ct_DLLTOOL"; then
6624 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6643 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6644 if test -n "$ac_ct_DLLTOOL"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6646 $as_echo "$ac_ct_DLLTOOL" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6649 $as_echo "no
" >&6; }
6652 if test "x
$ac_ct_DLLTOOL" = x; then
6655 case $cross_compiling:$ac_tool_warned in
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6658 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6659 ac_tool_warned=yes ;;
6661 DLLTOOL=$ac_ct_DLLTOOL
6664 DLLTOOL="$ac_cv_prog_DLLTOOL"
6667 test -z "$DLLTOOL" && DLLTOOL=dlltool
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6679 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6680 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6681 $as_echo_n "(cached
) " >&6
6683 lt_cv_sharedlib_from_linklib_cmd='unknown'
6686 cygwin* | mingw* | pw32* | cegcc*)
6687 # two different shell functions defined in ltmain.sh;
6688 # decide which one to use based on capabilities of $DLLTOOL
6689 case `$DLLTOOL --help 2>&1` in
6690 *--identify-strict*)
6691 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6694 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6699 # fallback: assume linklib IS sharedlib
6700 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6706 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6707 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6708 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6716 if test -n "$ac_tool_prefix"; then
6719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6722 $as_echo_n "checking
for $ac_word...
" >&6; }
6723 if ${ac_cv_prog_AR+:} false; then :
6724 $as_echo_n "(cached
) " >&6
6726 if test -n "$AR"; then
6727 ac_cv_prog_AR="$AR" # Let the user override the test.
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 test -z "$as_dir" && as_dir=.
6734 for ac_exec_ext in '' $ac_executable_extensions; do
6735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6736 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6747 if test -n "$AR"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6749 $as_echo "$AR" >&6; }
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6752 $as_echo "no
" >&6; }
6756 test -n "$AR" && break
6759 if test -z "$AR"; then
6763 # Extract the first word of "$ac_prog", so it can be a program name with args.
6764 set dummy $ac_prog; ac_word=$2
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6766 $as_echo_n "checking
for $ac_word...
" >&6; }
6767 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6768 $as_echo_n "(cached
) " >&6
6770 if test -n "$ac_ct_AR"; then
6771 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 test -z "$as_dir" && as_dir=.
6778 for ac_exec_ext in '' $ac_executable_extensions; do
6779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_ac_ct_AR="$ac_prog"
6781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6791 if test -n "$ac_ct_AR"; then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6793 $as_echo "$ac_ct_AR" >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6796 $as_echo "no
" >&6; }
6800 test -n "$ac_ct_AR" && break
6803 if test "x
$ac_ct_AR" = x; then
6806 case $cross_compiling:$ac_tool_warned in
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6809 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6810 ac_tool_warned=yes ;;
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6830 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6831 if ${lt_cv_ar_at_file+:} false; then :
6832 $as_echo_n "(cached
) " >&6
6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6846 if ac_fn_c_try_compile "$LINENO"; then :
6847 echo conftest.$ac_objext > conftest.lst
6848 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6849 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6850 (eval $lt_ar_try) 2>&5
6852 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6853 test $ac_status = 0; }
6854 if test 0 -eq "$ac_status"; then
6855 # Ensure the archiver fails upon bogus file names.
6856 rm -f conftest.$ac_objext libconftest.a
6857 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6858 (eval $lt_ar_try) 2>&5
6860 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6861 test $ac_status = 0; }
6862 if test 0 -ne "$ac_status"; then
6866 rm -f conftest.* libconftest.a
6869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6873 $as_echo "$lt_cv_ar_at_file" >&6; }
6875 if test no = "$lt_cv_ar_at_file"; then
6878 archiver_list_spec=$lt_cv_ar_at_file
6887 if test -n "$ac_tool_prefix"; then
6888 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6889 set dummy ${ac_tool_prefix}strip; ac_word=$2
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6891 $as_echo_n "checking
for $ac_word...
" >&6; }
6892 if ${ac_cv_prog_STRIP+:} false; then :
6893 $as_echo_n "(cached
) " >&6
6895 if test -n "$STRIP"; then
6896 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 test -z "$as_dir" && as_dir=.
6903 for ac_exec_ext in '' $ac_executable_extensions; do
6904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6905 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6915 STRIP=$ac_cv_prog_STRIP
6916 if test -n "$STRIP"; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6918 $as_echo "$STRIP" >&6; }
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6921 $as_echo "no
" >&6; }
6926 if test -z "$ac_cv_prog_STRIP"; then
6928 # Extract the first word of "strip
", so it can be a program name with args.
6929 set dummy strip; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6931 $as_echo_n "checking
for $ac_word...
" >&6; }
6932 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6933 $as_echo_n "(cached
) " >&6
6935 if test -n "$ac_ct_STRIP"; then
6936 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6942 test -z "$as_dir" && as_dir=.
6943 for ac_exec_ext in '' $ac_executable_extensions; do
6944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6945 ac_cv_prog_ac_ct_STRIP="strip
"
6946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6955 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6956 if test -n "$ac_ct_STRIP"; then
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6958 $as_echo "$ac_ct_STRIP" >&6; }
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6961 $as_echo "no
" >&6; }
6964 if test "x
$ac_ct_STRIP" = x; then
6967 case $cross_compiling:$ac_tool_warned in
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6970 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6971 ac_tool_warned=yes ;;
6976 STRIP="$ac_cv_prog_STRIP"
6979 test -z "$STRIP" && STRIP=:
6986 if test -n "$ac_tool_prefix"; then
6987 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6988 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6990 $as_echo_n "checking
for $ac_word...
" >&6; }
6991 if ${ac_cv_prog_RANLIB+:} false; then :
6992 $as_echo_n "(cached
) " >&6
6994 if test -n "$RANLIB"; then
6995 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001 test -z "$as_dir" && as_dir=.
7002 for ac_exec_ext in '' $ac_executable_extensions; do
7003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7004 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7014 RANLIB=$ac_cv_prog_RANLIB
7015 if test -n "$RANLIB"; then
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7017 $as_echo "$RANLIB" >&6; }
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7020 $as_echo "no
" >&6; }
7025 if test -z "$ac_cv_prog_RANLIB"; then
7026 ac_ct_RANLIB=$RANLIB
7027 # Extract the first word of "ranlib
", so it can be a program name with args.
7028 set dummy ranlib; ac_word=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7030 $as_echo_n "checking
for $ac_word...
" >&6; }
7031 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7032 $as_echo_n "(cached
) " >&6
7034 if test -n "$ac_ct_RANLIB"; then
7035 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041 test -z "$as_dir" && as_dir=.
7042 for ac_exec_ext in '' $ac_executable_extensions; do
7043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7044 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7054 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7055 if test -n "$ac_ct_RANLIB"; then
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7057 $as_echo "$ac_ct_RANLIB" >&6; }
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7060 $as_echo "no
" >&6; }
7063 if test "x
$ac_ct_RANLIB" = x; then
7066 case $cross_compiling:$ac_tool_warned in
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7069 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7070 ac_tool_warned=yes ;;
7072 RANLIB=$ac_ct_RANLIB
7075 RANLIB="$ac_cv_prog_RANLIB"
7078 test -z "$RANLIB" && RANLIB=:
7085 # Determine commands to create old-style static archives.
7086 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7087 old_postinstall_cmds='chmod 644 $oldlib'
7088 old_postuninstall_cmds=
7090 if test -n "$RANLIB"; then
7093 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7096 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7099 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7104 lock_old_archive_extraction=yes ;;
7106 lock_old_archive_extraction=no ;;
7147 # If no C compiler was specified, use CC.
7150 # If no C compiler flags were specified, use CFLAGS.
7151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7153 # Allow CC to be a program name with arguments.
7157 # Check for command to grab the raw symbol name followed by C symbol from nm.
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7159 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7160 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7161 $as_echo_n "(cached
) " >&6
7164 # These are sane defaults that work on at least a few old systems.
7165 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7167 # Character class describing NM global symbol codes.
7168 symcode='[BCDEGRST]'
7170 # Regexp to match symbols that can be accessed directly from C.
7171 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7173 # Define system-specific variables.
7178 cygwin* | mingw* | pw32* | cegcc*)
7179 symcode='[ABCDGISTW]'
7182 if test ia64 = "$host_cpu"; then
7183 symcode='[ABCDEGRST]'
7187 symcode='[BCDEGRST]'
7190 symcode='[BCDEGQRST]'
7201 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7209 # If we're using GNU nm, then use its standard symbol codes.
7210 case `$NM -V 2>&1` in
7211 *GNU* | *'with BFD'*)
7212 symcode='[ABCDGIRSTW]' ;;
7215 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7216 # Gets list of data symbols to import.
7217 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7218 # Adjust the below global symbol transforms to fixup imported variables.
7219 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7220 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7221 lt_c_name_lib_hook="\
7222 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7223 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7225 # Disable hooks by default.
7226 lt_cv_sys_global_symbol_to_import=
7232 # Transform an extracted symbol line into a proper C declaration.
7233 # Some systems (esp. on ia64) link data and code symbols differently,
7234 # so use this general approach.
7235 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7237 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7238 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7240 # Transform an extracted symbol line into symbol name and symbol address
7241 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7243 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7244 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7246 # Transform an extracted symbol line into symbol name with lib prefix and
7248 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7249 $lt_c_name_lib_hook\
7250 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7251 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7252 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7254 # Handle CRLF in mingw tool chain
7258 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7262 # Try without a prefix underscore, then with it.
7263 for ac_symprfx in "" "_
"; do
7265 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7266 symxfrm="\\1 $ac_symprfx\\2 \\2"
7268 # Write the raw and C identifiers.
7269 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7270 # Fake it for dumpbin and say T for any non-static function,
7271 # D for any global variable and I for any imported variable.
7272 # Also find C++ and __fastcall symbols from MSVC++,
7273 # which start with @ or ?.
7274 lt_cv_sys_global_symbol_pipe="$AWK '"\
7275 " {last_section=section; section=\$ 3};"\
7276 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7277 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7278 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7279 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7280 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7281 " \$ 0!~/External *\|/{next};"\
7282 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7283 " {if(hide[section]) next};"\
7284 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7285 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7286 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7287 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7288 " ' prfx
=^
$ac_symprfx"
7290 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7292 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7294 # Check to see that the pipe works correctly.
7298 cat > conftest.$ac_ext <<_LT_EOF
7303 void nm_test_func(void);
7304 void nm_test_func(void){}
7308 int main(){nm_test_var='a';nm_test_func();return(0);}
7311 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7312 (eval $ac_compile) 2>&5
7314 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7315 test $ac_status = 0; }; then
7316 # Now try to grab the symbols.
7318 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7319 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7321 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7322 test $ac_status = 0; } && test -s "$nlist"; then
7323 # Try sorting and uniquifying the output.
7324 if sort "$nlist" | uniq > "$nlist"T; then
7325 mv -f "$nlist"T "$nlist"
7330 # Make sure that we snagged all the symbols we need.
7331 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7332 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7333 cat <<_LT_EOF > conftest.$ac_ext
7334 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7335 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7336 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7337 relocations are performed -- see ld's documentation on pseudo-relocs. */
7338 # define LT_DLSYM_CONST
7339 #elif defined __osf__
7340 /* This system does not cope well with relocations in const data. */
7341 # define LT_DLSYM_CONST
7343 # define LT_DLSYM_CONST const
7351 # Now generate the symbol file.
7352 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7354 cat <<_LT_EOF >> conftest.$ac_ext
7356 /* The mapping between symbol names and symbols. */
7357 LT_DLSYM_CONST struct {
7361 lt__PROGRAM__LTX_preloaded_symbols[] =
7363 { "@PROGRAM@
", (void *) 0 },
7365 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7366 cat <<\_LT_EOF >> conftest.$ac_ext
7370 /* This works around a problem in FreeBSD linker */
7371 #ifdef FREEBSD_WORKAROUND
7372 static const void *lt_preloaded_setup() {
7373 return lt__PROGRAM__LTX_preloaded_symbols;
7381 # Now try linking the two files.
7382 mv conftest.$ac_objext conftstm.$ac_objext
7383 lt_globsym_save_LIBS=$LIBS
7384 lt_globsym_save_CFLAGS=$CFLAGS
7385 LIBS=conftstm.$ac_objext
7386 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7387 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7388 (eval $ac_link) 2>&5
7390 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7391 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7394 LIBS=$lt_globsym_save_LIBS
7395 CFLAGS=$lt_globsym_save_CFLAGS
7397 echo "cannot
find nm_test_func
in $nlist" >&5
7400 echo "cannot
find nm_test_var
in $nlist" >&5
7403 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7406 echo "$progname: failed program was
:" >&5
7407 cat conftest.$ac_ext >&5
7409 rm -rf conftest* conftst*
7411 # Do not use the global_symbol_pipe unless it works.
7412 if test yes = "$pipe_works"; then
7415 lt_cv_sys_global_symbol_pipe=
7421 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7422 lt_cv_sys_global_symbol_to_cdecl=
7424 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7426 $as_echo "failed
" >&6; }
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7429 $as_echo "ok
" >&6; }
7432 # Response file support.
7433 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7434 nm_file_list_spec='@'
7435 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7436 nm_file_list_spec='@'
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7476 $as_echo_n "checking
for sysroot...
" >&6; }
7478 # Check whether --with-sysroot was given.
7479 if test "${with_sysroot+set}" = set; then :
7480 withval=$with_sysroot;
7487 case $with_sysroot in #(
7489 if test yes = "$GCC"; then
7490 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7494 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7500 $as_echo "$with_sysroot" >&6; }
7501 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7506 $as_echo "${lt_sysroot:-no}" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7513 $as_echo_n "checking
for a working
dd...
" >&6; }
7514 if ${ac_cv_path_lt_DD+:} false; then :
7515 $as_echo_n "(cached
) " >&6
7517 printf 0123456789abcdef0123456789abcdef >conftest.i
7518 cat conftest.i conftest.i >conftest2.i
7520 if test -z "$lt_DD"; then
7521 ac_path_lt_DD_found=false
7522 # Loop through the user's path and test for each of PROGNAME-LIST
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 test -z "$as_dir" && as_dir=.
7528 for ac_prog in dd; do
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7531 as_fn_executable_p "$ac_path_lt_DD" || continue
7532 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7533 cmp -s conftest.i conftest.out \
7534 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7536 $ac_path_lt_DD_found && break 3
7541 if test -z "$ac_cv_path_lt_DD"; then
7545 ac_cv_path_lt_DD=$lt_DD
7548 rm -f conftest.i conftest2.i conftest.out
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7551 $as_echo "$ac_cv_path_lt_DD" >&6; }
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7555 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7556 if ${lt_cv_truncate_bin+:} false; then :
7557 $as_echo_n "(cached
) " >&6
7559 printf 0123456789abcdef0123456789abcdef >conftest.i
7560 cat conftest.i conftest.i >conftest2.i
7562 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7563 cmp -s conftest.i conftest.out \
7564 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7566 rm -f conftest.i conftest2.i conftest.out
7567 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7570 $as_echo "$lt_cv_truncate_bin" >&6; }
7578 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7581 for cc_temp in $*""; do
7583 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7584 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7589 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7592 # Check whether --enable-libtool-lock was given.
7593 if test "${enable_libtool_lock+set}" = set; then :
7594 enableval=$enable_libtool_lock;
7597 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7599 # Some flags need to be propagated to the compiler or linker for good
7603 # Find out what ABI is being produced by ac_compile, and set mode
7604 # options accordingly.
7605 echo 'int i;' > conftest.$ac_ext
7606 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7607 (eval $ac_compile) 2>&5
7609 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7610 test $ac_status = 0; }; then
7611 case `/usr/bin/file conftest.$ac_objext` in
7623 # Find out what ABI is being produced by ac_compile, and set linker
7624 # options accordingly.
7625 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7626 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7627 (eval $ac_compile) 2>&5
7629 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7630 test $ac_status = 0; }; then
7631 if test yes = "$lt_cv_prog_gnu_ld"; then
7632 case `/usr/bin/file conftest.$ac_objext` in
7634 LD="${LD-ld} -melf32bsmip"
7637 LD="${LD-ld} -melf32bmipn32"
7640 LD="${LD-ld} -melf64bmip"
7644 case `/usr/bin/file conftest.$ac_objext` in
7661 # Find out what ABI is being produced by ac_compile, and set linker
7662 # options accordingly.
7663 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7664 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7665 (eval $ac_compile) 2>&5
7667 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7668 test $ac_status = 0; }; then
7670 case `/usr/bin/file conftest.$ac_objext` in
7678 case `/usr/bin/file conftest.$ac_objext` in
7680 emul="${emul}btsmip
"
7683 emul="${emul}ltsmip
"
7686 case `/usr/bin/file conftest.$ac_objext` in
7691 LD="${LD-ld} -m $emul"
7696 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7697 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7698 # Find out what ABI is being produced by ac_compile, and set linker
7699 # options accordingly. Note that the listed cases only cover the
7700 # situations where additional linker options are needed (such as when
7701 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7702 # vice versa); the common cases where no linker options are needed do
7703 # not appear in the list.
7704 echo 'int i;' > conftest.$ac_ext
7705 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7706 (eval $ac_compile) 2>&5
7708 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7709 test $ac_status = 0; }; then
7710 case `/usr/bin/file conftest.o` in
7713 x86_64-*kfreebsd*-gnu)
7714 LD="${LD-ld} -m elf_i386_fbsd
"
7717 case `/usr/bin/file conftest.o` in
7719 LD="${LD-ld} -m elf32_x86_64
"
7722 LD="${LD-ld} -m elf_i386
"
7726 powerpc64le-*linux*)
7727 LD="${LD-ld} -m elf32lppclinux
"
7730 LD="${LD-ld} -m elf32ppclinux
"
7733 LD="${LD-ld} -m elf_s390
"
7736 LD="${LD-ld} -m elf32_sparc
"
7742 x86_64-*kfreebsd*-gnu)
7743 LD="${LD-ld} -m elf_x86_64_fbsd
"
7746 LD="${LD-ld} -m elf_x86_64
"
7749 LD="${LD-ld} -m elf64lppc
"
7752 LD="${LD-ld} -m elf64ppc
"
7754 s390*-*linux*|s390*-*tpf*)
7755 LD="${LD-ld} -m elf64_s390
"
7758 LD="${LD-ld} -m elf64_sparc
"
7768 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7770 CFLAGS="$CFLAGS -belf"
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7772 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7773 if ${lt_cv_cc_needs_belf+:} false; then :
7774 $as_echo_n "(cached
) " >&6
7777 ac_cpp='$CPP $CPPFLAGS'
7778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7783 /* end confdefs.h. */
7793 if ac_fn_c_try_link "$LINENO"; then :
7794 lt_cv_cc_needs_belf=yes
7796 lt_cv_cc_needs_belf=no
7798 rm -f core conftest.err conftest.$ac_objext \
7799 conftest$ac_exeext conftest.$ac_ext
7801 ac_cpp='$CPP $CPPFLAGS'
7802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7808 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7809 if test yes != "$lt_cv_cc_needs_belf"; then
7810 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7815 # Find out what ABI is being produced by ac_compile, and set linker
7816 # options accordingly.
7817 echo 'int i;' > conftest.$ac_ext
7818 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7819 (eval $ac_compile) 2>&5
7821 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7822 test $ac_status = 0; }; then
7823 case `/usr/bin/file conftest.o` in
7825 case $lt_cv_prog_gnu_ld in
7828 i?86-*-solaris*|x86_64-*-solaris*)
7829 LD="${LD-ld} -m elf_x86_64
"
7832 LD="${LD-ld} -m elf64_sparc
"
7835 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7836 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7841 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7853 need_locks=$enable_libtool_lock
7855 if test -n "$ac_tool_prefix"; then
7856 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7857 set dummy ${ac_tool_prefix}mt; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7859 $as_echo_n "checking
for $ac_word...
" >&6; }
7860 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7861 $as_echo_n "(cached
) " >&6
7863 if test -n "$MANIFEST_TOOL"; then
7864 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7873 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7874 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7883 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7884 if test -n "$MANIFEST_TOOL"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7886 $as_echo "$MANIFEST_TOOL" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7889 $as_echo "no
" >&6; }
7894 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7895 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7896 # Extract the first word of "mt
", so it can be a program name with args.
7897 set dummy mt; ac_word=$2
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7899 $as_echo_n "checking
for $ac_word...
" >&6; }
7900 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7901 $as_echo_n "(cached
) " >&6
7903 if test -n "$ac_ct_MANIFEST_TOOL"; then
7904 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 test -z "$as_dir" && as_dir=.
7911 for ac_exec_ext in '' $ac_executable_extensions; do
7912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7913 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7923 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7924 if test -n "$ac_ct_MANIFEST_TOOL"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7926 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7929 $as_echo "no
" >&6; }
7932 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7935 case $cross_compiling:$ac_tool_warned in
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7938 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7939 ac_tool_warned=yes ;;
7941 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7944 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7947 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7949 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7950 if ${lt_cv_path_mainfest_tool+:} false; then :
7951 $as_echo_n "(cached
) " >&6
7953 lt_cv_path_mainfest_tool=no
7954 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7955 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7956 cat conftest.err >&5
7957 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7958 lt_cv_path_mainfest_tool=yes
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7963 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7964 if test yes != "$lt_cv_path_mainfest_tool"; then
7974 rhapsody* | darwin*)
7975 if test -n "$ac_tool_prefix"; then
7976 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7977 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7979 $as_echo_n "checking
for $ac_word...
" >&6; }
7980 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7981 $as_echo_n "(cached
) " >&6
7983 if test -n "$DSYMUTIL"; then
7984 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7990 test -z "$as_dir" && as_dir=.
7991 for ac_exec_ext in '' $ac_executable_extensions; do
7992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7993 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8003 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8004 if test -n "$DSYMUTIL"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8006 $as_echo "$DSYMUTIL" >&6; }
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8009 $as_echo "no
" >&6; }
8014 if test -z "$ac_cv_prog_DSYMUTIL"; then
8015 ac_ct_DSYMUTIL=$DSYMUTIL
8016 # Extract the first word of "dsymutil
", so it can be a program name with args.
8017 set dummy dsymutil; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8019 $as_echo_n "checking
for $ac_word...
" >&6; }
8020 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8021 $as_echo_n "(cached
) " >&6
8023 if test -n "$ac_ct_DSYMUTIL"; then
8024 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8043 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8044 if test -n "$ac_ct_DSYMUTIL"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8046 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8049 $as_echo "no
" >&6; }
8052 if test "x
$ac_ct_DSYMUTIL" = x; then
8055 case $cross_compiling:$ac_tool_warned in
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8058 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8059 ac_tool_warned=yes ;;
8061 DSYMUTIL=$ac_ct_DSYMUTIL
8064 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8067 if test -n "$ac_tool_prefix"; then
8068 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8069 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8071 $as_echo_n "checking
for $ac_word...
" >&6; }
8072 if ${ac_cv_prog_NMEDIT+:} false; then :
8073 $as_echo_n "(cached
) " >&6
8075 if test -n "$NMEDIT"; then
8076 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8082 test -z "$as_dir" && as_dir=.
8083 for ac_exec_ext in '' $ac_executable_extensions; do
8084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8085 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8095 NMEDIT=$ac_cv_prog_NMEDIT
8096 if test -n "$NMEDIT"; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8098 $as_echo "$NMEDIT" >&6; }
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8101 $as_echo "no
" >&6; }
8106 if test -z "$ac_cv_prog_NMEDIT"; then
8107 ac_ct_NMEDIT=$NMEDIT
8108 # Extract the first word of "nmedit
", so it can be a program name with args.
8109 set dummy nmedit; ac_word=$2
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8111 $as_echo_n "checking
for $ac_word...
" >&6; }
8112 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8113 $as_echo_n "(cached
) " >&6
8115 if test -n "$ac_ct_NMEDIT"; then
8116 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122 test -z "$as_dir" && as_dir=.
8123 for ac_exec_ext in '' $ac_executable_extensions; do
8124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8125 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8135 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8136 if test -n "$ac_ct_NMEDIT"; then
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8138 $as_echo "$ac_ct_NMEDIT" >&6; }
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8141 $as_echo "no
" >&6; }
8144 if test "x
$ac_ct_NMEDIT" = x; then
8147 case $cross_compiling:$ac_tool_warned in
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8150 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8151 ac_tool_warned=yes ;;
8153 NMEDIT=$ac_ct_NMEDIT
8156 NMEDIT="$ac_cv_prog_NMEDIT"
8159 if test -n "$ac_tool_prefix"; then
8160 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8161 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8163 $as_echo_n "checking
for $ac_word...
" >&6; }
8164 if ${ac_cv_prog_LIPO+:} false; then :
8165 $as_echo_n "(cached
) " >&6
8167 if test -n "$LIPO"; then
8168 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8174 test -z "$as_dir" && as_dir=.
8175 for ac_exec_ext in '' $ac_executable_extensions; do
8176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8177 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8187 LIPO=$ac_cv_prog_LIPO
8188 if test -n "$LIPO"; then
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8190 $as_echo "$LIPO" >&6; }
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8193 $as_echo "no
" >&6; }
8198 if test -z "$ac_cv_prog_LIPO"; then
8200 # Extract the first word of "lipo
", so it can be a program name with args.
8201 set dummy lipo; ac_word=$2
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8203 $as_echo_n "checking
for $ac_word...
" >&6; }
8204 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8205 $as_echo_n "(cached
) " >&6
8207 if test -n "$ac_ct_LIPO"; then
8208 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8214 test -z "$as_dir" && as_dir=.
8215 for ac_exec_ext in '' $ac_executable_extensions; do
8216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8217 ac_cv_prog_ac_ct_LIPO="lipo
"
8218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8227 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8228 if test -n "$ac_ct_LIPO"; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8230 $as_echo "$ac_ct_LIPO" >&6; }
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8233 $as_echo "no
" >&6; }
8236 if test "x
$ac_ct_LIPO" = x; then
8239 case $cross_compiling:$ac_tool_warned in
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8242 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8243 ac_tool_warned=yes ;;
8248 LIPO="$ac_cv_prog_LIPO"
8251 if test -n "$ac_tool_prefix"; then
8252 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8253 set dummy ${ac_tool_prefix}otool; ac_word=$2
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8255 $as_echo_n "checking
for $ac_word...
" >&6; }
8256 if ${ac_cv_prog_OTOOL+:} false; then :
8257 $as_echo_n "(cached
) " >&6
8259 if test -n "$OTOOL"; then
8260 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8266 test -z "$as_dir" && as_dir=.
8267 for ac_exec_ext in '' $ac_executable_extensions; do
8268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8269 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8279 OTOOL=$ac_cv_prog_OTOOL
8280 if test -n "$OTOOL"; then
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8282 $as_echo "$OTOOL" >&6; }
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8285 $as_echo "no
" >&6; }
8290 if test -z "$ac_cv_prog_OTOOL"; then
8292 # Extract the first word of "otool
", so it can be a program name with args.
8293 set dummy otool; ac_word=$2
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8295 $as_echo_n "checking
for $ac_word...
" >&6; }
8296 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8297 $as_echo_n "(cached
) " >&6
8299 if test -n "$ac_ct_OTOOL"; then
8300 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8306 test -z "$as_dir" && as_dir=.
8307 for ac_exec_ext in '' $ac_executable_extensions; do
8308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8309 ac_cv_prog_ac_ct_OTOOL="otool
"
8310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8319 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8320 if test -n "$ac_ct_OTOOL"; then
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8322 $as_echo "$ac_ct_OTOOL" >&6; }
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8325 $as_echo "no
" >&6; }
8328 if test "x
$ac_ct_OTOOL" = x; then
8331 case $cross_compiling:$ac_tool_warned in
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8334 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8335 ac_tool_warned=yes ;;
8340 OTOOL="$ac_cv_prog_OTOOL"
8343 if test -n "$ac_tool_prefix"; then
8344 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8345 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8347 $as_echo_n "checking
for $ac_word...
" >&6; }
8348 if ${ac_cv_prog_OTOOL64+:} false; then :
8349 $as_echo_n "(cached
) " >&6
8351 if test -n "$OTOOL64"; then
8352 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8358 test -z "$as_dir" && as_dir=.
8359 for ac_exec_ext in '' $ac_executable_extensions; do
8360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8361 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8371 OTOOL64=$ac_cv_prog_OTOOL64
8372 if test -n "$OTOOL64"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8374 $as_echo "$OTOOL64" >&6; }
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8377 $as_echo "no
" >&6; }
8382 if test -z "$ac_cv_prog_OTOOL64"; then
8383 ac_ct_OTOOL64=$OTOOL64
8384 # Extract the first word of "otool64
", so it can be a program name with args.
8385 set dummy otool64; ac_word=$2
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8387 $as_echo_n "checking
for $ac_word...
" >&6; }
8388 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8389 $as_echo_n "(cached
) " >&6
8391 if test -n "$ac_ct_OTOOL64"; then
8392 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8398 test -z "$as_dir" && as_dir=.
8399 for ac_exec_ext in '' $ac_executable_extensions; do
8400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8401 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8411 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8412 if test -n "$ac_ct_OTOOL64"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8414 $as_echo "$ac_ct_OTOOL64" >&6; }
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8417 $as_echo "no
" >&6; }
8420 if test "x
$ac_ct_OTOOL64" = x; then
8423 case $cross_compiling:$ac_tool_warned in
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8426 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8427 ac_tool_warned=yes ;;
8429 OTOOL64=$ac_ct_OTOOL64
8432 OTOOL64="$ac_cv_prog_OTOOL64"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8462 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8463 if ${lt_cv_apple_cc_single_mod+:} false; then :
8464 $as_echo_n "(cached
) " >&6
8466 lt_cv_apple_cc_single_mod=no
8467 if test -z "$LT_MULTI_MODULE"; then
8468 # By default we will add the -single_module flag. You can override
8469 # by either setting the environment variable LT_MULTI_MODULE
8470 # non-empty at configure time, or by adding -multi_module to the
8472 rm -rf libconftest.dylib*
8473 echo "int foo
(void
){return 1;}" > conftest.c
8474 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8475 -dynamiclib -Wl,-single_module conftest.c
" >&5
8476 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8477 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8479 # If there is a non-empty error log, and "single_module
"
8480 # appears in it, assume the flag caused a linker warning
8481 if test -s conftest.err && $GREP single_module conftest.err; then
8482 cat conftest.err >&5
8483 # Otherwise, if the output was created with a 0 exit code from
8484 # the compiler, it worked.
8485 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8486 lt_cv_apple_cc_single_mod=yes
8488 cat conftest.err >&5
8490 rm -rf libconftest.dylib*
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8495 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8498 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8499 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8500 $as_echo_n "(cached
) " >&6
8502 lt_cv_ld_exported_symbols_list=no
8503 save_LDFLAGS=$LDFLAGS
8504 echo "_main
" > conftest.sym
8505 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8517 if ac_fn_c_try_link "$LINENO"; then :
8518 lt_cv_ld_exported_symbols_list=yes
8520 lt_cv_ld_exported_symbols_list=no
8522 rm -f core conftest.err conftest.$ac_objext \
8523 conftest$ac_exeext conftest.$ac_ext
8524 LDFLAGS=$save_LDFLAGS
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8528 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8531 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8532 if ${lt_cv_ld_force_load+:} false; then :
8533 $as_echo_n "(cached
) " >&6
8535 lt_cv_ld_force_load=no
8536 cat > conftest.c << _LT_EOF
8537 int forced_loaded() { return 2;}
8539 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8540 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8541 echo "$AR cru libconftest.a conftest.o
" >&5
8542 $AR cru libconftest.a conftest.o 2>&5
8543 echo "$RANLIB libconftest.a
" >&5
8544 $RANLIB libconftest.a 2>&5
8545 cat > conftest.c << _LT_EOF
8546 int main() { return 0;}
8548 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8549 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8551 if test -s conftest.err && $GREP force_load conftest.err; then
8552 cat conftest.err >&5
8553 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8554 lt_cv_ld_force_load=yes
8556 cat conftest.err >&5
8558 rm -f conftest.err libconftest.a conftest conftest.c
8559 rm -rf conftest.dSYM
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8563 $as_echo "$lt_cv_ld_force_load" >&6; }
8565 rhapsody* | darwin1.[012])
8566 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8568 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8569 darwin*) # darwin 5.x on
8570 # if running on 10.5 or later, the deployment target defaults
8571 # to the OS version, if on x86, and 10.4, the deployment
8572 # target defaults to 10.4. Don't you love it?
8573 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8574 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8575 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8577 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8579 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8583 if test yes = "$lt_cv_apple_cc_single_mod"; then
8584 _lt_dar_single_mod='$single_module'
8586 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8587 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8589 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8591 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8592 _lt_dsymutil='~$DSYMUTIL $lib || :'
8599 # func_munge_path_list VARIABLE PATH
8600 # -----------------------------------
8601 # VARIABLE is name of variable containing _space_ separated list of
8602 # directories to be munged by the contents of PATH, which is string
8605 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8607 # string "DIR
[ DIR
]" will be appended to VARIABLE
8608 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8609 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8610 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8612 # VARIABLE will be replaced by "DIR
[ DIR
]"
8613 func_munge_path_list ()
8619 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8622 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8625 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8626 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8629 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8635 ac_cpp='$CPP $CPPFLAGS'
8636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8640 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8641 # On Suns, sometimes $CPP names a directory.
8642 if test -n "$CPP" && test -d "$CPP"; then
8645 if test -z "$CPP"; then
8646 if ${ac_cv_prog_CPP+:} false; then :
8647 $as_echo_n "(cached
) " >&6
8649 # Double quotes because CPP needs to be expanded
8650 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8653 for ac_c_preproc_warn_flag in '' yes
8655 # Use a header file that comes with gcc, so configuring glibc
8656 # with a fresh cross-compiler works.
8657 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8658 # <limits.h> exists even on freestanding compilers.
8659 # On the NeXT, cc -E runs the code through the compiler's parser,
8660 # not just through cpp. "Syntax error
" is here to catch this case.
8661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8662 /* end confdefs.h. */
8664 # include <limits.h>
8666 # include <assert.h>
8670 if ac_fn_c_try_cpp "$LINENO"; then :
8673 # Broken: fails on valid input.
8676 rm -f conftest.err conftest.i conftest.$ac_ext
8678 # OK, works on sane cases. Now check whether nonexistent headers
8679 # can be detected and how.
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8682 #include <ac_nonexistent.h>
8684 if ac_fn_c_try_cpp "$LINENO"; then :
8685 # Broken: success on invalid input.
8688 # Passes both tests.
8692 rm -f conftest.err conftest.i conftest.$ac_ext
8695 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8696 rm -f conftest.i conftest.err conftest.$ac_ext
8697 if $ac_preproc_ok; then :
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8710 $as_echo "$CPP" >&6; }
8712 for ac_c_preproc_warn_flag in '' yes
8714 # Use a header file that comes with gcc, so configuring glibc
8715 # with a fresh cross-compiler works.
8716 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8717 # <limits.h> exists even on freestanding compilers.
8718 # On the NeXT, cc -E runs the code through the compiler's parser,
8719 # not just through cpp. "Syntax error
" is here to catch this case.
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8723 # include <limits.h>
8725 # include <assert.h>
8729 if ac_fn_c_try_cpp "$LINENO"; then :
8732 # Broken: fails on valid input.
8735 rm -f conftest.err conftest.i conftest.$ac_ext
8737 # OK, works on sane cases. Now check whether nonexistent headers
8738 # can be detected and how.
8739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 /* end confdefs.h. */
8741 #include <ac_nonexistent.h>
8743 if ac_fn_c_try_cpp "$LINENO"; then :
8744 # Broken: success on invalid input.
8747 # Passes both tests.
8751 rm -f conftest.err conftest.i conftest.$ac_ext
8754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8755 rm -f conftest.i conftest.err conftest.$ac_ext
8756 if $ac_preproc_ok; then :
8759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8761 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8762 See \`config.log' for more details
" "$LINENO" 5; }
8766 ac_cpp='$CPP $CPPFLAGS'
8767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8773 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8774 if ${ac_cv_header_stdc+:} false; then :
8775 $as_echo_n "(cached
) " >&6
8777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8792 if ac_fn_c_try_compile "$LINENO"; then :
8793 ac_cv_header_stdc=yes
8795 ac_cv_header_stdc=no
8797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8799 if test $ac_cv_header_stdc = yes; then
8800 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8806 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8807 $EGREP "memchr
" >/dev/null 2>&1; then :
8810 ac_cv_header_stdc=no
8816 if test $ac_cv_header_stdc = yes; then
8817 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8823 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8824 $EGREP "free
" >/dev/null 2>&1; then :
8827 ac_cv_header_stdc=no
8833 if test $ac_cv_header_stdc = yes; then
8834 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8835 if test "$cross_compiling" = yes; then :
8838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8839 /* end confdefs.h. */
8842 #if ((' ' & 0x0FF) == 0x020)
8843 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8844 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8846 # define ISLOWER(c) \
8847 (('a' <= (c) && (c) <= 'i') \
8848 || ('j' <= (c) && (c) <= 'r') \
8849 || ('s' <= (c) && (c) <= 'z'))
8850 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8853 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8858 for (i = 0; i < 256; i++)
8859 if (XOR (islower (i), ISLOWER (i))
8860 || toupper (i) != TOUPPER (i))
8865 if ac_fn_c_try_run "$LINENO"; then :
8868 ac_cv_header_stdc=no
8870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8871 conftest.$ac_objext conftest.beam conftest.$ac_ext
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8877 $as_echo "$ac_cv_header_stdc" >&6; }
8878 if test $ac_cv_header_stdc = yes; then
8880 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8884 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8885 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8886 inttypes.h stdint.h unistd.h
8888 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8889 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8891 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8892 cat >>confdefs.h
<<_ACEOF
8893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8901 for ac_header
in dlfcn.h
8903 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8905 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8906 cat >>confdefs.h
<<_ACEOF
8907 #define HAVE_DLFCN_H 1
8917 func_stripname_cnf
()
8920 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8921 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8923 } # func_stripname_cnf
8930 # Check whether --enable-static was given.
8931 if test "${enable_static+set}" = set; then :
8932 enableval
=$enable_static; p
=${PACKAGE-default}
8934 yes) enable_static
=yes ;;
8935 no
) enable_static
=no
;;
8938 # Look at the argument we got. We use all the common list separators.
8939 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8940 for pkg
in $enableval; do
8942 if test "X$pkg" = "X$p"; then
8968 # Check whether --enable-shared was given.
8969 if test "${enable_shared+set}" = set; then :
8970 enableval
=$enable_shared; p
=${PACKAGE-default}
8972 yes) enable_shared
=yes ;;
8973 no
) enable_shared
=no
;;
8976 # Look at the argument we got. We use all the common list separators.
8977 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8978 for pkg
in $enableval; do
8980 if test "X$pkg" = "X$p"; then
9001 # Check whether --with-pic was given.
9002 if test "${with_pic+set}" = set; then :
9003 withval
=$with_pic; lt_p
=${PACKAGE-default}
9005 yes|no
) pic_mode
=$withval ;;
9008 # Look at the argument we got. We use all the common list separators.
9009 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9010 for lt_pkg
in $withval; do
9012 if test "X$lt_pkg" = "X$lt_p"; then
9030 # Check whether --enable-fast-install was given.
9031 if test "${enable_fast_install+set}" = set; then :
9032 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9034 yes) enable_fast_install
=yes ;;
9035 no
) enable_fast_install
=no
;;
9037 enable_fast_install
=no
9038 # Look at the argument we got. We use all the common list separators.
9039 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9040 for pkg
in $enableval; do
9042 if test "X$pkg" = "X$p"; then
9043 enable_fast_install
=yes
9050 enable_fast_install
=yes
9060 shared_archive_member_spec
=
9061 case $host,$enable_shared in
9062 power
*-*-aix[5-9]*,yes)
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9064 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9066 # Check whether --with-aix-soname was given.
9067 if test "${with_aix_soname+set}" = set; then :
9068 withval
=$with_aix_soname; case $withval in
9072 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9075 lt_cv_with_aix_soname
=$with_aix_soname
9077 if ${lt_cv_with_aix_soname+:} false
; then :
9078 $as_echo_n "(cached) " >&6
9080 lt_cv_with_aix_soname
=aix
9083 with_aix_soname
=$lt_cv_with_aix_soname
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9087 $as_echo "$with_aix_soname" >&6; }
9088 if test aix
!= "$with_aix_soname"; then
9089 # For the AIX way of multilib, we name the shared archive member
9090 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9091 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9092 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9093 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9094 if test 64 = "${OBJECT_MODE-32}"; then
9095 shared_archive_member_spec
=shr_64
9097 shared_archive_member_spec
=shr
9115 # This can be used to rebuild libtool when needed
9116 LIBTOOL_DEPS
=$ltmain
9118 # Always use our own libtool.
9119 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9150 test -z "$LN_S" && LN_S
="ln -s"
9165 if test -n "${ZSH_VERSION+set}"; then
9166 setopt NO_GLOB_SUBST
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9170 $as_echo_n "checking for objdir... " >&6; }
9171 if ${lt_cv_objdir+:} false
; then :
9172 $as_echo_n "(cached) " >&6
9174 rm -f .libs
2>/dev
/null
9175 mkdir .libs
2>/dev
/null
9176 if test -d .libs
; then
9179 # MS-DOS does not allow filenames that begin with a dot.
9182 rmdir .libs
2>/dev
/null
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9185 $as_echo "$lt_cv_objdir" >&6; }
9186 objdir
=$lt_cv_objdir
9192 cat >>confdefs.h
<<_ACEOF
9193 #define LT_OBJDIR "$lt_cv_objdir/"
9201 # AIX sometimes has problems with the GCC collect2 program. For some
9202 # reason, if we set the COLLECT_NAMES environment variable, the problems
9203 # vanish in a puff of smoke.
9204 if test set != "${COLLECT_NAMES+set}"; then
9206 export COLLECT_NAMES
9213 can_build_shared
=yes
9215 # All known linkers require a '.a' archive for static linking (except MSVC,
9216 # which needs '.lib').
9219 with_gnu_ld
=$lt_cv_prog_gnu_ld
9224 # Set sane defaults for various variables
9225 test -z "$CC" && CC
=cc
9226 test -z "$LTCC" && LTCC
=$CC
9227 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9228 test -z "$LD" && LD
=ld
9229 test -z "$ac_objext" && ac_objext
=o
9231 func_cc_basename
$compiler
9232 cc_basename
=$func_cc_basename_result
9235 # Only perform the check for file, if the check method requires it
9236 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9237 case $deplibs_check_method in
9239 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9241 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9242 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9243 $as_echo_n "(cached) " >&6
9247 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9250 lt_save_MAGIC_CMD
=$MAGIC_CMD
9251 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9252 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9253 for ac_dir
in $ac_dummy; do
9255 test -z "$ac_dir" && ac_dir
=.
9256 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9257 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9258 if test -n "$file_magic_test_file"; then
9259 case $deplibs_check_method in
9261 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9262 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9263 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9264 $EGREP "$file_magic_regex" > /dev
/null
; then
9269 *** Warning: the command libtool uses to detect shared libraries,
9270 *** $file_magic_cmd, produces output that libtool cannot recognize.
9271 *** The result is that libtool may fail to recognize shared libraries
9272 *** as such. This will affect the creation of libtool libraries that
9273 *** depend on shared libraries, but programs linked with such libtool
9274 *** libraries will work regardless of this problem. Nevertheless, you
9275 *** may want to report the problem to your system manager and/or to
9276 *** bug-libtool@gnu.org
9286 MAGIC_CMD
=$lt_save_MAGIC_CMD
9291 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9292 if test -n "$MAGIC_CMD"; then
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9294 $as_echo "$MAGIC_CMD" >&6; }
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9297 $as_echo "no" >&6; }
9304 if test -z "$lt_cv_path_MAGIC_CMD"; then
9305 if test -n "$ac_tool_prefix"; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9307 $as_echo_n "checking for file... " >&6; }
9308 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9309 $as_echo_n "(cached) " >&6
9313 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9316 lt_save_MAGIC_CMD
=$MAGIC_CMD
9317 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9318 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9319 for ac_dir
in $ac_dummy; do
9321 test -z "$ac_dir" && ac_dir
=.
9322 if test -f "$ac_dir/file"; then
9323 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9324 if test -n "$file_magic_test_file"; then
9325 case $deplibs_check_method in
9327 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9328 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9329 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9330 $EGREP "$file_magic_regex" > /dev
/null
; then
9335 *** Warning: the command libtool uses to detect shared libraries,
9336 *** $file_magic_cmd, produces output that libtool cannot recognize.
9337 *** The result is that libtool may fail to recognize shared libraries
9338 *** as such. This will affect the creation of libtool libraries that
9339 *** depend on shared libraries, but programs linked with such libtool
9340 *** libraries will work regardless of this problem. Nevertheless, you
9341 *** may want to report the problem to your system manager and/or to
9342 *** bug-libtool@gnu.org
9352 MAGIC_CMD
=$lt_save_MAGIC_CMD
9357 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9358 if test -n "$MAGIC_CMD"; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9360 $as_echo "$MAGIC_CMD" >&6; }
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9363 $as_echo "no" >&6; }
9376 # Use C for the default configuration in the libtool script
9380 ac_cpp
='$CPP $CPPFLAGS'
9381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9386 # Source file extension for C test sources.
9389 # Object file extension for compiled C test sources.
9393 # Code to be used in simple compile tests
9394 lt_simple_compile_test_code
="int some_variable = 0;"
9396 # Code to be used in simple link tests
9397 lt_simple_link_test_code
='int main(){return(0);}'
9405 # If no C compiler was specified, use CC.
9408 # If no C compiler flags were specified, use CFLAGS.
9409 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9411 # Allow CC to be a program name with arguments.
9414 # Save the default compiler, since it gets overwritten when the other
9415 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9416 compiler_DEFAULT
=$CC
9418 # save warnings/boilerplate of simple test code
9419 ac_outfile
=conftest.
$ac_objext
9420 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9421 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9422 _lt_compiler_boilerplate
=`cat conftest.err`
9425 ac_outfile
=conftest.
$ac_objext
9426 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9427 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9428 _lt_linker_boilerplate
=`cat conftest.err`
9433 ## There is no encapsulation within the following macros, do not change
9434 ## the running order or otherwise move them around unless you know exactly
9435 ## what you are doing...
9436 if test -n "$compiler"; then
9438 lt_prog_compiler_no_builtin_flag
=
9440 if test yes = "$GCC"; then
9441 case $cc_basename in
9443 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9445 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9449 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9450 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9451 $as_echo_n "(cached) " >&6
9453 lt_cv_prog_compiler_rtti_exceptions
=no
9454 ac_outfile
=conftest.
$ac_objext
9455 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9456 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9457 # Insert the option either (1) after the last *FLAGS variable, or
9458 # (2) before a word containing "conftest.", or (3) at the end.
9459 # Note that $ac_compile itself does not contain backslashes and begins
9460 # with a dollar sign (not a hyphen), so the echo should work correctly.
9461 # The option is referenced via a variable to avoid confusing sed.
9462 lt_compile
=`echo "$ac_compile" | $SED \
9463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9465 -e 's:$: $lt_compiler_flag:'`
9466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9467 (eval "$lt_compile" 2>conftest.err
)
9469 cat conftest.err
>&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 if (exit $ac_status) && test -s "$ac_outfile"; then
9472 # The compiler can only warn and ignore the option if not recognized
9473 # So say no if there are warnings other than the usual output.
9474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9475 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9476 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9477 lt_cv_prog_compiler_rtti_exceptions
=yes
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9484 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9486 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9487 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9499 lt_prog_compiler_wl
=
9500 lt_prog_compiler_pic
=
9501 lt_prog_compiler_static
=
9504 if test yes = "$GCC"; then
9505 lt_prog_compiler_wl
='-Wl,'
9506 lt_prog_compiler_static
='-static'
9510 # All AIX code is PIC.
9511 if test ia64
= "$host_cpu"; then
9512 # AIX 5 now supports IA64 processor
9513 lt_prog_compiler_static
='-Bstatic'
9515 lt_prog_compiler_pic
='-fPIC'
9521 # see comment about AmigaOS4 .so support
9522 lt_prog_compiler_pic
='-fPIC'
9525 # FIXME: we need at least 68020 code to build shared libraries, but
9526 # adding the '-m68020' flag to GCC prevents building anything better,
9528 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9533 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9534 # PIC is the default for these OSes.
9537 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9538 # This hack is so that the source file can tell whether it is being
9539 # built for inclusion in a dll (and should export symbols for example).
9540 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9541 # (--disable-auto-import) libraries
9542 lt_prog_compiler_pic
='-DDLL_EXPORT'
9545 lt_prog_compiler_static
='$wl-static'
9550 darwin
* | rhapsody
*)
9551 # PIC is the default on this platform
9552 # Common symbols not allowed in MH_DYLIB files
9553 lt_prog_compiler_pic
='-fno-common'
9557 # PIC is the default for Haiku.
9558 # The "-static" flag exists, but is broken.
9559 lt_prog_compiler_static
=
9563 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9564 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9565 # sets the default TLS model and affects inlining.
9571 lt_prog_compiler_pic
='-fPIC'
9577 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9578 # Instead, we relocate shared libraries at runtime.
9582 # Just because we use GCC doesn't mean we suddenly get shared libraries
9583 # on systems that don't support them.
9584 lt_prog_compiler_can_build_shared
=no
9589 # QNX uses GNU C++, but need to define -shared option too, otherwise
9591 lt_prog_compiler_pic
='-fPIC -shared'
9595 if test -d /usr
/nec
; then
9596 lt_prog_compiler_pic
=-Kconform_pic
9601 lt_prog_compiler_pic
='-fPIC'
9605 case $cc_basename in
9606 nvcc
*) # Cuda Compiler Driver 2.2
9607 lt_prog_compiler_wl
='-Xlinker '
9608 if test -n "$lt_prog_compiler_pic"; then
9609 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9614 # PORTME Check for flag to pass linker flags through the system compiler.
9617 lt_prog_compiler_wl
='-Wl,'
9618 if test ia64
= "$host_cpu"; then
9619 # AIX 5 now supports IA64 processor
9620 lt_prog_compiler_static
='-Bstatic'
9622 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9626 darwin
* | rhapsody
*)
9627 # PIC is the default on this platform
9628 # Common symbols not allowed in MH_DYLIB files
9629 lt_prog_compiler_pic
='-fno-common'
9630 case $cc_basename in
9632 # NAG Fortran compiler
9633 lt_prog_compiler_wl
='-Wl,-Wl,,'
9634 lt_prog_compiler_pic
='-PIC'
9635 lt_prog_compiler_static
='-Bstatic'
9640 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9641 # This hack is so that the source file can tell whether it is being
9642 # built for inclusion in a dll (and should export symbols for example).
9643 lt_prog_compiler_pic
='-DDLL_EXPORT'
9646 lt_prog_compiler_static
='$wl-static'
9651 hpux9
* | hpux10
* | hpux11
*)
9652 lt_prog_compiler_wl
='-Wl,'
9653 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9660 lt_prog_compiler_pic
='+Z'
9663 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9664 lt_prog_compiler_static
='$wl-a ${wl}archive'
9667 irix5
* | irix6
* | nonstopux
*)
9668 lt_prog_compiler_wl
='-Wl,'
9669 # PIC (with -KPIC) is the default.
9670 lt_prog_compiler_static
='-non_shared'
9673 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9674 case $cc_basename in
9675 # old Intel for x86_64, which still supported -KPIC.
9677 lt_prog_compiler_wl
='-Wl,'
9678 lt_prog_compiler_pic
='-KPIC'
9679 lt_prog_compiler_static
='-static'
9681 # icc used to be incompatible with GCC.
9682 # ICC 10 doesn't accept -KPIC any more.
9684 lt_prog_compiler_wl
='-Wl,'
9685 lt_prog_compiler_pic
='-fPIC'
9686 lt_prog_compiler_static
='-static'
9688 # Lahey Fortran 8.1.
9690 lt_prog_compiler_wl
='-Wl,'
9691 lt_prog_compiler_pic
='--shared'
9692 lt_prog_compiler_static
='--static'
9695 # NAG Fortran compiler
9696 lt_prog_compiler_wl
='-Wl,-Wl,,'
9697 lt_prog_compiler_pic
='-PIC'
9698 lt_prog_compiler_static
='-Bstatic'
9701 # Fabrice Bellard et al's Tiny C Compiler
9702 lt_prog_compiler_wl
='-Wl,'
9703 lt_prog_compiler_pic
='-fPIC'
9704 lt_prog_compiler_static
='-static'
9706 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9707 # Portland Group compilers (*not* the Pentium gcc compiler,
9708 # which looks to be a dead project)
9709 lt_prog_compiler_wl
='-Wl,'
9710 lt_prog_compiler_pic
='-fpic'
9711 lt_prog_compiler_static
='-Bstatic'
9714 lt_prog_compiler_wl
='-Wl,'
9715 # All Alpha code is PIC.
9716 lt_prog_compiler_static
='-non_shared'
9718 xl
* | bgxl
* | bgf
* | mpixl
*)
9719 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9720 lt_prog_compiler_wl
='-Wl,'
9721 lt_prog_compiler_pic
='-qpic'
9722 lt_prog_compiler_static
='-qstaticlink'
9725 case `$CC -V 2>&1 | sed 5q` in
9726 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9727 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9728 lt_prog_compiler_pic
='-KPIC'
9729 lt_prog_compiler_static
='-Bstatic'
9730 lt_prog_compiler_wl
=''
9732 *Sun\ F
* | *Sun
*Fortran
*)
9733 lt_prog_compiler_pic
='-KPIC'
9734 lt_prog_compiler_static
='-Bstatic'
9735 lt_prog_compiler_wl
='-Qoption ld '
9739 lt_prog_compiler_pic
='-KPIC'
9740 lt_prog_compiler_static
='-Bstatic'
9741 lt_prog_compiler_wl
='-Wl,'
9743 *Intel
*\
[CF
]*Compiler
*)
9744 lt_prog_compiler_wl
='-Wl,'
9745 lt_prog_compiler_pic
='-fPIC'
9746 lt_prog_compiler_static
='-static'
9749 lt_prog_compiler_wl
='-Wl,'
9750 lt_prog_compiler_pic
='-fpic'
9751 lt_prog_compiler_static
='-Bstatic'
9759 lt_prog_compiler_pic
='-KPIC'
9760 lt_prog_compiler_static
='-Bstatic'
9764 # QNX uses GNU C++, but need to define -shared option too, otherwise
9766 lt_prog_compiler_pic
='-fPIC -shared'
9769 osf3
* | osf4
* | osf5
*)
9770 lt_prog_compiler_wl
='-Wl,'
9771 # All OSF/1 code is PIC.
9772 lt_prog_compiler_static
='-non_shared'
9776 lt_prog_compiler_static
='-non_shared'
9780 lt_prog_compiler_pic
='-KPIC'
9781 lt_prog_compiler_static
='-Bstatic'
9782 case $cc_basename in
9783 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9784 lt_prog_compiler_wl
='-Qoption ld ';;
9786 lt_prog_compiler_wl
='-Wl,';;
9791 lt_prog_compiler_wl
='-Qoption ld '
9792 lt_prog_compiler_pic
='-PIC'
9793 lt_prog_compiler_static
='-Bstatic'
9796 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9797 lt_prog_compiler_wl
='-Wl,'
9798 lt_prog_compiler_pic
='-KPIC'
9799 lt_prog_compiler_static
='-Bstatic'
9803 if test -d /usr
/nec
; then
9804 lt_prog_compiler_pic
='-Kconform_pic'
9805 lt_prog_compiler_static
='-Bstatic'
9809 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9810 lt_prog_compiler_wl
='-Wl,'
9811 lt_prog_compiler_pic
='-KPIC'
9812 lt_prog_compiler_static
='-Bstatic'
9816 lt_prog_compiler_wl
='-Wl,'
9817 lt_prog_compiler_can_build_shared
=no
9821 lt_prog_compiler_pic
='-pic'
9822 lt_prog_compiler_static
='-Bstatic'
9826 lt_prog_compiler_can_build_shared
=no
9832 # For platforms that do not support PIC, -DPIC is meaningless:
9834 lt_prog_compiler_pic
=
9837 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9842 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9843 if ${lt_cv_prog_compiler_pic+:} false
; then :
9844 $as_echo_n "(cached) " >&6
9846 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9849 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9850 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9853 # Check to make sure the PIC flag actually works.
9855 if test -n "$lt_prog_compiler_pic"; then
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9857 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9858 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9859 $as_echo_n "(cached) " >&6
9861 lt_cv_prog_compiler_pic_works
=no
9862 ac_outfile
=conftest.
$ac_objext
9863 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9864 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9865 # Insert the option either (1) after the last *FLAGS variable, or
9866 # (2) before a word containing "conftest.", or (3) at the end.
9867 # Note that $ac_compile itself does not contain backslashes and begins
9868 # with a dollar sign (not a hyphen), so the echo should work correctly.
9869 # The option is referenced via a variable to avoid confusing sed.
9870 lt_compile
=`echo "$ac_compile" | $SED \
9871 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9872 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9873 -e 's:$: $lt_compiler_flag:'`
9874 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9875 (eval "$lt_compile" 2>conftest.err
)
9877 cat conftest.err
>&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 if (exit $ac_status) && test -s "$ac_outfile"; then
9880 # The compiler can only warn and ignore the option if not recognized
9881 # So say no if there are warnings other than the usual output.
9882 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9883 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9884 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9885 lt_cv_prog_compiler_pic_works
=yes
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9892 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9894 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9895 case $lt_prog_compiler_pic in
9897 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9900 lt_prog_compiler_pic
=
9901 lt_prog_compiler_can_build_shared
=no
9917 # Check to make sure the static flag actually works.
9919 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9921 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9922 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9923 $as_echo_n "(cached) " >&6
9925 lt_cv_prog_compiler_static_works
=no
9926 save_LDFLAGS
=$LDFLAGS
9927 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9928 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9929 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9930 # The linker can only warn and ignore the option if not recognized
9931 # So say no if there are warnings
9932 if test -s conftest.err
; then
9933 # Append any errors to the config.log.
9934 cat conftest.err
1>&5
9935 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9936 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9937 if diff conftest.exp conftest.er2
>/dev
/null
; then
9938 lt_cv_prog_compiler_static_works
=yes
9941 lt_cv_prog_compiler_static_works
=yes
9945 LDFLAGS
=$save_LDFLAGS
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9949 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9951 if test yes = "$lt_cv_prog_compiler_static_works"; then
9954 lt_prog_compiler_static
=
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9964 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9965 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9966 $as_echo_n "(cached) " >&6
9968 lt_cv_prog_compiler_c_o
=no
9969 $RM -r conftest
2>/dev
/null
9973 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9975 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9976 # Insert the option either (1) after the last *FLAGS variable, or
9977 # (2) before a word containing "conftest.", or (3) at the end.
9978 # Note that $ac_compile itself does not contain backslashes and begins
9979 # with a dollar sign (not a hyphen), so the echo should work correctly.
9980 lt_compile
=`echo "$ac_compile" | $SED \
9981 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9982 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9983 -e 's:$: $lt_compiler_flag:'`
9984 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9985 (eval "$lt_compile" 2>out
/conftest.err
)
9987 cat out
/conftest.err
>&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9991 # The compiler can only warn and ignore the option if not recognized
9992 # So say no if there are warnings
9993 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9994 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9995 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9996 lt_cv_prog_compiler_c_o
=yes
10001 # SGI C++ compiler will create directory out/ii_files/ for
10002 # template instantiation
10003 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10004 $RM out
/* && rmdir out
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10011 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10019 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10020 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10021 $as_echo_n "(cached) " >&6
10023 lt_cv_prog_compiler_c_o
=no
10024 $RM -r conftest
2>/dev
/null
10028 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10030 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10031 # Insert the option either (1) after the last *FLAGS variable, or
10032 # (2) before a word containing "conftest.", or (3) at the end.
10033 # Note that $ac_compile itself does not contain backslashes and begins
10034 # with a dollar sign (not a hyphen), so the echo should work correctly.
10035 lt_compile
=`echo "$ac_compile" | $SED \
10036 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10037 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10038 -e 's:$: $lt_compiler_flag:'`
10039 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10040 (eval "$lt_compile" 2>out
/conftest.err
)
10042 cat out
/conftest.err
>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10046 # The compiler can only warn and ignore the option if not recognized
10047 # So say no if there are warnings
10048 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10049 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10050 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10051 lt_cv_prog_compiler_c_o
=yes
10056 # SGI C++ compiler will create directory out/ii_files/ for
10057 # template instantiation
10058 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10059 $RM out
/* && rmdir out
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10066 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10071 hard_links
=nottested
10072 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10073 # do not overwrite the value of need_locks provided by the user
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10075 $as_echo_n "checking if we can lock with hard links... " >&6; }
10078 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10080 ln conftest.a conftest.b
2>&5 || hard_links
=no
10081 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10083 $as_echo "$hard_links" >&6; }
10084 if test no
= "$hard_links"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10086 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10099 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10102 allow_undefined_flag
=
10103 always_export_symbols
=no
10105 archive_expsym_cmds
=
10106 compiler_needs_object
=no
10107 enable_shared_with_static_runtimes
=no
10108 export_dynamic_flag_spec
=
10109 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10110 hardcode_automatic
=no
10112 hardcode_direct_absolute
=no
10113 hardcode_libdir_flag_spec
=
10114 hardcode_libdir_separator
=
10115 hardcode_minus_L
=no
10116 hardcode_shlibpath_var
=unsupported
10118 link_all_deplibs
=unknown
10120 module_expsym_cmds
=
10121 old_archive_from_new_cmds
=
10122 old_archive_from_expsyms_cmds
=
10123 thread_safe_flag_spec
=
10124 whole_archive_flag_spec
=
10125 # include_expsyms should be a list of space-separated symbols to be *always*
10126 # included in the symbol list
10128 # exclude_expsyms can be an extended regexp of symbols to exclude
10129 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10130 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10131 # as well as any symbol that contains 'd'.
10132 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10133 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10134 # platforms (ab)use it in PIC code, but their linkers get confused if
10135 # the symbol is explicitly referenced. Since portable code cannot
10136 # rely on this symbol name, it's probably fine to never include it in
10137 # preloaded symbol tables.
10138 # Exclude shared library initialization/finalization symbols.
10139 extract_expsyms_cmds
=
10142 cygwin
* | mingw
* | pw32
* | cegcc
*)
10143 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10144 # When not using gcc, we currently assume that we are using
10145 # Microsoft Visual C++.
10146 if test yes != "$GCC"; then
10151 # we just hope/assume this is gcc and not c89 (= MSVC++)
10154 openbsd
* | bitrig
*)
10161 # On some targets, GNU ld is compatible enough with the native linker
10162 # that we're better off using the native interface for both.
10163 lt_use_gnu_ld_interface
=no
10164 if test yes = "$with_gnu_ld"; then
10167 # The AIX port of GNU ld has always aspired to compatibility
10168 # with the native linker. However, as the warning in the GNU ld
10169 # block says, versions before 2.19.5* couldn't really create working
10170 # shared libraries, regardless of the interface used.
10171 case `$LD -v 2>&1` in
10172 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10173 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10174 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10176 lt_use_gnu_ld_interface
=yes
10181 lt_use_gnu_ld_interface
=yes
10186 if test yes = "$lt_use_gnu_ld_interface"; then
10187 # If archive_cmds runs LD, not CC, wlarc should be empty
10190 # Set some defaults for GNU ld with shared library support. These
10191 # are reset later if shared libraries are not supported. Putting them
10192 # here allows them to be overridden if necessary.
10193 runpath_var
=LD_RUN_PATH
10194 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10195 export_dynamic_flag_spec
='$wl--export-dynamic'
10196 # ancient GNU ld didn't support --whole-archive et. al.
10197 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10198 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10200 whole_archive_flag_spec
=
10202 supports_anon_versioning
=no
10203 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10204 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10205 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10206 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10207 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10208 *\
2.11.
*) ;; # other 2.11 versions
10209 *) supports_anon_versioning
=yes ;;
10212 # See if GNU ld supports shared libraries.
10215 # On AIX/PPC, the GNU linker is very broken
10216 if test ia64
!= "$host_cpu"; then
10220 *** Warning: the GNU linker, at least up to release 2.19, is reported
10221 *** to be unable to reliably create shared libraries on AIX.
10222 *** Therefore, libtool is disabling shared libraries support. If you
10223 *** really care for shared libraries, you may want to install binutils
10224 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10225 *** You will then need to restart the configuration process.
10234 # see comment about AmigaOS4 .so support
10235 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10236 archive_expsym_cmds
=''
10239 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)'
10240 hardcode_libdir_flag_spec
='-L$libdir'
10241 hardcode_minus_L
=yes
10247 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10248 allow_undefined_flag
=unsupported
10249 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10250 # support --undefined. This deserves some investigation. FIXME
10251 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10257 cygwin
* | mingw
* | pw32
* | cegcc
*)
10258 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10259 # as there is no search path for DLLs.
10260 hardcode_libdir_flag_spec
='-L$libdir'
10261 export_dynamic_flag_spec
='$wl--export-all-symbols'
10262 allow_undefined_flag
=unsupported
10263 always_export_symbols
=no
10264 enable_shared_with_static_runtimes
=yes
10265 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'
10266 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10268 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10269 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10270 # If the export-symbols file already is a .def file, use it as
10271 # is; otherwise, prepend EXPORTS...
10272 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10273 cp $export_symbols $output_objdir/$soname.def;
10275 echo EXPORTS > $output_objdir/$soname.def;
10276 cat $export_symbols >> $output_objdir/$soname.def;
10278 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10285 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10286 link_all_deplibs
=yes
10290 hardcode_libdir_flag_spec
='-L$libdir'
10291 hardcode_minus_L
=yes
10292 allow_undefined_flag
=unsupported
10294 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10295 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10296 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10297 $ECHO EXPORTS >> $output_objdir/$libname.def~
10298 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10299 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10300 emximp -o $lib $output_objdir/$libname.def'
10301 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10302 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10303 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10304 $ECHO EXPORTS >> $output_objdir/$libname.def~
10305 prefix_cmds="$SED"~
10306 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10307 prefix_cmds="$prefix_cmds -e 1d";
10309 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10310 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10311 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10312 emximp -o $lib $output_objdir/$libname.def'
10313 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10314 enable_shared_with_static_runtimes
=yes
10319 hardcode_shlibpath_var
=no
10320 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10321 export_dynamic_flag_spec
='$wl-E'
10322 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10323 # Instead, shared libraries are loaded at an image base (0x10000000 by
10324 # default) and relocated if they conflict, which is a slow very memory
10325 # consuming and fragmenting process. To avoid this, we pick a random,
10326 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10327 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10328 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10329 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'
10332 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10334 if test linux
-dietlibc = "$host_os"; then
10335 case $cc_basename in
10336 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10339 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10340 && test no
= "$tmp_diet"
10342 tmp_addflag
=' $pic_flag'
10343 tmp_sharedflag
='-shared'
10344 case $cc_basename,$host_cpu in
10345 pgcc
*) # Portland Group C compiler
10346 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'
10347 tmp_addflag
=' $pic_flag'
10349 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10350 # Portland Group f77 and f90 compilers
10351 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'
10352 tmp_addflag
=' $pic_flag -Mnomain' ;;
10353 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10354 tmp_addflag
=' -i_dynamic' ;;
10355 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10356 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10357 ifc
* | ifort
*) # Intel Fortran compiler
10358 tmp_addflag
=' -nofor_main' ;;
10359 lf95
*) # Lahey Fortran 8.1
10360 whole_archive_flag_spec
=
10361 tmp_sharedflag
='--shared' ;;
10362 nagfor
*) # NAGFOR 5.3
10363 tmp_sharedflag
='-Wl,-shared' ;;
10364 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10365 tmp_sharedflag
='-qmkshrobj'
10367 nvcc
*) # Cuda Compiler Driver 2.2
10368 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'
10369 compiler_needs_object
=yes
10372 case `$CC -V 2>&1 | sed 5q` in
10373 *Sun\ C
*) # Sun C 5.9
10374 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'
10375 compiler_needs_object
=yes
10376 tmp_sharedflag
='-G' ;;
10377 *Sun\ F
*) # Sun Fortran 8.3
10378 tmp_sharedflag
='-G' ;;
10380 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10382 if test yes = "$supports_anon_versioning"; then
10383 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10384 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10385 echo "local: *; };" >> $output_objdir/$libname.ver~
10386 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10389 case $cc_basename in
10391 export_dynamic_flag_spec
='-rdynamic'
10393 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10394 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10395 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10396 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10397 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10398 if test yes = "$supports_anon_versioning"; then
10399 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10400 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10401 echo "local: *; };" >> $output_objdir/$libname.ver~
10402 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10412 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10413 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10416 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10417 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10422 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10426 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10427 *** create shared libraries on Solaris systems. Therefore, libtool
10428 *** is disabling shared libraries support. We urge you to upgrade GNU
10429 *** binutils to release 2.9.1 or newer. Another option is to modify
10430 *** your PATH or compiler configuration so that the native linker is
10431 *** used, and then restart.
10434 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10435 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10436 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10442 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10443 case `$LD -v 2>&1` in
10444 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10448 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10449 *** reliably create shared libraries on SCO systems. Therefore, libtool
10450 *** is disabling shared libraries support. We urge you to upgrade GNU
10451 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10452 *** your PATH or compiler configuration so that the native linker is
10453 *** used, and then restart.
10458 # For security reasons, it is highly recommended that you always
10459 # use absolute paths for naming shared libraries, and exclude the
10460 # DT_RUNPATH tag from executables and libraries. But doing so
10461 # requires that you compile everything twice, which is a pain.
10462 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10463 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10464 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10465 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10474 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10476 hardcode_direct
=yes
10477 hardcode_shlibpath_var
=no
10481 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10482 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10483 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10490 if test no
= "$ld_shlibs"; then
10492 hardcode_libdir_flag_spec
=
10493 export_dynamic_flag_spec
=
10494 whole_archive_flag_spec
=
10497 # PORTME fill in a description of your system's linker (not GNU ld)
10500 allow_undefined_flag
=unsupported
10501 always_export_symbols
=yes
10502 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'
10503 # Note: this linker hardcodes the directories in LIBPATH if there
10504 # are no directories specified by -L.
10505 hardcode_minus_L
=yes
10506 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10507 # Neither direct hardcoding nor static linking is supported with a
10509 hardcode_direct
=unsupported
10514 if test ia64
= "$host_cpu"; then
10515 # On IA64, the linker does run time linking by default, so we don't
10516 # have to do anything special.
10517 aix_use_runtimelinking
=no
10518 exp_sym_flag
='-Bexport'
10521 # If we're using GNU nm, then we don't want the "-C" option.
10522 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10523 # Without the "-l" option, or with the "-B" option, AIX nm treats
10524 # weak defined symbols like other global defined symbols, whereas
10525 # GNU nm marks them as "W".
10526 # While the 'weak' keyword is ignored in the Export File, we need
10527 # it in the Import File for the 'aix-soname' feature, so we have
10528 # to replace the "-B" option with "-P" for AIX nm.
10529 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10530 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'
10532 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'
10534 aix_use_runtimelinking
=no
10536 # Test if we are trying to use run time linking or normal
10537 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10538 # have runtime linking enabled, and use it for executables.
10539 # For shared libraries, we enable/disable runtime linking
10540 # depending on the kind of the shared library created -
10541 # when "with_aix_soname,aix_use_runtimelinking" is:
10542 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10543 # "aix,yes" lib.so shared, rtl:yes, for executables
10544 # lib.a static archive
10545 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10546 # lib.a(lib.so.V) shared, rtl:no, for executables
10547 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10548 # lib.a(lib.so.V) shared, rtl:no
10549 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10550 # lib.a static archive
10551 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10552 for ld_flag
in $LDFLAGS; do
10553 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
10554 aix_use_runtimelinking
=yes
10558 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10559 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10560 # so we don't have lib.a shared libs to link our executables.
10561 # We have to force runtime linking in this case.
10562 aix_use_runtimelinking
=yes
10563 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10568 exp_sym_flag
='-bexport'
10569 no_entry_flag
='-bnoentry'
10572 # When large executables or shared objects are built, AIX ld can
10573 # have problems creating the table of contents. If linking a library
10574 # or program results in "error TOC overflow" add -mminimal-toc to
10575 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10576 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10579 hardcode_direct
=yes
10580 hardcode_direct_absolute
=yes
10581 hardcode_libdir_separator
=':'
10582 link_all_deplibs
=yes
10583 file_list_spec
='$wl-f,'
10584 case $with_aix_soname,$aix_use_runtimelinking in
10585 aix
,*) ;; # traditional, no import file
10586 svr4
,* | *,yes) # use import file
10587 # The Import File defines what to hardcode.
10589 hardcode_direct_absolute
=no
10593 if test yes = "$GCC"; then
10594 case $host_os in aix4.
[012]|aix4.
[012].
*)
10595 # We only want to do this on AIX 4.2 and lower, the check
10596 # below for broken collect2 doesn't work under 4.3+
10597 collect2name
=`$CC -print-prog-name=collect2`
10598 if test -f "$collect2name" &&
10599 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10601 # We have reworked collect2
10604 # We have old collect2
10605 hardcode_direct
=unsupported
10606 # It fails to find uninstalled libraries when the uninstalled
10607 # path is not listed in the libpath. Setting hardcode_minus_L
10608 # to unsupported forces relinking
10609 hardcode_minus_L
=yes
10610 hardcode_libdir_flag_spec
='-L$libdir'
10611 hardcode_libdir_separator
=
10615 shared_flag
='-shared'
10616 if test yes = "$aix_use_runtimelinking"; then
10617 shared_flag
="$shared_flag "'$wl-G'
10619 # Need to ensure runtime linking is disabled for the traditional
10620 # shared library, or the linker may eventually find shared libraries
10621 # /with/ Import File - we do not want to mix them.
10622 shared_flag_aix
='-shared'
10623 shared_flag_svr4
='-shared $wl-G'
10626 if test ia64
= "$host_cpu"; then
10627 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10628 # chokes on -Wl,-G. The following line is correct:
10631 if test yes = "$aix_use_runtimelinking"; then
10632 shared_flag
='$wl-G'
10634 shared_flag
='$wl-bM:SRE'
10636 shared_flag_aix
='$wl-bM:SRE'
10637 shared_flag_svr4
='$wl-G'
10641 export_dynamic_flag_spec
='$wl-bexpall'
10642 # It seems that -bexpall does not export symbols beginning with
10643 # underscore (_), so it is better to generate a list of symbols to export.
10644 always_export_symbols
=yes
10645 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10646 # Warning - without using the other runtime loading flags (-brtl),
10647 # -berok will link without error, but may produce a broken library.
10648 allow_undefined_flag
='-berok'
10649 # Determine the default libpath from the value encoded in an
10650 # empty executable.
10651 if test set = "${lt_cv_aix_libpath+set}"; then
10652 aix_libpath
=$lt_cv_aix_libpath
10654 if ${lt_cv_aix_libpath_+:} false
; then :
10655 $as_echo_n "(cached) " >&6
10657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10658 /* end confdefs.h. */
10668 if ac_fn_c_try_link
"$LINENO"; then :
10670 lt_aix_libpath_sed
='
10671 /Import File Strings/,/^$/ {
10673 s/^0 *\([^ ]*\) *$/\1/
10677 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10678 # Check for a 64-bit object if we didn't find anything.
10679 if test -z "$lt_cv_aix_libpath_"; then
10680 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10683 rm -f core conftest.err conftest.
$ac_objext \
10684 conftest
$ac_exeext conftest.
$ac_ext
10685 if test -z "$lt_cv_aix_libpath_"; then
10686 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10691 aix_libpath
=$lt_cv_aix_libpath_
10694 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10695 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
10697 if test ia64
= "$host_cpu"; then
10698 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10699 allow_undefined_flag
="-z nodefs"
10700 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"
10702 # Determine the default libpath from the value encoded in an
10703 # empty executable.
10704 if test set = "${lt_cv_aix_libpath+set}"; then
10705 aix_libpath
=$lt_cv_aix_libpath
10707 if ${lt_cv_aix_libpath_+:} false
; then :
10708 $as_echo_n "(cached) " >&6
10710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10721 if ac_fn_c_try_link
"$LINENO"; then :
10723 lt_aix_libpath_sed
='
10724 /Import File Strings/,/^$/ {
10726 s/^0 *\([^ ]*\) *$/\1/
10730 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10731 # Check for a 64-bit object if we didn't find anything.
10732 if test -z "$lt_cv_aix_libpath_"; then
10733 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10736 rm -f core conftest.err conftest.
$ac_objext \
10737 conftest
$ac_exeext conftest.
$ac_ext
10738 if test -z "$lt_cv_aix_libpath_"; then
10739 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10744 aix_libpath
=$lt_cv_aix_libpath_
10747 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10748 # Warning - without using the other run time loading flags,
10749 # -berok will link without error, but may produce a broken library.
10750 no_undefined_flag
=' $wl-bernotok'
10751 allow_undefined_flag
=' $wl-berok'
10752 if test yes = "$with_gnu_ld"; then
10753 # We only use this code for GNU lds that support --whole-archive.
10754 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10756 # Exported symbols can be pulled into shared objects from archives
10757 whole_archive_flag_spec
='$convenience'
10759 archive_cmds_need_lc
=yes
10760 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10761 # -brtl affects multiple linker settings, -berok does not and is overridden later
10762 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10763 if test svr4
!= "$with_aix_soname"; then
10764 # This is similar to how AIX traditionally builds its shared libraries.
10765 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'
10767 if test aix
!= "$with_aix_soname"; then
10768 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'
10770 # used by -dlpreopen to get the symbols
10771 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10773 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10781 # see comment about AmigaOS4 .so support
10782 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10783 archive_expsym_cmds
=''
10786 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)'
10787 hardcode_libdir_flag_spec
='-L$libdir'
10788 hardcode_minus_L
=yes
10794 export_dynamic_flag_spec
=-rdynamic
10797 cygwin
* | mingw
* | pw32
* | cegcc
*)
10798 # When not using gcc, we currently assume that we are using
10799 # Microsoft Visual C++.
10800 # hardcode_libdir_flag_spec is actually meaningless, as there is
10801 # no search path for DLLs.
10802 case $cc_basename in
10805 hardcode_libdir_flag_spec
=' '
10806 allow_undefined_flag
=unsupported
10807 always_export_symbols
=yes
10809 # Tell ltmain to make .lib files, not .a files.
10811 # Tell ltmain to make .dll files, not .so files.
10813 # FIXME: Setting linknames here is a bad hack.
10814 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10815 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10816 cp "$export_symbols" "$output_objdir/$soname.def";
10817 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10819 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10821 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10823 # The linker will not automatically build a static lib if we build a DLL.
10824 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10825 enable_shared_with_static_runtimes
=yes
10826 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10827 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10829 old_postinstall_cmds
='chmod 644 $oldlib'
10830 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10831 lt_tool_outputfile="@TOOL_OUTPUT@"~
10832 case $lt_outputfile in
10835 lt_outputfile=$lt_outputfile.exe
10836 lt_tool_outputfile=$lt_tool_outputfile.exe
10839 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10840 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10841 $RM "$lt_outputfile.manifest";
10845 # Assume MSVC wrapper
10846 hardcode_libdir_flag_spec
=' '
10847 allow_undefined_flag
=unsupported
10848 # Tell ltmain to make .lib files, not .a files.
10850 # Tell ltmain to make .dll files, not .so files.
10852 # FIXME: Setting linknames here is a bad hack.
10853 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10854 # The linker will automatically build a .lib file if we build a DLL.
10855 old_archive_from_new_cmds
='true'
10856 # FIXME: Should let the user specify the lib program.
10857 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10858 enable_shared_with_static_runtimes
=yes
10863 darwin
* | rhapsody
*)
10866 archive_cmds_need_lc
=no
10868 hardcode_automatic
=yes
10869 hardcode_shlibpath_var
=unsupported
10870 if test yes = "$lt_cv_ld_force_load"; then
10871 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\"`'
10874 whole_archive_flag_spec
=''
10876 link_all_deplibs
=yes
10877 allow_undefined_flag
=$_lt_dar_allow_undefined
10878 case $cc_basename in
10879 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10880 *) _lt_dar_can_shared
=$GCC ;;
10882 if test yes = "$_lt_dar_can_shared"; then
10883 output_verbose_link_cmd
=func_echo_all
10884 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10885 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10886 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"
10887 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"
10896 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10897 hardcode_libdir_flag_spec
='-L$libdir'
10898 hardcode_shlibpath_var
=no
10901 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10902 # support. Future versions do this automatically, but an explicit c++rt0.o
10903 # does not break anything, and helps significantly (at the cost of a little
10906 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10907 hardcode_libdir_flag_spec
='-R$libdir'
10908 hardcode_direct
=yes
10909 hardcode_shlibpath_var
=no
10912 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10914 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10915 hardcode_direct
=yes
10916 hardcode_minus_L
=yes
10917 hardcode_shlibpath_var
=no
10920 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10921 freebsd
* | dragonfly
*)
10922 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10923 hardcode_libdir_flag_spec
='-R$libdir'
10924 hardcode_direct
=yes
10925 hardcode_shlibpath_var
=no
10929 if test yes = "$GCC"; then
10930 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'
10932 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'
10934 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10935 hardcode_libdir_separator
=:
10936 hardcode_direct
=yes
10938 # hardcode_minus_L: Not really in the search PATH,
10939 # but as the default location of the library.
10940 hardcode_minus_L
=yes
10941 export_dynamic_flag_spec
='$wl-E'
10945 if test yes,no
= "$GCC,$with_gnu_ld"; then
10946 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10948 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10950 if test no
= "$with_gnu_ld"; then
10951 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10952 hardcode_libdir_separator
=:
10953 hardcode_direct
=yes
10954 hardcode_direct_absolute
=yes
10955 export_dynamic_flag_spec
='$wl-E'
10956 # hardcode_minus_L: Not really in the search PATH,
10957 # but as the default location of the library.
10958 hardcode_minus_L
=yes
10963 if test yes,no
= "$GCC,$with_gnu_ld"; then
10966 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10969 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10972 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10978 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10981 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10985 # Older versions of the 11.00 compiler do not understand -b yet
10986 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10988 $as_echo_n "checking if $CC understands -b... " >&6; }
10989 if ${lt_cv_prog_compiler__b+:} false
; then :
10990 $as_echo_n "(cached) " >&6
10992 lt_cv_prog_compiler__b
=no
10993 save_LDFLAGS
=$LDFLAGS
10994 LDFLAGS
="$LDFLAGS -b"
10995 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10996 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10997 # The linker can only warn and ignore the option if not recognized
10998 # So say no if there are warnings
10999 if test -s conftest.err
; then
11000 # Append any errors to the config.log.
11001 cat conftest.err
1>&5
11002 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11003 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11004 if diff conftest.exp conftest.er2
>/dev
/null
; then
11005 lt_cv_prog_compiler__b
=yes
11008 lt_cv_prog_compiler__b
=yes
11012 LDFLAGS
=$save_LDFLAGS
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11016 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11018 if test yes = "$lt_cv_prog_compiler__b"; then
11019 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11021 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11027 if test no
= "$with_gnu_ld"; then
11028 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11029 hardcode_libdir_separator
=:
11034 hardcode_shlibpath_var
=no
11037 hardcode_direct
=yes
11038 hardcode_direct_absolute
=yes
11039 export_dynamic_flag_spec
='$wl-E'
11041 # hardcode_minus_L: Not really in the search PATH,
11042 # but as the default location of the library.
11043 hardcode_minus_L
=yes
11049 irix5
* | irix6
* | nonstopux
*)
11050 if test yes = "$GCC"; then
11051 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'
11052 # Try to use the -exported_symbol ld option, if it does not
11053 # work, assume that -exports_file does not work either and
11054 # implicitly export all symbols.
11055 # This should be the same for all languages, so no per-tag cache variable.
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11057 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11058 if ${lt_cv_irix_exported_symbol+:} false
; then :
11059 $as_echo_n "(cached) " >&6
11061 save_LDFLAGS
=$LDFLAGS
11062 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11065 int foo (void) { return 0; }
11067 if ac_fn_c_try_link
"$LINENO"; then :
11068 lt_cv_irix_exported_symbol
=yes
11070 lt_cv_irix_exported_symbol
=no
11072 rm -f core conftest.err conftest.
$ac_objext \
11073 conftest
$ac_exeext conftest.
$ac_ext
11074 LDFLAGS
=$save_LDFLAGS
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11077 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11078 if test yes = "$lt_cv_irix_exported_symbol"; then
11079 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'
11082 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'
11083 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'
11085 archive_cmds_need_lc
='no'
11086 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11087 hardcode_libdir_separator
=:
11089 link_all_deplibs
=yes
11093 case $cc_basename in
11095 # Fabrice Bellard et al's Tiny C Compiler
11097 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11103 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11104 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11106 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11108 hardcode_libdir_flag_spec
='-R$libdir'
11109 hardcode_direct
=yes
11110 hardcode_shlibpath_var
=no
11114 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11115 hardcode_direct
=yes
11116 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11117 hardcode_libdir_separator
=:
11118 hardcode_shlibpath_var
=no
11124 openbsd
* | bitrig
*)
11125 if test -f /usr
/libexec
/ld.so
; then
11126 hardcode_direct
=yes
11127 hardcode_shlibpath_var
=no
11128 hardcode_direct_absolute
=yes
11129 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11130 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11131 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11132 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11133 export_dynamic_flag_spec
='$wl-E'
11135 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11136 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11144 hardcode_libdir_flag_spec
='-L$libdir'
11145 hardcode_minus_L
=yes
11146 allow_undefined_flag
=unsupported
11148 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11149 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11150 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11151 $ECHO EXPORTS >> $output_objdir/$libname.def~
11152 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11153 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11154 emximp -o $lib $output_objdir/$libname.def'
11155 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11156 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11157 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11158 $ECHO EXPORTS >> $output_objdir/$libname.def~
11159 prefix_cmds="$SED"~
11160 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11161 prefix_cmds="$prefix_cmds -e 1d";
11163 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11164 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11165 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11166 emximp -o $lib $output_objdir/$libname.def'
11167 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11168 enable_shared_with_static_runtimes
=yes
11172 if test yes = "$GCC"; then
11173 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11174 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'
11176 allow_undefined_flag
=' -expect_unresolved \*'
11177 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'
11179 archive_cmds_need_lc
='no'
11180 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11181 hardcode_libdir_separator
=:
11184 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11185 if test yes = "$GCC"; then
11186 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11187 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'
11188 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11190 allow_undefined_flag
=' -expect_unresolved \*'
11191 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'
11192 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~
11193 $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'
11195 # Both c and cxx compiler support -rpath directly
11196 hardcode_libdir_flag_spec
='-rpath $libdir'
11198 archive_cmds_need_lc
='no'
11199 hardcode_libdir_separator
=:
11203 no_undefined_flag
=' -z defs'
11204 if test yes = "$GCC"; then
11206 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11207 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11208 $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'
11210 case `$CC -V 2>&1` in
11213 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11214 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11215 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11219 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11220 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11221 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11225 hardcode_libdir_flag_spec
='-R$libdir'
11226 hardcode_shlibpath_var
=no
11228 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11230 # The compiler driver will combine and reorder linker options,
11231 # but understands '-z linker_flag'. GCC discards it without '$wl',
11232 # but is careful enough not to reorder.
11233 # Supported since Solaris 2.6 (maybe 2.5.1?)
11234 if test yes = "$GCC"; then
11235 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11237 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11241 link_all_deplibs
=yes
11245 if test sequent
= "$host_vendor"; then
11246 # Use $CC to link under sequent, because it throws in some extra .o
11247 # files that make .init and .fini sections work.
11248 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11250 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11252 hardcode_libdir_flag_spec
='-L$libdir'
11253 hardcode_direct
=yes
11254 hardcode_minus_L
=yes
11255 hardcode_shlibpath_var
=no
11259 case $host_vendor in
11261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11262 hardcode_direct
=yes # is this really true???
11265 ## LD is ld it makes a PLAMLIB
11266 ## CC just makes a GrossModule.
11267 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11268 reload_cmds
='$CC -r -o $output$reload_objs'
11272 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11273 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11276 runpath_var
='LD_RUN_PATH'
11277 hardcode_shlibpath_var
=no
11281 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11282 hardcode_shlibpath_var
=no
11283 export_dynamic_flag_spec
='-Bexport'
11287 if test -d /usr
/nec
; then
11288 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11289 hardcode_shlibpath_var
=no
11290 runpath_var
=LD_RUN_PATH
11291 hardcode_runpath_var
=yes
11296 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11297 no_undefined_flag
='$wl-z,text'
11298 archive_cmds_need_lc
=no
11299 hardcode_shlibpath_var
=no
11300 runpath_var
='LD_RUN_PATH'
11302 if test yes = "$GCC"; then
11303 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11304 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11306 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11307 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11311 sysv5
* | sco3.2v5
* | sco5v6
*)
11312 # Note: We CANNOT use -z defs as we might desire, because we do not
11313 # link with -lc, and that would cause any symbols used from libc to
11314 # always be unresolved, which means just about no library would
11315 # ever link correctly. If we're not using GNU ld we use -z text
11316 # though, which does catch some bad symbols but isn't as heavy-handed
11318 no_undefined_flag
='$wl-z,text'
11319 allow_undefined_flag
='$wl-z,nodefs'
11320 archive_cmds_need_lc
=no
11321 hardcode_shlibpath_var
=no
11322 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11323 hardcode_libdir_separator
=':'
11324 link_all_deplibs
=yes
11325 export_dynamic_flag_spec
='$wl-Bexport'
11326 runpath_var
='LD_RUN_PATH'
11328 if test yes = "$GCC"; then
11329 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11330 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11332 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11333 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11338 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11339 hardcode_libdir_flag_spec
='-L$libdir'
11340 hardcode_shlibpath_var
=no
11348 if test sni
= "$host_vendor"; then
11350 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11351 export_dynamic_flag_spec
='$wl-Blargedynsym'
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11358 $as_echo "$ld_shlibs" >&6; }
11359 test no
= "$ld_shlibs" && can_build_shared
=no
11361 with_gnu_ld
=$with_gnu_ld
11378 # Do we need to explicitly link libc?
11380 case "x$archive_cmds_need_lc" in
11382 # Assume -lc should be added
11383 archive_cmds_need_lc
=yes
11385 if test yes,yes = "$GCC,$enable_shared"; then
11386 case $archive_cmds in
11388 # FIXME: we may have to deal with multi-command sequences.
11391 # Test whether the compiler implicitly links with -lc since on some
11392 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11393 # to ld, don't add -lc before -lgcc.
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11395 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11396 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11397 $as_echo_n "(cached) " >&6
11400 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11403 (eval $ac_compile) 2>&5
11405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11406 test $ac_status = 0; } 2>conftest.err
; then
11409 libobjs
=conftest.
$ac_objext
11411 wl
=$lt_prog_compiler_wl
11412 pic_flag
=$lt_prog_compiler_pic
11418 lt_save_allow_undefined_flag
=$allow_undefined_flag
11419 allow_undefined_flag
=
11420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11421 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11424 test $ac_status = 0; }
11426 lt_cv_archive_cmds_need_lc
=no
11428 lt_cv_archive_cmds_need_lc
=yes
11430 allow_undefined_flag
=$lt_save_allow_undefined_flag
11432 cat conftest.err
1>&5
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11438 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11439 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11598 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11600 if test yes = "$GCC"; then
11602 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11603 *) lt_awk_arg
='/^libraries:/' ;;
11606 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11607 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11609 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11610 case $lt_search_path_spec in
11612 # if the path contains ";" then we assume it to be the separator
11613 # otherwise default to the standard path separator (i.e. ":") - it is
11614 # assumed that no part of a normal pathname contains ";" but that should
11615 # okay in the real world where ";" in dirpaths is itself problematic.
11616 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11619 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11622 # Ok, now we have the path, separated by spaces, we can step through it
11623 # and add multilib dir if necessary...
11624 lt_tmp_lt_search_path_spec
=
11625 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11626 # ...but if some path component already ends with the multilib dir we assume
11627 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11628 case "$lt_multi_os_dir; $lt_search_path_spec " in
11629 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11633 for lt_sys_path
in $lt_search_path_spec; do
11634 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11635 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11636 elif test -n "$lt_multi_os_dir"; then
11637 test -d "$lt_sys_path" && \
11638 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11641 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11642 BEGIN {RS = " "; FS = "/|\n";} {
11645 for (lt_i = NF; lt_i > 0; lt_i--) {
11646 if ($lt_i != "" && $lt_i != ".") {
11647 if ($lt_i == "..") {
11650 if (lt_count == 0) {
11651 lt_foo = "/" $lt_i lt_foo;
11658 if (lt_foo != "") { lt_freq[lt_foo]++; }
11659 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11661 # AWK program above erroneously prepends '/' to C:/dos/paths
11664 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11665 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11667 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11669 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11671 library_names_spec
=
11672 libname_spec
='lib$name'
11676 postuninstall_cmds
=
11680 shlibpath_overrides_runpath
=unknown
11682 dynamic_linker
="$host_os ld.so"
11683 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11684 need_lib_prefix
=unknown
11685 hardcode_into_libs
=no
11687 # when you set need_version to no, make sure it does not cause -set_version
11688 # flags to be left without arguments
11689 need_version
=unknown
11695 version_type
=linux
# correct to gnu/linux during the next big refactor
11696 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11697 shlibpath_var
=LIBPATH
11699 # AIX 3 has no versioning support, so we append a major version to the name.
11700 soname_spec
='$libname$release$shared_ext$major'
11704 version_type
=linux
# correct to gnu/linux during the next big refactor
11707 hardcode_into_libs
=yes
11708 if test ia64
= "$host_cpu"; then
11709 # AIX 5 supports IA64
11710 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11711 shlibpath_var
=LD_LIBRARY_PATH
11713 # With GCC up to 2.95.x, collect2 would create an import file
11714 # for dependence libraries. The import file would start with
11715 # the line '#! .'. This would cause the generated library to
11716 # depend on '.', always an invalid library. This was fixed in
11717 # development snapshots of GCC prior to 3.0.
11719 aix4
| aix4.
[01] | aix4.
[01].
*)
11720 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11722 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11725 can_build_shared
=no
11729 # Using Import Files as archive members, it is possible to support
11730 # filename-based versioning of shared library archives on AIX. While
11731 # this would work for both with and without runtime linking, it will
11732 # prevent static linking of such archives. So we do filename-based
11733 # shared library versioning with .so extension only, which is used
11734 # when both runtime linking and shared linking is enabled.
11735 # Unfortunately, runtime linking may impact performance, so we do
11736 # not want this to be the default eventually. Also, we use the
11737 # versioned .so libs for executables only if there is the -brtl
11738 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11739 # To allow for filename-based versioning support, we need to create
11740 # libNAME.so.V as an archive file, containing:
11741 # *) an Import File, referring to the versioned filename of the
11742 # archive as well as the shared archive member, telling the
11743 # bitwidth (32 or 64) of that shared object, and providing the
11744 # list of exported symbols of that shared object, eventually
11745 # decorated with the 'weak' keyword
11746 # *) the shared object with the F_LOADONLY flag set, to really avoid
11747 # it being seen by the linker.
11748 # At run time we better use the real file rather than another symlink,
11749 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11751 case $with_aix_soname,$aix_use_runtimelinking in
11752 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11753 # soname into executable. Probably we can add versioning support to
11754 # collect2, so additional links can be useful in future.
11755 aix
,yes) # traditional libtool
11756 dynamic_linker
='AIX unversionable lib.so'
11757 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11758 # instead of lib<name>.a to let people know that these are not
11759 # typical AIX shared libraries.
11760 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11762 aix
,no
) # traditional AIX only
11763 dynamic_linker
='AIX lib.a(lib.so.V)'
11764 # We preserve .a as extension for shared libraries through AIX4.2
11765 # and later when we are not doing run time linking.
11766 library_names_spec
='$libname$release.a $libname.a'
11767 soname_spec
='$libname$release$shared_ext$major'
11769 svr4
,*) # full svr4 only
11770 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11771 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11772 # We do not specify a path in Import Files, so LIBPATH fires.
11773 shlibpath_overrides_runpath
=yes
11775 *,yes) # both, prefer svr4
11776 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11777 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11778 # unpreferred sharedlib libNAME.a needs extra handling
11779 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"'
11780 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"'
11781 # We do not specify a path in Import Files, so LIBPATH fires.
11782 shlibpath_overrides_runpath
=yes
11784 *,no
) # both, prefer aix
11785 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11786 library_names_spec
='$libname$release.a $libname.a'
11787 soname_spec
='$libname$release$shared_ext$major'
11788 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11789 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)'
11790 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"'
11793 shlibpath_var
=LIBPATH
11800 # Since July 2007 AmigaOS4 officially supports .so libraries.
11801 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11802 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11805 library_names_spec
='$libname.ixlibrary $libname.a'
11806 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11807 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'
11813 library_names_spec
='$libname$shared_ext'
11814 dynamic_linker
="$host_os ld.so"
11815 shlibpath_var
=LIBRARY_PATH
11819 version_type
=linux
# correct to gnu/linux during the next big refactor
11821 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11822 soname_spec
='$libname$release$shared_ext$major'
11823 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11824 shlibpath_var
=LD_LIBRARY_PATH
11825 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11826 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11827 # the default ld.so.conf also contains /usr/contrib/lib and
11828 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11829 # libtool to hard-code these into programs
11832 cygwin
* | mingw
* | pw32
* | cegcc
*)
11833 version_type
=windows
11838 case $GCC,$cc_basename in
11841 library_names_spec
='$libname.dll.a'
11842 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11843 postinstall_cmds
='base_file=`basename \$file`~
11844 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11845 dldir=$destdir/`dirname \$dlpath`~
11846 test -d \$dldir || mkdir -p \$dldir~
11847 $install_prog $dir/$dlname \$dldir/$dlname~
11848 chmod a+x \$dldir/$dlname~
11849 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11850 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11852 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11853 dlpath=$dir/\$dldll~
11855 shlibpath_overrides_runpath
=yes
11859 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11860 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11862 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11865 # MinGW DLLs use traditional 'lib' prefix
11866 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11869 # pw32 DLLs use 'pw' prefix rather than 'lib'
11870 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11873 dynamic_linker
='Win32 ld.exe'
11878 libname_spec
='$name'
11879 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11880 library_names_spec
='$libname.dll.lib'
11884 sys_lib_search_path_spec
=
11887 for lt_path
in $LIB
11890 # Let DOS variable expansion print the short 8.3 style file name.
11891 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11892 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11895 # Convert to MSYS style.
11896 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11899 # Convert to unix form, then to dos form, then back to unix form
11900 # but this time dos style (no spaces!) so that the unix form looks
11901 # like /cygdrive/c/PROGRA~1:/cygdr...
11902 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11903 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11904 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11907 sys_lib_search_path_spec
=$LIB
11908 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11909 # It is most probably a Windows format PATH.
11910 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11912 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11914 # FIXME: find the short name or the path components, as spaces are
11915 # common. (e.g. "Program Files" -> "PROGRA~1")
11919 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11920 postinstall_cmds
='base_file=`basename \$file`~
11921 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11922 dldir=$destdir/`dirname \$dlpath`~
11923 test -d \$dldir || mkdir -p \$dldir~
11924 $install_prog $dir/$dlname \$dldir/$dlname'
11925 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11926 dlpath=$dir/\$dldll~
11928 shlibpath_overrides_runpath
=yes
11929 dynamic_linker
='Win32 link.exe'
11933 # Assume MSVC wrapper
11934 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11935 dynamic_linker
='Win32 ld.exe'
11938 # FIXME: first we should search . and the directory the executable is in
11942 darwin
* | rhapsody
*)
11943 dynamic_linker
="$host_os dyld"
11944 version_type
=darwin
11947 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11948 soname_spec
='$libname$release$major$shared_ext'
11949 shlibpath_overrides_runpath
=yes
11950 shlibpath_var
=DYLD_LIBRARY_PATH
11951 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11953 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11954 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11958 version_type
=linux
# correct to gnu/linux during the next big refactor
11961 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11962 soname_spec
='$libname$release$shared_ext$major'
11963 shlibpath_var
=LD_LIBRARY_PATH
11966 freebsd
* | dragonfly
*)
11967 # DragonFly does not have aout. When/if they implement a new
11968 # versioning mechanism, adjust this.
11969 if test -x /usr
/bin
/objformat
; then
11970 objformat
=`/usr/bin/objformat`
11973 freebsd
[23].
*) objformat
=aout
;;
11974 *) objformat
=elf
;;
11977 version_type
=freebsd
-$objformat
11978 case $version_type in
11980 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11981 soname_spec
='$libname$release$shared_ext$major'
11986 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11990 shlibpath_var
=LD_LIBRARY_PATH
11993 shlibpath_overrides_runpath
=yes
11995 freebsd3.
[01]* | freebsdelf3.
[01]*)
11996 shlibpath_overrides_runpath
=yes
11997 hardcode_into_libs
=yes
11999 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12000 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12001 shlibpath_overrides_runpath
=no
12002 hardcode_into_libs
=yes
12004 *) # from 4.6 on, and DragonFly
12005 shlibpath_overrides_runpath
=yes
12006 hardcode_into_libs
=yes
12012 version_type
=linux
# correct to gnu/linux during the next big refactor
12015 dynamic_linker
="$host_os runtime_loader"
12016 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12017 soname_spec
='$libname$release$shared_ext$major'
12018 shlibpath_var
=LIBRARY_PATH
12019 shlibpath_overrides_runpath
=no
12020 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12021 hardcode_into_libs
=yes
12024 hpux9
* | hpux10
* | hpux11
*)
12025 # Give a soname corresponding to the major version so that dld.sl refuses to
12026 # link against other versions.
12033 hardcode_into_libs
=yes
12034 dynamic_linker
="$host_os dld.so"
12035 shlibpath_var
=LD_LIBRARY_PATH
12036 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12037 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12038 soname_spec
='$libname$release$shared_ext$major'
12039 if test 32 = "$HPUX_IA64_MODE"; then
12040 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12041 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12043 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12044 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12049 hardcode_into_libs
=yes
12050 dynamic_linker
="$host_os dld.sl"
12051 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12052 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12053 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12054 soname_spec
='$libname$release$shared_ext$major'
12055 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12056 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12060 dynamic_linker
="$host_os dld.sl"
12061 shlibpath_var
=SHLIB_PATH
12062 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12063 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12064 soname_spec
='$libname$release$shared_ext$major'
12067 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12068 postinstall_cmds
='chmod 555 $lib'
12069 # or fails outright, so override atomically:
12070 install_override_mode
=555
12074 version_type
=linux
# correct to gnu/linux during the next big refactor
12077 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12078 soname_spec
='$libname$release$shared_ext$major'
12079 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12080 shlibpath_var
=LD_LIBRARY_PATH
12081 shlibpath_overrides_runpath
=no
12082 hardcode_into_libs
=yes
12085 irix5
* | irix6
* | nonstopux
*)
12087 nonstopux
*) version_type
=nonstopux
;;
12089 if test yes = "$lt_cv_prog_gnu_ld"; then
12090 version_type
=linux
# correct to gnu/linux during the next big refactor
12097 soname_spec
='$libname$release$shared_ext$major'
12098 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12100 irix5
* | nonstopux
*)
12101 libsuff
= shlibsuff
=
12104 case $LD in # libtool.m4 will add one of these switches to LD
12105 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12106 libsuff
= shlibsuff
= libmagic
=32-bit;;
12107 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12108 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12109 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12110 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12111 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12115 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12116 shlibpath_overrides_runpath
=no
12117 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12118 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12119 hardcode_into_libs
=yes
12122 # No shared lib support for Linux oldld, aout, or coff.
12123 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12128 version_type
=none
# Android doesn't support versioned libraries.
12131 library_names_spec
='$libname$release$shared_ext'
12132 soname_spec
='$libname$release$shared_ext'
12134 shlibpath_var
=LD_LIBRARY_PATH
12135 shlibpath_overrides_runpath
=yes
12137 # This implies no fast_install, which is unacceptable.
12138 # Some rework will be needed to allow for fast_install
12139 # before this can be enabled.
12140 hardcode_into_libs
=yes
12142 dynamic_linker
='Android linker'
12143 # Don't embed -rpath directories since the linker doesn't support them.
12144 hardcode_libdir_flag_spec
='-L$libdir'
12147 # This must be glibc/ELF.
12148 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12149 version_type
=linux
# correct to gnu/linux during the next big refactor
12152 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12153 soname_spec
='$libname$release$shared_ext$major'
12154 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12155 shlibpath_var
=LD_LIBRARY_PATH
12156 shlibpath_overrides_runpath
=no
12158 # Some binutils ld are patched to set DT_RUNPATH
12159 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12160 $as_echo_n "(cached) " >&6
12162 lt_cv_shlibpath_overrides_runpath
=no
12163 save_LDFLAGS
=$LDFLAGS
12164 save_libdir
=$libdir
12165 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12166 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12178 if ac_fn_c_try_link
"$LINENO"; then :
12179 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12180 lt_cv_shlibpath_overrides_runpath
=yes
12183 rm -f core conftest.err conftest.
$ac_objext \
12184 conftest
$ac_exeext conftest.
$ac_ext
12185 LDFLAGS
=$save_LDFLAGS
12186 libdir
=$save_libdir
12190 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12192 # This implies no fast_install, which is unacceptable.
12193 # Some rework will be needed to allow for fast_install
12194 # before this can be enabled.
12195 hardcode_into_libs
=yes
12197 # Ideally, we could use ldconfig to report *all* directores which are
12198 # searched for libraries, however this is still not possible. Aside from not
12199 # being certain /sbin/ldconfig is available, command
12200 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12201 # even though it is searched at run-time. Try to do the best guess by
12202 # appending ld.so.conf contents (and includes) to the search path.
12203 if test -f /etc
/ld.so.conf
; then
12204 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' ' '`
12205 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12208 # We used to test for /lib/ld.so.1 and disable shared libraries on
12209 # powerpc, because MkLinux only supported shared libraries with the
12210 # GNU dynamic linker. Since this was broken with cross compilers,
12211 # most powerpc-linux boxes support dynamic linking these days and
12212 # people can always --disable-shared, the test was removed, and we
12213 # assume the GNU/Linux dynamic linker is in use.
12214 dynamic_linker
='GNU/Linux ld.so'
12221 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12222 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12223 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12224 dynamic_linker
='NetBSD (a.out) ld.so'
12226 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12227 soname_spec
='$libname$release$shared_ext$major'
12228 dynamic_linker
='NetBSD ld.elf_so'
12230 shlibpath_var
=LD_LIBRARY_PATH
12231 shlibpath_overrides_runpath
=yes
12232 hardcode_into_libs
=yes
12236 version_type
=linux
# correct to gnu/linux during the next big refactor
12237 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12238 shlibpath_var
=LD_LIBRARY_PATH
12239 shlibpath_overrides_runpath
=yes
12246 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12247 soname_spec
='$libname$release$shared_ext$major'
12248 shlibpath_var
=LD_LIBRARY_PATH
12249 shlibpath_overrides_runpath
=no
12250 hardcode_into_libs
=yes
12251 dynamic_linker
='ldqnx.so'
12254 openbsd
* | bitrig
*)
12256 sys_lib_dlsearch_path_spec
=/usr
/lib
12258 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12263 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12264 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12265 shlibpath_var
=LD_LIBRARY_PATH
12266 shlibpath_overrides_runpath
=yes
12270 libname_spec
='$name'
12271 version_type
=windows
12275 # OS/2 can only load a DLL with a base name of 8 characters or less.
12276 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12277 v=$($ECHO $release$versuffix | tr -d .-);
12278 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12279 $ECHO $n$v`$shared_ext'
12280 library_names_spec
='${libname}_dll.$libext'
12281 dynamic_linker
='OS/2 ld.exe'
12282 shlibpath_var
=BEGINLIBPATH
12283 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12284 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12285 postinstall_cmds
='base_file=`basename \$file`~
12286 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12287 dldir=$destdir/`dirname \$dlpath`~
12288 test -d \$dldir || mkdir -p \$dldir~
12289 $install_prog $dir/$dlname \$dldir/$dlname~
12290 chmod a+x \$dldir/$dlname~
12291 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12292 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12294 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12295 dlpath=$dir/\$dldll~
12299 osf3
* | osf4
* | osf5
*)
12303 soname_spec
='$libname$release$shared_ext$major'
12304 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12305 shlibpath_var
=LD_LIBRARY_PATH
12306 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12307 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12315 version_type
=linux
# correct to gnu/linux during the next big refactor
12318 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12319 soname_spec
='$libname$release$shared_ext$major'
12320 shlibpath_var
=LD_LIBRARY_PATH
12321 shlibpath_overrides_runpath
=yes
12322 hardcode_into_libs
=yes
12323 # ldd complains unless libraries are executable
12324 postinstall_cmds
='chmod +x $lib'
12329 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12330 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12331 shlibpath_var
=LD_LIBRARY_PATH
12332 shlibpath_overrides_runpath
=yes
12333 if test yes = "$with_gnu_ld"; then
12340 version_type
=linux
# correct to gnu/linux during the next big refactor
12341 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12342 soname_spec
='$libname$release$shared_ext$major'
12343 shlibpath_var
=LD_LIBRARY_PATH
12344 case $host_vendor in
12346 shlibpath_overrides_runpath
=no
12348 runpath_var
=LD_RUN_PATH
12356 shlibpath_overrides_runpath
=no
12357 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12363 if test -d /usr
/nec
; then
12364 version_type
=linux
# correct to gnu/linux during the next big refactor
12365 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12366 soname_spec
='$libname$shared_ext.$major'
12367 shlibpath_var
=LD_LIBRARY_PATH
12371 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12375 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12376 soname_spec
='$libname$release$shared_ext$major'
12377 shlibpath_var
=LD_LIBRARY_PATH
12378 shlibpath_overrides_runpath
=yes
12379 hardcode_into_libs
=yes
12380 if test yes = "$with_gnu_ld"; then
12381 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12383 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12386 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12390 sys_lib_dlsearch_path_spec
='/usr/lib'
12394 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12395 version_type
=linux
# correct to gnu/linux during the next big refactor
12398 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12399 shlibpath_var
=LD_LIBRARY_PATH
12400 shlibpath_overrides_runpath
=no
12401 hardcode_into_libs
=yes
12405 version_type
=linux
# correct to gnu/linux during the next big refactor
12406 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12407 soname_spec
='$libname$release$shared_ext$major'
12408 shlibpath_var
=LD_LIBRARY_PATH
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12416 $as_echo "$dynamic_linker" >&6; }
12417 test no
= "$dynamic_linker" && can_build_shared
=no
12419 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12420 if test yes = "$GCC"; then
12421 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12424 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12425 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12428 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12429 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12432 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12433 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12435 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12436 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12438 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12439 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12538 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12540 if test -n "$hardcode_libdir_flag_spec" ||
12541 test -n "$runpath_var" ||
12542 test yes = "$hardcode_automatic"; then
12544 # We can hardcode non-existent directories.
12545 if test no
!= "$hardcode_direct" &&
12546 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12547 # have to relink, otherwise we might link with an installed library
12548 # when we should be linking with a yet-to-be-installed one
12549 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12550 test no
!= "$hardcode_minus_L"; then
12551 # Linking always hardcodes the temporary library directory.
12552 hardcode_action
=relink
12554 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12555 hardcode_action
=immediate
12558 # We cannot hardcode anything, or else we can only hardcode existing
12560 hardcode_action
=unsupported
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12563 $as_echo "$hardcode_action" >&6; }
12565 if test relink
= "$hardcode_action" ||
12566 test yes = "$inherit_rpath"; then
12567 # Fast installation is not supported
12568 enable_fast_install
=no
12569 elif test yes = "$shlibpath_overrides_runpath" ||
12570 test no
= "$enable_shared"; then
12571 # Fast installation is not necessary
12572 enable_fast_install
=needless
12580 if test yes != "$enable_dlopen"; then
12581 enable_dlopen
=unknown
12582 enable_dlopen_self
=unknown
12583 enable_dlopen_self_static
=unknown
12590 lt_cv_dlopen
=load_add_on
12592 lt_cv_dlopen_self
=yes
12595 mingw
* | pw32
* | cegcc
*)
12596 lt_cv_dlopen
=LoadLibrary
12601 lt_cv_dlopen
=dlopen
12606 # if libdl is installed we need to link against it
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12608 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12609 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12610 $as_echo_n "(cached) " >&6
12612 ac_check_lib_save_LIBS
=$LIBS
12614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12632 if ac_fn_c_try_link
"$LINENO"; then :
12633 ac_cv_lib_dl_dlopen
=yes
12635 ac_cv_lib_dl_dlopen
=no
12637 rm -f core conftest.err conftest.
$ac_objext \
12638 conftest
$ac_exeext conftest.
$ac_ext
12639 LIBS
=$ac_check_lib_save_LIBS
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12642 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12643 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12644 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12649 lt_cv_dlopen_self
=yes
12656 # Don't try to run any link tests for TPF. We know it's impossible
12657 # because TPF is a cross-compiler, and we know how we open DSOs.
12658 lt_cv_dlopen
=dlopen
12660 lt_cv_dlopen_self
=no
12664 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12665 if test "x$ac_cv_func_shl_load" = xyes
; then :
12666 lt_cv_dlopen
=shl_load
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12669 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12670 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12671 $as_echo_n "(cached) " >&6
12673 ac_check_lib_save_LIBS
=$LIBS
12675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12676 /* end confdefs.h. */
12678 /* Override any GCC internal prototype to avoid an error.
12679 Use char because int might match the return type of a GCC
12680 builtin and then its argument prototype would still apply. */
12688 return shl_load ();
12693 if ac_fn_c_try_link
"$LINENO"; then :
12694 ac_cv_lib_dld_shl_load
=yes
12696 ac_cv_lib_dld_shl_load
=no
12698 rm -f core conftest.err conftest.
$ac_objext \
12699 conftest
$ac_exeext conftest.
$ac_ext
12700 LIBS
=$ac_check_lib_save_LIBS
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12703 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12704 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12705 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12707 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12708 if test "x$ac_cv_func_dlopen" = xyes
; then :
12709 lt_cv_dlopen
=dlopen
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12712 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12713 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12714 $as_echo_n "(cached) " >&6
12716 ac_check_lib_save_LIBS
=$LIBS
12718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 /* Override any GCC internal prototype to avoid an error.
12722 Use char because int might match the return type of a GCC
12723 builtin and then its argument prototype would still apply. */
12736 if ac_fn_c_try_link
"$LINENO"; then :
12737 ac_cv_lib_dl_dlopen
=yes
12739 ac_cv_lib_dl_dlopen
=no
12741 rm -f core conftest.err conftest.
$ac_objext \
12742 conftest
$ac_exeext conftest.
$ac_ext
12743 LIBS
=$ac_check_lib_save_LIBS
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12746 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12747 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12748 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12751 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12752 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12753 $as_echo_n "(cached) " >&6
12755 ac_check_lib_save_LIBS
=$LIBS
12756 LIBS
="-lsvld $LIBS"
12757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12760 /* Override any GCC internal prototype to avoid an error.
12761 Use char because int might match the return type of a GCC
12762 builtin and then its argument prototype would still apply. */
12775 if ac_fn_c_try_link
"$LINENO"; then :
12776 ac_cv_lib_svld_dlopen
=yes
12778 ac_cv_lib_svld_dlopen
=no
12780 rm -f core conftest.err conftest.
$ac_objext \
12781 conftest
$ac_exeext conftest.
$ac_ext
12782 LIBS
=$ac_check_lib_save_LIBS
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12785 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12786 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12787 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12790 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12791 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12792 $as_echo_n "(cached) " >&6
12794 ac_check_lib_save_LIBS
=$LIBS
12796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12809 return dld_link ();
12814 if ac_fn_c_try_link
"$LINENO"; then :
12815 ac_cv_lib_dld_dld_link
=yes
12817 ac_cv_lib_dld_dld_link
=no
12819 rm -f core conftest.err conftest.
$ac_objext \
12820 conftest
$ac_exeext conftest.
$ac_ext
12821 LIBS
=$ac_check_lib_save_LIBS
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12824 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12825 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12826 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12847 if test no
= "$lt_cv_dlopen"; then
12853 case $lt_cv_dlopen in
12855 save_CPPFLAGS
=$CPPFLAGS
12856 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12858 save_LDFLAGS
=$LDFLAGS
12859 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12862 LIBS
="$lt_cv_dlopen_libs $LIBS"
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12865 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12866 if ${lt_cv_dlopen_self+:} false
; then :
12867 $as_echo_n "(cached) " >&6
12869 if test yes = "$cross_compiling"; then :
12870 lt_cv_dlopen_self
=cross
12872 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12873 lt_status
=$lt_dlunknown
12874 cat > conftest.
$ac_ext <<_LT_EOF
12875 #line $LINENO "configure"
12876 #include "confdefs.h"
12885 # define LT_DLGLOBAL RTLD_GLOBAL
12888 # define LT_DLGLOBAL DL_GLOBAL
12890 # define LT_DLGLOBAL 0
12894 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12895 find out it does not work in some platform. */
12896 #ifndef LT_DLLAZY_OR_NOW
12898 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12901 # define LT_DLLAZY_OR_NOW DL_LAZY
12904 # define LT_DLLAZY_OR_NOW RTLD_NOW
12907 # define LT_DLLAZY_OR_NOW DL_NOW
12909 # define LT_DLLAZY_OR_NOW 0
12916 /* When -fvisibility=hidden is used, assume the code has been annotated
12917 correspondingly for the symbols needed. */
12918 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12919 int fnord () __attribute__((visibility("default")));
12922 int fnord () { return 42; }
12925 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12926 int status = $lt_dlunknown;
12930 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12933 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12934 else puts (dlerror ());
12936 /* dlclose (self); */
12944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12945 (eval $ac_link) 2>&5
12947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12948 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12949 (.
/conftest
; exit; ) >&5 2>/dev
/null
12951 case x
$lt_status in
12952 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12953 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12954 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12957 # compilation failed
12958 lt_cv_dlopen_self
=no
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12966 $as_echo "$lt_cv_dlopen_self" >&6; }
12968 if test yes = "$lt_cv_dlopen_self"; then
12969 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12971 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12972 if ${lt_cv_dlopen_self_static+:} false
; then :
12973 $as_echo_n "(cached) " >&6
12975 if test yes = "$cross_compiling"; then :
12976 lt_cv_dlopen_self_static
=cross
12978 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12979 lt_status
=$lt_dlunknown
12980 cat > conftest.
$ac_ext <<_LT_EOF
12981 #line $LINENO "configure"
12982 #include "confdefs.h"
12991 # define LT_DLGLOBAL RTLD_GLOBAL
12994 # define LT_DLGLOBAL DL_GLOBAL
12996 # define LT_DLGLOBAL 0
13000 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13001 find out it does not work in some platform. */
13002 #ifndef LT_DLLAZY_OR_NOW
13004 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13007 # define LT_DLLAZY_OR_NOW DL_LAZY
13010 # define LT_DLLAZY_OR_NOW RTLD_NOW
13013 # define LT_DLLAZY_OR_NOW DL_NOW
13015 # define LT_DLLAZY_OR_NOW 0
13022 /* When -fvisibility=hidden is used, assume the code has been annotated
13023 correspondingly for the symbols needed. */
13024 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13025 int fnord () __attribute__((visibility("default")));
13028 int fnord () { return 42; }
13031 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13032 int status = $lt_dlunknown;
13036 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13039 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13040 else puts (dlerror ());
13042 /* dlclose (self); */
13050 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13051 (eval $ac_link) 2>&5
13053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13054 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13055 (.
/conftest
; exit; ) >&5 2>/dev
/null
13057 case x
$lt_status in
13058 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13059 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13060 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13063 # compilation failed
13064 lt_cv_dlopen_self_static
=no
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13072 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13075 CPPFLAGS
=$save_CPPFLAGS
13076 LDFLAGS
=$save_LDFLAGS
13081 case $lt_cv_dlopen_self in
13082 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13083 *) enable_dlopen_self
=unknown
;;
13086 case $lt_cv_dlopen_self_static in
13087 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13088 *) enable_dlopen_self_static
=unknown
;;
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13111 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13112 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13113 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13114 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13116 $as_echo "yes" >&6; }
13118 # FIXME - insert some real tests, host_os isn't really good enough
13121 if test -n "$STRIP"; then
13122 striplib
="$STRIP -x"
13123 old_striplib
="$STRIP -S"
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13125 $as_echo "yes" >&6; }
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13128 $as_echo "no" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13133 $as_echo "no" >&6; }
13149 # Report what library types will actually be built
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13151 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13153 $as_echo "$can_build_shared" >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13156 $as_echo_n "checking whether to build shared libraries... " >&6; }
13157 test no
= "$can_build_shared" && enable_shared
=no
13159 # On AIX, shared libraries and static libraries use the same namespace, and
13160 # are all built from PIC.
13163 test yes = "$enable_shared" && enable_static
=no
13164 if test -n "$RANLIB"; then
13165 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13166 postinstall_cmds
='$RANLIB $lib'
13171 if test ia64
!= "$host_cpu"; then
13172 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13173 yes,aix
,yes) ;; # shared object as lib.so file only
13174 yes,svr4
,*) ;; # shared object as lib.so archive member only
13175 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13181 $as_echo "$enable_shared" >&6; }
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13184 $as_echo_n "checking whether to build static libraries... " >&6; }
13185 # Make sure either enable_shared or enable_static is yes.
13186 test yes = "$enable_shared" || enable_static
=yes
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13188 $as_echo "$enable_static" >&6; }
13195 ac_cpp
='$CPP $CPPFLAGS'
13196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13202 if test -n "$CXX" && ( test no
!= "$CXX" &&
13203 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13204 (test g
++ != "$CXX"))); then
13206 ac_cpp
='$CXXCPP $CPPFLAGS'
13207 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13208 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13209 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13211 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13212 if test -z "$CXXCPP"; then
13213 if ${ac_cv_prog_CXXCPP+:} false
; then :
13214 $as_echo_n "(cached) " >&6
13216 # Double quotes because CXXCPP needs to be expanded
13217 for CXXCPP
in "$CXX -E" "/lib/cpp"
13219 ac_preproc_ok
=false
13220 for ac_cxx_preproc_warn_flag
in '' yes
13222 # Use a header file that comes with gcc, so configuring glibc
13223 # with a fresh cross-compiler works.
13224 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13225 # <limits.h> exists even on freestanding compilers.
13226 # On the NeXT, cc -E runs the code through the compiler's parser,
13227 # not just through cpp. "Syntax error" is here to catch this case.
13228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13229 /* end confdefs.h. */
13231 # include <limits.h>
13233 # include <assert.h>
13237 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13240 # Broken: fails on valid input.
13243 rm -f conftest.err conftest.i conftest.
$ac_ext
13245 # OK, works on sane cases. Now check whether nonexistent headers
13246 # can be detected and how.
13247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13248 /* end confdefs.h. */
13249 #include <ac_nonexistent.h>
13251 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13252 # Broken: success on invalid input.
13255 # Passes both tests.
13259 rm -f conftest.err conftest.i conftest.
$ac_ext
13262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13263 rm -f conftest.i conftest.err conftest.
$ac_ext
13264 if $ac_preproc_ok; then :
13269 ac_cv_prog_CXXCPP
=$CXXCPP
13272 CXXCPP
=$ac_cv_prog_CXXCPP
13274 ac_cv_prog_CXXCPP
=$CXXCPP
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13277 $as_echo "$CXXCPP" >&6; }
13278 ac_preproc_ok
=false
13279 for ac_cxx_preproc_warn_flag
in '' yes
13281 # Use a header file that comes with gcc, so configuring glibc
13282 # with a fresh cross-compiler works.
13283 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13284 # <limits.h> exists even on freestanding compilers.
13285 # On the NeXT, cc -E runs the code through the compiler's parser,
13286 # not just through cpp. "Syntax error" is here to catch this case.
13287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13288 /* end confdefs.h. */
13290 # include <limits.h>
13292 # include <assert.h>
13296 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13299 # Broken: fails on valid input.
13302 rm -f conftest.err conftest.i conftest.
$ac_ext
13304 # OK, works on sane cases. Now check whether nonexistent headers
13305 # can be detected and how.
13306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13307 /* end confdefs.h. */
13308 #include <ac_nonexistent.h>
13310 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13311 # Broken: success on invalid input.
13314 # Passes both tests.
13318 rm -f conftest.err conftest.i conftest.
$ac_ext
13321 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13322 rm -f conftest.i conftest.err conftest.
$ac_ext
13323 if $ac_preproc_ok; then :
13326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13328 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13329 See \`config.log' for more details" "$LINENO" 5; }
13333 ac_cpp
='$CPP $CPPFLAGS'
13334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13339 _lt_caught_CXX_error
=yes
13343 ac_cpp
='$CXXCPP $CPPFLAGS'
13344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13348 archive_cmds_need_lc_CXX
=no
13349 allow_undefined_flag_CXX
=
13350 always_export_symbols_CXX
=no
13351 archive_expsym_cmds_CXX
=
13352 compiler_needs_object_CXX
=no
13353 export_dynamic_flag_spec_CXX
=
13354 hardcode_direct_CXX
=no
13355 hardcode_direct_absolute_CXX
=no
13356 hardcode_libdir_flag_spec_CXX
=
13357 hardcode_libdir_separator_CXX
=
13358 hardcode_minus_L_CXX
=no
13359 hardcode_shlibpath_var_CXX
=unsupported
13360 hardcode_automatic_CXX
=no
13361 inherit_rpath_CXX
=no
13363 module_expsym_cmds_CXX
=
13364 link_all_deplibs_CXX
=unknown
13365 old_archive_cmds_CXX
=$old_archive_cmds
13366 reload_flag_CXX
=$reload_flag
13367 reload_cmds_CXX
=$reload_cmds
13368 no_undefined_flag_CXX
=
13369 whole_archive_flag_spec_CXX
=
13370 enable_shared_with_static_runtimes_CXX
=no
13372 # Source file extension for C++ test sources.
13375 # Object file extension for compiled C++ test sources.
13379 # No sense in running all these tests if we already determined that
13380 # the CXX compiler isn't working. Some variables (like enable_shared)
13381 # are currently assumed to apply to all compilers on this platform,
13382 # and will be corrupted by setting them based on a non-working compiler.
13383 if test yes != "$_lt_caught_CXX_error"; then
13384 # Code to be used in simple compile tests
13385 lt_simple_compile_test_code
="int some_variable = 0;"
13387 # Code to be used in simple link tests
13388 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13390 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13397 # If no C compiler was specified, use CC.
13400 # If no C compiler flags were specified, use CFLAGS.
13401 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13403 # Allow CC to be a program name with arguments.
13407 # save warnings/boilerplate of simple test code
13408 ac_outfile
=conftest.
$ac_objext
13409 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13410 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13411 _lt_compiler_boilerplate
=`cat conftest.err`
13414 ac_outfile
=conftest.
$ac_objext
13415 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13416 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13417 _lt_linker_boilerplate
=`cat conftest.err`
13421 # Allow CC to be a program name with arguments.
13423 lt_save_CFLAGS
=$CFLAGS
13427 lt_save_with_gnu_ld
=$with_gnu_ld
13428 lt_save_path_LD
=$lt_cv_path_LD
13429 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13430 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13432 $as_unset lt_cv_prog_gnu_ld
13434 if test -n "${lt_cv_path_LDCXX+set}"; then
13435 lt_cv_path_LD
=$lt_cv_path_LDCXX
13437 $as_unset lt_cv_path_LD
13439 test -z "${LDCXX+set}" || LD
=$LDCXX
13444 func_cc_basename
$compiler
13445 cc_basename
=$func_cc_basename_result
13448 if test -n "$compiler"; then
13449 # We don't want -fno-exception when compiling C++ code, so set the
13450 # no_builtin_flag separately
13451 if test yes = "$GXX"; then
13452 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13454 lt_prog_compiler_no_builtin_flag_CXX
=
13457 if test yes = "$GXX"; then
13458 # Set up default GNU C++ configuration
13462 # Check whether --with-gnu-ld was given.
13463 if test "${with_gnu_ld+set}" = set; then :
13464 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13470 if test yes = "$GCC"; then
13471 # Check if gcc -print-prog-name=ld gives a path.
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13473 $as_echo_n "checking for ld used by $CC... " >&6; }
13476 # gcc leaves a trailing carriage return, which upsets mingw
13477 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13479 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13482 # Accept absolute paths.
13484 re_direlt
='/[^/][^/]*/\.\./'
13485 # Canonicalize the pathname of ld
13486 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13487 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13488 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13490 test -z "$LD" && LD
=$ac_prog
13493 # If it fails, then pretend we aren't using GCC.
13497 # If it is relative, then search for the first ld in PATH.
13498 with_gnu_ld
=unknown
13501 elif test yes = "$with_gnu_ld"; then
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13503 $as_echo_n "checking for GNU ld... " >&6; }
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13506 $as_echo_n "checking for non-GNU ld... " >&6; }
13508 if ${lt_cv_path_LD+:} false
; then :
13509 $as_echo_n "(cached) " >&6
13511 if test -z "$LD"; then
13512 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13513 for ac_dir
in $PATH; do
13515 test -z "$ac_dir" && ac_dir
=.
13516 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13517 lt_cv_path_LD
=$ac_dir/$ac_prog
13518 # Check to see if the program is GNU ld. I'd rather use --version,
13519 # but apparently some variants of GNU ld only accept -v.
13520 # Break only if it was the GNU/non-GNU ld that we prefer.
13521 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13522 *GNU
* | *'with BFD'*)
13523 test no
!= "$with_gnu_ld" && break
13526 test yes != "$with_gnu_ld" && break
13533 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13538 if test -n "$LD"; then
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13540 $as_echo "$LD" >&6; }
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13543 $as_echo "no" >&6; }
13545 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13547 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13548 if ${lt_cv_prog_gnu_ld+:} false
; then :
13549 $as_echo_n "(cached) " >&6
13551 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13552 case `$LD -v 2>&1 </dev/null` in
13553 *GNU
* | *'with BFD'*)
13554 lt_cv_prog_gnu_ld
=yes
13557 lt_cv_prog_gnu_ld
=no
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13562 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13563 with_gnu_ld
=$lt_cv_prog_gnu_ld
13571 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13572 # archiving commands below assume that GNU ld is being used.
13573 if test yes = "$with_gnu_ld"; then
13574 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13575 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'
13577 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13578 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13580 # If archive_cmds runs LD, not CC, wlarc should be empty
13581 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13582 # investigate it a little bit more. (MM)
13585 # ancient GNU ld didn't support --whole-archive et. al.
13586 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13587 $GREP 'no-whole-archive' > /dev
/null
; then
13588 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13590 whole_archive_flag_spec_CXX
=
13596 # A generic and very simple default shared library creation
13597 # command for GNU C++ for the case where it uses the native
13598 # linker, instead of GNU ld. If possible, this setting should
13599 # overridden to take advantage of the native linker features on
13600 # the platform it is being used on.
13601 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13604 # Commands to make compiler produce verbose output that lists
13605 # what "hidden" libraries, object files and flags are used when
13606 # linking a shared library.
13607 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13615 # PORTME: fill in a description of your system's C++ link characteristics
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13617 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13621 # FIXME: insert proper C++ library support
13625 if test ia64
= "$host_cpu"; then
13626 # On IA64, the linker does run time linking by default, so we don't
13627 # have to do anything special.
13628 aix_use_runtimelinking
=no
13629 exp_sym_flag
='-Bexport'
13632 aix_use_runtimelinking
=no
13634 # Test if we are trying to use run time linking or normal
13635 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13636 # have runtime linking enabled, and use it for executables.
13637 # For shared libraries, we enable/disable runtime linking
13638 # depending on the kind of the shared library created -
13639 # when "with_aix_soname,aix_use_runtimelinking" is:
13640 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13641 # "aix,yes" lib.so shared, rtl:yes, for executables
13642 # lib.a static archive
13643 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13644 # lib.a(lib.so.V) shared, rtl:no, for executables
13645 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13646 # lib.a(lib.so.V) shared, rtl:no
13647 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13648 # lib.a static archive
13649 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13650 for ld_flag
in $LDFLAGS; do
13653 aix_use_runtimelinking
=yes
13658 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13659 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13660 # so we don't have lib.a shared libs to link our executables.
13661 # We have to force runtime linking in this case.
13662 aix_use_runtimelinking
=yes
13663 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13668 exp_sym_flag
='-bexport'
13669 no_entry_flag
='-bnoentry'
13672 # When large executables or shared objects are built, AIX ld can
13673 # have problems creating the table of contents. If linking a library
13674 # or program results in "error TOC overflow" add -mminimal-toc to
13675 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13676 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13678 archive_cmds_CXX
=''
13679 hardcode_direct_CXX
=yes
13680 hardcode_direct_absolute_CXX
=yes
13681 hardcode_libdir_separator_CXX
=':'
13682 link_all_deplibs_CXX
=yes
13683 file_list_spec_CXX
='$wl-f,'
13684 case $with_aix_soname,$aix_use_runtimelinking in
13685 aix
,*) ;; # no import file
13686 svr4
,* | *,yes) # use import file
13687 # The Import File defines what to hardcode.
13688 hardcode_direct_CXX
=no
13689 hardcode_direct_absolute_CXX
=no
13693 if test yes = "$GXX"; then
13694 case $host_os in aix4.
[012]|aix4.
[012].
*)
13695 # We only want to do this on AIX 4.2 and lower, the check
13696 # below for broken collect2 doesn't work under 4.3+
13697 collect2name
=`$CC -print-prog-name=collect2`
13698 if test -f "$collect2name" &&
13699 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13701 # We have reworked collect2
13704 # We have old collect2
13705 hardcode_direct_CXX
=unsupported
13706 # It fails to find uninstalled libraries when the uninstalled
13707 # path is not listed in the libpath. Setting hardcode_minus_L
13708 # to unsupported forces relinking
13709 hardcode_minus_L_CXX
=yes
13710 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13711 hardcode_libdir_separator_CXX
=
13714 shared_flag
='-shared'
13715 if test yes = "$aix_use_runtimelinking"; then
13716 shared_flag
=$shared_flag' $wl-G'
13718 # Need to ensure runtime linking is disabled for the traditional
13719 # shared library, or the linker may eventually find shared libraries
13720 # /with/ Import File - we do not want to mix them.
13721 shared_flag_aix
='-shared'
13722 shared_flag_svr4
='-shared $wl-G'
13725 if test ia64
= "$host_cpu"; then
13726 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13727 # chokes on -Wl,-G. The following line is correct:
13730 if test yes = "$aix_use_runtimelinking"; then
13731 shared_flag
='$wl-G'
13733 shared_flag
='$wl-bM:SRE'
13735 shared_flag_aix
='$wl-bM:SRE'
13736 shared_flag_svr4
='$wl-G'
13740 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13741 # It seems that -bexpall does not export symbols beginning with
13742 # underscore (_), so it is better to generate a list of symbols to
13744 always_export_symbols_CXX
=yes
13745 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13746 # Warning - without using the other runtime loading flags (-brtl),
13747 # -berok will link without error, but may produce a broken library.
13748 # The "-G" linker flag allows undefined symbols.
13749 no_undefined_flag_CXX
='-bernotok'
13750 # Determine the default libpath from the value encoded in an empty
13752 if test set = "${lt_cv_aix_libpath+set}"; then
13753 aix_libpath
=$lt_cv_aix_libpath
13755 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13756 $as_echo_n "(cached) " >&6
13758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13769 if ac_fn_cxx_try_link
"$LINENO"; then :
13771 lt_aix_libpath_sed
='
13772 /Import File Strings/,/^$/ {
13774 s/^0 *\([^ ]*\) *$/\1/
13778 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13779 # Check for a 64-bit object if we didn't find anything.
13780 if test -z "$lt_cv_aix_libpath__CXX"; then
13781 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13784 rm -f core conftest.err conftest.
$ac_objext \
13785 conftest
$ac_exeext conftest.
$ac_ext
13786 if test -z "$lt_cv_aix_libpath__CXX"; then
13787 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13792 aix_libpath
=$lt_cv_aix_libpath__CXX
13795 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13797 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
13799 if test ia64
= "$host_cpu"; then
13800 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13801 allow_undefined_flag_CXX
="-z nodefs"
13802 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"
13804 # Determine the default libpath from the value encoded in an
13805 # empty executable.
13806 if test set = "${lt_cv_aix_libpath+set}"; then
13807 aix_libpath
=$lt_cv_aix_libpath
13809 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13810 $as_echo_n "(cached) " >&6
13812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13823 if ac_fn_cxx_try_link
"$LINENO"; then :
13825 lt_aix_libpath_sed
='
13826 /Import File Strings/,/^$/ {
13828 s/^0 *\([^ ]*\) *$/\1/
13832 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13833 # Check for a 64-bit object if we didn't find anything.
13834 if test -z "$lt_cv_aix_libpath__CXX"; then
13835 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13838 rm -f core conftest.err conftest.
$ac_objext \
13839 conftest
$ac_exeext conftest.
$ac_ext
13840 if test -z "$lt_cv_aix_libpath__CXX"; then
13841 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13846 aix_libpath
=$lt_cv_aix_libpath__CXX
13849 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13850 # Warning - without using the other run time loading flags,
13851 # -berok will link without error, but may produce a broken library.
13852 no_undefined_flag_CXX
=' $wl-bernotok'
13853 allow_undefined_flag_CXX
=' $wl-berok'
13854 if test yes = "$with_gnu_ld"; then
13855 # We only use this code for GNU lds that support --whole-archive.
13856 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13858 # Exported symbols can be pulled into shared objects from archives
13859 whole_archive_flag_spec_CXX
='$convenience'
13861 archive_cmds_need_lc_CXX
=yes
13862 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13863 # -brtl affects multiple linker settings, -berok does not and is overridden later
13864 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13865 if test svr4
!= "$with_aix_soname"; then
13866 # This is similar to how AIX traditionally builds its shared
13867 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13868 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'
13870 if test aix
!= "$with_aix_soname"; then
13871 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'
13873 # used by -dlpreopen to get the symbols
13874 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13876 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13882 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13883 allow_undefined_flag_CXX
=unsupported
13884 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13885 # support --undefined. This deserves some investigation. FIXME
13886 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13893 case $cc_basename in
13895 # FIXME: insert proper C++ library support
13901 cygwin
* | mingw
* | pw32
* | cegcc
*)
13902 case $GXX,$cc_basename in
13905 # hardcode_libdir_flag_spec is actually meaningless, as there is
13906 # no search path for DLLs.
13907 hardcode_libdir_flag_spec_CXX
=' '
13908 allow_undefined_flag_CXX
=unsupported
13909 always_export_symbols_CXX
=yes
13910 file_list_spec_CXX
='@'
13911 # Tell ltmain to make .lib files, not .a files.
13913 # Tell ltmain to make .dll files, not .so files.
13915 # FIXME: Setting linknames here is a bad hack.
13916 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13917 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13918 cp "$export_symbols" "$output_objdir/$soname.def";
13919 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13921 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13923 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13925 # The linker will not automatically build a static lib if we build a DLL.
13926 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13927 enable_shared_with_static_runtimes_CXX
=yes
13929 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13930 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13931 lt_tool_outputfile="@TOOL_OUTPUT@"~
13932 case $lt_outputfile in
13935 lt_outputfile=$lt_outputfile.exe
13936 lt_tool_outputfile=$lt_tool_outputfile.exe
13939 func_to_tool_file "$lt_outputfile"~
13940 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13941 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13942 $RM "$lt_outputfile.manifest";
13947 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13948 # as there is no search path for DLLs.
13949 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13950 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
13951 allow_undefined_flag_CXX
=unsupported
13952 always_export_symbols_CXX
=no
13953 enable_shared_with_static_runtimes_CXX
=yes
13955 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13956 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'
13957 # If the export-symbols file already is a .def file, use it as
13958 # is; otherwise, prepend EXPORTS...
13959 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13960 cp $export_symbols $output_objdir/$soname.def;
13962 echo EXPORTS > $output_objdir/$soname.def;
13963 cat $export_symbols >> $output_objdir/$soname.def;
13965 $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'
13972 darwin
* | rhapsody
*)
13975 archive_cmds_need_lc_CXX
=no
13976 hardcode_direct_CXX
=no
13977 hardcode_automatic_CXX
=yes
13978 hardcode_shlibpath_var_CXX
=unsupported
13979 if test yes = "$lt_cv_ld_force_load"; then
13980 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\"`'
13983 whole_archive_flag_spec_CXX
=''
13985 link_all_deplibs_CXX
=yes
13986 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
13987 case $cc_basename in
13988 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
13989 *) _lt_dar_can_shared
=$GCC ;;
13991 if test yes = "$_lt_dar_can_shared"; then
13992 output_verbose_link_cmd
=func_echo_all
13993 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"
13994 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13995 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"
13996 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"
13997 if test yes != "$lt_cv_apple_cc_single_mod"; then
13998 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"
13999 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"
14009 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14010 hardcode_minus_L_CXX
=yes
14011 allow_undefined_flag_CXX
=unsupported
14013 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14014 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14015 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14016 $ECHO EXPORTS >> $output_objdir/$libname.def~
14017 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14018 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14019 emximp -o $lib $output_objdir/$libname.def'
14020 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14021 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14022 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14023 $ECHO EXPORTS >> $output_objdir/$libname.def~
14024 prefix_cmds="$SED"~
14025 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14026 prefix_cmds="$prefix_cmds -e 1d";
14028 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14029 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14030 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14031 emximp -o $lib $output_objdir/$libname.def'
14032 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14033 enable_shared_with_static_runtimes_CXX
=yes
14037 case $cc_basename in
14039 # FIXME: insert proper C++ library support
14043 # Green Hills C++ Compiler
14044 # FIXME: insert proper C++ library support
14048 # FIXME: insert proper C++ library support
14055 # C++ shared libraries reported to be fairly broken before
14061 archive_cmds_need_lc_CXX
=no
14064 freebsd
* | dragonfly
*)
14065 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14071 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14072 link_all_deplibs_CXX
=yes
14076 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14077 hardcode_libdir_separator_CXX
=:
14078 export_dynamic_flag_spec_CXX
='$wl-E'
14079 hardcode_direct_CXX
=yes
14080 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14081 # but as the default
14082 # location of the library.
14084 case $cc_basename in
14086 # FIXME: insert proper C++ library support
14090 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'
14091 # Commands to make compiler produce verbose output that lists
14092 # what "hidden" libraries, object files and flags are used when
14093 # linking a shared library.
14095 # There doesn't appear to be a way to prevent this compiler from
14096 # explicitly linking system object files so we need to strip them
14097 # from the output so that they don't get included in the library
14099 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"'
14102 if test yes = "$GXX"; then
14103 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'
14105 # FIXME: insert proper C++ library support
14113 if test no
= "$with_gnu_ld"; then
14114 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14115 hardcode_libdir_separator_CXX
=:
14121 export_dynamic_flag_spec_CXX
='$wl-E'
14127 hardcode_direct_CXX
=no
14128 hardcode_shlibpath_var_CXX
=no
14131 hardcode_direct_CXX
=yes
14132 hardcode_direct_absolute_CXX
=yes
14133 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14134 # but as the default
14135 # location of the library.
14139 case $cc_basename in
14141 # FIXME: insert proper C++ library support
14147 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14150 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14153 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14156 # Commands to make compiler produce verbose output that lists
14157 # what "hidden" libraries, object files and flags are used when
14158 # linking a shared library.
14160 # There doesn't appear to be a way to prevent this compiler from
14161 # explicitly linking system object files so we need to strip them
14162 # from the output so that they don't get included in the library
14164 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"'
14167 if test yes = "$GXX"; then
14168 if test no
= "$with_gnu_ld"; then
14171 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14174 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14177 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'
14182 # FIXME: insert proper C++ library support
14190 hardcode_direct_CXX
=no
14191 hardcode_shlibpath_var_CXX
=no
14192 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14193 export_dynamic_flag_spec_CXX
='$wl-E'
14194 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14195 # Instead, shared libraries are loaded at an image base (0x10000000 by
14196 # default) and relocated if they conflict, which is a slow very memory
14197 # consuming and fragmenting process. To avoid this, we pick a random,
14198 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14199 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14200 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'
14201 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'
14204 case $cc_basename in
14207 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'
14209 # Archives containing C++ object files must be created using
14210 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14211 # necessary to make sure instantiated templates are included
14213 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14216 if test yes = "$GXX"; then
14217 if test no
= "$with_gnu_ld"; then
14218 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'
14220 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'
14223 link_all_deplibs_CXX
=yes
14226 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14227 hardcode_libdir_separator_CXX
=:
14228 inherit_rpath_CXX
=yes
14231 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14232 case $cc_basename in
14234 # Kuck and Associates, Inc. (KAI) C++ Compiler
14236 # KCC will only create a shared library if the output file
14237 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14238 # to its proper name (with version) after linking.
14239 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'
14240 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'
14241 # Commands to make compiler produce verbose output that lists
14242 # what "hidden" libraries, object files and flags are used when
14243 # linking a shared library.
14245 # There doesn't appear to be a way to prevent this compiler from
14246 # explicitly linking system object files so we need to strip them
14247 # from the output so that they don't get included in the library
14249 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"'
14251 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14252 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14254 # Archives containing C++ object files must be created using
14255 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14256 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14261 # version 8.0 and above of icpc choke on multiply defined symbols
14262 # if we add $predep_objects and $postdep_objects, however 7.1 and
14263 # earlier do not add the objects themselves.
14264 case `$CC -V 2>&1` in
14266 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14267 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'
14269 *) # Version 8.0 or newer
14272 ia64
*) tmp_idyn
=' -i_dynamic';;
14274 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14275 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'
14278 archive_cmds_need_lc_CXX
=no
14279 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14280 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14281 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14284 # Portland Group C++ compiler
14286 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
14287 prelink_cmds_CXX
='tpldir=Template.dir~
14289 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14290 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14291 old_archive_cmds_CXX
='tpldir=Template.dir~
14293 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14294 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14296 archive_cmds_CXX
='tpldir=Template.dir~
14298 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14299 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14300 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14302 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14303 $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'
14305 *) # Version 6 and above use weak symbols
14306 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14307 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'
14311 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14312 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14313 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'
14317 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14318 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'
14320 runpath_var
=LD_RUN_PATH
14321 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14322 hardcode_libdir_separator_CXX
=:
14324 # Commands to make compiler produce verbose output that lists
14325 # what "hidden" libraries, object files and flags are used when
14326 # linking a shared library.
14328 # There doesn't appear to be a way to prevent this compiler from
14329 # explicitly linking system object files so we need to strip them
14330 # from the output so that they don't get included in the library
14332 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'
14334 xl
* | mpixl
* | bgxl
*)
14335 # IBM XL 8.0 on PPC, with GNU ld
14336 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14337 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14338 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14339 if test yes = "$supports_anon_versioning"; then
14340 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14341 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14342 echo "local: *; };" >> $output_objdir/$libname.ver~
14343 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14347 case `$CC -V 2>&1 | sed 5q` in
14350 no_undefined_flag_CXX
=' -zdefs'
14351 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14352 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'
14353 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14354 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'
14355 compiler_needs_object_CXX
=yes
14357 # Not sure whether something based on
14358 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14360 output_verbose_link_cmd
='func_echo_all'
14362 # Archives containing C++ object files must be created using
14363 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14364 # necessary to make sure instantiated templates are included
14366 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14374 # FIXME: insert proper C++ library support
14379 # FIXME: insert proper C++ library support
14384 case $cc_basename in
14386 # FIXME: insert proper C++ library support
14390 # FIXME: insert proper C++ library support
14397 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14398 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14400 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14401 hardcode_direct_CXX
=yes
14402 hardcode_shlibpath_var_CXX
=no
14404 # Workaround some broken pre-1.5 toolchains
14405 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14412 openbsd
* | bitrig
*)
14413 if test -f /usr
/libexec
/ld.so
; then
14414 hardcode_direct_CXX
=yes
14415 hardcode_shlibpath_var_CXX
=no
14416 hardcode_direct_absolute_CXX
=yes
14417 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14418 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14419 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14420 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14421 export_dynamic_flag_spec_CXX
='$wl-E'
14422 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14424 output_verbose_link_cmd
=func_echo_all
14430 osf3
* | osf4
* | osf5
*)
14431 case $cc_basename in
14433 # Kuck and Associates, Inc. (KAI) C++ Compiler
14435 # KCC will only create a shared library if the output file
14436 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14437 # to its proper name (with version) after linking.
14438 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'
14440 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14441 hardcode_libdir_separator_CXX
=:
14443 # Archives containing C++ object files must be created using
14444 # the KAI C++ compiler.
14446 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14447 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14451 # Rational C++ 2.4.1
14452 # FIXME: insert proper C++ library support
14458 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14459 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'
14460 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14463 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14464 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'
14465 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14466 echo "-hidden">> $lib.exp~
14467 $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~
14469 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14473 hardcode_libdir_separator_CXX
=:
14475 # Commands to make compiler produce verbose output that lists
14476 # what "hidden" libraries, object files and flags are used when
14477 # linking a shared library.
14479 # There doesn't appear to be a way to prevent this compiler from
14480 # explicitly linking system object files so we need to strip them
14481 # from the output so that they don't get included in the library
14483 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"'
14486 if test yes,no
= "$GXX,$with_gnu_ld"; then
14487 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14490 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'
14493 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'
14497 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14498 hardcode_libdir_separator_CXX
=:
14500 # Commands to make compiler produce verbose output that lists
14501 # what "hidden" libraries, object files and flags are used when
14502 # linking a shared library.
14503 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14506 # FIXME: insert proper C++ library support
14514 # FIXME: insert proper C++ library support
14519 case $cc_basename in
14522 # FIXME: insert proper C++ library support
14527 # FIXME: insert proper C++ library support
14531 # FIXME: insert proper C++ library support
14538 case $cc_basename in
14540 # Sun C++ 4.2, 5.x and Centerline C++
14541 archive_cmds_need_lc_CXX
=yes
14542 no_undefined_flag_CXX
=' -zdefs'
14543 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14544 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14545 $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'
14547 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14548 hardcode_shlibpath_var_CXX
=no
14550 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14552 # The compiler driver will combine and reorder linker options,
14553 # but understands '-z linker_flag'.
14554 # Supported since Solaris 2.6 (maybe 2.5.1?)
14555 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14558 link_all_deplibs_CXX
=yes
14560 output_verbose_link_cmd
='func_echo_all'
14562 # Archives containing C++ object files must be created using
14563 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14564 # necessary to make sure instantiated templates are included
14566 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14569 # Green Hills C++ Compiler
14570 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14572 # The C++ compiler must be used to create the archive.
14573 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14576 # GNU C++ compiler with Solaris linker
14577 if test yes,no
= "$GXX,$with_gnu_ld"; then
14578 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14579 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14580 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14581 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14582 $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'
14584 # Commands to make compiler produce verbose output that lists
14585 # what "hidden" libraries, object files and flags are used when
14586 # linking a shared library.
14587 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14589 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14591 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14592 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14593 $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'
14595 # Commands to make compiler produce verbose output that lists
14596 # what "hidden" libraries, object files and flags are used when
14597 # linking a shared library.
14598 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14601 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14603 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14605 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14613 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14614 no_undefined_flag_CXX
='$wl-z,text'
14615 archive_cmds_need_lc_CXX
=no
14616 hardcode_shlibpath_var_CXX
=no
14617 runpath_var
='LD_RUN_PATH'
14619 case $cc_basename in
14621 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14622 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14625 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14626 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14631 sysv5
* | sco3.2v5
* | sco5v6
*)
14632 # Note: We CANNOT use -z defs as we might desire, because we do not
14633 # link with -lc, and that would cause any symbols used from libc to
14634 # always be unresolved, which means just about no library would
14635 # ever link correctly. If we're not using GNU ld we use -z text
14636 # though, which does catch some bad symbols but isn't as heavy-handed
14638 no_undefined_flag_CXX
='$wl-z,text'
14639 allow_undefined_flag_CXX
='$wl-z,nodefs'
14640 archive_cmds_need_lc_CXX
=no
14641 hardcode_shlibpath_var_CXX
=no
14642 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14643 hardcode_libdir_separator_CXX
=':'
14644 link_all_deplibs_CXX
=yes
14645 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14646 runpath_var
='LD_RUN_PATH'
14648 case $cc_basename in
14650 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14651 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14652 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14653 '"$old_archive_cmds_CXX"
14654 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14655 '"$reload_cmds_CXX"
14658 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14659 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14665 case $cc_basename in
14667 # NonStop-UX NCC 3.20
14668 # FIXME: insert proper C++ library support
14672 # FIXME: insert proper C++ library support
14679 # FIXME: insert proper C++ library support
14684 # FIXME: insert proper C++ library support
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14690 $as_echo "$ld_shlibs_CXX" >&6; }
14691 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14697 ## There is no encapsulation within the following macros, do not change
14698 ## the running order or otherwise move them around unless you know exactly
14699 ## what you are doing...
14700 # Dependencies to place before and after the object being linked:
14701 predep_objects_CXX
=
14702 postdep_objects_CXX
=
14705 compiler_lib_search_path_CXX
=
14707 cat > conftest.
$ac_ext <<_LT_EOF
14711 Foo (void) { a = 0; }
14718 _lt_libdeps_save_CFLAGS
=$CFLAGS
14719 case "$CC $CFLAGS " in #(
14720 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14721 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14722 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14726 (eval $ac_compile) 2>&5
14728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14729 test $ac_status = 0; }; then
14730 # Parse the compiler output and extract the necessary
14731 # objects, libraries and library flags.
14733 # Sentinel used to keep track of whether or not we are before
14734 # the conftest object file.
14735 pre_test_object_deps_done
=no
14737 for p
in `eval "$output_verbose_link_cmd"`; do
14741 # Some compilers place space between "-{L,R}" and the path.
14742 # Remove the space.
14743 if test x
-L = "$p" ||
14744 test x
-R = "$p"; then
14749 # Expand the sysroot to ease extracting the directories later.
14750 if test -z "$prev"; then
14752 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14753 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14754 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14758 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14760 if test no
= "$pre_test_object_deps_done"; then
14763 # Internal compiler library paths should come after those
14764 # provided the user. The postdeps already come after the
14765 # user supplied libs so there is no need to process them.
14766 if test -z "$compiler_lib_search_path_CXX"; then
14767 compiler_lib_search_path_CXX
=$prev$p
14769 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14772 # The "-l" case would never come before the object being
14773 # linked, so don't bother handling this case.
14776 if test -z "$postdeps_CXX"; then
14777 postdeps_CXX
=$prev$p
14779 postdeps_CXX
="${postdeps_CXX} $prev$p"
14785 *.lto.
$objext) ;; # Ignore GCC LTO objects
14787 # This assumes that the test object file only shows up
14788 # once in the compiler output.
14789 if test "$p" = "conftest.$objext"; then
14790 pre_test_object_deps_done
=yes
14794 if test no
= "$pre_test_object_deps_done"; then
14795 if test -z "$predep_objects_CXX"; then
14796 predep_objects_CXX
=$p
14798 predep_objects_CXX
="$predep_objects_CXX $p"
14801 if test -z "$postdep_objects_CXX"; then
14802 postdep_objects_CXX
=$p
14804 postdep_objects_CXX
="$postdep_objects_CXX $p"
14809 *) ;; # Ignore the rest.
14817 echo "libtool.m4: error: problem compiling CXX test program"
14820 $RM -f confest.
$objext
14821 CFLAGS
=$_lt_libdeps_save_CFLAGS
14823 # PORTME: override above test on systems where it is broken
14826 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14827 # hack all around it, let's just trust "g++" to DTRT.
14828 predep_objects_CXX
=
14829 postdep_objects_CXX
=
14835 case " $postdeps_CXX " in
14836 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14838 compiler_lib_search_dirs_CXX
=
14839 if test -n "${compiler_lib_search_path_CXX}"; then
14840 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14873 lt_prog_compiler_wl_CXX
=
14874 lt_prog_compiler_pic_CXX
=
14875 lt_prog_compiler_static_CXX
=
14878 # C++ specific cases for pic, static, wl, etc.
14879 if test yes = "$GXX"; then
14880 lt_prog_compiler_wl_CXX
='-Wl,'
14881 lt_prog_compiler_static_CXX
='-static'
14885 # All AIX code is PIC.
14886 if test ia64
= "$host_cpu"; then
14887 # AIX 5 now supports IA64 processor
14888 lt_prog_compiler_static_CXX
='-Bstatic'
14890 lt_prog_compiler_pic_CXX
='-fPIC'
14896 # see comment about AmigaOS4 .so support
14897 lt_prog_compiler_pic_CXX
='-fPIC'
14900 # FIXME: we need at least 68020 code to build shared libraries, but
14901 # adding the '-m68020' flag to GCC prevents building anything better,
14903 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14908 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14909 # PIC is the default for these OSes.
14911 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14912 # This hack is so that the source file can tell whether it is being
14913 # built for inclusion in a dll (and should export symbols for example).
14914 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14915 # (--disable-auto-import) libraries
14916 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14919 lt_prog_compiler_static_CXX
='$wl-static'
14923 darwin
* | rhapsody
*)
14924 # PIC is the default on this platform
14925 # Common symbols not allowed in MH_DYLIB files
14926 lt_prog_compiler_pic_CXX
='-fno-common'
14929 # DJGPP does not support shared libraries at all
14930 lt_prog_compiler_pic_CXX
=
14933 # PIC is the default for Haiku.
14934 # The "-static" flag exists, but is broken.
14935 lt_prog_compiler_static_CXX
=
14938 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14939 # Instead, we relocate shared libraries at runtime.
14942 if test -d /usr
/nec
; then
14943 lt_prog_compiler_pic_CXX
=-Kconform_pic
14947 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14948 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14949 # sets the default TLS model and affects inlining.
14954 lt_prog_compiler_pic_CXX
='-fPIC'
14959 # QNX uses GNU C++, but need to define -shared option too, otherwise
14960 # it will coredump.
14961 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14964 lt_prog_compiler_pic_CXX
='-fPIC'
14970 # All AIX code is PIC.
14971 if test ia64
= "$host_cpu"; then
14972 # AIX 5 now supports IA64 processor
14973 lt_prog_compiler_static_CXX
='-Bstatic'
14975 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14979 case $cc_basename in
14981 # Green Hills C++ Compiler
14982 # _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"
14986 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14987 # This hack is so that the source file can tell whether it is being
14988 # built for inclusion in a dll (and should export symbols for example).
14989 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14992 case $cc_basename in
14994 lt_prog_compiler_pic_CXX
='-KPIC'
14997 # Green Hills C++ Compiler
14998 lt_prog_compiler_pic_CXX
='-pic'
15004 freebsd
* | dragonfly
*)
15005 # FreeBSD uses GNU C++
15007 hpux9
* | hpux10
* | hpux11
*)
15008 case $cc_basename in
15010 lt_prog_compiler_wl_CXX
='-Wl,'
15011 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15012 if test ia64
!= "$host_cpu"; then
15013 lt_prog_compiler_pic_CXX
='+Z'
15017 lt_prog_compiler_wl_CXX
='-Wl,'
15018 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15024 lt_prog_compiler_pic_CXX
='+Z'
15033 # This is c89, which is MS Visual C++ (no shared libs)
15034 # Anyone wants to do a port?
15036 irix5
* | irix6
* | nonstopux
*)
15037 case $cc_basename in
15039 lt_prog_compiler_wl_CXX
='-Wl,'
15040 lt_prog_compiler_static_CXX
='-non_shared'
15041 # CC pic flag -KPIC is the default.
15047 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15048 case $cc_basename in
15051 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15052 lt_prog_compiler_pic_CXX
='-fPIC'
15055 # old Intel C++ for x86_64, which still supported -KPIC.
15056 lt_prog_compiler_wl_CXX
='-Wl,'
15057 lt_prog_compiler_pic_CXX
='-KPIC'
15058 lt_prog_compiler_static_CXX
='-static'
15061 # Intel C++, used to be incompatible with GCC.
15062 # ICC 10 doesn't accept -KPIC any more.
15063 lt_prog_compiler_wl_CXX
='-Wl,'
15064 lt_prog_compiler_pic_CXX
='-fPIC'
15065 lt_prog_compiler_static_CXX
='-static'
15068 # Portland Group C++ compiler
15069 lt_prog_compiler_wl_CXX
='-Wl,'
15070 lt_prog_compiler_pic_CXX
='-fpic'
15071 lt_prog_compiler_static_CXX
='-Bstatic'
15075 # Make sure the PIC flag is empty. It appears that all Alpha
15076 # Linux and Compaq Tru64 Unix objects are PIC.
15077 lt_prog_compiler_pic_CXX
=
15078 lt_prog_compiler_static_CXX
='-non_shared'
15080 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15081 # IBM XL 8.0, 9.0 on PPC and BlueGene
15082 lt_prog_compiler_wl_CXX
='-Wl,'
15083 lt_prog_compiler_pic_CXX
='-qpic'
15084 lt_prog_compiler_static_CXX
='-qstaticlink'
15087 case `$CC -V 2>&1 | sed 5q` in
15090 lt_prog_compiler_pic_CXX
='-KPIC'
15091 lt_prog_compiler_static_CXX
='-Bstatic'
15092 lt_prog_compiler_wl_CXX
='-Qoption ld '
15103 case $cc_basename in
15105 lt_prog_compiler_pic_CXX
='-W c,exportall'
15114 # QNX uses GNU C++, but need to define -shared option too, otherwise
15115 # it will coredump.
15116 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15118 osf3
* | osf4
* | osf5
*)
15119 case $cc_basename in
15121 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15124 # Rational C++ 2.4.1
15125 lt_prog_compiler_pic_CXX
='-pic'
15128 # Digital/Compaq C++
15129 lt_prog_compiler_wl_CXX
='-Wl,'
15130 # Make sure the PIC flag is empty. It appears that all Alpha
15131 # Linux and Compaq Tru64 Unix objects are PIC.
15132 lt_prog_compiler_pic_CXX
=
15133 lt_prog_compiler_static_CXX
='-non_shared'
15142 case $cc_basename in
15144 # Sun C++ 4.2, 5.x and Centerline C++
15145 lt_prog_compiler_pic_CXX
='-KPIC'
15146 lt_prog_compiler_static_CXX
='-Bstatic'
15147 lt_prog_compiler_wl_CXX
='-Qoption ld '
15150 # Green Hills C++ Compiler
15151 lt_prog_compiler_pic_CXX
='-PIC'
15158 case $cc_basename in
15161 lt_prog_compiler_pic_CXX
='-pic'
15162 lt_prog_compiler_static_CXX
='-Bstatic'
15166 lt_prog_compiler_pic_CXX
='-pic'
15172 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15173 case $cc_basename in
15175 lt_prog_compiler_wl_CXX
='-Wl,'
15176 lt_prog_compiler_pic_CXX
='-KPIC'
15177 lt_prog_compiler_static_CXX
='-Bstatic'
15182 case $cc_basename in
15184 # NonStop-UX NCC 3.20
15185 lt_prog_compiler_pic_CXX
='-KPIC'
15194 lt_prog_compiler_can_build_shared_CXX
=no
15200 # For platforms that do not support PIC, -DPIC is meaningless:
15202 lt_prog_compiler_pic_CXX
=
15205 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15210 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15211 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
15212 $as_echo_n "(cached) " >&6
15214 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15217 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15218 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15221 # Check to make sure the PIC flag actually works.
15223 if test -n "$lt_prog_compiler_pic_CXX"; then
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15225 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15226 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15227 $as_echo_n "(cached) " >&6
15229 lt_cv_prog_compiler_pic_works_CXX
=no
15230 ac_outfile
=conftest.
$ac_objext
15231 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15232 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15233 # Insert the option either (1) after the last *FLAGS variable, or
15234 # (2) before a word containing "conftest.", or (3) at the end.
15235 # Note that $ac_compile itself does not contain backslashes and begins
15236 # with a dollar sign (not a hyphen), so the echo should work correctly.
15237 # The option is referenced via a variable to avoid confusing sed.
15238 lt_compile
=`echo "$ac_compile" | $SED \
15239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15241 -e 's:$: $lt_compiler_flag:'`
15242 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15243 (eval "$lt_compile" 2>conftest.err
)
15245 cat conftest.err
>&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 if (exit $ac_status) && test -s "$ac_outfile"; then
15248 # The compiler can only warn and ignore the option if not recognized
15249 # So say no if there are warnings other than the usual output.
15250 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15251 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15252 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15253 lt_cv_prog_compiler_pic_works_CXX
=yes
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15260 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15262 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15263 case $lt_prog_compiler_pic_CXX in
15265 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15268 lt_prog_compiler_pic_CXX
=
15269 lt_prog_compiler_can_build_shared_CXX
=no
15279 # Check to make sure the static flag actually works.
15281 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15283 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15284 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15285 $as_echo_n "(cached) " >&6
15287 lt_cv_prog_compiler_static_works_CXX
=no
15288 save_LDFLAGS
=$LDFLAGS
15289 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15290 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15291 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15292 # The linker can only warn and ignore the option if not recognized
15293 # So say no if there are warnings
15294 if test -s conftest.err
; then
15295 # Append any errors to the config.log.
15296 cat conftest.err
1>&5
15297 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15298 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15299 if diff conftest.exp conftest.er2
>/dev
/null
; then
15300 lt_cv_prog_compiler_static_works_CXX
=yes
15303 lt_cv_prog_compiler_static_works_CXX
=yes
15307 LDFLAGS
=$save_LDFLAGS
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15311 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15313 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15316 lt_prog_compiler_static_CXX
=
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15323 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15324 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15325 $as_echo_n "(cached) " >&6
15327 lt_cv_prog_compiler_c_o_CXX
=no
15328 $RM -r conftest
2>/dev
/null
15332 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15334 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15335 # Insert the option either (1) after the last *FLAGS variable, or
15336 # (2) before a word containing "conftest.", or (3) at the end.
15337 # Note that $ac_compile itself does not contain backslashes and begins
15338 # with a dollar sign (not a hyphen), so the echo should work correctly.
15339 lt_compile
=`echo "$ac_compile" | $SED \
15340 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15341 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15342 -e 's:$: $lt_compiler_flag:'`
15343 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15344 (eval "$lt_compile" 2>out
/conftest.err
)
15346 cat out
/conftest.err
>&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15350 # The compiler can only warn and ignore the option if not recognized
15351 # So say no if there are warnings
15352 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15353 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15354 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15355 lt_cv_prog_compiler_c_o_CXX
=yes
15360 # SGI C++ compiler will create directory out/ii_files/ for
15361 # template instantiation
15362 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15363 $RM out
/* && rmdir out
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15370 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15375 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15376 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15377 $as_echo_n "(cached) " >&6
15379 lt_cv_prog_compiler_c_o_CXX
=no
15380 $RM -r conftest
2>/dev
/null
15384 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15386 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15387 # Insert the option either (1) after the last *FLAGS variable, or
15388 # (2) before a word containing "conftest.", or (3) at the end.
15389 # Note that $ac_compile itself does not contain backslashes and begins
15390 # with a dollar sign (not a hyphen), so the echo should work correctly.
15391 lt_compile
=`echo "$ac_compile" | $SED \
15392 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15393 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15394 -e 's:$: $lt_compiler_flag:'`
15395 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15396 (eval "$lt_compile" 2>out
/conftest.err
)
15398 cat out
/conftest.err
>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15402 # The compiler can only warn and ignore the option if not recognized
15403 # So say no if there are warnings
15404 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15405 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15406 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15407 lt_cv_prog_compiler_c_o_CXX
=yes
15412 # SGI C++ compiler will create directory out/ii_files/ for
15413 # template instantiation
15414 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15415 $RM out
/* && rmdir out
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15422 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15427 hard_links
=nottested
15428 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15429 # do not overwrite the value of need_locks provided by the user
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15431 $as_echo_n "checking if we can lock with hard links... " >&6; }
15434 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15436 ln conftest.a conftest.b
2>&5 || hard_links
=no
15437 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15439 $as_echo "$hard_links" >&6; }
15440 if test no
= "$hard_links"; then
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15442 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15452 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15454 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15455 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15458 # If we're using GNU nm, then we don't want the "-C" option.
15459 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15460 # Without the "-l" option, or with the "-B" option, AIX nm treats
15461 # weak defined symbols like other global defined symbols, whereas
15462 # GNU nm marks them as "W".
15463 # While the 'weak' keyword is ignored in the Export File, we need
15464 # it in the Import File for the 'aix-soname' feature, so we have
15465 # to replace the "-B" option with "-P" for AIX nm.
15466 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
15467 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'
15469 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'
15473 export_symbols_cmds_CXX
=$ltdll_cmds
15475 cygwin
* | mingw
* | cegcc
*)
15476 case $cc_basename in
15478 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15481 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'
15482 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15487 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15492 $as_echo "$ld_shlibs_CXX" >&6; }
15493 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15495 with_gnu_ld_CXX
=$with_gnu_ld
15503 # Do we need to explicitly link libc?
15505 case "x$archive_cmds_need_lc_CXX" in
15507 # Assume -lc should be added
15508 archive_cmds_need_lc_CXX
=yes
15510 if test yes,yes = "$GCC,$enable_shared"; then
15511 case $archive_cmds_CXX in
15513 # FIXME: we may have to deal with multi-command sequences.
15516 # Test whether the compiler implicitly links with -lc since on some
15517 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15518 # to ld, don't add -lc before -lgcc.
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15520 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15521 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15522 $as_echo_n "(cached) " >&6
15525 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15528 (eval $ac_compile) 2>&5
15530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 test $ac_status = 0; } 2>conftest.err
; then
15534 libobjs
=conftest.
$ac_objext
15536 wl
=$lt_prog_compiler_wl_CXX
15537 pic_flag
=$lt_prog_compiler_pic_CXX
15543 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15544 allow_undefined_flag_CXX
=
15545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15546 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15549 test $ac_status = 0; }
15551 lt_cv_archive_cmds_need_lc_CXX
=no
15553 lt_cv_archive_cmds_need_lc_CXX
=yes
15555 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15557 cat conftest.err
1>&5
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15563 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15564 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15633 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15635 library_names_spec
=
15636 libname_spec
='lib$name'
15640 postuninstall_cmds
=
15644 shlibpath_overrides_runpath
=unknown
15646 dynamic_linker
="$host_os ld.so"
15647 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15648 need_lib_prefix
=unknown
15649 hardcode_into_libs
=no
15651 # when you set need_version to no, make sure it does not cause -set_version
15652 # flags to be left without arguments
15653 need_version
=unknown
15659 version_type
=linux
# correct to gnu/linux during the next big refactor
15660 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15661 shlibpath_var
=LIBPATH
15663 # AIX 3 has no versioning support, so we append a major version to the name.
15664 soname_spec
='$libname$release$shared_ext$major'
15668 version_type
=linux
# correct to gnu/linux during the next big refactor
15671 hardcode_into_libs
=yes
15672 if test ia64
= "$host_cpu"; then
15673 # AIX 5 supports IA64
15674 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15675 shlibpath_var
=LD_LIBRARY_PATH
15677 # With GCC up to 2.95.x, collect2 would create an import file
15678 # for dependence libraries. The import file would start with
15679 # the line '#! .'. This would cause the generated library to
15680 # depend on '.', always an invalid library. This was fixed in
15681 # development snapshots of GCC prior to 3.0.
15683 aix4
| aix4.
[01] | aix4.
[01].
*)
15684 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15686 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
15689 can_build_shared
=no
15693 # Using Import Files as archive members, it is possible to support
15694 # filename-based versioning of shared library archives on AIX. While
15695 # this would work for both with and without runtime linking, it will
15696 # prevent static linking of such archives. So we do filename-based
15697 # shared library versioning with .so extension only, which is used
15698 # when both runtime linking and shared linking is enabled.
15699 # Unfortunately, runtime linking may impact performance, so we do
15700 # not want this to be the default eventually. Also, we use the
15701 # versioned .so libs for executables only if there is the -brtl
15702 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15703 # To allow for filename-based versioning support, we need to create
15704 # libNAME.so.V as an archive file, containing:
15705 # *) an Import File, referring to the versioned filename of the
15706 # archive as well as the shared archive member, telling the
15707 # bitwidth (32 or 64) of that shared object, and providing the
15708 # list of exported symbols of that shared object, eventually
15709 # decorated with the 'weak' keyword
15710 # *) the shared object with the F_LOADONLY flag set, to really avoid
15711 # it being seen by the linker.
15712 # At run time we better use the real file rather than another symlink,
15713 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15715 case $with_aix_soname,$aix_use_runtimelinking in
15716 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15717 # soname into executable. Probably we can add versioning support to
15718 # collect2, so additional links can be useful in future.
15719 aix
,yes) # traditional libtool
15720 dynamic_linker
='AIX unversionable lib.so'
15721 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15722 # instead of lib<name>.a to let people know that these are not
15723 # typical AIX shared libraries.
15724 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15726 aix
,no
) # traditional AIX only
15727 dynamic_linker
='AIX lib.a(lib.so.V)'
15728 # We preserve .a as extension for shared libraries through AIX4.2
15729 # and later when we are not doing run time linking.
15730 library_names_spec
='$libname$release.a $libname.a'
15731 soname_spec
='$libname$release$shared_ext$major'
15733 svr4
,*) # full svr4 only
15734 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15735 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15736 # We do not specify a path in Import Files, so LIBPATH fires.
15737 shlibpath_overrides_runpath
=yes
15739 *,yes) # both, prefer svr4
15740 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15741 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15742 # unpreferred sharedlib libNAME.a needs extra handling
15743 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"'
15744 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"'
15745 # We do not specify a path in Import Files, so LIBPATH fires.
15746 shlibpath_overrides_runpath
=yes
15748 *,no
) # both, prefer aix
15749 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15750 library_names_spec
='$libname$release.a $libname.a'
15751 soname_spec
='$libname$release$shared_ext$major'
15752 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15753 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)'
15754 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"'
15757 shlibpath_var
=LIBPATH
15764 # Since July 2007 AmigaOS4 officially supports .so libraries.
15765 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15766 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15769 library_names_spec
='$libname.ixlibrary $libname.a'
15770 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15771 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'
15777 library_names_spec
='$libname$shared_ext'
15778 dynamic_linker
="$host_os ld.so"
15779 shlibpath_var
=LIBRARY_PATH
15783 version_type
=linux
# correct to gnu/linux during the next big refactor
15785 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15786 soname_spec
='$libname$release$shared_ext$major'
15787 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15788 shlibpath_var
=LD_LIBRARY_PATH
15789 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15790 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15791 # the default ld.so.conf also contains /usr/contrib/lib and
15792 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15793 # libtool to hard-code these into programs
15796 cygwin
* | mingw
* | pw32
* | cegcc
*)
15797 version_type
=windows
15802 case $GCC,$cc_basename in
15805 library_names_spec
='$libname.dll.a'
15806 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15807 postinstall_cmds
='base_file=`basename \$file`~
15808 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15809 dldir=$destdir/`dirname \$dlpath`~
15810 test -d \$dldir || mkdir -p \$dldir~
15811 $install_prog $dir/$dlname \$dldir/$dlname~
15812 chmod a+x \$dldir/$dlname~
15813 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15814 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15816 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15817 dlpath=$dir/\$dldll~
15819 shlibpath_overrides_runpath
=yes
15823 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15824 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15828 # MinGW DLLs use traditional 'lib' prefix
15829 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15832 # pw32 DLLs use 'pw' prefix rather than 'lib'
15833 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15836 dynamic_linker
='Win32 ld.exe'
15841 libname_spec
='$name'
15842 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15843 library_names_spec
='$libname.dll.lib'
15847 sys_lib_search_path_spec
=
15850 for lt_path
in $LIB
15853 # Let DOS variable expansion print the short 8.3 style file name.
15854 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15855 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15858 # Convert to MSYS style.
15859 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15862 # Convert to unix form, then to dos form, then back to unix form
15863 # but this time dos style (no spaces!) so that the unix form looks
15864 # like /cygdrive/c/PROGRA~1:/cygdr...
15865 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15866 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15867 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15870 sys_lib_search_path_spec
=$LIB
15871 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15872 # It is most probably a Windows format PATH.
15873 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15875 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15877 # FIXME: find the short name or the path components, as spaces are
15878 # common. (e.g. "Program Files" -> "PROGRA~1")
15882 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15883 postinstall_cmds
='base_file=`basename \$file`~
15884 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15885 dldir=$destdir/`dirname \$dlpath`~
15886 test -d \$dldir || mkdir -p \$dldir~
15887 $install_prog $dir/$dlname \$dldir/$dlname'
15888 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15889 dlpath=$dir/\$dldll~
15891 shlibpath_overrides_runpath
=yes
15892 dynamic_linker
='Win32 link.exe'
15896 # Assume MSVC wrapper
15897 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
15898 dynamic_linker
='Win32 ld.exe'
15901 # FIXME: first we should search . and the directory the executable is in
15905 darwin
* | rhapsody
*)
15906 dynamic_linker
="$host_os dyld"
15907 version_type
=darwin
15910 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
15911 soname_spec
='$libname$release$major$shared_ext'
15912 shlibpath_overrides_runpath
=yes
15913 shlibpath_var
=DYLD_LIBRARY_PATH
15914 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15916 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15920 version_type
=linux
# correct to gnu/linux during the next big refactor
15923 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15924 soname_spec
='$libname$release$shared_ext$major'
15925 shlibpath_var
=LD_LIBRARY_PATH
15928 freebsd
* | dragonfly
*)
15929 # DragonFly does not have aout. When/if they implement a new
15930 # versioning mechanism, adjust this.
15931 if test -x /usr
/bin
/objformat
; then
15932 objformat
=`/usr/bin/objformat`
15935 freebsd
[23].
*) objformat
=aout
;;
15936 *) objformat
=elf
;;
15939 version_type
=freebsd
-$objformat
15940 case $version_type in
15942 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15943 soname_spec
='$libname$release$shared_ext$major'
15948 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15952 shlibpath_var
=LD_LIBRARY_PATH
15955 shlibpath_overrides_runpath
=yes
15957 freebsd3.
[01]* | freebsdelf3.
[01]*)
15958 shlibpath_overrides_runpath
=yes
15959 hardcode_into_libs
=yes
15961 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15962 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15963 shlibpath_overrides_runpath
=no
15964 hardcode_into_libs
=yes
15966 *) # from 4.6 on, and DragonFly
15967 shlibpath_overrides_runpath
=yes
15968 hardcode_into_libs
=yes
15974 version_type
=linux
# correct to gnu/linux during the next big refactor
15977 dynamic_linker
="$host_os runtime_loader"
15978 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15979 soname_spec
='$libname$release$shared_ext$major'
15980 shlibpath_var
=LIBRARY_PATH
15981 shlibpath_overrides_runpath
=no
15982 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15983 hardcode_into_libs
=yes
15986 hpux9
* | hpux10
* | hpux11
*)
15987 # Give a soname corresponding to the major version so that dld.sl refuses to
15988 # link against other versions.
15995 hardcode_into_libs
=yes
15996 dynamic_linker
="$host_os dld.so"
15997 shlibpath_var
=LD_LIBRARY_PATH
15998 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15999 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16000 soname_spec
='$libname$release$shared_ext$major'
16001 if test 32 = "$HPUX_IA64_MODE"; then
16002 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16003 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16005 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16006 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16011 hardcode_into_libs
=yes
16012 dynamic_linker
="$host_os dld.sl"
16013 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16014 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16015 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16016 soname_spec
='$libname$release$shared_ext$major'
16017 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16018 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16022 dynamic_linker
="$host_os dld.sl"
16023 shlibpath_var
=SHLIB_PATH
16024 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16025 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16026 soname_spec
='$libname$release$shared_ext$major'
16029 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16030 postinstall_cmds
='chmod 555 $lib'
16031 # or fails outright, so override atomically:
16032 install_override_mode
=555
16036 version_type
=linux
# correct to gnu/linux during the next big refactor
16039 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16040 soname_spec
='$libname$release$shared_ext$major'
16041 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16042 shlibpath_var
=LD_LIBRARY_PATH
16043 shlibpath_overrides_runpath
=no
16044 hardcode_into_libs
=yes
16047 irix5
* | irix6
* | nonstopux
*)
16049 nonstopux
*) version_type
=nonstopux
;;
16051 if test yes = "$lt_cv_prog_gnu_ld"; then
16052 version_type
=linux
# correct to gnu/linux during the next big refactor
16059 soname_spec
='$libname$release$shared_ext$major'
16060 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16062 irix5
* | nonstopux
*)
16063 libsuff
= shlibsuff
=
16066 case $LD in # libtool.m4 will add one of these switches to LD
16067 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16068 libsuff
= shlibsuff
= libmagic
=32-bit;;
16069 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16070 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16071 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16072 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16073 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16077 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16078 shlibpath_overrides_runpath
=no
16079 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16080 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16081 hardcode_into_libs
=yes
16084 # No shared lib support for Linux oldld, aout, or coff.
16085 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16090 version_type
=none
# Android doesn't support versioned libraries.
16093 library_names_spec
='$libname$release$shared_ext'
16094 soname_spec
='$libname$release$shared_ext'
16096 shlibpath_var
=LD_LIBRARY_PATH
16097 shlibpath_overrides_runpath
=yes
16099 # This implies no fast_install, which is unacceptable.
16100 # Some rework will be needed to allow for fast_install
16101 # before this can be enabled.
16102 hardcode_into_libs
=yes
16104 dynamic_linker
='Android linker'
16105 # Don't embed -rpath directories since the linker doesn't support them.
16106 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16109 # This must be glibc/ELF.
16110 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16111 version_type
=linux
# correct to gnu/linux during the next big refactor
16114 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16115 soname_spec
='$libname$release$shared_ext$major'
16116 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16117 shlibpath_var
=LD_LIBRARY_PATH
16118 shlibpath_overrides_runpath
=no
16120 # Some binutils ld are patched to set DT_RUNPATH
16121 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
16122 $as_echo_n "(cached) " >&6
16124 lt_cv_shlibpath_overrides_runpath
=no
16125 save_LDFLAGS
=$LDFLAGS
16126 save_libdir
=$libdir
16127 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16128 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16130 /* end confdefs.h. */
16140 if ac_fn_cxx_try_link
"$LINENO"; then :
16141 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
16142 lt_cv_shlibpath_overrides_runpath
=yes
16145 rm -f core conftest.err conftest.
$ac_objext \
16146 conftest
$ac_exeext conftest.
$ac_ext
16147 LDFLAGS
=$save_LDFLAGS
16148 libdir
=$save_libdir
16152 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16154 # This implies no fast_install, which is unacceptable.
16155 # Some rework will be needed to allow for fast_install
16156 # before this can be enabled.
16157 hardcode_into_libs
=yes
16159 # Ideally, we could use ldconfig to report *all* directores which are
16160 # searched for libraries, however this is still not possible. Aside from not
16161 # being certain /sbin/ldconfig is available, command
16162 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16163 # even though it is searched at run-time. Try to do the best guess by
16164 # appending ld.so.conf contents (and includes) to the search path.
16165 if test -f /etc
/ld.so.conf
; then
16166 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' ' '`
16167 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16170 # We used to test for /lib/ld.so.1 and disable shared libraries on
16171 # powerpc, because MkLinux only supported shared libraries with the
16172 # GNU dynamic linker. Since this was broken with cross compilers,
16173 # most powerpc-linux boxes support dynamic linking these days and
16174 # people can always --disable-shared, the test was removed, and we
16175 # assume the GNU/Linux dynamic linker is in use.
16176 dynamic_linker
='GNU/Linux ld.so'
16183 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16184 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16185 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16186 dynamic_linker
='NetBSD (a.out) ld.so'
16188 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16189 soname_spec
='$libname$release$shared_ext$major'
16190 dynamic_linker
='NetBSD ld.elf_so'
16192 shlibpath_var
=LD_LIBRARY_PATH
16193 shlibpath_overrides_runpath
=yes
16194 hardcode_into_libs
=yes
16198 version_type
=linux
# correct to gnu/linux during the next big refactor
16199 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16200 shlibpath_var
=LD_LIBRARY_PATH
16201 shlibpath_overrides_runpath
=yes
16208 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16209 soname_spec
='$libname$release$shared_ext$major'
16210 shlibpath_var
=LD_LIBRARY_PATH
16211 shlibpath_overrides_runpath
=no
16212 hardcode_into_libs
=yes
16213 dynamic_linker
='ldqnx.so'
16216 openbsd
* | bitrig
*)
16218 sys_lib_dlsearch_path_spec
=/usr
/lib
16220 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16225 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16226 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16227 shlibpath_var
=LD_LIBRARY_PATH
16228 shlibpath_overrides_runpath
=yes
16232 libname_spec
='$name'
16233 version_type
=windows
16237 # OS/2 can only load a DLL with a base name of 8 characters or less.
16238 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16239 v=$($ECHO $release$versuffix | tr -d .-);
16240 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16241 $ECHO $n$v`$shared_ext'
16242 library_names_spec
='${libname}_dll.$libext'
16243 dynamic_linker
='OS/2 ld.exe'
16244 shlibpath_var
=BEGINLIBPATH
16245 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16246 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16247 postinstall_cmds
='base_file=`basename \$file`~
16248 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16249 dldir=$destdir/`dirname \$dlpath`~
16250 test -d \$dldir || mkdir -p \$dldir~
16251 $install_prog $dir/$dlname \$dldir/$dlname~
16252 chmod a+x \$dldir/$dlname~
16253 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16254 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16256 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16257 dlpath=$dir/\$dldll~
16261 osf3
* | osf4
* | osf5
*)
16265 soname_spec
='$libname$release$shared_ext$major'
16266 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16267 shlibpath_var
=LD_LIBRARY_PATH
16268 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16269 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16277 version_type
=linux
# correct to gnu/linux during the next big refactor
16280 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16281 soname_spec
='$libname$release$shared_ext$major'
16282 shlibpath_var
=LD_LIBRARY_PATH
16283 shlibpath_overrides_runpath
=yes
16284 hardcode_into_libs
=yes
16285 # ldd complains unless libraries are executable
16286 postinstall_cmds
='chmod +x $lib'
16291 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16292 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16293 shlibpath_var
=LD_LIBRARY_PATH
16294 shlibpath_overrides_runpath
=yes
16295 if test yes = "$with_gnu_ld"; then
16302 version_type
=linux
# correct to gnu/linux during the next big refactor
16303 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16304 soname_spec
='$libname$release$shared_ext$major'
16305 shlibpath_var
=LD_LIBRARY_PATH
16306 case $host_vendor in
16308 shlibpath_overrides_runpath
=no
16310 runpath_var
=LD_RUN_PATH
16318 shlibpath_overrides_runpath
=no
16319 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16325 if test -d /usr
/nec
; then
16326 version_type
=linux
# correct to gnu/linux during the next big refactor
16327 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16328 soname_spec
='$libname$shared_ext.$major'
16329 shlibpath_var
=LD_LIBRARY_PATH
16333 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16337 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16338 soname_spec
='$libname$release$shared_ext$major'
16339 shlibpath_var
=LD_LIBRARY_PATH
16340 shlibpath_overrides_runpath
=yes
16341 hardcode_into_libs
=yes
16342 if test yes = "$with_gnu_ld"; then
16343 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16345 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16348 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16352 sys_lib_dlsearch_path_spec
='/usr/lib'
16356 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16357 version_type
=linux
# correct to gnu/linux during the next big refactor
16360 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16361 shlibpath_var
=LD_LIBRARY_PATH
16362 shlibpath_overrides_runpath
=no
16363 hardcode_into_libs
=yes
16367 version_type
=linux
# correct to gnu/linux during the next big refactor
16368 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16369 soname_spec
='$libname$release$shared_ext$major'
16370 shlibpath_var
=LD_LIBRARY_PATH
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16378 $as_echo "$dynamic_linker" >&6; }
16379 test no
= "$dynamic_linker" && can_build_shared
=no
16381 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16382 if test yes = "$GCC"; then
16383 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16386 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16387 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16390 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16391 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16394 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16395 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16397 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16398 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16400 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16401 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16443 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16444 hardcode_action_CXX
=
16445 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16446 test -n "$runpath_var_CXX" ||
16447 test yes = "$hardcode_automatic_CXX"; then
16449 # We can hardcode non-existent directories.
16450 if test no
!= "$hardcode_direct_CXX" &&
16451 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16452 # have to relink, otherwise we might link with an installed library
16453 # when we should be linking with a yet-to-be-installed one
16454 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16455 test no
!= "$hardcode_minus_L_CXX"; then
16456 # Linking always hardcodes the temporary library directory.
16457 hardcode_action_CXX
=relink
16459 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16460 hardcode_action_CXX
=immediate
16463 # We cannot hardcode anything, or else we can only hardcode existing
16465 hardcode_action_CXX
=unsupported
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16468 $as_echo "$hardcode_action_CXX" >&6; }
16470 if test relink
= "$hardcode_action_CXX" ||
16471 test yes = "$inherit_rpath_CXX"; then
16472 # Fast installation is not supported
16473 enable_fast_install
=no
16474 elif test yes = "$shlibpath_overrides_runpath" ||
16475 test no
= "$enable_shared"; then
16476 # Fast installation is not necessary
16477 enable_fast_install
=needless
16486 fi # test -n "$compiler"
16489 CFLAGS
=$lt_save_CFLAGS
16493 with_gnu_ld
=$lt_save_with_gnu_ld
16494 lt_cv_path_LDCXX
=$lt_cv_path_LD
16495 lt_cv_path_LD
=$lt_save_path_LD
16496 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16497 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16498 fi # test yes != "$_lt_caught_CXX_error"
16501 ac_cpp
='$CPP $CPPFLAGS'
16502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16520 ac_config_commands
="$ac_config_commands libtool"
16525 # Only expand once:
16530 ac_cpp
='$CXXCPP $CPPFLAGS'
16531 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16532 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16533 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16536 ax_cxx_compile_cxx11_required
=true
16538 ac_cpp
='$CXXCPP $CPPFLAGS'
16539 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16540 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16541 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
16544 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
16545 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
16546 $as_echo_n "(cached) " >&6
16548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16549 /* end confdefs.h. */
16551 template <typename T>
16554 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16558 virtual void f() {}
16560 struct Child : public Base {
16561 virtual void f() override {}
16564 typedef check<check<bool>> right_angle_brackets;
16569 typedef check<int> check_type;
16571 check_type&& cr = static_cast<check_type&&>(c);
16577 if ac_fn_cxx_try_compile
"$LINENO"; then :
16578 ax_cv_cxx_compile_cxx11
=yes
16580 ax_cv_cxx_compile_cxx11
=no
16582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
16585 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
16586 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
16590 if test x
$ac_success = xno
; then
16591 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
16592 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
16594 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
16595 if eval \
${$cachevar+:} false
; then :
16596 $as_echo_n "(cached) " >&6
16598 ac_save_CXXFLAGS
="$CXXFLAGS"
16599 CXXFLAGS
="$CXXFLAGS $switch"
16600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16603 template <typename T>
16606 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16610 virtual void f() {}
16612 struct Child : public Base {
16613 virtual void f() override {}
16616 typedef check<check<bool>> right_angle_brackets;
16621 typedef check<int> check_type;
16623 check_type&& cr = static_cast<check_type&&>(c);
16629 if ac_fn_cxx_try_compile
"$LINENO"; then :
16634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16635 CXXFLAGS
="$ac_save_CXXFLAGS"
16637 eval ac_res
=\$
$cachevar
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16639 $as_echo "$ac_res" >&6; }
16640 if eval test x\$
$cachevar = xyes
; then
16641 CXXFLAGS
="$CXXFLAGS $switch"
16650 ac_cpp
='$CXXCPP $CPPFLAGS'
16651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16655 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
16656 if test x
$ac_success = xno
; then
16657 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
16660 if test x
$ac_success = xno
; then
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
16663 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
16667 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
16674 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
16683 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16684 if test -n "$ac_tool_prefix"; then
16685 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16686 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16688 $as_echo_n "checking for $ac_word... " >&6; }
16689 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16690 $as_echo_n "(cached) " >&6
16692 case $PKG_CONFIG in
16694 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16698 for as_dir
in $PATH
16701 test -z "$as_dir" && as_dir
=.
16702 for ac_exec_ext
in '' $ac_executable_extensions; do
16703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16704 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16715 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16716 if test -n "$PKG_CONFIG"; then
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16718 $as_echo "$PKG_CONFIG" >&6; }
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16721 $as_echo "no" >&6; }
16726 if test -z "$ac_cv_path_PKG_CONFIG"; then
16727 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16728 # Extract the first word of "pkg-config", so it can be a program name with args.
16729 set dummy pkg
-config; ac_word
=$2
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16731 $as_echo_n "checking for $ac_word... " >&6; }
16732 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16733 $as_echo_n "(cached) " >&6
16735 case $ac_pt_PKG_CONFIG in
16737 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16741 for as_dir
in $PATH
16744 test -z "$as_dir" && as_dir
=.
16745 for ac_exec_ext
in '' $ac_executable_extensions; do
16746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16747 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16758 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16759 if test -n "$ac_pt_PKG_CONFIG"; then
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16761 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16764 $as_echo "no" >&6; }
16767 if test "x$ac_pt_PKG_CONFIG" = x
; then
16770 case $cross_compiling:$ac_tool_warned in
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16774 ac_tool_warned
=yes ;;
16776 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16779 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16783 if test -n "$PKG_CONFIG"; then
16784 _pkg_min_version
=0.22
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16786 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16787 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16789 $as_echo "yes" >&6; }
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16792 $as_echo "no" >&6; }
16797 # Extract the first word of "git", so it can be a program name with args.
16798 set dummy git
; ac_word
=$2
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16800 $as_echo_n "checking for $ac_word... " >&6; }
16801 if ${ac_cv_path_GIT+:} false
; then :
16802 $as_echo_n "(cached) " >&6
16806 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16810 for as_dir
in $PATH
16813 test -z "$as_dir" && as_dir
=.
16814 for ac_exec_ext
in '' $ac_executable_extensions; do
16815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16816 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16827 GIT
=$ac_cv_path_GIT
16828 if test -n "$GIT"; then
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16830 $as_echo "$GIT" >&6; }
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16833 $as_echo "no" >&6; }
16837 # Extract the first word of "time", so it can be a program name with args.
16838 set dummy
time; ac_word
=$2
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16840 $as_echo_n "checking for $ac_word... " >&6; }
16841 if ${ac_cv_path_TIME+:} false
; then :
16842 $as_echo_n "(cached) " >&6
16846 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16850 for as_dir
in $PATH
16853 test -z "$as_dir" && as_dir
=.
16854 for ac_exec_ext
in '' $ac_executable_extensions; do
16855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16856 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16867 TIME
=$ac_cv_path_TIME
16868 if test -n "$TIME"; then
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16870 $as_echo "$TIME" >&6; }
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16873 $as_echo "no" >&6; }
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
16883 $as_echo_n "checking for bison >= 3.0... " >&6; }
16884 if test -z "$BISON"; then
16885 ac_path_BISON_found
=false
16886 # Loop through the user's path and test for each of PROGNAME-LIST
16887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16888 for as_dir
in $PATH
16891 test -z "$as_dir" && as_dir
=.
16892 for ac_prog
in bison
; do
16893 for ac_exec_ext
in '' $ac_executable_extensions; do
16894 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16895 as_fn_executable_p
"$ac_path_BISON" || continue
16896 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16897 if ${version:+false} :; then :
16900 as_awk_strverscmp
='
16901 # Use only awk features that work with 7th edition Unix awk (1978).
16902 # My, what an old awk you have, Mr. Solaris!
16904 while (length(v1) && length(v2)) {
16905 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16906 # Normally this is a single character, but if v1 and v2 contain digits,
16907 # compare them as integers and fractions as strverscmp does.
16908 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16909 # Split v1 and v2 into their leading digit string components d1 and d2,
16910 # and advance v1 and v2 past the leading digit strings.
16911 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16912 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16913 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16914 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16917 # Compare two fractions.
16918 while (d1 ~ /^0/ && d2 ~ /^0/) {
16919 d1 = substr(d1, 2); len1--
16920 d2 = substr(d2, 2); len2--
16922 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16923 # The two components differ in length, and the common prefix
16924 # contains only leading zeros. Consider the longer to be less.
16928 # Otherwise, compare as strings.
16933 # A fraction is less than an integer.
16938 # An integer is greater than a fraction.
16941 # Compare two integers.
16947 # The normal case, without worrying about digits.
16948 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16949 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16951 if (d1 < d2) exit 1
16952 if (d1 > d2) exit 2
16954 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16955 # which mishandles some comparisons of empty strings to integers.
16956 if (length(v2)) exit 1
16957 if (length(v1)) exit 2
16962 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16967 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16969 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16975 $ac_path_BISON_found && break 3
16980 if test -z "$ac_cv_path_BISON"; then
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16982 $as_echo "no" >&6; }
16985 ac_cv_path_BISON
=$BISON
16991 BISON
=$ac_cv_path_BISON
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16994 $as_echo "$BISON" >&6; }
16999 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17006 $as_echo "no" >&6; }
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
17015 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
17016 if test -z "$FLEX"; then
17017 ac_path_FLEX_found
=false
17018 # Loop through the user's path and test for each of PROGNAME-LIST
17019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17020 for as_dir
in $PATH
17023 test -z "$as_dir" && as_dir
=.
17024 for ac_prog
in flex
; do
17025 for ac_exec_ext
in '' $ac_executable_extensions; do
17026 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
17027 as_fn_executable_p
"$ac_path_FLEX" || continue
17028 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
17029 if ${version:+false} :; then :
17034 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17039 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17041 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17047 $ac_path_FLEX_found && break 3
17052 if test -z "$ac_cv_path_FLEX"; then
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17054 $as_echo "no" >&6; }
17057 ac_cv_path_FLEX
=$FLEX
17063 FLEX
=$ac_cv_path_FLEX
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17066 $as_echo "$FLEX" >&6; }
17071 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17078 $as_echo "no" >&6; }
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
17087 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
17088 if test -z "$GPERF"; then
17089 ac_path_GPERF_found
=false
17090 # Loop through the user's path and test for each of PROGNAME-LIST
17091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17092 for as_dir
in $PATH
17095 test -z "$as_dir" && as_dir
=.
17096 for ac_prog
in gperf
; do
17097 for ac_exec_ext
in '' $ac_executable_extensions; do
17098 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
17099 as_fn_executable_p
"$ac_path_GPERF" || continue
17100 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
17101 if ${version:+false} :; then :
17106 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17111 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17113 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17119 $ac_path_GPERF_found && break 3
17124 if test -z "$ac_cv_path_GPERF"; then
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17126 $as_echo "no" >&6; }
17129 ac_cv_path_GPERF
=$GPERF
17135 GPERF
=$ac_cv_path_GPERF
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17138 $as_echo "$GPERF" >&6; }
17143 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17150 $as_echo "no" >&6; }
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
17159 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
17160 if test -z "$GNUTAR"; then
17161 ac_path_GNUTAR_found
=false
17162 # Loop through the user's path and test for each of PROGNAME-LIST
17163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17164 for as_dir
in $PATH
17167 test -z "$as_dir" && as_dir
=.
17168 for ac_prog
in tar gtar gnutar
; do
17169 for ac_exec_ext
in '' $ac_executable_extensions; do
17170 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
17171 as_fn_executable_p
"$ac_path_GNUTAR" || continue
17172 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
17173 if ${version:+false} :; then :
17178 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17183 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17185 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17191 $ac_path_GNUTAR_found && break 3
17196 if test -z "$ac_cv_path_GNUTAR"; then
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17198 $as_echo "no" >&6; }
17201 ac_cv_path_GNUTAR
=$GNUTAR
17207 GNUTAR
=$ac_cv_path_GNUTAR
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
17210 $as_echo "$GNUTAR" >&6; }
17215 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17222 $as_echo "no" >&6; }
17237 ac_cpp
='$CPP $CPPFLAGS'
17238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
17243 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
17244 if ${ac_cv_cflags_warn_all+:} false
; then :
17245 $as_echo_n "(cached) " >&6
17247 ac_cv_cflags_warn_all
="no, unknown"
17248 ac_save_CFLAGS
="$CFLAGS"
17249 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" #
17250 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17262 if ac_fn_c_try_compile
"$LINENO"; then :
17263 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17267 CFLAGS
="$ac_save_CFLAGS"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
17271 $as_echo "$ac_cv_cflags_warn_all" >&6; }
17274 case ".$ac_cv_cflags_warn_all" in
17277 *) if ${CFLAGS+:} false
; then :
17278 case " $CFLAGS " in
17279 *" $ac_cv_cflags_warn_all "*)
17280 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
17281 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
17283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17284 test $ac_status = 0; }
17287 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
17288 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
17290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17291 test $ac_status = 0; }
17292 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
17296 CFLAGS
="$ac_cv_cflags_warn_all"
17302 ac_cpp
='$CXXCPP $CPPFLAGS'
17303 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17309 ac_cpp
='$CXXCPP $CPPFLAGS'
17310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17315 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17316 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17317 $as_echo_n "(cached) " >&6
17319 ac_cv_cxxflags_warn_all
="no, unknown"
17320 ac_save_CXXFLAGS
="$CXXFLAGS"
17321 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" #
17322 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17334 if ac_fn_cxx_try_compile
"$LINENO"; then :
17335 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17339 CXXFLAGS
="$ac_save_CXXFLAGS"
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17343 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17346 case ".$ac_cv_cxxflags_warn_all" in
17349 *) if ${CXXFLAGS+:} false
; then :
17350 case " $CXXFLAGS " in
17351 *" $ac_cv_cxxflags_warn_all "*)
17352 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17353 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17356 test $ac_status = 0; }
17359 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17360 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17363 test $ac_status = 0; }
17364 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17368 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17374 ac_cpp
='$CXXCPP $CPPFLAGS'
17375 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17376 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17377 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17381 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17382 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17383 $as_echo_n "(cached) " >&6
17385 ac_cv_cxxflags_warn_all
="no, unknown"
17386 ac_save_CXXFLAGS
="$CXXFLAGS"
17387 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" #
17388 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17400 if ac_fn_cxx_try_compile
"$LINENO"; then :
17401 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17405 CXXFLAGS
="$ac_save_CXXFLAGS"
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17409 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17412 case ".$ac_cv_cxxflags_warn_all" in
17415 *) if ${CXXFLAGS+:} false
; then :
17416 case " $CXXFLAGS " in
17417 *" $ac_cv_cxxflags_warn_all "*)
17418 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17419 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17422 test $ac_status = 0; }
17425 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17426 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17429 test $ac_status = 0; }
17430 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17434 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17444 ac_cpp
='$CPP $CPPFLAGS'
17445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
17450 $as_echo_n "checking for cc -Werror... " >&6; }
17454 for element
in -Werror; do
17456 for x
in $CFLAGS; do
17458 acl_save_prefix
="$prefix"
17459 prefix
="$acl_final_prefix"
17460 acl_save_exec_prefix
="$exec_prefix"
17461 exec_prefix
="$acl_final_exec_prefix"
17463 exec_prefix
="$acl_save_exec_prefix"
17464 prefix
="$acl_save_prefix"
17466 if test "X$x" = "X$element"; then
17471 if test -z "$haveit"; then
17472 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17481 if ac_fn_c_try_compile
"$LINENO"; then :
17486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17489 if test "x$cy_good" = x1
; then :
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17491 $as_echo "yes" >&6; }
17493 for element
in -Werror; do
17495 for x
in $CFLAGS; do
17497 acl_save_prefix
="$prefix"
17498 prefix
="$acl_final_prefix"
17499 acl_save_exec_prefix
="$exec_prefix"
17500 exec_prefix
="$acl_final_exec_prefix"
17502 exec_prefix
="$acl_save_exec_prefix"
17503 prefix
="$acl_save_prefix"
17505 if test "X$x" = "X$element"; then
17510 if test -z "$haveit"; then
17511 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17518 $as_echo "no" >&6; }
17522 ac_cpp
='$CXXCPP $CPPFLAGS'
17523 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17524 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17525 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17530 ac_cpp
='$CXXCPP $CPPFLAGS'
17531 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17532 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17533 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
17536 $as_echo_n "checking for c++ -Werror... " >&6; }
17540 for element
in -Werror; do
17542 for x
in $CXXFLAGS; do
17544 acl_save_prefix
="$prefix"
17545 prefix
="$acl_final_prefix"
17546 acl_save_exec_prefix
="$exec_prefix"
17547 exec_prefix
="$acl_final_exec_prefix"
17549 exec_prefix
="$acl_save_exec_prefix"
17550 prefix
="$acl_save_prefix"
17552 if test "X$x" = "X$element"; then
17557 if test -z "$haveit"; then
17558 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17567 if ac_fn_cxx_try_compile
"$LINENO"; then :
17572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17575 if test "x$cy_good" = x1
; then :
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17577 $as_echo "yes" >&6; }
17579 for element
in -Werror; do
17581 for x
in $CXXFLAGS; do
17583 acl_save_prefix
="$prefix"
17584 prefix
="$acl_final_prefix"
17585 acl_save_exec_prefix
="$exec_prefix"
17586 exec_prefix
="$acl_final_exec_prefix"
17588 exec_prefix
="$acl_save_exec_prefix"
17589 prefix
="$acl_save_prefix"
17591 if test "X$x" = "X$element"; then
17596 if test -z "$haveit"; then
17597 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17604 $as_echo "no" >&6; }
17608 ac_cpp
='$CXXCPP $CPPFLAGS'
17609 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17610 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17611 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17616 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17617 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
17622 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
17624 cy_save
=$OBJCXXFLAGS
17626 for element
in -Werror; do
17628 for x
in $OBJCXXFLAGS; do
17630 acl_save_prefix
="$prefix"
17631 prefix
="$acl_final_prefix"
17632 acl_save_exec_prefix
="$exec_prefix"
17633 exec_prefix
="$acl_final_exec_prefix"
17635 exec_prefix
="$acl_save_exec_prefix"
17636 prefix
="$acl_save_prefix"
17638 if test "X$x" = "X$element"; then
17643 if test -z "$haveit"; then
17644 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17653 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17660 OBJCXXFLAGS
=$cy_save
17661 if test "x$cy_good" = x1
; then :
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17663 $as_echo "yes" >&6; }
17665 for element
in -Werror; do
17667 for x
in $OBJCXXFLAGS; do
17669 acl_save_prefix
="$prefix"
17670 prefix
="$acl_final_prefix"
17671 acl_save_exec_prefix
="$exec_prefix"
17672 exec_prefix
="$acl_final_exec_prefix"
17674 exec_prefix
="$acl_save_exec_prefix"
17675 prefix
="$acl_save_prefix"
17677 if test "X$x" = "X$element"; then
17682 if test -z "$haveit"; then
17683 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17690 $as_echo "no" >&6; }
17694 ac_cpp
='$CXXCPP $CPPFLAGS'
17695 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17696 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17697 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17705 ac_cpp
='$CPP $CPPFLAGS'
17706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17711 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17715 for element
in -Wno-deprecated-declarations; do
17717 for x
in $CFLAGS; do
17719 acl_save_prefix
="$prefix"
17720 prefix
="$acl_final_prefix"
17721 acl_save_exec_prefix
="$exec_prefix"
17722 exec_prefix
="$acl_final_exec_prefix"
17724 exec_prefix
="$acl_save_exec_prefix"
17725 prefix
="$acl_save_prefix"
17727 if test "X$x" = "X$element"; then
17732 if test -z "$haveit"; then
17733 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17742 if ac_fn_c_try_compile
"$LINENO"; then :
17747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17750 if test "x$cy_good" = x1
; then :
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17752 $as_echo "yes" >&6; }
17754 for element
in -Wno-deprecated-declarations; do
17756 for x
in $CFLAGS; do
17758 acl_save_prefix
="$prefix"
17759 prefix
="$acl_final_prefix"
17760 acl_save_exec_prefix
="$exec_prefix"
17761 exec_prefix
="$acl_final_exec_prefix"
17763 exec_prefix
="$acl_save_exec_prefix"
17764 prefix
="$acl_save_prefix"
17766 if test "X$x" = "X$element"; then
17771 if test -z "$haveit"; then
17772 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17779 $as_echo "no" >&6; }
17783 ac_cpp
='$CXXCPP $CPPFLAGS'
17784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17791 ac_cpp
='$CXXCPP $CPPFLAGS'
17792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17797 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17801 for element
in -Wno-deprecated-declarations; do
17803 for x
in $CXXFLAGS; do
17805 acl_save_prefix
="$prefix"
17806 prefix
="$acl_final_prefix"
17807 acl_save_exec_prefix
="$exec_prefix"
17808 exec_prefix
="$acl_final_exec_prefix"
17810 exec_prefix
="$acl_save_exec_prefix"
17811 prefix
="$acl_save_prefix"
17813 if test "X$x" = "X$element"; then
17818 if test -z "$haveit"; then
17819 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17825 /* end confdefs.h. */
17828 if ac_fn_cxx_try_compile
"$LINENO"; then :
17833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17836 if test "x$cy_good" = x1
; then :
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17838 $as_echo "yes" >&6; }
17840 for element
in -Wno-deprecated-declarations; do
17842 for x
in $CXXFLAGS; do
17844 acl_save_prefix
="$prefix"
17845 prefix
="$acl_final_prefix"
17846 acl_save_exec_prefix
="$exec_prefix"
17847 exec_prefix
="$acl_final_exec_prefix"
17849 exec_prefix
="$acl_save_exec_prefix"
17850 prefix
="$acl_save_prefix"
17852 if test "X$x" = "X$element"; then
17857 if test -z "$haveit"; then
17858 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17865 $as_echo "no" >&6; }
17869 ac_cpp
='$CXXCPP $CPPFLAGS'
17870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17877 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17878 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17883 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17885 cy_save
=$OBJCXXFLAGS
17887 for element
in -Wno-deprecated-declarations; do
17889 for x
in $OBJCXXFLAGS; do
17891 acl_save_prefix
="$prefix"
17892 prefix
="$acl_final_prefix"
17893 acl_save_exec_prefix
="$exec_prefix"
17894 exec_prefix
="$acl_final_exec_prefix"
17896 exec_prefix
="$acl_save_exec_prefix"
17897 prefix
="$acl_save_prefix"
17899 if test "X$x" = "X$element"; then
17904 if test -z "$haveit"; then
17905 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17911 /* end confdefs.h. */
17914 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17921 OBJCXXFLAGS
=$cy_save
17922 if test "x$cy_good" = x1
; then :
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17924 $as_echo "yes" >&6; }
17926 for element
in -Wno-deprecated-declarations; do
17928 for x
in $OBJCXXFLAGS; do
17930 acl_save_prefix
="$prefix"
17931 prefix
="$acl_final_prefix"
17932 acl_save_exec_prefix
="$exec_prefix"
17933 exec_prefix
="$acl_final_exec_prefix"
17935 exec_prefix
="$acl_save_exec_prefix"
17936 prefix
="$acl_save_prefix"
17938 if test "X$x" = "X$element"; then
17943 if test -z "$haveit"; then
17944 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17951 $as_echo "no" >&6; }
17955 ac_cpp
='$CXXCPP $CPPFLAGS'
17956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17966 ac_cpp
='$CPP $CPPFLAGS'
17967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17972 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17976 for element
in -Wno-dangling-else; do
17978 for x
in $CFLAGS; do
17980 acl_save_prefix
="$prefix"
17981 prefix
="$acl_final_prefix"
17982 acl_save_exec_prefix
="$exec_prefix"
17983 exec_prefix
="$acl_final_exec_prefix"
17985 exec_prefix
="$acl_save_exec_prefix"
17986 prefix
="$acl_save_prefix"
17988 if test "X$x" = "X$element"; then
17993 if test -z "$haveit"; then
17994 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18000 /* end confdefs.h. */
18003 if ac_fn_c_try_compile
"$LINENO"; then :
18008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18011 if test "x$cy_good" = x1
; then :
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18013 $as_echo "yes" >&6; }
18015 for element
in -Wno-dangling-else; do
18017 for x
in $CFLAGS; do
18019 acl_save_prefix
="$prefix"
18020 prefix
="$acl_final_prefix"
18021 acl_save_exec_prefix
="$exec_prefix"
18022 exec_prefix
="$acl_final_exec_prefix"
18024 exec_prefix
="$acl_save_exec_prefix"
18025 prefix
="$acl_save_prefix"
18027 if test "X$x" = "X$element"; then
18032 if test -z "$haveit"; then
18033 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18040 $as_echo "no" >&6; }
18044 ac_cpp
='$CXXCPP $CPPFLAGS'
18045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18052 ac_cpp
='$CXXCPP $CPPFLAGS'
18053 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18054 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18055 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
18058 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
18062 for element
in -Wno-dangling-else; do
18064 for x
in $CXXFLAGS; do
18066 acl_save_prefix
="$prefix"
18067 prefix
="$acl_final_prefix"
18068 acl_save_exec_prefix
="$exec_prefix"
18069 exec_prefix
="$acl_final_exec_prefix"
18071 exec_prefix
="$acl_save_exec_prefix"
18072 prefix
="$acl_save_prefix"
18074 if test "X$x" = "X$element"; then
18079 if test -z "$haveit"; then
18080 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18089 if ac_fn_cxx_try_compile
"$LINENO"; then :
18094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18097 if test "x$cy_good" = x1
; then :
18098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18099 $as_echo "yes" >&6; }
18101 for element
in -Wno-dangling-else; do
18103 for x
in $CXXFLAGS; do
18105 acl_save_prefix
="$prefix"
18106 prefix
="$acl_final_prefix"
18107 acl_save_exec_prefix
="$exec_prefix"
18108 exec_prefix
="$acl_final_exec_prefix"
18110 exec_prefix
="$acl_save_exec_prefix"
18111 prefix
="$acl_save_prefix"
18113 if test "X$x" = "X$element"; then
18118 if test -z "$haveit"; then
18119 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18126 $as_echo "no" >&6; }
18130 ac_cpp
='$CXXCPP $CPPFLAGS'
18131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18138 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18139 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18140 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18141 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
18144 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
18146 cy_save
=$OBJCXXFLAGS
18148 for element
in -Wno-dangling-else; do
18150 for x
in $OBJCXXFLAGS; do
18152 acl_save_prefix
="$prefix"
18153 prefix
="$acl_final_prefix"
18154 acl_save_exec_prefix
="$exec_prefix"
18155 exec_prefix
="$acl_final_exec_prefix"
18157 exec_prefix
="$acl_save_exec_prefix"
18158 prefix
="$acl_save_prefix"
18160 if test "X$x" = "X$element"; then
18165 if test -z "$haveit"; then
18166 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18175 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18182 OBJCXXFLAGS
=$cy_save
18183 if test "x$cy_good" = x1
; then :
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18185 $as_echo "yes" >&6; }
18187 for element
in -Wno-dangling-else; do
18189 for x
in $OBJCXXFLAGS; do
18191 acl_save_prefix
="$prefix"
18192 prefix
="$acl_final_prefix"
18193 acl_save_exec_prefix
="$exec_prefix"
18194 exec_prefix
="$acl_final_exec_prefix"
18196 exec_prefix
="$acl_save_exec_prefix"
18197 prefix
="$acl_save_prefix"
18199 if test "X$x" = "X$element"; then
18204 if test -z "$haveit"; then
18205 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18212 $as_echo "no" >&6; }
18216 ac_cpp
='$CXXCPP $CPPFLAGS'
18217 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18218 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18219 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18226 ac_cpp
='$CPP $CPPFLAGS'
18227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
18232 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
18236 for element
in -Wno-overloaded-virtual; do
18238 for x
in $CFLAGS; do
18240 acl_save_prefix
="$prefix"
18241 prefix
="$acl_final_prefix"
18242 acl_save_exec_prefix
="$exec_prefix"
18243 exec_prefix
="$acl_final_exec_prefix"
18245 exec_prefix
="$acl_save_exec_prefix"
18246 prefix
="$acl_save_prefix"
18248 if test "X$x" = "X$element"; then
18253 if test -z "$haveit"; then
18254 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18263 if ac_fn_c_try_compile
"$LINENO"; then :
18268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18271 if test "x$cy_good" = x1
; then :
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18273 $as_echo "yes" >&6; }
18275 for element
in -Wno-overloaded-virtual; do
18277 for x
in $CFLAGS; do
18279 acl_save_prefix
="$prefix"
18280 prefix
="$acl_final_prefix"
18281 acl_save_exec_prefix
="$exec_prefix"
18282 exec_prefix
="$acl_final_exec_prefix"
18284 exec_prefix
="$acl_save_exec_prefix"
18285 prefix
="$acl_save_prefix"
18287 if test "X$x" = "X$element"; then
18292 if test -z "$haveit"; then
18293 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18300 $as_echo "no" >&6; }
18304 ac_cpp
='$CXXCPP $CPPFLAGS'
18305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18312 ac_cpp
='$CXXCPP $CPPFLAGS'
18313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
18318 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
18322 for element
in -Wno-overloaded-virtual; do
18324 for x
in $CXXFLAGS; do
18326 acl_save_prefix
="$prefix"
18327 prefix
="$acl_final_prefix"
18328 acl_save_exec_prefix
="$exec_prefix"
18329 exec_prefix
="$acl_final_exec_prefix"
18331 exec_prefix
="$acl_save_exec_prefix"
18332 prefix
="$acl_save_prefix"
18334 if test "X$x" = "X$element"; then
18339 if test -z "$haveit"; then
18340 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18346 /* end confdefs.h. */
18349 if ac_fn_cxx_try_compile
"$LINENO"; then :
18354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18357 if test "x$cy_good" = x1
; then :
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18359 $as_echo "yes" >&6; }
18361 for element
in -Wno-overloaded-virtual; do
18363 for x
in $CXXFLAGS; do
18365 acl_save_prefix
="$prefix"
18366 prefix
="$acl_final_prefix"
18367 acl_save_exec_prefix
="$exec_prefix"
18368 exec_prefix
="$acl_final_exec_prefix"
18370 exec_prefix
="$acl_save_exec_prefix"
18371 prefix
="$acl_save_prefix"
18373 if test "X$x" = "X$element"; then
18378 if test -z "$haveit"; then
18379 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18386 $as_echo "no" >&6; }
18390 ac_cpp
='$CXXCPP $CPPFLAGS'
18391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18398 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18399 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18400 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18401 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
18404 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
18406 cy_save
=$OBJCXXFLAGS
18408 for element
in -Wno-overloaded-virtual; do
18410 for x
in $OBJCXXFLAGS; do
18412 acl_save_prefix
="$prefix"
18413 prefix
="$acl_final_prefix"
18414 acl_save_exec_prefix
="$exec_prefix"
18415 exec_prefix
="$acl_final_exec_prefix"
18417 exec_prefix
="$acl_save_exec_prefix"
18418 prefix
="$acl_save_prefix"
18420 if test "X$x" = "X$element"; then
18425 if test -z "$haveit"; then
18426 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18435 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18442 OBJCXXFLAGS
=$cy_save
18443 if test "x$cy_good" = x1
; then :
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18445 $as_echo "yes" >&6; }
18447 for element
in -Wno-overloaded-virtual; do
18449 for x
in $OBJCXXFLAGS; do
18451 acl_save_prefix
="$prefix"
18452 prefix
="$acl_final_prefix"
18453 acl_save_exec_prefix
="$exec_prefix"
18454 exec_prefix
="$acl_final_exec_prefix"
18456 exec_prefix
="$acl_save_exec_prefix"
18457 prefix
="$acl_save_prefix"
18459 if test "X$x" = "X$element"; then
18464 if test -z "$haveit"; then
18465 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18472 $as_echo "no" >&6; }
18476 ac_cpp
='$CXXCPP $CPPFLAGS'
18477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18486 ac_cpp
='$CPP $CPPFLAGS'
18487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
18492 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
18496 for element
in -Wno-parentheses; do
18498 for x
in $CFLAGS; do
18500 acl_save_prefix
="$prefix"
18501 prefix
="$acl_final_prefix"
18502 acl_save_exec_prefix
="$exec_prefix"
18503 exec_prefix
="$acl_final_exec_prefix"
18505 exec_prefix
="$acl_save_exec_prefix"
18506 prefix
="$acl_save_prefix"
18508 if test "X$x" = "X$element"; then
18513 if test -z "$haveit"; then
18514 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18523 if ac_fn_c_try_compile
"$LINENO"; then :
18528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18531 if test "x$cy_good" = x1
; then :
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18533 $as_echo "yes" >&6; }
18535 for element
in -Wno-parentheses; do
18537 for x
in $CFLAGS; do
18539 acl_save_prefix
="$prefix"
18540 prefix
="$acl_final_prefix"
18541 acl_save_exec_prefix
="$exec_prefix"
18542 exec_prefix
="$acl_final_exec_prefix"
18544 exec_prefix
="$acl_save_exec_prefix"
18545 prefix
="$acl_save_prefix"
18547 if test "X$x" = "X$element"; then
18552 if test -z "$haveit"; then
18553 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18560 $as_echo "no" >&6; }
18564 ac_cpp
='$CXXCPP $CPPFLAGS'
18565 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18566 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18567 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18572 ac_cpp
='$CXXCPP $CPPFLAGS'
18573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
18578 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
18582 for element
in -Wno-parentheses; do
18584 for x
in $CXXFLAGS; do
18586 acl_save_prefix
="$prefix"
18587 prefix
="$acl_final_prefix"
18588 acl_save_exec_prefix
="$exec_prefix"
18589 exec_prefix
="$acl_final_exec_prefix"
18591 exec_prefix
="$acl_save_exec_prefix"
18592 prefix
="$acl_save_prefix"
18594 if test "X$x" = "X$element"; then
18599 if test -z "$haveit"; then
18600 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18609 if ac_fn_cxx_try_compile
"$LINENO"; then :
18614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18617 if test "x$cy_good" = x1
; then :
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18619 $as_echo "yes" >&6; }
18621 for element
in -Wno-parentheses; do
18623 for x
in $CXXFLAGS; do
18625 acl_save_prefix
="$prefix"
18626 prefix
="$acl_final_prefix"
18627 acl_save_exec_prefix
="$exec_prefix"
18628 exec_prefix
="$acl_final_exec_prefix"
18630 exec_prefix
="$acl_save_exec_prefix"
18631 prefix
="$acl_save_prefix"
18633 if test "X$x" = "X$element"; then
18638 if test -z "$haveit"; then
18639 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18646 $as_echo "no" >&6; }
18650 ac_cpp
='$CXXCPP $CPPFLAGS'
18651 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18652 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18653 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18658 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18659 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18660 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18661 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
18664 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
18666 cy_save
=$OBJCXXFLAGS
18668 for element
in -Wno-parentheses; do
18670 for x
in $OBJCXXFLAGS; do
18672 acl_save_prefix
="$prefix"
18673 prefix
="$acl_final_prefix"
18674 acl_save_exec_prefix
="$exec_prefix"
18675 exec_prefix
="$acl_final_exec_prefix"
18677 exec_prefix
="$acl_save_exec_prefix"
18678 prefix
="$acl_save_prefix"
18680 if test "X$x" = "X$element"; then
18685 if test -z "$haveit"; then
18686 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18695 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18702 OBJCXXFLAGS
=$cy_save
18703 if test "x$cy_good" = x1
; then :
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18705 $as_echo "yes" >&6; }
18707 for element
in -Wno-parentheses; do
18709 for x
in $OBJCXXFLAGS; do
18711 acl_save_prefix
="$prefix"
18712 prefix
="$acl_final_prefix"
18713 acl_save_exec_prefix
="$exec_prefix"
18714 exec_prefix
="$acl_final_exec_prefix"
18716 exec_prefix
="$acl_save_exec_prefix"
18717 prefix
="$acl_save_prefix"
18719 if test "X$x" = "X$element"; then
18724 if test -z "$haveit"; then
18725 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18732 $as_echo "no" >&6; }
18736 ac_cpp
='$CXXCPP $CPPFLAGS'
18737 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18738 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18739 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18746 ac_cpp
='$CPP $CPPFLAGS'
18747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
18752 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
18756 for element
in -Wno-unneeded-internal-declaration; do
18758 for x
in $CFLAGS; do
18760 acl_save_prefix
="$prefix"
18761 prefix
="$acl_final_prefix"
18762 acl_save_exec_prefix
="$exec_prefix"
18763 exec_prefix
="$acl_final_exec_prefix"
18765 exec_prefix
="$acl_save_exec_prefix"
18766 prefix
="$acl_save_prefix"
18768 if test "X$x" = "X$element"; then
18773 if test -z "$haveit"; then
18774 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18783 if ac_fn_c_try_compile
"$LINENO"; then :
18788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18791 if test "x$cy_good" = x1
; then :
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18793 $as_echo "yes" >&6; }
18795 for element
in -Wno-unneeded-internal-declaration; do
18797 for x
in $CFLAGS; do
18799 acl_save_prefix
="$prefix"
18800 prefix
="$acl_final_prefix"
18801 acl_save_exec_prefix
="$exec_prefix"
18802 exec_prefix
="$acl_final_exec_prefix"
18804 exec_prefix
="$acl_save_exec_prefix"
18805 prefix
="$acl_save_prefix"
18807 if test "X$x" = "X$element"; then
18812 if test -z "$haveit"; then
18813 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18820 $as_echo "no" >&6; }
18824 ac_cpp
='$CXXCPP $CPPFLAGS'
18825 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18826 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18827 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18832 ac_cpp
='$CXXCPP $CPPFLAGS'
18833 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18834 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18835 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
18838 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
18842 for element
in -Wno-unneeded-internal-declaration; do
18844 for x
in $CXXFLAGS; do
18846 acl_save_prefix
="$prefix"
18847 prefix
="$acl_final_prefix"
18848 acl_save_exec_prefix
="$exec_prefix"
18849 exec_prefix
="$acl_final_exec_prefix"
18851 exec_prefix
="$acl_save_exec_prefix"
18852 prefix
="$acl_save_prefix"
18854 if test "X$x" = "X$element"; then
18859 if test -z "$haveit"; then
18860 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18869 if ac_fn_cxx_try_compile
"$LINENO"; then :
18874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18877 if test "x$cy_good" = x1
; then :
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18879 $as_echo "yes" >&6; }
18881 for element
in -Wno-unneeded-internal-declaration; do
18883 for x
in $CXXFLAGS; do
18885 acl_save_prefix
="$prefix"
18886 prefix
="$acl_final_prefix"
18887 acl_save_exec_prefix
="$exec_prefix"
18888 exec_prefix
="$acl_final_exec_prefix"
18890 exec_prefix
="$acl_save_exec_prefix"
18891 prefix
="$acl_save_prefix"
18893 if test "X$x" = "X$element"; then
18898 if test -z "$haveit"; then
18899 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18906 $as_echo "no" >&6; }
18910 ac_cpp
='$CXXCPP $CPPFLAGS'
18911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18918 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18919 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18920 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18921 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
18924 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
18926 cy_save
=$OBJCXXFLAGS
18928 for element
in -Wno-unneeded-internal-declaration; do
18930 for x
in $OBJCXXFLAGS; do
18932 acl_save_prefix
="$prefix"
18933 prefix
="$acl_final_prefix"
18934 acl_save_exec_prefix
="$exec_prefix"
18935 exec_prefix
="$acl_final_exec_prefix"
18937 exec_prefix
="$acl_save_exec_prefix"
18938 prefix
="$acl_save_prefix"
18940 if test "X$x" = "X$element"; then
18945 if test -z "$haveit"; then
18946 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18952 /* end confdefs.h. */
18955 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18962 OBJCXXFLAGS
=$cy_save
18963 if test "x$cy_good" = x1
; then :
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18965 $as_echo "yes" >&6; }
18967 for element
in -Wno-unneeded-internal-declaration; do
18969 for x
in $OBJCXXFLAGS; do
18971 acl_save_prefix
="$prefix"
18972 prefix
="$acl_final_prefix"
18973 acl_save_exec_prefix
="$exec_prefix"
18974 exec_prefix
="$acl_final_exec_prefix"
18976 exec_prefix
="$acl_save_exec_prefix"
18977 prefix
="$acl_save_prefix"
18979 if test "X$x" = "X$element"; then
18984 if test -z "$haveit"; then
18985 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18992 $as_echo "no" >&6; }
18996 ac_cpp
='$CXXCPP $CPPFLAGS'
18997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19008 ac_cpp
='$CPP $CPPFLAGS'
19009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19015 # We used to check for pthread.h first, but this fails if pthread.h
19016 # requires special compiler flags (e.g. on Tru64 or Sequent).
19017 # It gets checked for in the link test anyway.
19019 # First of all, check if the user has set any of the PTHREAD_LIBS,
19020 # etcetera environment variables, and if threads linking works using
19022 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19023 save_CFLAGS
="$CFLAGS"
19024 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19026 LIBS
="$PTHREAD_LIBS $LIBS"
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
19028 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
19029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19030 /* end confdefs.h. */
19032 /* Override any GCC internal prototype to avoid an error.
19033 Use char because int might match the return type of a GCC
19034 builtin and then its argument prototype would still apply. */
19038 char pthread_join ();
19042 return pthread_join ();
19047 if ac_fn_c_try_link
"$LINENO"; then :
19050 rm -f core conftest.err conftest.
$ac_objext \
19051 conftest
$ac_exeext conftest.
$ac_ext
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19053 $as_echo "$ax_pthread_ok" >&6; }
19054 if test x
"$ax_pthread_ok" = xno
; then
19059 CFLAGS
="$save_CFLAGS"
19062 # We must check for the threads library under a number of different
19063 # names; the ordering is very important because some systems
19064 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19065 # libraries is broken (non-POSIX).
19067 # Create a list of thread flags to try. Items starting with a "-" are
19068 # C compiler flags, and other items are library names, except for "none"
19069 # which indicates that we try without any flags at all, and "pthread-config"
19070 # which is a program returning the flags for the Pth emulation library.
19072 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
19074 # The ordering *is* (sometimes) important. Some notes on the
19075 # individual items follow:
19077 # pthreads: AIX (must check this before -lpthread)
19078 # none: in case threads are in libc; should be tried before -Kthread and
19079 # other compiler flags to prevent continual compiler warnings
19080 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19081 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19082 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19083 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
19084 # -pthreads: Solaris/gcc
19085 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19086 # doesn't hurt to check since this sometimes defines pthreads and
19087 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
19088 # is present but should not be used directly)
19089 # -mthreads: Mingw32/gcc, Lynx/gcc
19090 # pthread: Linux, etcetera
19091 # --thread-safe: KAI C++
19092 # pthread-config: use pthread-config program (for GNU Pth library)
19098 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
19099 # multi-threading and also sets -lpthread."
19101 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
19106 # IBM z/OS requires a feature-test macro to be defined in order to
19107 # enable POSIX threads at all, so give the user a hint if this is
19108 # not set. (We don't define these ourselves, as they can affect
19109 # other portions of the system API in unpredictable ways.)
19111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h. */
19114 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
19115 AX_PTHREAD_ZOS_MISSING
19119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19120 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
19121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
19122 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
19130 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
19131 # check that first. On some older versions, libc contains stubbed
19132 # (non-functional) versions of the pthreads routines, so link-based
19133 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19134 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19135 # a function called by this macro, so we could check for that, but
19136 # who knows whether they'll stub that too in a future libc.) So
19137 # we'll look for -pthreads and -lpthread shortly thereafter.
19139 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
19143 # Older versions of Clang only give a warning instead of an error for an
19144 # unrecognized option, unless we specify -Werror. (We throw in some extra
19145 # Clang warning flags for good measure.)
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
19148 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
19149 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
19150 $as_echo_n "(cached) " >&6
19152 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
19153 save_CFLAGS
="$CFLAGS"
19154 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
19155 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
19156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19157 /* end confdefs.h. */
19167 if ac_fn_c_try_compile
"$LINENO"; then :
19168 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
19170 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
19172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19173 CFLAGS
="$save_CFLAGS"
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
19177 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
19178 ax_pthread_extra_flags
=
19179 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
19180 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
19183 if test x
"$ax_pthread_ok" = xno
; then
19184 for flag
in $ax_pthread_flags; do
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19189 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
19194 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
19195 PTHREAD_CFLAGS
="-mt"
19196 PTHREAD_LIBS
="-lpthread"
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19201 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19202 PTHREAD_CFLAGS
="$flag"
19206 # Extract the first word of "pthread-config", so it can be a program name with args.
19207 set dummy pthread
-config; ac_word
=$2
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19209 $as_echo_n "checking for $ac_word... " >&6; }
19210 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
19211 $as_echo_n "(cached) " >&6
19213 if test -n "$ax_pthread_config"; then
19214 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
19216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19217 for as_dir
in $PATH
19220 test -z "$as_dir" && as_dir
=.
19221 for ac_exec_ext
in '' $ac_executable_extensions; do
19222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19223 ac_cv_prog_ax_pthread_config
="yes"
19224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19231 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
19234 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
19235 if test -n "$ax_pthread_config"; then
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19237 $as_echo "$ax_pthread_config" >&6; }
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19240 $as_echo "no" >&6; }
19244 if test x
"$ax_pthread_config" = xno
; then continue; fi
19245 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19246 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19251 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19252 PTHREAD_LIBS
="-l$flag"
19257 save_CFLAGS
="$CFLAGS"
19258 LIBS
="$PTHREAD_LIBS $LIBS"
19259 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
19261 # Check for various functions. We must include pthread.h,
19262 # since some functions may be macros. (On the Sequent, we
19263 # need a special flag -Kthread to make this header compile.)
19264 # We check for pthread_join because it is in -lpthread on IRIX
19265 # while pthread_create is in libc. We check for pthread_attr_init
19266 # due to DEC craziness with -lpthreads. We check for
19267 # pthread_cleanup_push because it is one of the few pthread
19268 # functions on Solaris that doesn't have a non-functional libc stub.
19269 # We try pthread_create on general principles.
19270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h. */
19272 #include <pthread.h>
19273 static void routine(void *a) { a = 0; }
19274 static void *start_routine(void *a) { return a; }
19278 pthread_t th; pthread_attr_t attr;
19279 pthread_create(&th, 0, start_routine, 0);
19280 pthread_join(th, 0);
19281 pthread_attr_init(&attr);
19282 pthread_cleanup_push(routine, 0);
19283 pthread_cleanup_pop(0) /* ; */
19288 if ac_fn_c_try_link
"$LINENO"; then :
19291 rm -f core conftest.err conftest.
$ac_objext \
19292 conftest
$ac_exeext conftest.
$ac_ext
19295 CFLAGS
="$save_CFLAGS"
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19298 $as_echo "$ax_pthread_ok" >&6; }
19299 if test "x$ax_pthread_ok" = xyes
; then
19308 # Various other checks:
19309 if test "x$ax_pthread_ok" = xyes
; then
19311 LIBS
="$PTHREAD_LIBS $LIBS"
19312 save_CFLAGS
="$CFLAGS"
19313 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19315 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19317 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19318 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
19319 $as_echo_n "(cached) " >&6
19321 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
19322 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19325 #include <pthread.h>
19329 int attr = $attr; return attr /* ; */
19334 if ac_fn_c_try_link
"$LINENO"; then :
19335 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
19337 rm -f core conftest.err conftest.
$ac_objext \
19338 conftest
$ac_exeext conftest.
$ac_ext
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
19343 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
19344 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
19345 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
19347 cat >>confdefs.h
<<_ACEOF
19348 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19354 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19355 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
19356 $as_echo_n "(cached) " >&6
19358 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
19359 ax_pthread_special_flags_added
=no
19360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19363 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
19364 AX_PTHREAD_NEED_SPECIAL_FLAG
19368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19369 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
19372 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
19374 darwin
* | hpux
* | osf
* | solaris
*)
19375 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
19385 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
19386 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
19387 test "x$ax_pthread_special_flags_added" != "xyes"; then :
19388 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
19389 ax_pthread_special_flags_added
=yes
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
19393 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
19394 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
19395 $as_echo_n "(cached) " >&6
19397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h. */
19399 #include <pthread.h>
19403 int i = PTHREAD_PRIO_INHERIT;
19408 if ac_fn_c_try_link
"$LINENO"; then :
19409 ax_cv_PTHREAD_PRIO_INHERIT
=yes
19411 ax_cv_PTHREAD_PRIO_INHERIT
=no
19413 rm -f core conftest.err conftest.
$ac_objext \
19414 conftest
$ac_exeext conftest.
$ac_ext
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
19418 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
19419 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
19421 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
19426 CFLAGS
="$save_CFLAGS"
19428 # More AIX lossage: compile with *_r variant
19429 if test "x$GCC" != xyes
; then
19433 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
19434 #handle absolute path differently from PATH based program lookup
19437 if as_fn_executable_p
${CC}_r
; then :
19438 PTHREAD_CC
="${CC}_r"
19441 for ac_prog
in ${CC}_r
19443 # Extract the first word of "$ac_prog", so it can be a program name with args.
19444 set dummy
$ac_prog; ac_word
=$2
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19446 $as_echo_n "checking for $ac_word... " >&6; }
19447 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19448 $as_echo_n "(cached) " >&6
19450 if test -n "$PTHREAD_CC"; then
19451 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19454 for as_dir
in $PATH
19457 test -z "$as_dir" && as_dir
=.
19458 for ac_exec_ext
in '' $ac_executable_extensions; do
19459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19460 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19470 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19471 if test -n "$PTHREAD_CC"; then
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19473 $as_echo "$PTHREAD_CC" >&6; }
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19476 $as_echo "no" >&6; }
19480 test -n "$PTHREAD_CC" && break
19482 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
19493 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
19499 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19500 if test x
"$ax_pthread_ok" = xyes
; then
19502 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19510 ac_cpp
='$CXXCPP $CPPFLAGS'
19511 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19512 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19513 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19519 for cy_arch
in ppc ppc64 i386 x86_64 armv6 arm64
; do
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -arch $cy_arch" >&5
19521 $as_echo_n "checking for -arch $cy_arch... " >&6; }
19525 for element
in "-arch $cy_arch"; do
19527 for x
in $CXXFLAGS; do
19529 acl_save_prefix
="$prefix"
19530 prefix
="$acl_final_prefix"
19531 acl_save_exec_prefix
="$exec_prefix"
19532 exec_prefix
="$acl_final_exec_prefix"
19534 exec_prefix
="$acl_save_exec_prefix"
19535 prefix
="$acl_save_prefix"
19537 if test "X$x" = "X$element"; then
19542 if test -z "$haveit"; then
19543 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19549 /* end confdefs.h. */
19559 if ac_fn_cxx_try_link
"$LINENO"; then :
19564 rm -f core conftest.err conftest.
$ac_objext \
19565 conftest
$ac_exeext conftest.
$ac_ext
19568 if test "x$cy_good" = x1
; then :
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19570 $as_echo "yes" >&6; }
19572 for element
in "-arch $cy_arch"; do
19574 for x
in $CY_ARCH; do
19576 acl_save_prefix
="$prefix"
19577 prefix
="$acl_final_prefix"
19578 acl_save_exec_prefix
="$exec_prefix"
19579 exec_prefix
="$acl_final_exec_prefix"
19581 exec_prefix
="$acl_save_exec_prefix"
19582 prefix
="$acl_save_prefix"
19584 if test "X$x" = "X$element"; then
19589 if test -z "$haveit"; then
19590 CY_ARCH
="${CY_ARCH}${CY_ARCH:+ }$element"
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19597 $as_echo "no" >&6; }
19607 # Check whether --enable-javascript was given.
19608 if test "${enable_javascript+set}" = set; then :
19609 enableval
=$enable_javascript;
19610 case $enableval in #(
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19619 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19620 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19621 $as_echo_n "(cached) " >&6
19623 ac_func_search_save_LIBS
=$LIBS
19624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19627 /* Override any GCC internal prototype to avoid an error.
19628 Use char because int might match the return type of a GCC
19629 builtin and then its argument prototype would still apply. */
19633 char JSEvaluateScript ();
19637 return JSEvaluateScript ();
19642 for ac_lib
in '' JavaScriptCore
; do
19643 if test -z "$ac_lib"; then
19644 ac_res
="none required"
19647 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19649 if ac_fn_cxx_try_link
"$LINENO"; then :
19650 ac_cv_search_JSEvaluateScript
=$ac_res
19652 rm -f core conftest.err conftest.
$ac_objext \
19654 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19658 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19661 ac_cv_search_JSEvaluateScript
=no
19663 rm conftest.
$ac_ext
19664 LIBS
=$ac_func_search_save_LIBS
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19667 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19668 ac_res
=$ac_cv_search_JSEvaluateScript
19669 if test "$ac_res" != no
; then :
19670 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19678 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19679 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19680 $as_echo_n "(cached) " >&6
19683 ac_check_framework_save_LIBS
=$LIBS
19684 LIBS
="-framework JavaScriptCore $LIBS"
19685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19686 /* end confdefs.h. */
19688 #include <JavaScriptCore/JSBase.h>
19694 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19700 if ac_fn_cxx_try_link
"$LINENO"; then :
19702 ac_cv_framework_JavaScriptCore
=yes
19705 ac_cv_framework_JavaScriptCore
=no
19707 rm -f core conftest.err conftest.
$ac_objext \
19708 conftest
$ac_exeext conftest.
$ac_ext
19709 LIBS
=$ac_check_framework_save_LIBS
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19713 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19714 if test $ac_cv_framework_JavaScriptCore = yes; then :
19717 for element
in "-framework JavaScriptCore"; do
19721 acl_save_prefix
="$prefix"
19722 prefix
="$acl_final_prefix"
19723 acl_save_exec_prefix
="$exec_prefix"
19724 exec_prefix
="$acl_final_exec_prefix"
19726 exec_prefix
="$acl_save_exec_prefix"
19727 prefix
="$acl_save_prefix"
19729 if test "X$x" = "X$element"; then
19734 if test -z "$haveit"; then
19735 LIBS
="${LIBS}${LIBS:+ }$element"
19746 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
19750 $as_echo_n "checking for WEBKIT... " >&6; }
19752 if test -n "$WEBKIT_CFLAGS"; then
19753 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
19754 elif test -n "$PKG_CONFIG"; then
19755 if test -n "$PKG_CONFIG" && \
19756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19757 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19760 test $ac_status = 0; }; then
19761 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
19762 test "x$?" != "x0" && pkg_failed
=yes
19769 if test -n "$WEBKIT_LIBS"; then
19770 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
19771 elif test -n "$PKG_CONFIG"; then
19772 if test -n "$PKG_CONFIG" && \
19773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
19774 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
19776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19777 test $ac_status = 0; }; then
19778 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
19779 test "x$?" != "x0" && pkg_failed
=yes
19789 if test $pkg_failed = yes; then
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19791 $as_echo "no" >&6; }
19793 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19794 _pkg_short_errors_supported
=yes
19796 _pkg_short_errors_supported
=no
19798 if test $_pkg_short_errors_supported = yes; then
19799 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19801 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
19803 # Put the nasty error message in config.log where it belongs
19804 echo "$WEBKIT_PKG_ERRORS" >&5
19807 elif test $pkg_failed = untried
; then
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19809 $as_echo "no" >&6; }
19812 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
19813 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19815 $as_echo "yes" >&6; }
19820 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
19822 for x
in $CPPFLAGS; do
19824 acl_save_prefix
="$prefix"
19825 prefix
="$acl_final_prefix"
19826 acl_save_exec_prefix
="$exec_prefix"
19827 exec_prefix
="$acl_final_exec_prefix"
19829 exec_prefix
="$acl_save_exec_prefix"
19830 prefix
="$acl_save_prefix"
19832 if test "X$x" = "X$element"; then
19837 if test -z "$haveit"; then
19838 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
19843 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
19847 acl_save_prefix
="$prefix"
19848 prefix
="$acl_final_prefix"
19849 acl_save_exec_prefix
="$exec_prefix"
19850 exec_prefix
="$acl_final_exec_prefix"
19852 exec_prefix
="$acl_save_exec_prefix"
19853 prefix
="$acl_save_prefix"
19855 if test "X$x" = "X$element"; then
19860 if test -z "$haveit"; then
19861 LIBS
="${LIBS}${LIBS:+ }$element"
19866 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
19872 LTJAVASCRIPTCORE
=$LIBS
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
19888 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
19889 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19890 $as_echo_n "(cached) " >&6
19892 ac_func_search_save_LIBS
=$LIBS
19893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h. */
19896 /* Override any GCC internal prototype to avoid an error.
19897 Use char because int might match the return type of a GCC
19898 builtin and then its argument prototype would still apply. */
19902 char JSEvaluateScript ();
19906 return JSEvaluateScript ();
19911 for ac_lib
in '' JavaScriptCore
; do
19912 if test -z "$ac_lib"; then
19913 ac_res
="none required"
19916 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19918 if ac_fn_cxx_try_link
"$LINENO"; then :
19919 ac_cv_search_JSEvaluateScript
=$ac_res
19921 rm -f core conftest.err conftest.
$ac_objext \
19923 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19927 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
19930 ac_cv_search_JSEvaluateScript
=no
19932 rm conftest.
$ac_ext
19933 LIBS
=$ac_func_search_save_LIBS
19935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
19936 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
19937 ac_res
=$ac_cv_search_JSEvaluateScript
19938 if test "$ac_res" != no
; then :
19939 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
19947 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
19948 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
19949 $as_echo_n "(cached) " >&6
19952 ac_check_framework_save_LIBS
=$LIBS
19953 LIBS
="-framework JavaScriptCore $LIBS"
19954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19957 #include <JavaScriptCore/JSBase.h>
19963 JSEvaluateScript(0, 0, 0, 0, 0, 0);
19969 if ac_fn_cxx_try_link
"$LINENO"; then :
19971 ac_cv_framework_JavaScriptCore
=yes
19974 ac_cv_framework_JavaScriptCore
=no
19976 rm -f core conftest.err conftest.
$ac_objext \
19977 conftest
$ac_exeext conftest.
$ac_ext
19978 LIBS
=$ac_check_framework_save_LIBS
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
19982 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
19983 if test $ac_cv_framework_JavaScriptCore = yes; then :
19986 for element
in "-framework JavaScriptCore"; do
19990 acl_save_prefix
="$prefix"
19991 prefix
="$acl_final_prefix"
19992 acl_save_exec_prefix
="$exec_prefix"
19993 exec_prefix
="$acl_final_exec_prefix"
19995 exec_prefix
="$acl_save_exec_prefix"
19996 prefix
="$acl_save_prefix"
19998 if test "X$x" = "X$element"; then
20003 if test -z "$haveit"; then
20004 LIBS
="${LIBS}${LIBS:+ }$element"
20015 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
20018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20019 $as_echo_n "checking for WEBKIT... " >&6; }
20021 if test -n "$WEBKIT_CFLAGS"; then
20022 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20023 elif test -n "$PKG_CONFIG"; then
20024 if test -n "$PKG_CONFIG" && \
20025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20026 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20029 test $ac_status = 0; }; then
20030 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20031 test "x$?" != "x0" && pkg_failed
=yes
20038 if test -n "$WEBKIT_LIBS"; then
20039 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20040 elif test -n "$PKG_CONFIG"; then
20041 if test -n "$PKG_CONFIG" && \
20042 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20043 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20046 test $ac_status = 0; }; then
20047 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20048 test "x$?" != "x0" && pkg_failed
=yes
20058 if test $pkg_failed = yes; then
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20060 $as_echo "no" >&6; }
20062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20063 _pkg_short_errors_supported
=yes
20065 _pkg_short_errors_supported
=no
20067 if test $_pkg_short_errors_supported = yes; then
20068 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20070 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20072 # Put the nasty error message in config.log where it belongs
20073 echo "$WEBKIT_PKG_ERRORS" >&5
20076 elif test $pkg_failed = untried
; then
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20078 $as_echo "no" >&6; }
20081 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20082 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20084 $as_echo "yes" >&6; }
20089 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20091 for x
in $CPPFLAGS; do
20093 acl_save_prefix
="$prefix"
20094 prefix
="$acl_final_prefix"
20095 acl_save_exec_prefix
="$exec_prefix"
20096 exec_prefix
="$acl_final_exec_prefix"
20098 exec_prefix
="$acl_save_exec_prefix"
20099 prefix
="$acl_save_prefix"
20101 if test "X$x" = "X$element"; then
20106 if test -z "$haveit"; then
20107 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20112 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20116 acl_save_prefix
="$prefix"
20117 prefix
="$acl_final_prefix"
20118 acl_save_exec_prefix
="$exec_prefix"
20119 exec_prefix
="$acl_final_exec_prefix"
20121 exec_prefix
="$acl_save_exec_prefix"
20122 prefix
="$acl_save_prefix"
20124 if test "X$x" = "X$element"; then
20129 if test -z "$haveit"; then
20130 LIBS
="${LIBS}${LIBS:+ }$element"
20135 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20141 LTJAVASCRIPTCORE
=$LIBS
20147 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20157 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20158 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20159 $as_echo_n "(cached) " >&6
20161 ac_func_search_save_LIBS
=$LIBS
20162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20165 /* Override any GCC internal prototype to avoid an error.
20166 Use char because int might match the return type of a GCC
20167 builtin and then its argument prototype would still apply. */
20171 char JSEvaluateScript ();
20175 return JSEvaluateScript ();
20180 for ac_lib
in '' JavaScriptCore
; do
20181 if test -z "$ac_lib"; then
20182 ac_res
="none required"
20185 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20187 if ac_fn_cxx_try_link
"$LINENO"; then :
20188 ac_cv_search_JSEvaluateScript
=$ac_res
20190 rm -f core conftest.err conftest.
$ac_objext \
20192 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20196 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20199 ac_cv_search_JSEvaluateScript
=no
20201 rm conftest.
$ac_ext
20202 LIBS
=$ac_func_search_save_LIBS
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20205 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20206 ac_res
=$ac_cv_search_JSEvaluateScript
20207 if test "$ac_res" != no
; then :
20208 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20216 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20217 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20218 $as_echo_n "(cached) " >&6
20221 ac_check_framework_save_LIBS
=$LIBS
20222 LIBS
="-framework JavaScriptCore $LIBS"
20223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20226 #include <JavaScriptCore/JSBase.h>
20232 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20238 if ac_fn_cxx_try_link
"$LINENO"; then :
20240 ac_cv_framework_JavaScriptCore
=yes
20243 ac_cv_framework_JavaScriptCore
=no
20245 rm -f core conftest.err conftest.
$ac_objext \
20246 conftest
$ac_exeext conftest.
$ac_ext
20247 LIBS
=$ac_check_framework_save_LIBS
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20251 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20252 if test $ac_cv_framework_JavaScriptCore = yes; then :
20255 for element
in "-framework JavaScriptCore"; do
20259 acl_save_prefix
="$prefix"
20260 prefix
="$acl_final_prefix"
20261 acl_save_exec_prefix
="$exec_prefix"
20262 exec_prefix
="$acl_final_exec_prefix"
20264 exec_prefix
="$acl_save_exec_prefix"
20265 prefix
="$acl_save_prefix"
20267 if test "X$x" = "X$element"; then
20272 if test -z "$haveit"; then
20273 LIBS
="${LIBS}${LIBS:+ }$element"
20284 for cy_webkit_pkg
in "webkit-1.0" "WebKitGtk"; do
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20288 $as_echo_n "checking for WEBKIT... " >&6; }
20290 if test -n "$WEBKIT_CFLAGS"; then
20291 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20292 elif test -n "$PKG_CONFIG"; then
20293 if test -n "$PKG_CONFIG" && \
20294 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20295 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20298 test $ac_status = 0; }; then
20299 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20300 test "x$?" != "x0" && pkg_failed
=yes
20307 if test -n "$WEBKIT_LIBS"; then
20308 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20309 elif test -n "$PKG_CONFIG"; then
20310 if test -n "$PKG_CONFIG" && \
20311 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20312 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20315 test $ac_status = 0; }; then
20316 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20317 test "x$?" != "x0" && pkg_failed
=yes
20327 if test $pkg_failed = yes; then
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20329 $as_echo "no" >&6; }
20331 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20332 _pkg_short_errors_supported
=yes
20334 _pkg_short_errors_supported
=no
20336 if test $_pkg_short_errors_supported = yes; then
20337 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20339 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20341 # Put the nasty error message in config.log where it belongs
20342 echo "$WEBKIT_PKG_ERRORS" >&5
20345 elif test $pkg_failed = untried
; then
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20347 $as_echo "no" >&6; }
20350 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20351 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20353 $as_echo "yes" >&6; }
20358 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20360 for x
in $CPPFLAGS; do
20362 acl_save_prefix
="$prefix"
20363 prefix
="$acl_final_prefix"
20364 acl_save_exec_prefix
="$exec_prefix"
20365 exec_prefix
="$acl_final_exec_prefix"
20367 exec_prefix
="$acl_save_exec_prefix"
20368 prefix
="$acl_save_prefix"
20370 if test "X$x" = "X$element"; then
20375 if test -z "$haveit"; then
20376 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20381 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20385 acl_save_prefix
="$prefix"
20386 prefix
="$acl_final_prefix"
20387 acl_save_exec_prefix
="$exec_prefix"
20388 exec_prefix
="$acl_final_exec_prefix"
20390 exec_prefix
="$acl_save_exec_prefix"
20391 prefix
="$acl_save_prefix"
20393 if test "X$x" = "X$element"; then
20398 if test -z "$haveit"; then
20399 LIBS
="${LIBS}${LIBS:+ }$element"
20404 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20410 LTJAVASCRIPTCORE
=$LIBS
20418 # Check whether --enable-console was given.
20419 if test "${enable_console+set}" = set; then :
20420 enableval
=$enable_console;
20423 if test "x$enable_console" != "xno"; then
20425 CY_CONSOLE_FALSE
='#'
20427 CY_CONSOLE_TRUE
='#'
20432 # Check whether --enable-attach was given.
20433 if test "${enable_attach+set}" = set; then :
20434 enableval
=$enable_attach;
20437 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
20439 CY_ATTACH_FALSE
='#'
20448 if test "x$CY_EXECUTE" = x1
; then
20450 CY_EXECUTE_FALSE
='#'
20452 CY_EXECUTE_TRUE
='#'
20458 case $CY_EXECUTE in #(
20461 for ac_header
in ffi.h ffi
/ffi.h
20463 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20464 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20465 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20466 cat >>confdefs.h
<<_ACEOF
20467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20478 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
20482 C compiler flags
for LIBFFI
, overriding pkg
-config
20483 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20487 $as_echo_n "checking for LIBFFI... " >&6; }
20489 if test -n "$LIBFFI_CFLAGS"; then
20490 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20491 elif test -n "$PKG_CONFIG"; then
20492 if test -n "$PKG_CONFIG" && \
20493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20494 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20497 test $ac_status = 0; }; then
20498 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20499 test "x$?" != "x0" && pkg_failed
=yes
20506 if test -n "$LIBFFI_LIBS"; then
20507 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20508 elif test -n "$PKG_CONFIG"; then
20509 if test -n "$PKG_CONFIG" && \
20510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20511 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20514 test $ac_status = 0; }; then
20515 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20516 test "x$?" != "x0" && pkg_failed
=yes
20526 if test $pkg_failed = yes; then
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20528 $as_echo "no" >&6; }
20530 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20531 _pkg_short_errors_supported
=yes
20533 _pkg_short_errors_supported
=no
20535 if test $_pkg_short_errors_supported = yes; then
20536 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20538 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20540 # Put the nasty error message in config.log where it belongs
20541 echo "$LIBFFI_PKG_ERRORS" >&5
20543 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20544 elif test $pkg_failed = untried
; then
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20546 $as_echo "no" >&6; }
20547 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20549 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20550 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20552 $as_echo "yes" >&6; }
20555 for element
in `$PKG_CONFIG --cflags libffi`; do
20557 for x
in $CPPFLAGS; do
20559 acl_save_prefix
="$prefix"
20560 prefix
="$acl_final_prefix"
20561 acl_save_exec_prefix
="$exec_prefix"
20562 exec_prefix
="$acl_final_exec_prefix"
20564 exec_prefix
="$acl_save_exec_prefix"
20565 prefix
="$acl_save_prefix"
20567 if test "X$x" = "X$element"; then
20572 if test -z "$haveit"; then
20573 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20578 for element
in `$PKG_CONFIG --libs libffi`; do
20582 acl_save_prefix
="$prefix"
20583 prefix
="$acl_final_prefix"
20584 acl_save_exec_prefix
="$exec_prefix"
20585 exec_prefix
="$acl_final_exec_prefix"
20587 exec_prefix
="$acl_save_exec_prefix"
20588 prefix
="$acl_save_prefix"
20590 if test "X$x" = "X$element"; then
20595 if test -z "$haveit"; then
20596 LIBS
="${LIBS}${LIBS:+ }$element"
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
20606 $as_echo_n "checking for library containing ffi_call... " >&6; }
20607 if ${ac_cv_search_ffi_call+:} false
; then :
20608 $as_echo_n "(cached) " >&6
20610 ac_func_search_save_LIBS
=$LIBS
20611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20612 /* end confdefs.h. */
20614 /* Override any GCC internal prototype to avoid an error.
20615 Use char because int might match the return type of a GCC
20616 builtin and then its argument prototype would still apply. */
20624 return ffi_call ();
20629 for ac_lib
in '' ffi
; do
20630 if test -z "$ac_lib"; then
20631 ac_res
="none required"
20634 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20636 if ac_fn_cxx_try_link
"$LINENO"; then :
20637 ac_cv_search_ffi_call
=$ac_res
20639 rm -f core conftest.err conftest.
$ac_objext \
20641 if ${ac_cv_search_ffi_call+:} false
; then :
20645 if ${ac_cv_search_ffi_call+:} false
; then :
20648 ac_cv_search_ffi_call
=no
20650 rm conftest.
$ac_ext
20651 LIBS
=$ac_func_search_save_LIBS
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
20654 $as_echo "$ac_cv_search_ffi_call" >&6; }
20655 ac_res
=$ac_cv_search_ffi_call
20656 if test "$ac_res" != no
; then :
20657 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20661 case $ac_cv_search_ffi_call in #(
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
20667 $as_echo_n "checking for LIBFFI... " >&6; }
20669 if test -n "$LIBFFI_CFLAGS"; then
20670 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
20671 elif test -n "$PKG_CONFIG"; then
20672 if test -n "$PKG_CONFIG" && \
20673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20674 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20677 test $ac_status = 0; }; then
20678 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
20679 test "x$?" != "x0" && pkg_failed
=yes
20686 if test -n "$LIBFFI_LIBS"; then
20687 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
20688 elif test -n "$PKG_CONFIG"; then
20689 if test -n "$PKG_CONFIG" && \
20690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
20691 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
20693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20694 test $ac_status = 0; }; then
20695 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
20696 test "x$?" != "x0" && pkg_failed
=yes
20706 if test $pkg_failed = yes; then
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20708 $as_echo "no" >&6; }
20710 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20711 _pkg_short_errors_supported
=yes
20713 _pkg_short_errors_supported
=no
20715 if test $_pkg_short_errors_supported = yes; then
20716 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
20718 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
20720 # Put the nasty error message in config.log where it belongs
20721 echo "$LIBFFI_PKG_ERRORS" >&5
20723 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20724 elif test $pkg_failed = untried
; then
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20726 $as_echo "no" >&6; }
20727 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
20729 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
20730 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20732 $as_echo "yes" >&6; }
20735 for element
in `$PKG_CONFIG --cflags libffi`; do
20737 for x
in $CPPFLAGS; do
20739 acl_save_prefix
="$prefix"
20740 prefix
="$acl_final_prefix"
20741 acl_save_exec_prefix
="$exec_prefix"
20742 exec_prefix
="$acl_final_exec_prefix"
20744 exec_prefix
="$acl_save_exec_prefix"
20745 prefix
="$acl_save_prefix"
20747 if test "X$x" = "X$element"; then
20752 if test -z "$haveit"; then
20753 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20758 for element
in `$PKG_CONFIG --libs libffi`; do
20762 acl_save_prefix
="$prefix"
20763 prefix
="$acl_final_prefix"
20764 acl_save_exec_prefix
="$exec_prefix"
20765 exec_prefix
="$acl_final_exec_prefix"
20767 exec_prefix
="$acl_save_exec_prefix"
20768 prefix
="$acl_save_prefix"
20770 if test "X$x" = "X$element"; then
20775 if test -z "$haveit"; then
20776 LIBS
="${LIBS}${LIBS:+ }$element"
20792 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
20793 if test "x$ac_cv_header_jni_h" = xyes
; then :
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
20801 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
20802 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20803 $as_echo_n "(cached) " >&6
20805 ac_func_search_save_LIBS
=$LIBS
20806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20807 /* end confdefs.h. */
20809 /* Override any GCC internal prototype to avoid an error.
20810 Use char because int might match the return type of a GCC
20811 builtin and then its argument prototype would still apply. */
20815 char JNI_GetCreatedJavaVMs ();
20819 return JNI_GetCreatedJavaVMs ();
20824 for ac_lib
in '' dvm
; do
20825 if test -z "$ac_lib"; then
20826 ac_res
="none required"
20829 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20831 if ac_fn_cxx_try_link
"$LINENO"; then :
20832 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
20834 rm -f core conftest.err conftest.
$ac_objext \
20836 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20840 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
20843 ac_cv_search_JNI_GetCreatedJavaVMs
=no
20845 rm conftest.
$ac_ext
20846 LIBS
=$ac_func_search_save_LIBS
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
20849 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
20850 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
20851 if test "$ac_res" != no
; then :
20852 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20872 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
20873 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20874 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20875 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
20879 $as_echo_n "checking if we really have Objective C++... " >&6; }
20880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20884 if ac_fn_objcxx_try_compile
"$LINENO"; then :
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20888 $as_echo "yes" >&6; }
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20892 $as_echo "no" >&6; }
20894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20896 if test "x$CY_OBJECTIVEC" = x1
; then :
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
20903 $as_echo_n "checking for framework CoreFoundation... " >&6; }
20904 if ${ac_cv_framework_CoreFoundation+:} false
; then :
20905 $as_echo_n "(cached) " >&6
20908 ac_check_framework_save_LIBS
=$LIBS
20909 LIBS
="-framework CoreFoundation $LIBS"
20910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20911 /* end confdefs.h. */
20913 #include <CoreFoundation/CFBase.h>
20918 CFAllocatorGetDefault();
20923 if ac_fn_objcxx_try_link
"$LINENO"; then :
20925 ac_cv_framework_CoreFoundation
=yes
20928 ac_cv_framework_CoreFoundation
=no
20930 rm -f core conftest.err conftest.
$ac_objext \
20931 conftest
$ac_exeext conftest.
$ac_ext
20932 LIBS
=$ac_check_framework_save_LIBS
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
20936 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
20937 if test $ac_cv_framework_CoreFoundation = yes; then :
20940 for element
in "-framework CoreFoundation"; do
20944 acl_save_prefix
="$prefix"
20945 prefix
="$acl_final_prefix"
20946 acl_save_exec_prefix
="$exec_prefix"
20947 exec_prefix
="$acl_final_exec_prefix"
20949 exec_prefix
="$acl_save_exec_prefix"
20950 prefix
="$acl_save_prefix"
20952 if test "X$x" = "X$element"; then
20957 if test -z "$haveit"; then
20958 LIBS
="${LIBS}${LIBS:+ }$element"
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
20968 $as_echo_n "checking for framework Foundation... " >&6; }
20969 if ${ac_cv_framework_Foundation+:} false
; then :
20970 $as_echo_n "(cached) " >&6
20973 ac_check_framework_save_LIBS
=$LIBS
20974 LIBS
="-framework Foundation $LIBS"
20975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20976 /* end confdefs.h. */
20978 #include <Foundation/NSObject.h>
20983 [[NSObject alloc] init];
20988 if ac_fn_objcxx_try_link
"$LINENO"; then :
20990 ac_cv_framework_Foundation
=yes
20993 ac_cv_framework_Foundation
=no
20995 rm -f core conftest.err conftest.
$ac_objext \
20996 conftest
$ac_exeext conftest.
$ac_ext
20997 LIBS
=$ac_check_framework_save_LIBS
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
21001 $as_echo "$ac_cv_framework_Foundation" >&6; }
21002 if test $ac_cv_framework_Foundation = yes; then :
21005 for element
in "-framework Foundation"; do
21009 acl_save_prefix
="$prefix"
21010 prefix
="$acl_final_prefix"
21011 acl_save_exec_prefix
="$exec_prefix"
21012 exec_prefix
="$acl_final_exec_prefix"
21014 exec_prefix
="$acl_save_exec_prefix"
21015 prefix
="$acl_save_prefix"
21017 if test "X$x" = "X$element"; then
21022 if test -z "$haveit"; then
21023 LIBS
="${LIBS}${LIBS:+ }$element"
21027 cat >>confdefs.h
<<_ACEOF
21028 #define HAVE_FRAMEWORK_FOUNDATION 1
21038 for ac_prog
in gnustep
-config
21040 # Extract the first word of "$ac_prog", so it can be a program name with args.
21041 set dummy
$ac_prog; ac_word
=$2
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21043 $as_echo_n "checking for $ac_word... " >&6; }
21044 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
21045 $as_echo_n "(cached) " >&6
21047 if test -n "$GNUSTEP_CONFIG"; then
21048 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
21050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21051 for as_dir
in $PATH
21054 test -z "$as_dir" && as_dir
=.
21055 for ac_exec_ext
in '' $ac_executable_extensions; do
21056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21057 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
21058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21067 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
21068 if test -n "$GNUSTEP_CONFIG"; then
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
21070 $as_echo "$GNUSTEP_CONFIG" >&6; }
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21073 $as_echo "no" >&6; }
21077 test -n "$GNUSTEP_CONFIG" && break
21081 if test "x$GNUSTEP_CONFIG" != x
; then :
21085 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
21087 for x
in $OBJCXXFLAGS; do
21089 acl_save_prefix
="$prefix"
21090 prefix
="$acl_final_prefix"
21091 acl_save_exec_prefix
="$exec_prefix"
21092 exec_prefix
="$acl_final_exec_prefix"
21094 exec_prefix
="$acl_save_exec_prefix"
21095 prefix
="$acl_save_prefix"
21097 if test "X$x" = "X$element"; then
21102 if test -z "$haveit"; then
21103 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21108 for element
in `$GNUSTEP_CONFIG --base-libs`; do
21112 acl_save_prefix
="$prefix"
21113 prefix
="$acl_final_prefix"
21114 acl_save_exec_prefix
="$exec_prefix"
21115 exec_prefix
="$acl_final_exec_prefix"
21117 exec_prefix
="$acl_save_exec_prefix"
21118 prefix
="$acl_save_prefix"
21120 if test "X$x" = "X$element"; then
21125 if test -z "$haveit"; then
21126 LIBS
="${LIBS}${LIBS:+ }$element"
21145 ac_cpp
='$CXXCPP $CPPFLAGS'
21146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21155 if test "x$CY_JAVA" = x1
; then
21163 if test "x$CY_OBJECTIVEC" = x1
; then
21164 CY_OBJECTIVEC_TRUE
=
21165 CY_OBJECTIVEC_FALSE
='#'
21167 CY_OBJECTIVEC_TRUE
='#'
21168 CY_OBJECTIVEC_FALSE
=
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
21177 $as_echo_n "checking for a readline compatible library... " >&6; }
21178 if ${ax_cv_lib_readline+:} false
; then :
21179 $as_echo_n "(cached) " >&6
21183 for readline_lib
in readline edit editline
; do
21184 for termcap_lib
in "" termcap curses ncurses
; do
21185 if test -z "$termcap_lib"; then
21186 TRY_LIB
="-l$readline_lib"
21188 TRY_LIB
="-l$readline_lib -l$termcap_lib"
21190 LIBS
="$ORIG_LIBS $TRY_LIB"
21191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21192 /* end confdefs.h. */
21194 /* Override any GCC internal prototype to avoid an error.
21195 Use char because int might match the return type of a GCC
21196 builtin and then its argument prototype would still apply. */
21204 return readline ();
21209 if ac_fn_cxx_try_link
"$LINENO"; then :
21210 ax_cv_lib_readline
="$TRY_LIB"
21212 rm -f core conftest.err conftest.
$ac_objext \
21213 conftest
$ac_exeext conftest.
$ac_ext
21214 if test -n "$ax_cv_lib_readline"; then
21218 if test -n "$ax_cv_lib_readline"; then
21222 if test -z "$ax_cv_lib_readline"; then
21223 ax_cv_lib_readline
="no"
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
21229 $as_echo "$ax_cv_lib_readline" >&6; }
21231 if test "$ax_cv_lib_readline" != "no"; then
21232 LIBS
="$LIBS $ax_cv_lib_readline"
21234 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
21236 for ac_header
in readline.h readline
/readline.h
21238 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21239 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21240 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21241 cat >>confdefs.h
<<_ACEOF
21242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
21250 $as_echo_n "checking whether readline supports history... " >&6; }
21251 if ${ax_cv_lib_readline_history+:} false
; then :
21252 $as_echo_n "(cached) " >&6
21255 ax_cv_lib_readline_history
="no"
21256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21257 /* end confdefs.h. */
21259 /* Override any GCC internal prototype to avoid an error.
21260 Use char because int might match the return type of a GCC
21261 builtin and then its argument prototype would still apply. */
21265 char add_history ();
21269 return add_history ();
21274 if ac_fn_cxx_try_link
"$LINENO"; then :
21275 ax_cv_lib_readline_history
="yes"
21277 rm -f core conftest.err conftest.
$ac_objext \
21278 conftest
$ac_exeext conftest.
$ac_ext
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
21282 $as_echo "$ax_cv_lib_readline_history" >&6; }
21283 if test "$ax_cv_lib_readline_history" = "yes"; then
21285 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
21287 for ac_header
in history.h readline
/history.h
21289 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21290 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21291 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21292 cat >>confdefs.h
<<_ACEOF
21293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21303 LTLIBREADLINE
=$LIBS
21307 case $ax_cv_lib_readline in #(
21309 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
21318 $as_echo_n "checking for library containing cur_term... " >&6; }
21319 if ${ac_cv_search_cur_term+:} false
; then :
21320 $as_echo_n "(cached) " >&6
21322 ac_func_search_save_LIBS
=$LIBS
21323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21324 /* end confdefs.h. */
21326 /* Override any GCC internal prototype to avoid an error.
21327 Use char because int might match the return type of a GCC
21328 builtin and then its argument prototype would still apply. */
21336 return cur_term ();
21341 for ac_lib
in '' termcap ncurses
; do
21342 if test -z "$ac_lib"; then
21343 ac_res
="none required"
21346 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21348 if ac_fn_cxx_try_link
"$LINENO"; then :
21349 ac_cv_search_cur_term
=$ac_res
21351 rm -f core conftest.err conftest.
$ac_objext \
21353 if ${ac_cv_search_cur_term+:} false
; then :
21357 if ${ac_cv_search_cur_term+:} false
; then :
21360 ac_cv_search_cur_term
=no
21362 rm conftest.
$ac_ext
21363 LIBS
=$ac_func_search_save_LIBS
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
21366 $as_echo "$ac_cv_search_cur_term" >&6; }
21367 ac_res
=$ac_cv_search_cur_term
21368 if test "$ac_res" != no
; then :
21369 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21384 ac_config_files
="$ac_config_files Makefile"
21386 cat >confcache
<<\_ACEOF
21387 # This file is a shell script that caches the results of configure
21388 # tests run on this system so they can be shared between configure
21389 # scripts and configure runs, see configure's option --config-cache.
21390 # It is not useful on other systems. If it contains results you don't
21391 # want to keep, you may remove or edit it.
21393 # config.status only pays attention to the cache file if you give it
21394 # the --recheck option to rerun configure.
21396 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21397 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21398 # following values.
21402 # The following way of writing the cache mishandles newlines in values,
21403 # but we know of no workaround that is simple, portable, and efficient.
21404 # So, we kill variables containing newlines.
21405 # Ultrix sh set writes to stderr and can't be redirected directly,
21406 # and sets the high bit in the cache file unless we assign to the vars.
21408 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21409 eval ac_val
=\$
$ac_var
21413 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21414 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21417 _
| IFS
| as_nl
) ;; #(
21418 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21419 *) { eval $ac_var=; unset $ac_var;} ;;
21425 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21426 *${as_nl}ac_space
=\
*)
21427 # `set' does not quote correctly, so add quotes: double-quote
21428 # substitution turns \\\\ into \\, and sed turns \\ into \.
21431 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21434 # `set' quotes correctly as required by POSIX, so do not add quotes.
21435 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21444 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21446 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21448 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21449 if test -w "$cache_file"; then
21450 if test "x$cache_file" != "x/dev/null"; then
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21452 $as_echo "$as_me: updating cache $cache_file" >&6;}
21453 if test ! -f "$cache_file" || test -h "$cache_file"; then
21454 cat confcache
>"$cache_file"
21456 case $cache_file in #(
21458 mv -f confcache
"$cache_file"$$
&&
21459 mv -f "$cache_file"$$
"$cache_file" ;; #(
21461 mv -f confcache
"$cache_file" ;;
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21467 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21472 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21473 # Let make expand exec_prefix.
21474 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21476 DEFS
=-DHAVE_CONFIG_H
21481 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21482 # 1. Remove the extension, and $U if already installed.
21483 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21484 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21485 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21486 # will be set to the directory where LIBOBJS objects are built.
21487 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21488 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21490 LIBOBJS
=$ac_libobjs
21492 LTLIBOBJS
=$ac_ltlibobjs
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21496 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21497 if test -n "$am_sleep_pid"; then
21498 # Hide warnings about reused PIDs.
21499 wait $am_sleep_pid 2>/dev
/null
21501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21502 $as_echo "done" >&6; }
21503 if test -n "$EXEEXT"; then
21505 am__EXEEXT_FALSE
='#'
21507 am__EXEEXT_TRUE
='#'
21511 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21512 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21515 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21516 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21519 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21520 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21523 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21524 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
21525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21527 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
21528 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
21529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21531 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
21532 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
21533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21535 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
21536 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
21537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21539 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
21540 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
21541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21543 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
21544 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
21545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21547 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
21548 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
21549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21552 : "${CONFIG_STATUS=./config.status}"
21554 ac_clean_files_save
=$ac_clean_files
21555 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21557 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21559 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21561 # Generated by $as_me.
21562 # Run this file to recreate the current configuration.
21563 # Compiler output produced by configure, useful for debugging
21564 # configure, is in config.log if it exists.
21567 ac_cs_recheck=false
21570 SHELL=\${CONFIG_SHELL-$SHELL}
21573 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
21574 ## -------------------- ##
21575 ## M4sh Initialization. ##
21576 ## -------------------- ##
21578 # Be more Bourne compatible
21579 DUALCASE
=1; export DUALCASE
# for MKS sh
21580 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21583 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21584 # is contrary to our usage. Disable this feature.
21585 alias -g '${1+"$@"}'='"$@"'
21586 setopt NO_GLOB_SUBST
21588 case `(set -o) 2>/dev/null` in #(
21600 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21601 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21602 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21603 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21604 # Prefer a ksh shell builtin over an external printf program on Solaris,
21605 # but without wasting forks for bash or zsh.
21606 if test -z "$BASH_VERSION$ZSH_VERSION" \
21607 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21608 as_echo='print
-r --'
21609 as_echo_n='print
-rn --'
21610 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21611 as_echo='printf %s
\n'
21612 as_echo_n='printf %s
'
21614 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21615 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21616 as_echo_n='/usr
/ucb
/echo -n'
21618 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21619 as_echo_n_body='eval
21623 expr "X$arg" : "X\\(.*\\)$as_nl";
21624 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21626 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21628 export as_echo_n_body
21629 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21631 export as_echo_body
21632 as_echo='sh
-c $as_echo_body as_echo
'
21635 # The user is always right.
21636 if test "${PATH_SEPARATOR+set}" != set; then
21638 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21639 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21646 # We need space, tab and new line, in precisely that order. Quoting is
21647 # there to prevent editors from complaining about space-tab.
21648 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21649 # splitting by setting IFS to empty value.)
21652 # Find who we are. Look in the path if we contain no directory separator.
21655 *[\\/]* ) as_myself=$0 ;;
21656 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21657 for as_dir in $PATH
21660 test -z "$as_dir" && as_dir=.
21661 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21667 # We did not find ourselves, most probably we were run as `sh COMMAND'
21668 # in which case we are not to be found in the path.
21669 if test "x$as_myself" = x
; then
21672 if test ! -f "$as_myself"; then
21673 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21677 # Unset variables that we do not need and which cause bugs (e.g. in
21678 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21679 # suppresses any "Segmentation fault" message there. '((' could
21680 # trigger a bug in pdksh 5.2.14.
21681 for as_var
in BASH_ENV ENV MAIL MAILPATH
21682 do eval test x\
${$as_var+set} = xset \
21683 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
21696 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21699 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21700 # ----------------------------------------
21701 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21702 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21703 # script with STATUS, using 1 if that was 0.
21706 as_status
=$1; test $as_status -eq 0 && as_status
=1
21708 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21709 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21711 $as_echo "$as_me: error: $2" >&2
21712 as_fn_exit
$as_status
21716 # as_fn_set_status STATUS
21717 # -----------------------
21718 # Set $? to STATUS, without forking.
21719 as_fn_set_status
()
21722 } # as_fn_set_status
21724 # as_fn_exit STATUS
21725 # -----------------
21726 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21730 as_fn_set_status
$1
21736 # Portably unset VAR.
21739 { eval $1=; unset $1;}
21741 as_unset
=as_fn_unset
21742 # as_fn_append VAR VALUE
21743 # ----------------------
21744 # Append the text in VALUE to the end of the definition contained in VAR. Take
21745 # advantage of any shell optimizations that allow amortized linear growth over
21746 # repeated appends, instead of the typical quadratic growth present in naive
21748 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21749 eval 'as_fn_append ()
21760 # as_fn_arith ARG...
21761 # ------------------
21762 # Perform arithmetic evaluation on the ARGs, and store the result in the
21763 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21764 # must be portable across $(()) and expr.
21765 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21766 eval 'as_fn_arith ()
21773 as_val
=`expr "$@" || test $? -eq 1`
21778 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21779 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21785 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21786 as_basename
=basename
21791 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21797 as_me
=`$as_basename -- "$0" ||
21798 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21799 X"$0" : 'X\(//\)$' \| \
21800 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21802 sed '/^.*\/\([^/][^/]*\)\/*$/{
21816 # Avoid depending upon Character Ranges.
21817 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21818 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21819 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21820 as_cr_digits
='0123456789'
21821 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21823 ECHO_C
= ECHO_N
= ECHO_T
=
21824 case `echo -n x` in #(((((
21826 case `echo 'xy\c'` in
21827 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21829 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21836 rm -f conf$$ conf$$.exe conf$$.
file
21837 if test -d conf$$.dir
; then
21838 rm -f conf$$.dir
/conf$$.
file
21841 mkdir conf$$.dir
2>/dev
/null
21843 if (echo >conf$$.
file) 2>/dev
/null
; then
21844 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21846 # ... but there are two gotchas:
21847 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21848 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21849 # In both cases, we have to default to `cp -pR'.
21850 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
21852 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21860 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21861 rmdir conf$$.dir
2>/dev
/null
21866 # Create "$as_dir" as a directory, including parents if necessary.
21871 -*) as_dir
=.
/$as_dir;;
21873 test -d "$as_dir" || eval $as_mkdir_p || {
21877 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21878 *) as_qdir
=$as_dir;;
21880 as_dirs
="'$as_qdir' $as_dirs"
21881 as_dir
=`$as_dirname -- "$as_dir" ||
21882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21883 X"$as_dir" : 'X\(//\)[^/]' \| \
21884 X"$as_dir" : 'X\(//\)$' \| \
21885 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21886 $as_echo X"$as_dir" |
21887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21891 /^X\(\/\/\)[^/].*/{
21904 test -d "$as_dir" && break
21906 test -z "$as_dirs" || eval "mkdir $as_dirs"
21907 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21911 if mkdir -p .
2>/dev
/null
; then
21912 as_mkdir_p
='mkdir -p "$as_dir"'
21914 test -d .
/-p && rmdir .
/-p
21919 # as_fn_executable_p FILE
21920 # -----------------------
21921 # Test if FILE is an executable regular file.
21922 as_fn_executable_p
()
21924 test -f "$1" && test -x "$1"
21925 } # as_fn_executable_p
21926 as_test_x
='test -x'
21927 as_executable_p
=as_fn_executable_p
21929 # Sed expression to map a string onto a valid CPP name.
21930 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21932 # Sed expression to map a string onto a valid variable name.
21933 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21937 ## ----------------------------------- ##
21938 ## Main body of $CONFIG_STATUS script. ##
21939 ## ----------------------------------- ##
21941 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21943 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21944 # Save the log message, to keep $0 and so on meaningful, and to
21945 # report actual input values of CONFIG_FILES etc. instead of their
21946 # values after options handling.
21948 This file was extended by Cycript $as_me 0.9, which was
21949 generated by GNU Autoconf 2.69. Invocation command line was
21951 CONFIG_FILES = $CONFIG_FILES
21952 CONFIG_HEADERS = $CONFIG_HEADERS
21953 CONFIG_LINKS = $CONFIG_LINKS
21954 CONFIG_COMMANDS = $CONFIG_COMMANDS
21957 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21962 case $ac_config_files in *"
21963 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21966 case $ac_config_headers in *"
21967 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21972 # Files that config.status was made for.
21973 config_files="$ac_config_files"
21974 config_headers="$ac_config_headers"
21975 config_commands="$ac_config_commands"
21979 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21981 \`$as_me' instantiates files and other configuration actions
21982 from templates according to the current configuration. Unless the files
21983 and actions are specified as TAGs, all are instantiated by default.
21985 Usage: $0 [OPTION]... [TAG]...
21987 -h, --help print this help, then exit
21988 -V, --version print version number and configuration settings, then exit
21989 --config print configuration, then exit
21990 -q, --quiet, --silent
21991 do not print progress messages
21992 -d, --debug don't remove temporary files
21993 --recheck update $as_me by reconfiguring in the same conditions
21994 --file=FILE[:TEMPLATE]
21995 instantiate the configuration file FILE
21996 --header=FILE[:TEMPLATE]
21997 instantiate the configuration header FILE
21999 Configuration files:
22002 Configuration headers:
22005 Configuration commands:
22008 Report bugs to <saurik@saurik.com>.
22009 Cycript home page: <http://www.cycript.org/>."
22012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22013 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22015 Cycript config.status 0.9
22016 configured by $0, generated by GNU Autoconf 2.69,
22017 with options \\"\$ac_cs_config\\"
22019 Copyright (C) 2012 Free Software Foundation, Inc.
22020 This config.status script is free software; the Free Software Foundation
22021 gives unlimited permission to copy, distribute and modify it."
22028 test -n "\$AWK" || AWK=awk
22031 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22032 # The default lists apply if the user does not specify any file.
22038 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22039 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22043 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22055 # Handling of the options.
22056 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22058 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22059 $as_echo "$ac_cs_version"; exit ;;
22060 --config | --confi | --conf | --con | --co | --c )
22061 $as_echo "$ac_cs_config"; exit ;;
22062 --debug | --debu | --deb | --de | --d | -d )
22064 --file | --fil | --fi | --f )
22067 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22068 '') as_fn_error $?
"missing file argument" ;;
22070 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22071 ac_need_defaults
=false
;;
22072 --header | --heade | --head | --hea )
22075 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22077 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22078 ac_need_defaults
=false
;;
22080 # Conflict between --help and --header
22081 as_fn_error $?
"ambiguous option: \`$1'
22082 Try \`$0 --help' for more information.";;
22083 --help | --hel | -h )
22084 $as_echo "$ac_cs_usage"; exit ;;
22085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22086 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22089 # This is an error.
22090 -*) as_fn_error $?
"unrecognized option: \`$1'
22091 Try \`$0 --help' for more information." ;;
22093 *) as_fn_append ac_config_targets
" $1"
22094 ac_need_defaults
=false
;;
22100 ac_configure_extra_args
=
22102 if $ac_cs_silent; then
22104 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22109 if \$ac_cs_recheck; then
22110 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22112 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22113 CONFIG_SHELL='$SHELL'
22114 export CONFIG_SHELL
22119 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22123 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22124 ## Running $as_me. ##
22130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22134 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22137 # The HP-UX ksh and POSIX shell print the target directory to stdout
22138 # if CDPATH is set.
22139 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22141 sed_quote_subst='$sed_quote_subst'
22142 double_quote_subst='$double_quote_subst'
22143 delay_variable_subst='$delay_variable_subst'
22144 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22145 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22146 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22147 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22148 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22149 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22150 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22151 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22152 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22153 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22154 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22155 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22156 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22157 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22158 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22159 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22160 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22161 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22162 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22163 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22164 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22165 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22166 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22167 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22168 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22169 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22170 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22171 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22172 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22173 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22174 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22175 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22176 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22177 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22178 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22179 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22180 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22181 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22182 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22183 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22184 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22185 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22186 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22187 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22188 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22189 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22190 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22191 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22192 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22193 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22194 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22195 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22196 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22197 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22198 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22199 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22200 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22201 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22202 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"`'
22203 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22204 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22205 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22206 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22207 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22208 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22209 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22210 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22211 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22212 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22213 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22214 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22215 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22216 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22217 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22218 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22219 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22220 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22221 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22222 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22223 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22224 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22225 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22226 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22227 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22228 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22229 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22230 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22231 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22232 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22233 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22234 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22235 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22236 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22237 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22238 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22239 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22240 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22241 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22242 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22243 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22244 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22245 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22246 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22247 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22248 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22249 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22250 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22251 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22252 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22253 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22254 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22255 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22256 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22257 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22258 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22259 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22260 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22261 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22262 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22263 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22264 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22265 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22266 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22267 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22268 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22269 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22270 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22271 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22272 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22273 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22274 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22275 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22276 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22277 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22278 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22279 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22280 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22281 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22282 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22283 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22284 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22285 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22286 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22287 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22288 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22289 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22290 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22291 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22292 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22293 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22294 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22295 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22296 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22297 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22298 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22299 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22300 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22301 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22302 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22303 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22304 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22305 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22306 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22307 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22308 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22309 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22310 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22311 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22312 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22313 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22314 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22315 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22316 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22317 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22318 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22319 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22320 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22321 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22322 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22323 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22324 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22325 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22326 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22327 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22328 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22329 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22330 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22331 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22332 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22335 LTCFLAGS='$LTCFLAGS'
22336 compiler='$compiler_DEFAULT'
22338 # A function that is used when there is no print builtin or printf.
22339 func_fallback_echo ()
22341 eval 'cat <<_LTECHO_EOF
22346 # Quote evaled strings.
22361 deplibs_check_method \
22366 sharedlib_from_linklib_cmd \
22369 archiver_list_spec \
22375 lt_cv_sys_global_symbol_pipe \
22376 lt_cv_sys_global_symbol_to_cdecl \
22377 lt_cv_sys_global_symbol_to_import \
22378 lt_cv_sys_global_symbol_to_c_name_address \
22379 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22380 lt_cv_nm_interface \
22381 nm_file_list_spec \
22382 lt_cv_truncate_bin \
22383 lt_prog_compiler_no_builtin_flag \
22384 lt_prog_compiler_pic \
22385 lt_prog_compiler_wl \
22386 lt_prog_compiler_static \
22387 lt_cv_prog_compiler_c_o \
22396 export_dynamic_flag_spec \
22397 whole_archive_flag_spec \
22398 compiler_needs_object \
22400 allow_undefined_flag \
22401 no_undefined_flag \
22402 hardcode_libdir_flag_spec \
22403 hardcode_libdir_separator \
22407 variables_saved_for_relink \
22409 library_names_spec \
22411 install_override_mode \
22415 compiler_lib_search_dirs \
22420 compiler_lib_search_path \
22424 lt_prog_compiler_no_builtin_flag_CXX \
22425 lt_prog_compiler_pic_CXX \
22426 lt_prog_compiler_wl_CXX \
22427 lt_prog_compiler_static_CXX \
22428 lt_cv_prog_compiler_c_o_CXX \
22429 export_dynamic_flag_spec_CXX \
22430 whole_archive_flag_spec_CXX \
22431 compiler_needs_object_CXX \
22433 allow_undefined_flag_CXX \
22434 no_undefined_flag_CXX \
22435 hardcode_libdir_flag_spec_CXX \
22436 hardcode_libdir_separator_CXX \
22437 exclude_expsyms_CXX \
22438 include_expsyms_CXX \
22439 file_list_spec_CXX \
22440 compiler_lib_search_dirs_CXX \
22441 predep_objects_CXX \
22442 postdep_objects_CXX \
22445 compiler_lib_search_path_CXX; do
22446 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22447 *[\\\\\\\`\\"\\\$]*)
22448 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22451 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22456 # Double-quote double-evaled strings.
22457 for var in reload_cmds \
22458 old_postinstall_cmds \
22459 old_postuninstall_cmds \
22461 extract_expsyms_cmds \
22462 old_archive_from_new_cmds \
22463 old_archive_from_expsyms_cmds \
22465 archive_expsym_cmds \
22467 module_expsym_cmds \
22468 export_symbols_cmds \
22472 postuninstall_cmds \
22474 sys_lib_search_path_spec \
22475 configure_time_dlsearch_path \
22476 configure_time_lt_sys_library_path \
22478 old_archive_cmds_CXX \
22479 old_archive_from_new_cmds_CXX \
22480 old_archive_from_expsyms_cmds_CXX \
22482 archive_expsym_cmds_CXX \
22484 module_expsym_cmds_CXX \
22485 export_symbols_cmds_CXX \
22487 postlink_cmds_CXX; do
22488 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22489 *[\\\\\\\`\\"\\\$]*)
22490 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22493 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22498 ac_aux_dir='$ac_aux_dir'
22500 # See if we are running on zsh, and set the options that allow our
22501 # commands through without removal of \ escapes INIT.
22502 if test -n "\${ZSH_VERSION+set}"; then
22503 setopt NO_GLOB_SUBST
22519 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22521 # Handling of arguments.
22522 for ac_config_target
in $ac_config_targets
22524 case $ac_config_target in
22525 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22526 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22527 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22528 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22530 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22535 # If the user did not use the arguments to specify the items to instantiate,
22536 # then the envvar interface is used. Set only those that are not.
22537 # We use the long form for the default assignment because of an extremely
22538 # bizarre bug on SunOS 4.1.3.
22539 if $ac_need_defaults; then
22540 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22541 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22542 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22545 # Have a temporary directory for convenience. Make it in the build tree
22546 # simply because there is no reason against having it here, and in addition,
22547 # creating and moving files from /tmp can sometimes cause problems.
22548 # Hook for its removal unless debugging.
22549 # Note that there is a small window in which the directory will not be cleaned:
22550 # after its creation but before its name has been assigned to `$tmp'.
22554 trap 'exit_status=$?
22555 : "${ac_tmp:=$tmp}"
22556 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22558 trap 'as_fn_exit 1' 1 2 13 15
22560 # Create a (secure) tmp directory for tmp files.
22563 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22567 tmp
=.
/conf$$
-$RANDOM
22568 (umask 077 && mkdir "$tmp")
22569 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22572 # Set up the scripts for CONFIG_FILES section.
22573 # No need to generate them if there are no CONFIG_FILES.
22574 # This happens for instance with `./config.status config.h'.
22575 if test -n "$CONFIG_FILES"; then
22578 ac_cr
=`echo X | tr X '\015'`
22579 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22580 # But we know of no other shell where ac_cr would be empty at this
22581 # point, so we can use a bashism as a fallback.
22582 if test "x$ac_cr" = x
; then
22583 eval ac_cr
=\$
\'\\r
\'
22585 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22586 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22589 ac_cs_awk_cr
=$ac_cr
22592 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22597 echo "cat >conf$$subs.awk <<_ACEOF" &&
22598 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22600 } >conf$$subs.sh ||
22601 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22602 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22604 for ac_last_try in false false false false false :; do
22605 . ./conf$$subs.sh ||
22606 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22608 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22609 if test $ac_delim_n = $ac_delim_num; then
22611 elif $ac_last_try; then
22612 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22614 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22617 rm -f conf$$subs.sh
22619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22620 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22624 s/^/S["/; s
/!.
*/"]=/
22634 s/\(.\{148\}\)..*/\1/
22636 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22641 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22648 s/\(.\{148\}\)..*/\1/
22650 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22654 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22659 ' <conf$$subs.awk | sed '
22664 ' >>$CONFIG_STATUS || ac_write_fail=1
22665 rm -f conf$$subs.awk
22666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22668 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22669 for (key in S) S_is_set[key] = 1
22675 nfields = split(line, field, "@
")
22677 len = length(field[1])
22678 for (i = 2; i < nfields; i++) {
22680 keylen = length(key)
22681 if (S_is_set[key]) {
22683 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22684 len += length(value) + length(field[++i])
22695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22696 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22697 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22700 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22701 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22704 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22705 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22706 # trailing colons and then remove the whole line if VPATH becomes empty
22707 # (actually we leave an empty line to preserve line numbers).
22708 if test "x
$srcdir" = x.; then
22709 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22728 fi # test -n "$CONFIG_FILES"
22730 # Set up the scripts for CONFIG_HEADERS section.
22731 # No need to generate them if there are no CONFIG_HEADERS.
22732 # This happens for instance with `./config.status Makefile'.
22733 if test -n "$CONFIG_HEADERS"; then
22734 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22738 # Transform confdefs.h into an awk script `defines.awk', embedded as
22739 # here-document in config.status, that substitutes the proper values into
22740 # config.h.in to produce config.h.
22742 # Create a delimiter string that does not exist in confdefs.h, to ease
22743 # handling of long lines.
22745 for ac_last_try in false false :; do
22746 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22747 if test -z "$ac_tt"; then
22749 elif $ac_last_try; then
22750 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22752 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22756 # For the awk script, D is an array of macro values keyed by name,
22757 # likewise P contains macro parameters if any. Preserve backslash
22758 # newline sequences.
22760 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22762 s/.\{148\}/&'"$ac_delim"'/g
22765 s/^[ ]*#[ ]*define[ ][ ]*/ /
22772 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22774 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22778 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22779 D["\
1"]=" \
3\\\\\\n
"\\/p
22781 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22786 s/.\{148\}/&'"$ac_delim"'/g
22791 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22794 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22796 ' <confdefs.h | sed '
22797 s/'"$ac_delim"'/"\\\
22798 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22801 for (key in D) D_is_set[key] = 1
22804 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22806 split(line, arg, " ")
22807 if (arg[1] == "#") {
22811 defundef
= substr
(arg
[1], 2)
22814 split(mac1
, mac2
, "(") #)
22816 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22817 if (D_is_set
[macro
]) {
22818 # Preserve the white space surrounding the "#".
22819 print prefix
"define", macro P
[macro
] D
[macro
]
22822 # Replace #undef with comments. This is necessary, for example,
22823 # in the case of _POSIX_SOURCE, which is predefined and required
22824 # on some systems where configure will not decide to define it.
22825 if (defundef
== "undef") {
22826 print
"/*", prefix defundef
, macro
, "*/"
22834 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22835 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22836 fi # test -n "$CONFIG_HEADERS"
22839 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22844 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22846 case $ac_mode$ac_tag in
22848 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22849 :[FH
]-) ac_tag
=-:-;;
22850 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22867 -) ac_f
="$ac_tmp/stdin";;
22868 *) # Look for the file first in the build tree, then in the source tree
22869 # (if the path is not absolute). The absolute path cannot be DOS-style,
22870 # because $ac_f cannot contain `:'.
22874 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22876 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22878 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22879 as_fn_append ac_file_inputs
" '$ac_f'"
22882 # Let's still pretend it is `configure' which instantiates (i.e., don't
22883 # use $as_me), people would be surprised to read:
22884 # /* config.h. Generated by config.status. */
22885 configure_input
='Generated from '`
22886 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22888 if test x
"$ac_file" != x
-; then
22889 configure_input
="$ac_file. $configure_input"
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22891 $as_echo "$as_me: creating $ac_file" >&6;}
22893 # Neutralize special characters interpreted by sed in replacement strings.
22894 case $configure_input in #(
22895 *\
&* | *\
|* | *\\* )
22896 ac_sed_conf_input
=`$as_echo "$configure_input" |
22897 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22898 *) ac_sed_conf_input
=$configure_input;;
22902 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22903 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22908 ac_dir
=`$as_dirname -- "$ac_file" ||
22909 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22910 X"$ac_file" : 'X\(//\)[^/]' \| \
22911 X"$ac_file" : 'X\(//\)$' \| \
22912 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22913 $as_echo X"$ac_file" |
22914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22918 /^X\(\/\/\)[^/].*/{
22931 as_dir
="$ac_dir"; as_fn_mkdir_p
22935 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22937 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22938 # A ".." for each directory in $ac_dir_suffix.
22939 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22940 case $ac_top_builddir_sub in
22941 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22942 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22945 ac_abs_top_builddir
=$ac_pwd
22946 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22947 # for backward compatibility:
22948 ac_top_builddir
=$ac_top_build_prefix
22951 .
) # We are building in place.
22953 ac_top_srcdir
=$ac_top_builddir_sub
22954 ac_abs_top_srcdir
=$ac_pwd ;;
22955 [\\/]* | ?
:[\\/]* ) # Absolute name.
22956 ac_srcdir
=$srcdir$ac_dir_suffix;
22957 ac_top_srcdir
=$srcdir
22958 ac_abs_top_srcdir
=$srcdir ;;
22959 *) # Relative name.
22960 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22961 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22962 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22964 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22974 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22975 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22977 ac_MKDIR_P
=$MKDIR_P
22979 [\\/$
]* | ?
:[\\/]* ) ;;
22980 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22984 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22985 # If the template does not know about datarootdir, expand it.
22986 # FIXME: This hack should be removed a few years after 2.60.
22987 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22998 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22999 *datarootdir
*) ac_datarootdir_seen
=yes;;
23000 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23002 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23005 ac_datarootdir_hack='
23006 s&@datadir@&$datadir&g
23007 s&@docdir@&$docdir&g
23008 s&@infodir@&$infodir&g
23009 s&@localedir@&$localedir&g
23010 s&@mandir@&$mandir&g
23011 s&\\\${datarootdir}&$datarootdir&g' ;;
23015 # Neutralize VPATH when `$srcdir' = `.'.
23016 # Shell code in configure.ac might set extrasub.
23017 # FIXME: do we really want to maintain this feature?
23018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23019 ac_sed_extra="$ac_vpsub
23022 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23024 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23025 s
|@configure_input@
|$ac_sed_conf_input|;t t
23026 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23027 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23028 s
&@srcdir@
&$ac_srcdir&;t t
23029 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23030 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23031 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23032 s
&@builddir@
&$ac_builddir&;t t
23033 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23034 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23035 s
&@INSTALL@
&$ac_INSTALL&;t t
23036 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23037 $ac_datarootdir_hack
23039 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23040 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23042 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23043 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23044 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23045 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23047 which seems to be undefined. Please make sure it is defined" >&5
23048 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23049 which seems to be undefined. Please make sure it is defined" >&2;}
23051 rm -f "$ac_tmp/stdin"
23053 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23054 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23056 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23062 if test x"$ac_file" != x-; then
23064 $as_echo "/* $configure_input */" \
23065 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23066 } >"$ac_tmp/config.h" \
23067 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23068 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23070 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23073 mv "$ac_tmp/config.h" "$ac_file" \
23074 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23077 $as_echo "/* $configure_input */" \
23078 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23079 || as_fn_error $? "could not create -" "$LINENO" 5
23081 # Compute "$ac_file"'s index
in $config_headers.
23084 for _am_header
in $config_headers :; do
23085 case $_am_header in
23086 $_am_arg | $_am_arg:* )
23089 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23092 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23093 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23094 X"$_am_arg" : 'X\(//\)[^/]' \| \
23095 X"$_am_arg" : 'X\(//\)$' \| \
23096 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23097 $as_echo X"$_am_arg" |
23098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23102 /^X\(\/\/\)[^/].*/{
23114 s/.*/./; q'`/stamp
-h$_am_stamp_count
23117 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23118 $as_echo "$as_me: executing $ac_file commands" >&6;}
23123 case $ac_file$ac_mode in
23124 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
23125 # Older Autoconf quotes --file arguments for eval, but not when files
23126 # are listed without --file. Let's play safe and only enable the eval
23127 # if we detect the quoting.
23128 case $CONFIG_FILES in
23129 *\'*) eval set x
"$CONFIG_FILES" ;;
23130 *) set x
$CONFIG_FILES ;;
23135 # Strip MF so we end up with the name of the file.
23136 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23137 # Check whether this is an Automake generated Makefile or not.
23138 # We used to match only the files named 'Makefile.in', but
23139 # some people rename them; so instead we look at the file content.
23140 # Grep'ing the first line is not enough: some people post-process
23141 # each Makefile.in and add a new line on top of each file to say so.
23142 # Grep'ing the whole file is not good either: AIX grep has a line
23143 # limit of 2048, but all sed's we know have understand at least 4000.
23144 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23145 dirpart
=`$as_dirname -- "$mf" ||
23146 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23147 X"$mf" : 'X\(//\)[^/]' \| \
23148 X"$mf" : 'X\(//\)$' \| \
23149 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23155 /^X\(\/\/\)[^/].*/{
23171 # Extract the definition of DEPDIR, am__include, and am__quote
23172 # from the Makefile without running 'make'.
23173 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23174 test -z "$DEPDIR" && continue
23175 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23176 test -z "$am__include" && continue
23177 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23178 # Find all dependency output files, they are included files with
23179 # $(DEPDIR) in their names. We invoke sed twice because it is the
23180 # simplest approach to changing $(DEPDIR) to its actual value in the
23182 for file in `sed -n "
23183 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23184 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23185 # Make sure the directory exists.
23186 test -f "$dirpart/$file" && continue
23187 fdir
=`$as_dirname -- "$file" ||
23188 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23189 X"$file" : 'X\(//\)[^/]' \| \
23190 X"$file" : 'X\(//\)$' \| \
23191 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23192 $as_echo X"$file" |
23193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23197 /^X\(\/\/\)[^/].*/{
23210 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23211 # echo "creating $dirpart/$file"
23212 echo '# dummy' > "$dirpart/$file"
23219 # See if we are running on zsh, and set the options that allow our
23220 # commands through without removal of \ escapes.
23221 if test -n "${ZSH_VERSION+set}"; then
23222 setopt NO_GLOB_SUBST
23226 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23229 cat <<_LT_EOF >> "$cfgfile"
23231 # Generated automatically by $as_me ($PACKAGE) $VERSION
23232 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23233 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23235 # Provide generalized library-building support services.
23236 # Written by Gordon Matzigkeit, 1996
23238 # Copyright (C) 2014 Free Software Foundation, Inc.
23239 # This is free software; see the source for copying conditions. There is NO
23240 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23242 # GNU Libtool is free software; you can redistribute it and/or modify
23243 # it under the terms of the GNU General Public License as published by
23244 # the Free Software Foundation; either version 2 of of the License, or
23245 # (at your option) any later version.
23247 # As a special exception to the GNU General Public License, if you
23248 # distribute this file as part of a program or library that is built
23249 # using GNU Libtool, you may include this file under the same
23250 # distribution terms that you use for the rest of that program.
23252 # GNU Libtool is distributed in the hope that it will be useful, but
23253 # WITHOUT ANY WARRANTY; without even the implied warranty of
23254 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23255 # GNU General Public License for more details.
23257 # You should have received a copy of the GNU General Public License
23258 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23261 # The names of the tagged configurations supported by this script.
23262 available_tags='CXX '
23264 # Configured defaults for sys_lib_dlsearch_path munging.
23265 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23267 # ### BEGIN LIBTOOL CONFIG
23269 # Which release of libtool.m4 was used?
23270 macro_version=$macro_version
23271 macro_revision=$macro_revision
23273 # Whether or not to build static libraries.
23274 build_old_libs=$enable_static
23276 # Whether or not to build shared libraries.
23277 build_libtool_libs=$enable_shared
23279 # What type of objects to build.
23282 # Whether or not to optimize for fast installation.
23283 fast_install=$enable_fast_install
23285 # Shared archive member basename,for filename based shared library versioning on AIX.
23286 shared_archive_member_spec=$shared_archive_member_spec
23288 # Shell to use when invoking shell scripts.
23291 # An echo program that protects backslashes.
23294 # The PATH separator for the build system.
23295 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23298 host_alias=$host_alias
23302 # The build system.
23303 build_alias=$build_alias
23307 # A sed program that does not truncate output.
23310 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23311 Xsed="\$SED -e 1s/^X//"
23313 # A grep program that handles long lines.
23319 # A literal string matcher.
23322 # A BSD- or MS-compatible name lister.
23325 # Whether we need soft or hard links.
23328 # What is the maximum length of a command?
23329 max_cmd_len=$max_cmd_len
23331 # Object file suffix (normally "o").
23334 # Executable file suffix (normally "").
23337 # whether the shell understands "unset".
23340 # turn spaces into newlines.
23343 # turn newlines into spaces.
23346 # convert \$build file names to \$host format.
23347 to_host_file_cmd=$lt_cv_to_host_file_cmd
23349 # convert \$build files to toolchain format.
23350 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23352 # An object symbol dumper.
23353 OBJDUMP=$lt_OBJDUMP
23355 # Method to check whether dependent libraries are shared objects.
23356 deplibs_check_method=$lt_deplibs_check_method
23358 # Command to use when deplibs_check_method = "file_magic".
23359 file_magic_cmd=$lt_file_magic_cmd
23361 # How to find potential files when deplibs_check_method = "file_magic".
23362 file_magic_glob=$lt_file_magic_glob
23364 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23365 want_nocaseglob=$lt_want_nocaseglob
23367 # DLL creation program.
23368 DLLTOOL=$lt_DLLTOOL
23370 # Command to associate shared and link libraries.
23371 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23376 # Flags to create an archive.
23377 AR_FLAGS=$lt_AR_FLAGS
23379 # How to feed a file listing to the archiver.
23380 archiver_list_spec=$lt_archiver_list_spec
23382 # A symbol stripping program.
23385 # Commands used to install an old-style archive.
23387 old_postinstall_cmds=$lt_old_postinstall_cmds
23388 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23390 # Whether to use a lock for old archive extraction.
23391 lock_old_archive_extraction=$lock_old_archive_extraction
23396 # LTCC compiler flags.
23397 LTCFLAGS=$lt_CFLAGS
23399 # Take the output of nm and produce a listing of raw symbols and C names.
23400 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23402 # Transform the output of nm in a proper C declaration.
23403 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23405 # Transform the output of nm into a list of symbols to manually relocate.
23406 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23408 # Transform the output of nm in a C name address pair.
23409 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23411 # Transform the output of nm in a C name address pair when lib prefix is needed.
23412 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23414 # The name lister interface.
23415 nm_interface=$lt_lt_cv_nm_interface
23417 # Specify filename containing input files for \$NM.
23418 nm_file_list_spec=$lt_nm_file_list_spec
23420 # The root where to search for dependent libraries,and where our libraries should be installed.
23421 lt_sysroot=$lt_sysroot
23423 # Command to truncate a binary pipe.
23424 lt_truncate_bin=$lt_lt_cv_truncate_bin
23426 # The name of the directory that contains temporary libtool files.
23429 # Used to examine libraries when file_magic_cmd begins with "file".
23430 MAGIC_CMD=$MAGIC_CMD
23432 # Must we lock files when doing compilation?
23433 need_locks=$lt_need_locks
23436 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23438 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23439 DSYMUTIL=$lt_DSYMUTIL
23441 # Tool to change global to local symbols on Mac OS X.
23444 # Tool to manipulate fat objects and archives on Mac OS X.
23447 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23450 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23451 OTOOL64=$lt_OTOOL64
23453 # Old archive suffix (normally "a").
23456 # Shared library suffix (normally ".so").
23457 shrext_cmds=$lt_shrext_cmds
23459 # The commands to extract the exported symbol list from a shared archive.
23460 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23462 # Variables whose values should be saved in libtool wrapper scripts and
23463 # restored at link time.
23464 variables_saved_for_relink=$lt_variables_saved_for_relink
23466 # Do we need the "lib" prefix for modules?
23467 need_lib_prefix=$need_lib_prefix
23469 # Do we need a version for libraries?
23470 need_version=$need_version
23472 # Library versioning type.
23473 version_type=$version_type
23475 # Shared library runtime path variable.
23476 runpath_var=$runpath_var
23478 # Shared library path variable.
23479 shlibpath_var=$shlibpath_var
23481 # Is shlibpath searched before the hard-coded library search path?
23482 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23484 # Format of library name prefix.
23485 libname_spec=$lt_libname_spec
23487 # List of archive names. First name is the real one, the rest are links.
23488 # The last name is the one that the linker finds with -lNAME
23489 library_names_spec=$lt_library_names_spec
23491 # The coded name of the library, if different from the real name.
23492 soname_spec=$lt_soname_spec
23494 # Permission mode override for installation of shared libraries.
23495 install_override_mode=$lt_install_override_mode
23497 # Command to use after installation of a shared archive.
23498 postinstall_cmds=$lt_postinstall_cmds
23500 # Command to use after uninstallation of a shared archive.
23501 postuninstall_cmds=$lt_postuninstall_cmds
23503 # Commands used to finish a libtool library installation in a directory.
23504 finish_cmds=$lt_finish_cmds
23506 # As "finish_cmds", except a single script fragment to be evaled but
23508 finish_eval=$lt_finish_eval
23510 # Whether we should hardcode library paths into libraries.
23511 hardcode_into_libs=$hardcode_into_libs
23513 # Compile-time system search path for libraries.
23514 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23516 # Detected run-time system search path for libraries.
23517 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23519 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23520 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23522 # Whether dlopen is supported.
23523 dlopen_support=$enable_dlopen
23525 # Whether dlopen of programs is supported.
23526 dlopen_self=$enable_dlopen_self
23528 # Whether dlopen of statically linked programs is supported.
23529 dlopen_self_static=$enable_dlopen_self_static
23531 # Commands to strip libraries.
23532 old_striplib=$lt_old_striplib
23533 striplib=$lt_striplib
23536 # The linker used to build libraries.
23539 # How to create reloadable object files.
23540 reload_flag=$lt_reload_flag
23541 reload_cmds=$lt_reload_cmds
23543 # Commands used to build an old-style archive.
23544 old_archive_cmds=$lt_old_archive_cmds
23546 # A language specific compiler.
23549 # Is the compiler the GNU compiler?
23552 # Compiler flag to turn off builtin functions.
23553 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23555 # Additional compiler flags for building library objects.
23556 pic_flag=$lt_lt_prog_compiler_pic
23558 # How to pass a linker flag through the compiler.
23559 wl=$lt_lt_prog_compiler_wl
23561 # Compiler flag to prevent dynamic linking.
23562 link_static_flag=$lt_lt_prog_compiler_static
23564 # Does compiler simultaneously support -c and -o options?
23565 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23567 # Whether or not to add -lc for building shared libraries.
23568 build_libtool_need_lc=$archive_cmds_need_lc
23570 # Whether or not to disallow shared libs when runtime libs are static.
23571 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23573 # Compiler flag to allow reflexive dlopens.
23574 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23576 # Compiler flag to generate shared objects directly from archives.
23577 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23579 # Whether the compiler copes with passing no objects directly.
23580 compiler_needs_object=$lt_compiler_needs_object
23582 # Create an old-style archive from a shared archive.
23583 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23585 # Create a temporary old-style archive to link instead of a shared archive.
23586 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23588 # Commands used to build a shared archive.
23589 archive_cmds=$lt_archive_cmds
23590 archive_expsym_cmds=$lt_archive_expsym_cmds
23592 # Commands used to build a loadable module if different from building
23593 # a shared archive.
23594 module_cmds=$lt_module_cmds
23595 module_expsym_cmds=$lt_module_expsym_cmds
23597 # Whether we are building with GNU ld or not.
23598 with_gnu_ld=$lt_with_gnu_ld
23600 # Flag that allows shared libraries with undefined symbols to be built.
23601 allow_undefined_flag=$lt_allow_undefined_flag
23603 # Flag that enforces no undefined symbols.
23604 no_undefined_flag=$lt_no_undefined_flag
23606 # Flag to hardcode \$libdir into a binary during linking.
23607 # This must work even if \$libdir does not exist
23608 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23610 # Whether we need a single "-rpath" flag with a separated argument.
23611 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23613 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23614 # DIR into the resulting binary.
23615 hardcode_direct=$hardcode_direct
23617 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23618 # DIR into the resulting binary and the resulting library dependency is
23619 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23620 # library is relocated.
23621 hardcode_direct_absolute=$hardcode_direct_absolute
23623 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23624 # into the resulting binary.
23625 hardcode_minus_L=$hardcode_minus_L
23627 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23628 # into the resulting binary.
23629 hardcode_shlibpath_var=$hardcode_shlibpath_var
23631 # Set to "yes" if building a shared library automatically hardcodes DIR
23632 # into the library and all subsequent libraries and executables linked
23634 hardcode_automatic=$hardcode_automatic
23636 # Set to yes if linker adds runtime paths of dependent libraries
23637 # to runtime path list.
23638 inherit_rpath=$inherit_rpath
23640 # Whether libtool must link a program against all its dependency libraries.
23641 link_all_deplibs=$link_all_deplibs
23643 # Set to "yes" if exported symbols are required.
23644 always_export_symbols=$always_export_symbols
23646 # The commands to list exported symbols.
23647 export_symbols_cmds=$lt_export_symbols_cmds
23649 # Symbols that should not be listed in the preloaded symbols.
23650 exclude_expsyms=$lt_exclude_expsyms
23652 # Symbols that must always be exported.
23653 include_expsyms=$lt_include_expsyms
23655 # Commands necessary for linking programs (against libraries) with templates.
23656 prelink_cmds=$lt_prelink_cmds
23658 # Commands necessary for finishing linking programs.
23659 postlink_cmds=$lt_postlink_cmds
23661 # Specify filename containing input files.
23662 file_list_spec=$lt_file_list_spec
23664 # How to hardcode a shared library path into an executable.
23665 hardcode_action=$hardcode_action
23667 # The directories searched by this compiler when creating a shared library.
23668 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23670 # Dependencies to place before and after the objects being linked to
23671 # create a shared library.
23672 predep_objects=$lt_predep_objects
23673 postdep_objects=$lt_postdep_objects
23674 predeps=$lt_predeps
23675 postdeps=$lt_postdeps
23677 # The library search path used internally by the compiler when linking
23678 # a shared library.
23679 compiler_lib_search_path=$lt_compiler_lib_search_path
23681 # ### END LIBTOOL CONFIG
23685 cat <<'_LT_EOF' >> "$cfgfile"
23687 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23689 # func_munge_path_list VARIABLE PATH
23690 # -----------------------------------
23691 # VARIABLE is name of variable containing _space_ separated list of
23692 # directories to be munged by the contents of PATH, which is string
23695 # string "DIR[ DIR]" will be prepended to VARIABLE
23697 # string "DIR[ DIR]" will be appended to VARIABLE
23698 # "DIRP[:DIRP]::[DIRA:]DIRA"
23699 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23700 # "DIRA[ DIRA]" will be appended to VARIABLE
23702 # VARIABLE will be replaced by "DIR[ DIR]"
23703 func_munge_path_list ()
23709 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23712 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23715 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23716 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23719 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23725 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23726 func_cc_basename ()
23728 for cc_temp in $*""; do
23730 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23731 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23736 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23740 # ### END FUNCTIONS SHARED WITH CONFIGURE
23746 cat <<\_LT_EOF
>> "$cfgfile"
23747 # AIX sometimes has problems with the GCC collect2 program. For some
23748 # reason, if we set the COLLECT_NAMES environment variable, the problems
23749 # vanish in a puff of smoke.
23750 if test set != "${COLLECT_NAMES+set}"; then
23752 export COLLECT_NAMES
23759 ltmain
=$ac_aux_dir/ltmain.sh
23762 # We use sed instead of cat because bash on DJGPP gets confused if
23763 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23764 # text mode, it properly converts lines to CR/LF. This bash problem
23765 # is reportedly fixed, but why not run on old versions too?
23766 sed '$q' "$ltmain" >> "$cfgfile" \
23767 || (rm -f "$cfgfile"; exit 1)
23769 mv -f "$cfgfile" "$ofile" ||
23770 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23774 cat <<_LT_EOF >> "$ofile"
23776 # ### BEGIN LIBTOOL TAG CONFIG: CXX
23778 # The linker used to build libraries.
23781 # How to create reloadable object files.
23782 reload_flag=$lt_reload_flag_CXX
23783 reload_cmds=$lt_reload_cmds_CXX
23785 # Commands used to build an old-style archive.
23786 old_archive_cmds=$lt_old_archive_cmds_CXX
23788 # A language specific compiler.
23789 CC=$lt_compiler_CXX
23791 # Is the compiler the GNU compiler?
23794 # Compiler flag to turn off builtin functions.
23795 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
23797 # Additional compiler flags for building library objects.
23798 pic_flag=$lt_lt_prog_compiler_pic_CXX
23800 # How to pass a linker flag through the compiler.
23801 wl=$lt_lt_prog_compiler_wl_CXX
23803 # Compiler flag to prevent dynamic linking.
23804 link_static_flag=$lt_lt_prog_compiler_static_CXX
23806 # Does compiler simultaneously support -c and -o options?
23807 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
23809 # Whether or not to add -lc for building shared libraries.
23810 build_libtool_need_lc=$archive_cmds_need_lc_CXX
23812 # Whether or not to disallow shared libs when runtime libs are static.
23813 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
23815 # Compiler flag to allow reflexive dlopens.
23816 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
23818 # Compiler flag to generate shared objects directly from archives.
23819 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
23821 # Whether the compiler copes with passing no objects directly.
23822 compiler_needs_object=$lt_compiler_needs_object_CXX
23824 # Create an old-style archive from a shared archive.
23825 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
23827 # Create a temporary old-style archive to link instead of a shared archive.
23828 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
23830 # Commands used to build a shared archive.
23831 archive_cmds=$lt_archive_cmds_CXX
23832 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
23834 # Commands used to build a loadable module if different from building
23835 # a shared archive.
23836 module_cmds=$lt_module_cmds_CXX
23837 module_expsym_cmds=$lt_module_expsym_cmds_CXX
23839 # Whether we are building with GNU ld or not.
23840 with_gnu_ld=$lt_with_gnu_ld_CXX
23842 # Flag that allows shared libraries with undefined symbols to be built.
23843 allow_undefined_flag=$lt_allow_undefined_flag_CXX
23845 # Flag that enforces no undefined symbols.
23846 no_undefined_flag=$lt_no_undefined_flag_CXX
23848 # Flag to hardcode \$libdir into a binary during linking.
23849 # This must work even if \$libdir does not exist
23850 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
23852 # Whether we need a single "-rpath" flag with a separated argument.
23853 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
23855 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23856 # DIR into the resulting binary.
23857 hardcode_direct=$hardcode_direct_CXX
23859 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23860 # DIR into the resulting binary and the resulting library dependency is
23861 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23862 # library is relocated.
23863 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
23865 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23866 # into the resulting binary.
23867 hardcode_minus_L=$hardcode_minus_L_CXX
23869 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23870 # into the resulting binary.
23871 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
23873 # Set to "yes" if building a shared library automatically hardcodes DIR
23874 # into the library and all subsequent libraries and executables linked
23876 hardcode_automatic=$hardcode_automatic_CXX
23878 # Set to yes if linker adds runtime paths of dependent libraries
23879 # to runtime path list.
23880 inherit_rpath=$inherit_rpath_CXX
23882 # Whether libtool must link a program against all its dependency libraries.
23883 link_all_deplibs=$link_all_deplibs_CXX
23885 # Set to "yes" if exported symbols are required.
23886 always_export_symbols=$always_export_symbols_CXX
23888 # The commands to list exported symbols.
23889 export_symbols_cmds=$lt_export_symbols_cmds_CXX
23891 # Symbols that should not be listed in the preloaded symbols.
23892 exclude_expsyms=$lt_exclude_expsyms_CXX
23894 # Symbols that must always be exported.
23895 include_expsyms=$lt_include_expsyms_CXX
23897 # Commands necessary for linking programs (against libraries) with templates.
23898 prelink_cmds=$lt_prelink_cmds_CXX
23900 # Commands necessary for finishing linking programs.
23901 postlink_cmds=$lt_postlink_cmds_CXX
23903 # Specify filename containing input files.
23904 file_list_spec=$lt_file_list_spec_CXX
23906 # How to hardcode a shared library path into an executable.
23907 hardcode_action=$hardcode_action_CXX
23909 # The directories searched by this compiler when creating a shared library.
23910 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
23912 # Dependencies to place before and after the objects being linked to
23913 # create a shared library.
23914 predep_objects=$lt_predep_objects_CXX
23915 postdep_objects=$lt_postdep_objects_CXX
23916 predeps=$lt_predeps_CXX
23917 postdeps=$lt_postdeps_CXX
23919 # The library search path used internally by the compiler when linking
23920 # a shared library.
23921 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
23923 # ### END LIBTOOL TAG CONFIG: CXX
23934 ac_clean_files
=$ac_clean_files_save
23936 test $ac_write_fail = 0 ||
23937 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23940 # configure is writing to config.log, and then calls config.status.
23941 # config.status does its own redirection, appending to config.log.
23942 # Unfortunately, on DOS this fails, as config.log is still kept open
23943 # by configure, so config.status won't be able to write to it; its
23944 # output is simply discarded. So we exec the FD to /dev/null,
23945 # effectively closing config.log, so it can be properly (re)opened and
23946 # appended to by config.status. When coming back to configure, we
23947 # need to make the FD available again.
23948 if test "$no_create" != yes; then
23950 ac_config_status_args
=
23951 test "$silent" = yes &&
23952 ac_config_status_args
="$ac_config_status_args --quiet"
23954 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23956 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23957 # would make configure fail if this is the last instruction.
23958 $ac_cs_success || as_fn_exit
1
23960 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23962 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}