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-2015 Jay Freeman (saurik)
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
142 _as_can_reexec
=no
; export _as_can_reexec
;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
151 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec
=; unset _as_can_reexec
;}
164 if test "x$CONFIG_SHELL" = x
; then
165 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required
="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev
/null
; then :
217 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
229 for as_base
in sh bash ksh sh5
; do
230 # Try only shells that exist, to save several forks.
231 as_shell
=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 CONFIG_SHELL
=$as_shell as_have_required
=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
245 CONFIG_SHELL
=$SHELL as_have_required
=yes
250 if test "x$CONFIG_SHELL" != x
; then :
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
258 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
260 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272 if test x
$as_have_required = xno
; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x
${ZSH_VERSION+set} = xset
; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
279 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
280 $0: about your system, including any error possibly output
281 $0: before this message. Then install a modern shell, or
282 $0: manually run the script under such a shell if you do
289 SHELL
=${CONFIG_SHELL-/bin/sh}
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE
= GREP_OPTIONS
=
293 unset CLICOLOR_FORCE GREP_OPTIONS
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
300 # Portably unset VAR.
303 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327 # Create "$as_dir" as a directory, including parents if necessary.
332 -*) as_dir
=.
/$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
338 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341 as_dirs
="'$as_qdir' $as_dirs"
342 as_dir
=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p
()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
411 as_val
=`expr "$@" || test $? -eq 1`
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
423 as_status
=$1; test $as_status -eq 0 && as_status
=1
425 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit
$as_status
432 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
439 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
451 as_me
=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
470 # Avoid depending upon Character Ranges.
471 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits
='0123456789'
475 as_cr_alnum
=$as_cr_Letters$as_cr_digits
478 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
479 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498 chmod +x
"$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec
=no
; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
509 # Exit status is that of the last command.
513 ECHO_C
= ECHO_N
= ECHO_T
=
514 case `echo -n x` in #(((((
516 case `echo 'xy\c'` in
517 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
526 rm -f conf$$ conf$$.exe conf$$.
file
527 if test -d conf$$.dir
; then
528 rm -f conf$$.dir
/conf$$.
file
531 mkdir conf$$.dir
2>/dev
/null
533 if (echo >conf$$.
file) 2>/dev
/null
; then
534 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
542 elif ln conf$$.
file conf$$
2>/dev
/null
; then
550 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
551 rmdir conf$$.dir
2>/dev
/null
553 if mkdir -p .
2>/dev
/null
; then
554 as_mkdir_p
='mkdir -p "$as_dir"'
556 test -d .
/-p && rmdir .
/-p
561 as_executable_p
=as_fn_executable_p
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
569 SHELL
=${CONFIG_SHELL-/bin/sh}
572 test -n "$DJDIR" || exec 7<&0 </dev
/null
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
583 ac_default_prefix
=/usr
/local
585 ac_config_libobj_dir
=.
592 # Identity of this package.
593 PACKAGE_NAME
='Cycript'
594 PACKAGE_TARNAME
='cycript'
595 PACKAGE_VERSION
='0.9'
596 PACKAGE_STRING
='Cycript 0.9'
597 PACKAGE_BUGREPORT
='saurik@saurik.com'
598 PACKAGE_URL
='http://www.cycript.org/'
600 ac_unique_file
="Console.cpp"
601 # Factoring default headers for most tests.
602 ac_includes_default
="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
716 am__fastdepOBJCXX_FALSE
717 am__fastdepOBJCXX_TRUE
746 MAINTAINER_MODE_FALSE
760 INSTALL_STRIP_PROGRAM
802 program_transform_name
815 enable_option_checking
817 enable_maintainer_mode
818 enable_dependency_tracking
831 ac_precious_vars
='build_alias
862 # Initialize some variables set by options.
864 ac_init_version
=false
865 ac_unrecognized_opts
=
867 # The variables have the same names as the options, with
868 # dashes changed to underlines.
876 program_transform_name
=s
,x
,x
,
884 # Installation directory options.
885 # These are left unexpanded so users can "make install exec_prefix=/foo"
886 # and all the variables that are supposed to be based on exec_prefix
887 # by default will actually change.
888 # Use braces instead of parens because sh, perl, etc. also accept them.
889 # (The list follows the same order as the GNU Coding Standards.)
890 bindir
='${exec_prefix}/bin'
891 sbindir
='${exec_prefix}/sbin'
892 libexecdir
='${exec_prefix}/libexec'
893 datarootdir
='${prefix}/share'
894 datadir
='${datarootdir}'
895 sysconfdir
='${prefix}/etc'
896 sharedstatedir
='${prefix}/com'
897 localstatedir
='${prefix}/var'
898 includedir
='${prefix}/include'
899 oldincludedir
='/usr/include'
900 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
901 infodir
='${datarootdir}/info'
906 libdir
='${exec_prefix}/lib'
907 localedir
='${datarootdir}/locale'
908 mandir
='${datarootdir}/man'
914 # If the previous option needs an argument, assign it.
915 if test -n "$ac_prev"; then
916 eval $ac_prev=\
$ac_option
922 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
927 # Accept the important Cygnus configure options, so we can diagnose typos.
929 case $ac_dashdash$ac_option in
933 -bindir | --bindir | --bindi | --bind | --bin | --bi)
935 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
938 -build | --build | --buil | --bui | --bu)
939 ac_prev
=build_alias
;;
940 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
941 build_alias
=$ac_optarg ;;
943 -cache-file | --cache-file | --cache-fil | --cache-fi \
944 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
945 ac_prev
=cache_file
;;
946 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
947 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
948 cache_file
=$ac_optarg ;;
951 cache_file
=config.cache
;;
953 -datadir | --datadir | --datadi | --datad)
955 -datadir=* | --datadir=* | --datadi=* | --datad=*)
956 datadir
=$ac_optarg ;;
958 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
959 | --dataroo | --dataro | --datar)
960 ac_prev
=datarootdir
;;
961 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
962 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
963 datarootdir
=$ac_optarg ;;
965 -disable-* | --disable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error $?
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=no
;;
981 -docdir | --docdir | --docdi | --doc | --do)
983 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
986 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
988 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
991 -enable-* | --enable-*)
992 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
993 # Reject names that are not valid shell variable names.
994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
995 as_fn_error $?
"invalid feature name: $ac_useropt"
996 ac_useropt_orig
=$ac_useropt
997 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998 case $ac_user_opts in
1000 "enable_
$ac_useropt"
1002 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1003 ac_unrecognized_sep
=', ';;
1005 eval enable_
$ac_useropt=\
$ac_optarg ;;
1007 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1008 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1009 | --exec | --exe | --ex)
1010 ac_prev
=exec_prefix
;;
1011 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1012 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1013 | --exec=* | --exe=* | --ex=*)
1014 exec_prefix
=$ac_optarg ;;
1016 -gas | --gas | --ga | --g)
1017 # Obsolete; use --with-gas.
1020 -help | --help | --hel | --he | -h)
1021 ac_init_help
=long
;;
1022 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1023 ac_init_help
=recursive
;;
1024 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1025 ac_init_help
=short
;;
1027 -host | --host | --hos | --ho)
1028 ac_prev
=host_alias
;;
1029 -host=* | --host=* | --hos=* | --ho=*)
1030 host_alias
=$ac_optarg ;;
1032 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1034 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1036 htmldir
=$ac_optarg ;;
1038 -includedir | --includedir | --includedi | --included | --include \
1039 | --includ | --inclu | --incl | --inc)
1040 ac_prev
=includedir
;;
1041 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1042 | --includ=* | --inclu=* | --incl=* | --inc=*)
1043 includedir
=$ac_optarg ;;
1045 -infodir | --infodir | --infodi | --infod | --info | --inf)
1047 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1048 infodir
=$ac_optarg ;;
1050 -libdir | --libdir | --libdi | --libd)
1052 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1053 libdir
=$ac_optarg ;;
1055 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1056 | --libexe | --libex | --libe)
1057 ac_prev
=libexecdir
;;
1058 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1059 | --libexe=* | --libex=* | --libe=*)
1060 libexecdir
=$ac_optarg ;;
1062 -localedir | --localedir | --localedi | --localed | --locale)
1063 ac_prev
=localedir
;;
1064 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1065 localedir
=$ac_optarg ;;
1067 -localstatedir | --localstatedir | --localstatedi | --localstated \
1068 | --localstate | --localstat | --localsta | --localst | --locals)
1069 ac_prev
=localstatedir
;;
1070 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1071 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1072 localstatedir
=$ac_optarg ;;
1074 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1076 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1077 mandir
=$ac_optarg ;;
1079 -nfp | --nfp | --nf)
1080 # Obsolete; use --without-fp.
1083 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1084 | --no-cr | --no-c | -n)
1087 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1088 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1091 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1092 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1093 | --oldin | --oldi | --old | --ol | --o)
1094 ac_prev
=oldincludedir
;;
1095 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1096 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1097 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1098 oldincludedir
=$ac_optarg ;;
1100 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1102 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1103 prefix
=$ac_optarg ;;
1105 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1106 | --program-pre | --program-pr | --program-p)
1107 ac_prev
=program_prefix
;;
1108 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1109 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1110 program_prefix
=$ac_optarg ;;
1112 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1113 | --program-suf | --program-su | --program-s)
1114 ac_prev
=program_suffix
;;
1115 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1116 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1117 program_suffix
=$ac_optarg ;;
1119 -program-transform-name | --program-transform-name \
1120 | --program-transform-nam | --program-transform-na \
1121 | --program-transform-n | --program-transform- \
1122 | --program-transform | --program-transfor \
1123 | --program-transfo | --program-transf \
1124 | --program-trans | --program-tran \
1125 | --progr-tra | --program-tr | --program-t)
1126 ac_prev
=program_transform_name
;;
1127 -program-transform-name=* | --program-transform-name=* \
1128 | --program-transform-nam=* | --program-transform-na=* \
1129 | --program-transform-n=* | --program-transform-=* \
1130 | --program-transform=* | --program-transfor=* \
1131 | --program-transfo=* | --program-transf=* \
1132 | --program-trans=* | --program-tran=* \
1133 | --progr-tra=* | --program-tr=* | --program-t=*)
1134 program_transform_name
=$ac_optarg ;;
1136 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1138 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1139 pdfdir
=$ac_optarg ;;
1141 -psdir | --psdir | --psdi | --psd | --ps)
1143 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1147 | -silent | --silent | --silen | --sile | --sil)
1150 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1152 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1154 sbindir
=$ac_optarg ;;
1156 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1157 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1158 | --sharedst | --shareds | --shared | --share | --shar \
1160 ac_prev
=sharedstatedir
;;
1161 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1162 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1163 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1165 sharedstatedir
=$ac_optarg ;;
1167 -site | --site | --sit)
1169 -site=* | --site=* | --sit=*)
1172 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1174 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1175 srcdir
=$ac_optarg ;;
1177 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1178 | --syscon | --sysco | --sysc | --sys | --sy)
1179 ac_prev
=sysconfdir
;;
1180 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1181 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1182 sysconfdir
=$ac_optarg ;;
1184 -target | --target | --targe | --targ | --tar | --ta | --t)
1185 ac_prev
=target_alias
;;
1186 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1187 target_alias
=$ac_optarg ;;
1189 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1192 -version | --version | --versio | --versi | --vers | -V)
1193 ac_init_version
=: ;;
1196 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error $?
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=\
$ac_optarg ;;
1211 -without-* | --without-*)
1212 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1215 as_fn_error $?
"invalid package name: $ac_useropt"
1216 ac_useropt_orig
=$ac_useropt
1217 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218 case $ac_user_opts in
1222 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1223 ac_unrecognized_sep
=', ';;
1225 eval with_
$ac_useropt=no
;;
1228 # Obsolete; use --with-x.
1231 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1232 | --x-incl | --x-inc | --x-in | --x-i)
1233 ac_prev
=x_includes
;;
1234 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1235 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1236 x_includes
=$ac_optarg ;;
1238 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1239 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1240 ac_prev
=x_libraries
;;
1241 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1242 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1243 x_libraries
=$ac_optarg ;;
1245 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1246 Try \`$0 --help' for more information"
1250 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1251 # Reject names that are not valid shell variable names.
1252 case $ac_envvar in #(
1253 '' | [0-9]* | *[!_$as_cr_alnum]* )
1254 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1256 eval $ac_envvar=\
$ac_optarg
1257 export $ac_envvar ;;
1260 # FIXME: should be removed in autoconf 3.0.
1261 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1262 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1263 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1264 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1270 if test -n "$ac_prev"; then
1271 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1272 as_fn_error $?
"missing argument to $ac_option"
1275 if test -n "$ac_unrecognized_opts"; then
1276 case $enable_option_checking in
1278 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1279 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1283 # Check all directory arguments for consistency.
1284 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1285 datadir sysconfdir sharedstatedir localstatedir includedir \
1286 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1287 libdir localedir mandir
1289 eval ac_val
=\$
$ac_var
1290 # Remove trailing slashes.
1293 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1294 eval $ac_var=\
$ac_val;;
1296 # Be sure to have absolute directory names.
1298 [\\/$
]* | ?
:[\\/]* ) continue;;
1299 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1301 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1304 # There might be people who depend on the old broken behavior: `$host'
1305 # used to hold the argument of --host etc.
1306 # FIXME: To remove some day.
1309 target
=$target_alias
1311 # FIXME: To remove some day.
1312 if test "x$host_alias" != x
; then
1313 if test "x$build_alias" = x
; then
1314 cross_compiling
=maybe
1315 elif test "x$build_alias" != "x$host_alias"; then
1321 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1323 test "$silent" = yes && exec 6>/dev
/null
1326 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1327 ac_ls_di
=`ls -di .` &&
1328 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1329 as_fn_error $?
"working directory cannot be determined"
1330 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1331 as_fn_error $?
"pwd does not report name of working directory"
1334 # Find the source files, if location was not specified.
1335 if test -z "$srcdir"; then
1336 ac_srcdir_defaulted
=yes
1337 # Try the directory containing this script, then the parent directory.
1338 ac_confdir
=`$as_dirname -- "$as_myself" ||
1339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$as_myself" : 'X\(//\)[^/]' \| \
1341 X"$as_myself" : 'X\(//\)$' \| \
1342 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1343 $as_echo X"$as_myself" |
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1366 ac_srcdir_defaulted
=no
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1370 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1372 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1374 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1376 # When building in place, set srcdir=.
1377 if test "$ac_abs_confdir" = "$ac_pwd"; then
1380 # Remove unnecessary trailing slashes from srcdir.
1381 # Double slashes in file names in object file debugging info
1382 # mess up M-x gdb in Emacs.
1384 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1386 for ac_var
in $ac_precious_vars; do
1387 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1388 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1389 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1390 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1394 # Report the --help message.
1396 if test "$ac_init_help" = "long"; then
1397 # Omit some internal or obsolete options to make the list less imposing.
1398 # This message is too long to be a string in the A/UX 3.1 sh.
1400 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1402 Usage: $0 [OPTION]... [VAR=VALUE]...
1404 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1405 VAR=VALUE. See below for descriptions of some of the useful variables.
1407 Defaults for the options are specified in brackets.
1410 -h, --help display this help and exit
1411 --help=short display options specific to this package
1412 --help=recursive display the short help of all the included packages
1413 -V, --version display version information and exit
1414 -q, --quiet, --silent do not print \`checking ...' messages
1415 --cache-file=FILE cache test results in FILE [disabled]
1416 -C, --config-cache alias for \`--cache-file=config.cache'
1417 -n, --no-create do not create output files
1418 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1420 Installation directories:
1421 --prefix=PREFIX install architecture-independent files in PREFIX
1422 [$ac_default_prefix]
1423 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1426 By default, \`make install' will install all the files in
1427 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1428 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1429 for instance \`--prefix=\$HOME'.
1431 For better control, use the options below.
1433 Fine tuning of the installation directories:
1434 --bindir=DIR user executables [EPREFIX/bin]
1435 --sbindir=DIR system admin executables [EPREFIX/sbin]
1436 --libexecdir=DIR program executables [EPREFIX/libexec]
1437 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1438 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1439 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1440 --libdir=DIR object code libraries [EPREFIX/lib]
1441 --includedir=DIR C header files [PREFIX/include]
1442 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1443 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1444 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1445 --infodir=DIR info documentation [DATAROOTDIR/info]
1446 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1447 --mandir=DIR man documentation [DATAROOTDIR/man]
1448 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1449 --htmldir=DIR html documentation [DOCDIR]
1450 --dvidir=DIR dvi documentation [DOCDIR]
1451 --pdfdir=DIR pdf documentation [DOCDIR]
1452 --psdir=DIR ps documentation [DOCDIR]
1458 --program-prefix=PREFIX prepend PREFIX to installed program names
1459 --program-suffix=SUFFIX append SUFFIX to installed program names
1460 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1463 --build=BUILD configure
for building on BUILD
[guessed
]
1464 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1468 if test -n "$ac_init_help"; then
1469 case $ac_init_help in
1470 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1475 --disable-option-checking ignore unrecognized
--enable/--with options
1476 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1477 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1478 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1479 --disable-silent-rules verbose build output
(undo
: "make V=0")
1480 --enable-maintainer-mode
1481 enable make rules and dependencies not useful
(and
1482 sometimes confusing
) to the casual installer
1483 --enable-dependency-tracking
1484 do not reject slow dependency extractors
1485 --disable-dependency-tracking
1486 speeds up one
-time build
1487 --enable-static[=PKGS
] build static libraries
[default
=no
]
1488 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1489 --enable-fast-install[=PKGS
]
1490 optimize
for fast installation
[default
=yes]
1491 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1492 --enable-javascript[=ENGINE
]
1493 use a JavaScript runtime
(currently the only
1494 available option
for ENGINE is JavaScriptCore
)
1496 --disable-console disable console
1497 --disable-attach disable attach
1500 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1501 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1502 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1504 --with-aix-soname=aix
|svr4
|both
1505 shared library versioning
(aka
"SONAME") variant to
1506 provide on AIX
, [default
=aix
].
1507 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1508 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1509 compiler
's sysroot if not specified).
1511 Some influential environment variables:
1512 CC C compiler command
1513 CFLAGS C compiler flags
1514 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1515 nonstandard directory <lib dir>
1516 LIBS libraries to pass to the linker, e.g. -l<library>
1517 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1518 you have headers in a nonstandard directory <include dir>
1519 CXX C++ compiler command
1520 CXXFLAGS C++ compiler flags
1521 OBJCXX Objective C++ compiler command
1522 OBJCXXFLAGS Objective C++ compiler flags
1524 User-defined run-time library search path.
1526 CXXCPP C++ preprocessor
1527 PKG_CONFIG path to pkg-config utility
1529 directories to add to pkg-config's search path
1531 path overriding pkg
-config's built-in search path
1532 BISON GNU Project parser generator (yacc replacement)
1533 FLEX the fast lexical analyser generator
1534 GPERF perfect hash function generator
1535 GNUTAR a very sticky lump of files
1538 C compiler flags for WEBKIT, overriding pkg-config
1539 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1541 prints information about the current gnustep installation
1543 Use these variables to override the choices made by `configure' or to
help
1544 it to
find libraries and programs with nonstandard names
/locations.
1546 Report bugs to
<saurik@saurik.com
>.
1547 Cycript home page
: <http
://www.cycript.org
/>.
1552 if test "$ac_init_help" = "recursive"; then
1553 # If there are subdirs, report their specific --help.
1554 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1555 test -d "$ac_dir" ||
1556 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1561 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1563 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1564 # A ".." for each directory in $ac_dir_suffix.
1565 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1566 case $ac_top_builddir_sub in
1567 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1568 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1571 ac_abs_top_builddir
=$ac_pwd
1572 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1573 # for backward compatibility:
1574 ac_top_builddir
=$ac_top_build_prefix
1577 .
) # We are building in place.
1579 ac_top_srcdir
=$ac_top_builddir_sub
1580 ac_abs_top_srcdir
=$ac_pwd ;;
1581 [\\/]* | ?
:[\\/]* ) # Absolute name.
1582 ac_srcdir
=$srcdir$ac_dir_suffix;
1583 ac_top_srcdir
=$srcdir
1584 ac_abs_top_srcdir
=$srcdir ;;
1586 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1587 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1588 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1590 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1592 cd "$ac_dir" || { ac_status
=$?
; continue; }
1593 # Check for guested configure.
1594 if test -f "$ac_srcdir/configure.gnu"; then
1596 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1597 elif test -f "$ac_srcdir/configure"; then
1599 $SHELL "$ac_srcdir/configure" --help=recursive
1601 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1603 cd "$ac_pwd" || { ac_status
=$?
; break; }
1607 test -n "$ac_init_help" && exit $ac_status
1608 if $ac_init_version; then
1610 Cycript configure
0.9
1611 generated by GNU Autoconf
2.69
1613 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1614 This configure
script is free software
; the Free Software Foundation
1615 gives unlimited permission to copy
, distribute and modify it.
1617 Copyright
(C
) 2009-2015 Jay Freeman
(saurik
)
1622 ## ------------------------ ##
1623 ## Autoconf initialization. ##
1624 ## ------------------------ ##
1626 # ac_fn_c_try_compile LINENO
1627 # --------------------------
1628 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1629 ac_fn_c_try_compile
()
1631 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1632 rm -f conftest.
$ac_objext
1633 if { { ac_try
="$ac_compile"
1635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_compile") 2>conftest.err
1642 if test -s conftest.err; then
1643 grep -v '^ *+' conftest.err >conftest.er1
1644 cat conftest.er1 >&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && {
1649 test -z "$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1651 } && test -s conftest.$ac_objext; then :
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660 as_fn_set_status $ac_retval
1662 } # ac_fn_c_try_compile
1664 # ac_fn_cxx_try_compile LINENO
1665 # ----------------------------
1666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1667 ac_fn_cxx_try_compile ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 rm -f conftest.$ac_objext
1671 if { { ac_try="$ac_compile"
1673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1674 *) ac_try_echo
=$ac_try;;
1676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_compile") 2>conftest.err
1680 if test -s conftest.err
; then
1681 grep -v '^ *+' conftest.err
>conftest.er1
1682 cat conftest.er1
>&5
1683 mv -f conftest.er1 conftest.err
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } && {
1687 test -z "$ac_cxx_werror_flag" ||
1688 test ! -s conftest.err
1689 } && test -s conftest.
$ac_objext; then :
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.
$ac_ext >&5
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status
$ac_retval
1700 } # ac_fn_cxx_try_compile
1702 # ac_fn_objcxx_try_compile LINENO
1703 # -------------------------------
1704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_objcxx_try_compile
()
1707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1708 rm -f conftest.
$ac_objext
1709 if { { ac_try
="$ac_compile"
1711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_compile") 2>conftest.err
1718 if test -s conftest.err; then
1719 grep -v '^ *+' conftest.err >conftest.er1
1720 cat conftest.er1 >&5
1721 mv -f conftest.er1 conftest.err
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && {
1725 test -z "$ac_objcxx_werror_flag" ||
1726 test ! -s conftest.err
1727 } && test -s conftest.$ac_objext; then :
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status $ac_retval
1738 } # ac_fn_objcxx_try_compile
1740 # ac_fn_c_try_link LINENO
1741 # -----------------------
1742 # Try to link conftest.$ac_ext, and return whether this succeeded.
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 rm -f conftest.$ac_objext conftest$ac_exeext
1747 if { { ac_try="$ac_link"
1749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1750 *) ac_try_echo
=$ac_try;;
1752 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_link") 2>conftest.err
1756 if test -s conftest.err
; then
1757 grep -v '^ *+' conftest.err
>conftest.er1
1758 cat conftest.er1
>&5
1759 mv -f conftest.er1 conftest.err
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; } && {
1763 test -z "$ac_c_werror_flag" ||
1764 test ! -s conftest.err
1765 } && test -s conftest
$ac_exeext && {
1766 test "$cross_compiling" = yes ||
1767 test -x conftest
$ac_exeext
1771 $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.
$ac_ext >&5
1776 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1777 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1778 # interfere with the next link command; also delete a directory that is
1779 # left behind by Apple's compiler. We do this before executing the actions.
1780 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782 as_fn_set_status
$ac_retval
1784 } # ac_fn_c_try_link
1786 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1787 # -------------------------------------------------------
1788 # Tests whether HEADER exists and can be compiled using the include files in
1789 # INCLUDES, setting the cache variable VAR accordingly.
1790 ac_fn_c_check_header_compile
()
1792 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794 $as_echo_n "checking for $2... " >&6; }
1795 if eval \
${$3+:} false
; then :
1796 $as_echo_n "(cached) " >&6
1798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1803 if ac_fn_c_try_compile
"$LINENO"; then :
1808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812 $as_echo "$ac_res" >&6; }
1813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815 } # ac_fn_c_check_header_compile
1817 # ac_fn_c_try_cpp LINENO
1818 # ----------------------
1819 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1822 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1823 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1832 if test -s conftest.err; then
1833 grep -v '^ *+' conftest.err >conftest.er1
1834 cat conftest.er1 >&5
1835 mv -f conftest.er1 conftest.err
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } > conftest.i && {
1839 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1840 test ! -s conftest.err
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.$ac_ext >&5
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 as_fn_set_status $ac_retval
1854 # ac_fn_c_try_run LINENO
1855 # ----------------------
1856 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1857 # that executables *can* be run.
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 if { { ac_try="$ac_link"
1863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1864 *) ac_try_echo
=$ac_try;;
1866 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_link") 2>&5
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1872 { { case "(($ac_try" in
1873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_try") 2>&5
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; }; }; then :
1884 $as_echo "$as_me: program exited with status $ac_status" >&5
1885 $as_echo "$as_me: failed program was:" >&5
1886 sed 's/^/| /' conftest.$ac_ext >&5
1888 ac_retval=$ac_status
1890 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892 as_fn_set_status $ac_retval
1896 # ac_fn_c_check_func LINENO FUNC VAR
1897 # ----------------------------------
1898 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1899 ac_fn_c_check_func ()
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903 $as_echo_n "checking for $2... " >&6; }
1904 if eval \${$3+:} false; then :
1905 $as_echo_n "(cached) " >&6
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1909 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1911 #define $2 innocuous_$2
1913 /* System header to define __stub macros and hopefully few prototypes,
1914 which can conflict with char $2 (); below.
1915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1916 <limits.h> exists even on freestanding compilers. */
1919 # include <limits.h>
1921 # include <assert.h>
1926 /* Override any GCC internal prototype to avoid an error.
1927 Use char because int might match the return type of a GCC
1928 builtin and then its argument prototype would still apply. */
1933 /* The GNU C library defines this for functions which it implements
1934 to always fail with ENOSYS. Some functions are actually named
1935 something starting with __ and the normal name is an alias. */
1936 #if defined __stub_$2 || defined __stub___$2
1948 if ac_fn_c_try_link "$LINENO"; then :
1953 rm -f core conftest.err conftest.$ac_objext \
1954 conftest$ac_exeext conftest.$ac_ext
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958 $as_echo "$ac_res" >&6; }
1959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961 } # ac_fn_c_check_func
1963 # ac_fn_cxx_try_cpp LINENO
1964 # ------------------------
1965 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1966 ac_fn_cxx_try_cpp ()
1968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969 if { { ac_try="$ac_cpp conftest.$ac_ext"
1971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1972 *) ac_try_echo
=$ac_try;;
1974 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975 $as_echo "$ac_try_echo"; } >&5
1976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1978 if test -s conftest.err
; then
1979 grep -v '^ *+' conftest.err
>conftest.er1
1980 cat conftest.er1
>&5
1981 mv -f conftest.er1 conftest.err
1983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1984 test $ac_status = 0; } > conftest.i
&& {
1985 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1986 test ! -s conftest.err
1990 $as_echo "$as_me: failed program was:" >&5
1991 sed 's/^/| /' conftest.
$ac_ext >&5
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 as_fn_set_status
$ac_retval
1998 } # ac_fn_cxx_try_cpp
2000 # ac_fn_cxx_try_link LINENO
2001 # -------------------------
2002 # Try to link conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_link
()
2005 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2006 rm -f conftest.
$ac_objext conftest
$ac_exeext
2007 if { { ac_try
="$ac_link"
2009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2010 *) ac_try_echo=$ac_try;;
2012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2013 $as_echo "$ac_try_echo"; } >&5
2014 (eval "$ac_link") 2>conftest.err
2016 if test -s conftest.err; then
2017 grep -v '^ *+' conftest.err >conftest.er1
2018 cat conftest.er1 >&5
2019 mv -f conftest.er1 conftest.err
2021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022 test $ac_status = 0; } && {
2023 test -z "$ac_cxx_werror_flag" ||
2024 test ! -s conftest.err
2025 } && test -s conftest$ac_exeext && {
2026 test "$cross_compiling" = yes ||
2027 test -x conftest$ac_exeext
2031 $as_echo "$as_me: failed program was:" >&5
2032 sed 's/^/| /' conftest.$ac_ext >&5
2036 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2037 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2038 # interfere with the next link command; also delete a directory that is
2039 # left behind by Apple's compiler. We do this before executing the actions.
2040 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2042 as_fn_set_status $ac_retval
2044 } # ac_fn_cxx_try_link
2046 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2047 # ---------------------------------------------------------
2048 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2049 # the include files in INCLUDES and setting the cache variable VAR
2051 ac_fn_cxx_check_header_mongrel ()
2053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054 if eval \${$3+:} false; then :
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056 $as_echo_n "checking for $2... " >&6; }
2057 if eval \${$3+:} false; then :
2058 $as_echo_n "(cached) " >&6
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062 $as_echo "$ac_res" >&6; }
2064 # Is the header compilable?
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2066 $as_echo_n "checking $2 usability... " >&6; }
2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2072 if ac_fn_cxx_try_compile "$LINENO"; then :
2073 ac_header_compiler=yes
2075 ac_header_compiler=no
2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2079 $as_echo "$ac_header_compiler" >&6; }
2081 # Is the header present?
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2083 $as_echo_n "checking $2 presence... " >&6; }
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2088 if ac_fn_cxx_try_cpp "$LINENO"; then :
2089 ac_header_preproc=yes
2091 ac_header_preproc=no
2093 rm -f conftest.err conftest.i conftest.$ac_ext
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2095 $as_echo "$ac_header_preproc" >&6; }
2097 # So? What about this header?
2098 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2101 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2103 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2107 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2109 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2111 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2113 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2116 ( $as_echo "## -------------------------------- ##
2117 ## Report this to saurik@saurik.com ##
2118 ## -------------------------------- ##"
2119 ) | sed "s/^/$as_me: WARNING: /" >&2
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2123 $as_echo_n "checking for $2... " >&6; }
2124 if eval \${$3+:} false; then :
2125 $as_echo_n "(cached) " >&6
2127 eval "$3=\$ac_header_compiler"
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2135 } # ac_fn_cxx_check_header_mongrel
2137 # ac_fn_objcxx_try_link LINENO
2138 # ----------------------------
2139 # Try to link conftest.$ac_ext, and return whether this succeeded.
2140 ac_fn_objcxx_try_link ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 rm -f conftest.$ac_objext conftest$ac_exeext
2144 if { { ac_try="$ac_link"
2146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2147 *) ac_try_echo
=$ac_try;;
2149 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150 $as_echo "$ac_try_echo"; } >&5
2151 (eval "$ac_link") 2>conftest.err
2153 if test -s conftest.err
; then
2154 grep -v '^ *+' conftest.err
>conftest.er1
2155 cat conftest.er1
>&5
2156 mv -f conftest.er1 conftest.err
2158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2159 test $ac_status = 0; } && {
2160 test -z "$ac_objcxx_werror_flag" ||
2161 test ! -s conftest.err
2162 } && test -s conftest
$ac_exeext && {
2163 test "$cross_compiling" = yes ||
2164 test -x conftest
$ac_exeext
2168 $as_echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.
$ac_ext >&5
2173 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2174 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2175 # interfere with the next link command; also delete a directory that is
2176 # left behind by Apple's compiler. We do this before executing the actions.
2177 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 as_fn_set_status
$ac_retval
2181 } # ac_fn_objcxx_try_link
2182 cat >config.log
<<_ACEOF
2183 This file contains any messages produced by compilers while
2184 running configure, to aid debugging if configure makes a mistake.
2186 It was created by Cycript $as_me 0.9, which was
2187 generated by GNU Autoconf 2.69. Invocation command line was
2199 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2200 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2201 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2202 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2203 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2205 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2206 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2208 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2209 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2210 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2211 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2212 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2213 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2214 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir
=.
2223 $as_echo "PATH: $as_dir"
2239 # Keep a trace of the command line.
2240 # Strip out --no-create and --no-recursion so they do not pile up.
2241 # Strip out --silent because we don't want to record it for future runs.
2242 # Also quote any args containing shell meta-characters.
2243 # Make two passes to allow for proper duplicate-argument suppression.
2247 ac_must_keep_next
=false
2253 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2255 | -silent | --silent | --silen | --sile | --sil)
2258 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2261 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2263 as_fn_append ac_configure_args1
" '$ac_arg'"
2264 if test $ac_must_keep_next = true
; then
2265 ac_must_keep_next
=false
# Got value, back to normal.
2268 *=* | --config-cache | -C | -disable-* | --disable-* \
2269 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2270 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2271 | -with-* | --with-* | -without-* | --without-* | --x)
2272 case "$ac_configure_args0 " in
2273 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2276 -* ) ac_must_keep_next
=true
;;
2279 as_fn_append ac_configure_args
" '$ac_arg'"
2284 { ac_configure_args0
=; unset ac_configure_args0
;}
2285 { ac_configure_args1
=; unset ac_configure_args1
;}
2287 # When interrupted or exit'd, cleanup temporary files, and complete
2288 # config.log. We remove comments because anyway the quotes in there
2289 # would cause problems or look ugly.
2290 # WARNING: Use '\'' to represent an apostrophe within the trap.
2291 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2292 trap 'exit_status=$?
2293 # Save into config.log some information that might help in debugging.
2297 $as_echo "## ---------------- ##
2298 ## Cache variables. ##
2299 ## ---------------- ##"
2301 # The following way of writing the cache mishandles newlines in values,
2303 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2304 eval ac_val=\$$ac_var
2308 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2309 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2312 _ | IFS | as_nl) ;; #(
2313 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2314 *) { eval $ac_var=; unset $ac_var;} ;;
2319 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2320 *${as_nl}ac_space=\ *)
2322 "s/'\''/'\''\\\\'\'''\''/g;
2323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2326 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2333 $as_echo "## ----------------- ##
2334 ## Output variables. ##
2335 ## ----------------- ##"
2337 for ac_var in $ac_subst_vars
2339 eval ac_val=\$$ac_var
2341 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2343 $as_echo "$ac_var='\''$ac_val'\''"
2347 if test -n "$ac_subst_files"; then
2348 $as_echo "## ------------------- ##
2349 ## File substitutions. ##
2350 ## ------------------- ##"
2352 for ac_var
in $ac_subst_files
2354 eval ac_val
=\$
$ac_var
2356 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2358 $as_echo "$ac_var='\''$ac_val'\''"
2363 if test -s confdefs.h; then
2364 $as_echo "## ----------- ##
2371 test "$ac_signal" != 0 &&
2372 $as_echo "$as_me: caught signal $ac_signal"
2373 $as_echo "$as_me: exit $exit_status"
2375 rm -f core *.core core.conftest.* &&
2376 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2379 for ac_signal
in 1 2 13 15; do
2380 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2384 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2385 rm -f -r conftest
* confdefs.h
2387 $as_echo "/* confdefs.h */" > confdefs.h
2389 # Predefined preprocessor variables.
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_NAME "$PACKAGE_NAME"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2399 cat >>confdefs.h
<<_ACEOF
2400 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2403 cat >>confdefs.h
<<_ACEOF
2404 #define PACKAGE_STRING "$PACKAGE_STRING"
2407 cat >>confdefs.h
<<_ACEOF
2408 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2411 cat >>confdefs.h
<<_ACEOF
2412 #define PACKAGE_URL "$PACKAGE_URL"
2416 # Let the site file select an alternate cache file if it wants to.
2417 # Prefer an explicitly selected file to automatically selected ones.
2420 if test -n "$CONFIG_SITE"; then
2421 # We do not want a PATH search for config.site.
2422 case $CONFIG_SITE in #((
2423 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2424 */*) ac_site_file1
=$CONFIG_SITE;;
2425 *) ac_site_file1
=.
/$CONFIG_SITE;;
2427 elif test "x$prefix" != xNONE
; then
2428 ac_site_file1
=$prefix/share
/config.site
2429 ac_site_file2
=$prefix/etc
/config.site
2431 ac_site_file1
=$ac_default_prefix/share
/config.site
2432 ac_site_file2
=$ac_default_prefix/etc
/config.site
2434 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2436 test "x$ac_site_file" = xNONE
&& continue
2437 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2439 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2440 sed 's/^/| /' "$ac_site_file" >&5
2442 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444 as_fn_error $?
"failed to load site script $ac_site_file
2445 See \`config.log' for more details" "$LINENO" 5; }
2449 if test -r "$cache_file"; then
2450 # Some versions of bash will fail to source /dev/null (special files
2451 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2452 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2454 $as_echo "$as_me: loading cache $cache_file" >&6;}
2456 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2457 *) .
"./$cache_file";;
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2462 $as_echo "$as_me: creating cache $cache_file" >&6;}
2466 # Check that the precious variables saved in the cache have kept the same
2468 ac_cache_corrupted
=false
2469 for ac_var
in $ac_precious_vars; do
2470 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2471 eval ac_new_set
=\
$ac_env_${ac_var}_set
2472 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2473 eval ac_new_val
=\
$ac_env_${ac_var}_value
2474 case $ac_old_set,$ac_new_set in
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2477 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2478 ac_cache_corrupted
=: ;;
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2481 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2482 ac_cache_corrupted
=: ;;
2485 if test "x$ac_old_val" != "x$ac_new_val"; then
2486 # differences in whitespace do not lead to failure.
2487 ac_old_val_w
=`echo x $ac_old_val`
2488 ac_new_val_w
=`echo x $ac_new_val`
2489 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2491 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2492 ac_cache_corrupted
=:
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2495 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2496 eval $ac_var=\
$ac_old_val
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2499 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2501 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2504 # Pass precious variables to config.status.
2505 if test "$ac_new_set" = set; then
2507 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2508 *) ac_arg
=$ac_var=$ac_new_val ;;
2510 case " $ac_configure_args " in
2511 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2512 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2516 if $ac_cache_corrupted; then
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2520 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2521 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2523 ## -------------------- ##
2524 ## Main body of script. ##
2525 ## -------------------- ##
2528 ac_cpp
='$CPP $CPPFLAGS'
2529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2538 for ac_dir
in .
"$srcdir"/.
; do
2539 if test -f "$ac_dir/install-sh"; then
2541 ac_install_sh
="$ac_aux_dir/install-sh -c"
2543 elif test -f "$ac_dir/install.sh"; then
2545 ac_install_sh
="$ac_aux_dir/install.sh -c"
2547 elif test -f "$ac_dir/shtool"; then
2549 ac_install_sh
="$ac_aux_dir/shtool install -c"
2553 if test -z "$ac_aux_dir"; then
2554 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2557 # These three variables are undocumented and unsupported,
2558 # and are intended to be withdrawn in a future Autoconf release.
2559 # They can cause serious problems if a builder's source tree is in a directory
2560 # whose full name contains unusual characters.
2561 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2562 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2563 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2567 ac_config_headers
="$ac_config_headers config.h"
2570 am__api_version
='1.15'
2572 # Find a good install program. We prefer a C program (faster),
2573 # so one script is as good as another. But avoid the broken or
2574 # incompatible versions:
2575 # SysV /etc/install, /usr/sbin/install
2576 # SunOS /usr/etc/install
2577 # IRIX /sbin/install
2579 # AmigaOS /C/install, which installs bootblocks on floppy discs
2580 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2581 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2582 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2583 # OS/2's system install, which has a completely different semantic
2584 # ./install, which can be erroneously created by make from ./install.sh.
2585 # Reject install programs that cannot install multiple files.
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2587 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2588 if test -z "$INSTALL"; then
2589 if ${ac_cv_path_install+:} false
; then :
2590 $as_echo_n "(cached) " >&6
2592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2596 test -z "$as_dir" && as_dir
=.
2597 # Account for people who put trailing slashes in PATH elements.
2598 case $as_dir/ in #((
2599 .
/ | .
// | /[cC
]/* | \
2600 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2601 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2604 # OSF1 and SCO ODT 3.0 have their own names for install.
2605 # Don't use installbsd from OSF since it installs stuff as root
2607 for ac_prog
in ginstall scoinst
install; do
2608 for ac_exec_ext
in '' $ac_executable_extensions; do
2609 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2610 if test $ac_prog = install &&
2611 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2612 # AIX install. It has an incompatible calling convention.
2614 elif test $ac_prog = install &&
2615 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2616 # program-specific install script used by HP pwplus--don't use.
2619 rm -rf conftest.one conftest.two conftest.dir
2620 echo one
> conftest.one
2621 echo two
> conftest.two
2623 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2624 test -s conftest.one
&& test -s conftest.two
&&
2625 test -s conftest.dir
/conftest.one
&&
2626 test -s conftest.dir
/conftest.two
2628 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2641 rm -rf conftest.one conftest.two conftest.dir
2644 if test "${ac_cv_path_install+set}" = set; then
2645 INSTALL
=$ac_cv_path_install
2647 # As a last resort, use the slow shell script. Don't cache a
2648 # value for INSTALL within a source directory, because that will
2649 # break other packages using the cache if that directory is
2650 # removed, or if the value is a relative name.
2651 INSTALL
=$ac_install_sh
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2655 $as_echo "$INSTALL" >&6; }
2657 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2658 # It thinks the first close brace ends the variable substitution.
2659 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2661 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2663 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2666 $as_echo_n "checking whether build environment is sane... " >&6; }
2667 # Reject unsafe characters in $srcdir or the absolute working directory
2668 # name. Accept space and tab only in the latter.
2672 *[\\\"\#\$\&\'\`$am_lf]*)
2673 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2676 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2677 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2680 # Do 'set' in a subshell so we don't clobber the current shell's
2681 # arguments. Must try -L first in case configure is actually a
2682 # symlink; some systems play weird games with the mod time of symlinks
2683 # (eg FreeBSD returns the mod time of the symlink's containing
2687 for am_try
in 1 2; do
2688 echo "timestamp, slept: $am_has_slept" > conftest.
file
2689 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2690 if test "$*" = "X"; then
2692 set X
`ls -t "$srcdir/configure" conftest.file`
2694 if test "$*" != "X $srcdir/configure conftest.file" \
2695 && test "$*" != "X conftest.file $srcdir/configure"; then
2697 # If neither matched, then we have a broken ls. This can happen
2698 # if, for instance, CONFIG_SHELL is bash and it inherits a
2699 # broken ls alias from the environment. This has actually
2700 # happened. Such a system could not be considered "sane".
2701 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2702 alias in your environment" "$LINENO" 5
2704 if test "$2" = conftest.
file || test $am_try -eq 2; then
2711 test "$2" = conftest.
file
2717 as_fn_error $?
"newly created file is older than distributed files!
2718 Check your system clock" "$LINENO" 5
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2721 $as_echo "yes" >&6; }
2722 # If we didn't sleep, we still need to ensure time stamps of config.status and
2723 # generated files are strictly newer.
2725 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2732 test "$program_prefix" != NONE
&&
2733 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2734 # Use a double $ so make ignores it.
2735 test "$program_suffix" != NONE
&&
2736 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2737 # Double any \ or $.
2738 # By default was `s,x,x', remove it if useless.
2739 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2740 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2742 # Expand $ac_aux_dir to an absolute path.
2743 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2745 if test x
"${MISSING+set}" != xset
; then
2748 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2750 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2753 # Use eval to expand $SHELL
2754 if eval "$MISSING --is-lightweight"; then
2755 am_missing_run
="$MISSING "
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2759 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2762 if test x
"${install_sh+set}" != xset
; then
2765 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2767 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2771 # Installed binaries are usually stripped using 'strip' when the user
2772 # run "make install-strip". However 'strip' might not be the right
2773 # tool to use in cross-compilation environments, therefore Automake
2774 # will honor the 'STRIP' environment variable to overrule this program.
2775 if test "$cross_compiling" != no
; then
2776 if test -n "$ac_tool_prefix"; then
2777 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2778 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if ${ac_cv_prog_STRIP+:} false
; then :
2782 $as_echo_n "(cached) " >&6
2784 if test -n "$STRIP"; then
2785 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2791 test -z "$as_dir" && as_dir
=.
2792 for ac_exec_ext
in '' $ac_executable_extensions; do
2793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2794 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 STRIP
=$ac_cv_prog_STRIP
2805 if test -n "$STRIP"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2807 $as_echo "$STRIP" >&6; }
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2810 $as_echo "no" >&6; }
2815 if test -z "$ac_cv_prog_STRIP"; then
2817 # Extract the first word of "strip", so it can be a program name with args.
2818 set dummy strip
; ac_word
=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$ac_ct_STRIP"; then
2825 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir
=.
2832 for ac_exec_ext
in '' $ac_executable_extensions; do
2833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2834 ac_cv_prog_ac_ct_STRIP
="strip"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2845 if test -n "$ac_ct_STRIP"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2847 $as_echo "$ac_ct_STRIP" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2853 if test "x$ac_ct_STRIP" = x
; then
2856 case $cross_compiling:$ac_tool_warned in
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2860 ac_tool_warned
=yes ;;
2865 STRIP
="$ac_cv_prog_STRIP"
2869 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2872 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2873 if test -z "$MKDIR_P"; then
2874 if ${ac_cv_path_mkdir+:} false
; then :
2875 $as_echo_n "(cached) " >&6
2877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2878 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2881 test -z "$as_dir" && as_dir
=.
2882 for ac_prog
in mkdir gmkdir
; do
2883 for ac_exec_ext
in '' $ac_executable_extensions; do
2884 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" || continue
2885 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2886 'mkdir (GNU coreutils) '* | \
2887 'mkdir (coreutils) '* | \
2888 'mkdir (fileutils) '4.1*)
2889 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2899 test -d .
/--version && rmdir .
/--version
2900 if test "${ac_cv_path_mkdir+set}" = set; then
2901 MKDIR_P
="$ac_cv_path_mkdir -p"
2903 # As a last resort, use the slow shell script. Don't cache a
2904 # value for MKDIR_P within a source directory, because that will
2905 # break other packages using the cache if that directory is
2906 # removed, or if the value is a relative name.
2907 MKDIR_P
="$ac_install_sh -d"
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2911 $as_echo "$MKDIR_P" >&6; }
2913 for ac_prog
in gawk mawk nawk
awk
2915 # Extract the first word of "$ac_prog", so it can be a program name with args.
2916 set dummy
$ac_prog; ac_word
=$2
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918 $as_echo_n "checking for $ac_word... " >&6; }
2919 if ${ac_cv_prog_AWK+:} false
; then :
2920 $as_echo_n "(cached) " >&6
2922 if test -n "$AWK"; then
2923 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir
=.
2930 for ac_exec_ext
in '' $ac_executable_extensions; do
2931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2932 ac_cv_prog_AWK
="$ac_prog"
2933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 if test -n "$AWK"; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2945 $as_echo "$AWK" >&6; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948 $as_echo "no" >&6; }
2952 test -n "$AWK" && break
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2956 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2958 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2959 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2960 $as_echo_n "(cached) " >&6
2962 cat >conftest.
make <<\_ACEOF
2965 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2967 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2968 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2970 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2972 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2976 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978 $as_echo "yes" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2983 SET_MAKE
="MAKE=${MAKE-make}"
2986 rm -rf .tst
2>/dev
/null
2987 mkdir .tst
2>/dev
/null
2988 if test -d .tst
; then
2993 rmdir .tst
2>/dev
/null
2995 # Check whether --enable-silent-rules was given.
2996 if test "${enable_silent_rules+set}" = set; then :
2997 enableval
=$enable_silent_rules;
3000 case $enable_silent_rules in # (((
3001 yes) AM_DEFAULT_VERBOSITY
=0;;
3002 no
) AM_DEFAULT_VERBOSITY
=1;;
3003 *) AM_DEFAULT_VERBOSITY
=1;;
3005 am_make
=${MAKE-make}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3007 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3008 if ${am_cv_make_support_nested_variables+:} false
; then :
3009 $as_echo_n "(cached) " >&6
3011 if $as_echo 'TRUE=$(BAR$(V))
3017 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3018 am_cv_make_support_nested_variables
=yes
3020 am_cv_make_support_nested_variables
=no
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3024 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3025 if test $am_cv_make_support_nested_variables = yes; then
3027 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3029 AM_V
=$AM_DEFAULT_VERBOSITY
3030 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3034 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3035 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3036 # is not polluted with repeated "-I."
3037 am__isrc
=' -I$(srcdir)'
3038 # test to see if srcdir already configured
3039 if test -f $srcdir/config.status
; then
3040 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3044 # test whether we have cygpath
3045 if test -z "$CYGPATH_W"; then
3046 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3047 CYGPATH_W
='cygpath -w'
3054 # Define the identity of the package.
3059 cat >>confdefs.h
<<_ACEOF
3060 #define PACKAGE "$PACKAGE"
3064 cat >>confdefs.h
<<_ACEOF
3065 #define VERSION "$VERSION"
3068 # Some tools Automake needs.
3070 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3073 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3076 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3079 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3082 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3084 # For better backward compatibility. To be removed once Automake 1.9.x
3085 # dies out for good. For more background, see:
3086 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3087 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3088 mkdir_p
='$(MKDIR_P)'
3090 # We need awk for the "check" target (and possibly the TAP driver). The
3091 # system "awk" is bad on some platforms.
3092 # Always define AMTAR for backward compatibility. Yes, it's still used
3093 # in the wild :-( We should find a proper way to deprecate it ...
3097 # We'll loop over all known methods to create a tar archive until one works.
3098 _am_tools
='gnutar pax cpio none'
3100 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3107 # POSIX will say in a future version that running "rm -f" with no argument
3108 # is OK; and we want to be able to make that assumption in our Makefile
3109 # recipes. So use an aggressive probe to check that the usage we want is
3110 # actually supported "in the wild" to an acceptable degree.
3111 # See automake bug#10828.
3112 # To make any issue more visible, cause the running configure to be aborted
3113 # by default if the 'rm' program in use doesn't match our expectations; the
3114 # user can still override this though.
3115 if rm -f && rm -fr && rm -rf; then : OK
; else
3119 Your 'rm' program seems unable to run without file operands specified
3120 on the command line, even when the '-f' option is present. This is contrary
3121 to the behaviour of most rm programs out there, and not conforming with
3122 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3124 Please tell bug-automake@gnu.org about your system, including the value
3125 of your $PATH and any error possibly output before this message. This
3126 can help us improve future automake versions.
3129 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3130 echo 'Configuration will proceed anyway, since you have set the' >&2
3131 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3135 Aborting the configuration process, to ensure you take notice of the issue.
3137 You can download and install GNU coreutils to get an 'rm' implementation
3138 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3140 If you want to complete the configuration process using your problematic
3141 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3142 to "yes", and re-run configure.
3145 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3151 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3152 # Check whether --enable-maintainer-mode was given.
3153 if test "${enable_maintainer_mode+set}" = set; then :
3154 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3156 USE_MAINTAINER_MODE
=no
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3160 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3161 if test $USE_MAINTAINER_MODE = yes; then
3162 MAINTAINER_MODE_TRUE
=
3163 MAINTAINER_MODE_FALSE
='#'
3165 MAINTAINER_MODE_TRUE
='#'
3166 MAINTAINER_MODE_FALSE
=
3169 MAINT
=$MAINTAINER_MODE_TRUE
3174 ac_cpp
='$CPP $CPPFLAGS'
3175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3178 if test -n "$ac_tool_prefix"; then
3179 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3180 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3182 $as_echo_n "checking for $ac_word... " >&6; }
3183 if ${ac_cv_prog_CC+:} false
; then :
3184 $as_echo_n "(cached) " >&6
3186 if test -n "$CC"; then
3187 ac_cv_prog_CC
="$CC" # Let the user override the test.
3189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3193 test -z "$as_dir" && as_dir
=.
3194 for ac_exec_ext
in '' $ac_executable_extensions; do
3195 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3196 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 if test -n "$CC"; then
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3209 $as_echo "$CC" >&6; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3212 $as_echo "no" >&6; }
3217 if test -z "$ac_cv_prog_CC"; then
3219 # Extract the first word of "gcc", so it can be a program name with args.
3220 set dummy gcc
; ac_word
=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3224 $as_echo_n "(cached) " >&6
3226 if test -n "$ac_ct_CC"; then
3227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir
=.
3234 for ac_exec_ext
in '' $ac_executable_extensions; do
3235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3236 ac_cv_prog_ac_ct_CC
="gcc"
3237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3247 if test -n "$ac_ct_CC"; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3249 $as_echo "$ac_ct_CC" >&6; }
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3255 if test "x$ac_ct_CC" = x
; then
3258 case $cross_compiling:$ac_tool_warned in
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3262 ac_tool_warned
=yes ;;
3270 if test -z "$CC"; then
3271 if test -n "$ac_tool_prefix"; then
3272 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3273 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3275 $as_echo_n "checking for $ac_word... " >&6; }
3276 if ${ac_cv_prog_CC+:} false
; then :
3277 $as_echo_n "(cached) " >&6
3279 if test -n "$CC"; then
3280 ac_cv_prog_CC
="$CC" # Let the user override the test.
3282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3286 test -z "$as_dir" && as_dir
=.
3287 for ac_exec_ext
in '' $ac_executable_extensions; do
3288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3289 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 if test -n "$CC"; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3302 $as_echo "$CC" >&6; }
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 $as_echo "no" >&6; }
3311 if test -z "$CC"; then
3312 # Extract the first word of "cc", so it can be a program name with args.
3313 set dummy cc
; ac_word
=$2
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315 $as_echo_n "checking for $ac_word... " >&6; }
3316 if ${ac_cv_prog_CC+:} false
; then :
3317 $as_echo_n "(cached) " >&6
3319 if test -n "$CC"; then
3320 ac_cv_prog_CC
="$CC" # Let the user override the test.
3323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3327 test -z "$as_dir" && as_dir
=.
3328 for ac_exec_ext
in '' $ac_executable_extensions; do
3329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3330 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3331 ac_prog_rejected
=yes
3335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 if test $ac_prog_rejected = yes; then
3343 # We found a bogon in the path, so make sure we never use it.
3344 set dummy
$ac_cv_prog_CC
3346 if test $# != 0; then
3347 # We chose a different compiler from the bogus one.
3348 # However, it has the same basename, so the bogon will be chosen
3349 # first if we set CC to just the basename; use the full file name.
3351 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3357 if test -n "$CC"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3359 $as_echo "$CC" >&6; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3367 if test -z "$CC"; then
3368 if test -n "$ac_tool_prefix"; then
3369 for ac_prog
in cl.exe
3371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3372 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3374 $as_echo_n "checking for $ac_word... " >&6; }
3375 if ${ac_cv_prog_CC+:} false
; then :
3376 $as_echo_n "(cached) " >&6
3378 if test -n "$CC"; then
3379 ac_cv_prog_CC
="$CC" # Let the user override the test.
3381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3385 test -z "$as_dir" && as_dir
=.
3386 for ac_exec_ext
in '' $ac_executable_extensions; do
3387 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3388 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3399 if test -n "$CC"; then
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3401 $as_echo "$CC" >&6; }
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 $as_echo "no" >&6; }
3408 test -n "$CC" && break
3411 if test -z "$CC"; then
3413 for ac_prog
in cl.exe
3415 # Extract the first word of "$ac_prog", so it can be a program name with args.
3416 set dummy
$ac_prog; ac_word
=$2
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3418 $as_echo_n "checking for $ac_word... " >&6; }
3419 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3420 $as_echo_n "(cached) " >&6
3422 if test -n "$ac_ct_CC"; then
3423 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3429 test -z "$as_dir" && as_dir
=.
3430 for ac_exec_ext
in '' $ac_executable_extensions; do
3431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3432 ac_cv_prog_ac_ct_CC
="$ac_prog"
3433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3443 if test -n "$ac_ct_CC"; then
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3445 $as_echo "$ac_ct_CC" >&6; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448 $as_echo "no" >&6; }
3452 test -n "$ac_ct_CC" && break
3455 if test "x$ac_ct_CC" = x
; then
3458 case $cross_compiling:$ac_tool_warned in
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3462 ac_tool_warned
=yes ;;
3471 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error $?
"no acceptable C compiler found in \$PATH
3474 See \`config.log' for more details" "$LINENO" 5; }
3476 # Provide some information about the compiler.
3477 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3480 for ac_option
in --version -v -V -qversion; do
3481 { { ac_try
="$ac_compiler $ac_option >&5"
3483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3487 $as_echo "$ac_try_echo"; } >&5
3488 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3490 if test -s conftest.err; then
3492 ... rest of stderr output deleted ...
3493 10q' conftest.err >conftest.er1
3494 cat conftest.er1 >&5
3496 rm -f conftest.er1 conftest.err
3497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498 test $ac_status = 0; }
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3512 ac_clean_files_save=$ac_clean_files
3513 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3514 # Try to create an executable without -o first, disregard a.out.
3515 # It will help us diagnose broken compilers, and finding out an intuition
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3518 $as_echo_n "checking whether the C compiler works... " >&6; }
3519 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3521 # The possible output files:
3522 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3525 for ac_file in $ac_files
3528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3529 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3534 if { { ac_try="$ac_link_default"
3536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3537 *) ac_try_echo
=$ac_try;;
3539 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3540 $as_echo "$ac_try_echo"; } >&5
3541 (eval "$ac_link_default") 2>&5
3543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3544 test $ac_status = 0; }; then :
3545 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3546 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3547 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3548 # so that the user can short-circuit this test for compilers unknown to
3550 for ac_file
in $ac_files ''
3552 test -f "$ac_file" || continue
3554 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3557 # We found the default executable, but exeext='' is most
3561 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3563 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3565 # We set ac_cv_exeext here because the later test for it is not
3566 # safe: cross compilers may not add the suffix if given an `-o'
3567 # argument, so we may need to know it at that point already.
3568 # Even if this section looks crufty: it has the advantage of
3575 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3580 if test -z "$ac_file"; then :
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3582 $as_echo "no" >&6; }
3583 $as_echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.
$ac_ext >&5
3586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3588 as_fn_error
77 "C compiler cannot create executables
3589 See \`config.log' for more details" "$LINENO" 5; }
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3592 $as_echo "yes" >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3595 $as_echo_n "checking for C compiler default output file name... " >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3597 $as_echo "$ac_file" >&6; }
3598 ac_exeext
=$ac_cv_exeext
3600 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3601 ac_clean_files
=$ac_clean_files_save
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3603 $as_echo_n "checking for suffix of executables... " >&6; }
3604 if { { ac_try
="$ac_link"
3606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3607 *) ac_try_echo=$ac_try;;
3609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610 $as_echo "$ac_try_echo"; } >&5
3611 (eval "$ac_link") 2>&5
3613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614 test $ac_status = 0; }; then :
3615 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3616 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3617 # work properly (i.e., refer to `conftest.exe'), while it won't with
3619 for ac_file
in conftest.exe conftest conftest.
*; do
3620 test -f "$ac_file" || continue
3622 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3623 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3632 See \`config.log' for more details" "$LINENO" 5; }
3634 rm -f conftest conftest
$ac_cv_exeext
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3636 $as_echo "$ac_cv_exeext" >&6; }
3638 rm -f conftest.
$ac_ext
3639 EXEEXT
=$ac_cv_exeext
3641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3647 FILE *f = fopen ("conftest.out", "w");
3648 return ferror (f) || fclose (f) != 0;
3654 ac_clean_files
="$ac_clean_files conftest.out"
3655 # Check that the compiler produces executables we can run. If not, either
3656 # the compiler is broken, or we cross compile.
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3658 $as_echo_n "checking whether we are cross compiling... " >&6; }
3659 if test "$cross_compiling" != yes; then
3660 { { ac_try
="$ac_link"
3662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3663 *) ac_try_echo=$ac_try;;
3665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3666 $as_echo "$ac_try_echo"; } >&5
3667 (eval "$ac_link") 2>&5
3669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3670 test $ac_status = 0; }
3671 if { ac_try='./conftest$ac_cv_exeext'
3672 { { case "(($ac_try" in
3673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3674 *) ac_try_echo
=$ac_try;;
3676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3677 $as_echo "$ac_try_echo"; } >&5
3678 (eval "$ac_try") 2>&5
3680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3681 test $ac_status = 0; }; }; then
3684 if test "$cross_compiling" = maybe
; then
3687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3689 as_fn_error $?
"cannot run C compiled programs.
3690 If you meant to cross compile, use \`--host'.
3691 See \`config.log' for more details" "$LINENO" 5; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3696 $as_echo "$cross_compiling" >&6; }
3698 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3699 ac_clean_files
=$ac_clean_files_save
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3701 $as_echo_n "checking for suffix of object files... " >&6; }
3702 if ${ac_cv_objext+:} false
; then :
3703 $as_echo_n "(cached) " >&6
3705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3716 rm -f conftest.o conftest.obj
3717 if { { ac_try
="$ac_compile"
3719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3720 *) ac_try_echo=$ac_try;;
3722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3723 $as_echo "$ac_try_echo"; } >&5
3724 (eval "$ac_compile") 2>&5
3726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3727 test $ac_status = 0; }; then :
3728 for ac_file in conftest.o conftest.obj conftest.*; do
3729 test -f "$ac_file" || continue;
3731 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3732 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3737 $as_echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3742 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3743 See \
`config.log' for more details" "$LINENO" 5; }
3745 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3748 $as_echo "$ac_cv_objext" >&6; }
3749 OBJEXT=$ac_cv_objext
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3752 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3753 if ${ac_cv_c_compiler_gnu+:} false; then :
3754 $as_echo_n "(cached) " >&6
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3770 if ac_fn_c_try_compile "$LINENO"; then :
3775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3776 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3780 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3781 if test $ac_compiler_gnu = yes; then
3786 ac_test_CFLAGS=${CFLAGS+set}
3787 ac_save_CFLAGS=$CFLAGS
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3789 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3790 if ${ac_cv_prog_cc_g+:} false; then :
3791 $as_echo_n "(cached) " >&6
3793 ac_save_c_werror_flag=$ac_c_werror_flag
3794 ac_c_werror_flag=yes
3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3808 if ac_fn_c_try_compile "$LINENO"; then :
3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3823 if ac_fn_c_try_compile "$LINENO"; then :
3826 ac_c_werror_flag=$ac_save_c_werror_flag
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3839 if ac_fn_c_try_compile "$LINENO"; then :
3842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 ac_c_werror_flag=$ac_save_c_werror_flag
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3850 $as_echo "$ac_cv_prog_cc_g" >&6; }
3851 if test "$ac_test_CFLAGS" = set; then
3852 CFLAGS=$ac_save_CFLAGS
3853 elif test $ac_cv_prog_cc_g = yes; then
3854 if test "$GCC" = yes; then
3860 if test "$GCC" = yes; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3867 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3868 if ${ac_cv_prog_cc_c89+:} false; then :
3869 $as_echo_n "(cached) " >&6
3871 ac_cv_prog_cc_c89=no
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3878 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3879 struct buf { int x; };
3880 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3881 static char *e (p, i)
3887 static char *f (char * (*g) (char **, int), char **p, ...)
3892 s = g (p, va_arg (v,int));
3897 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3898 function prototypes and stuff, but not '\xHH' hex character constants.
3899 These don't provoke an error unfortunately, instead are silently treated
3900 as 'x'. The following induces an error, until -std is added to get
3901 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3902 array size at least. It's necessary to write '\x00'==0 to get something
3903 that's true only with -std. */
3904 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3906 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3907 inside strings and character constants. */
3909 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3911 int test (int i, double x);
3912 struct s1 {int (*f) (int a);};
3913 struct s2 {int (*f) (double a);};
3914 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3920 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3925 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3926 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3928 CC="$ac_save_CC $ac_arg"
3929 if ac_fn_c_try_compile "$LINENO"; then :
3930 ac_cv_prog_cc_c89=$ac_arg
3932 rm -f core conftest.err conftest.$ac_objext
3933 test "x$ac_cv_prog_cc_c89" != "xno" && break
3935 rm -f conftest.$ac_ext
3940 case "x$ac_cv_prog_cc_c89" in
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3943 $as_echo "none needed" >&6; } ;;
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3946 $as_echo "unsupported" >&6; } ;;
3948 CC="$CC $ac_cv_prog_cc_c89"
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3950 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3952 if test "x$ac_cv_prog_cc_c89" != xno; then :
3957 ac_cpp='$CPP $CPPFLAGS'
3958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3963 ac_cpp='$CPP $CPPFLAGS'
3964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3968 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3969 if ${am_cv_prog_cc_c_o+:} false; then :
3970 $as_echo_n "(cached) " >&6
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3983 # Make sure it works both with $CC and with simple cc.
3984 # Following AC_PROG_CC_C_O, we do the test twice because some
3985 # compilers refuse to overwrite an existing .o file with -o,
3986 # though they will create one.
3987 am_cv_prog_cc_c_o=yes
3989 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3990 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); } \
3994 && test -f conftest2.$ac_objext; then
3997 am_cv_prog_cc_c_o=no
4001 rm -f core conftest*
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4005 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4006 if test "$am_cv_prog_cc_c_o" != yes; then
4007 # Losing compiler, so override with the script.
4008 # FIXME: It is wrong to rewrite CC.
4009 # But if we don't then we get into trouble of one sort or another.
4010 # A longer-term fix would be to have automake use am__CC in this case,
4011 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4012 CC="$am_aux_dir/compile $CC"
4015 ac_cpp='$CPP $CPPFLAGS'
4016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4020 DEPDIR="${am__leading_dot}deps"
4022 ac_config_commands="$ac_config_commands depfiles"
4025 am_make=${MAKE-make}
4026 cat > confinc << 'END'
4028 @echo this is the am__doit target
4031 # If we don't find an include directive, just comment out the code.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4033 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4037 # First try GNU make style include.
4038 echo "include confinc" > confmf
4039 # Ignore all kinds of additional output from 'make'.
4040 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4041 *the\ am__doit\ target*)
4047 # Now try BSD make style include.
4048 if test "$am__include" = "#"; then
4049 echo '.include "confinc"' > confmf
4050 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4051 *the\ am__doit\ target*)
4052 am__include=.include
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4061 $as_echo "$_am_result" >&6; }
4062 rm -f confinc confmf
4064 # Check whether --enable-dependency-tracking was given.
4065 if test "${enable_dependency_tracking+set}" = set; then :
4066 enableval=$enable_dependency_tracking;
4069 if test "x$enable_dependency_tracking" != xno; then
4070 am_depcomp="$ac_aux_dir/depcomp"
4074 if test "x$enable_dependency_tracking" != xno; then
4084 depcc="$CC" am_compiler_list=
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4087 $as_echo_n "checking dependency style of $depcc... " >&6; }
4088 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4089 $as_echo_n "(cached) " >&6
4091 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4092 # We make a subdir and do the tests there. Otherwise we can end up
4093 # making bogus files that we don't know about and never remove. For
4094 # instance it was reported that on HP-UX the gcc test will end up
4095 # making a dummy file named 'D' -- because '-MD' means "put the output
4099 # Copy depcomp to subdir because otherwise we won't find it if we're
4100 # using a relative directory.
4101 cp "$am_depcomp" conftest.dir
4103 # We will build objects and dependencies in a subdirectory because
4104 # it helps to detect inapplicable dependency modes. For instance
4105 # both Tru64's cc and ICC support -MD to output dependencies as a
4106 # side effect of compilation, but ICC will put the dependencies in
4107 # the current directory while Tru64 will put them in the object
4111 am_cv_CC_dependencies_compiler_type=none
4112 if test "$am_compiler_list" = ""; then
4113 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4116 case " $depcc " in #(
4117 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4120 for depmode in $am_compiler_list; do
4121 # Setup a source with many dependencies, because some compilers
4122 # like to wrap large dependency lists on column 80 (with \), and
4123 # we should not choose a depcomp mode which is confused by this.
4125 # We need to recreate these files for each test, as the compiler may
4126 # overwrite some of them when testing with obscure command lines.
4127 # This happens at least with the AIX C compiler.
4129 for i in 1 2 3 4 5 6; do
4130 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4131 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4132 # Solaris 10 /bin/sh.
4133 echo '/* dummy */' > sub/conftst$i.h
4135 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4137 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4138 # mode. It turns out that the SunPro C++ compiler does not properly
4139 # handle '-M -o', and we need to detect this. Also, some Intel
4140 # versions had trouble with output in subdirs.
4141 am__obj=sub/conftest.${OBJEXT-o}
4142 am__minus_obj="-o $am__obj"
4145 # This depmode causes a compiler race in universal mode.
4146 test "$am__universal" = false || continue
4149 # After this tag, mechanisms are not by side-effect, so they'll
4150 # only be used when explicitly requested.
4151 if test "x$enable_dependency_tracking" = xyes; then
4157 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4158 # This compiler won't grok '-c -o', but also, the minuso test has
4159 # not run yet. These depmodes are late enough in the game, and
4160 # so weak that their functioning should not be impacted.
4161 am__obj=conftest.${OBJEXT-o}
4166 if depmode=$depmode \
4167 source=sub/conftest.c object=$am__obj \
4168 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4169 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4170 >/dev/null 2>conftest.err &&
4171 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4172 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4173 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4174 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4175 # icc doesn't choke on unknown options, it will just issue warnings
4176 # or remarks (even with -Werror). So we grep stderr for any message
4177 # that says an option was ignored or not supported.
4178 # When given -MP, icc 7.0 and 7.1 complain thusly:
4179 # icc: Command line warning: ignoring option '-M'; no argument required
4180 # The diagnosis changed in icc 8.0:
4181 # icc: Command line remark: option '-MP' not supported
4182 if (grep 'ignoring option' conftest.err ||
4183 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4184 am_cv_CC_dependencies_compiler_type=$depmode
4193 am_cv_CC_dependencies_compiler_type=none
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4198 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4199 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4202 test "x$enable_dependency_tracking" != xno \
4203 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4205 am__fastdepCC_FALSE='#'
4207 am__fastdepCC_TRUE='#'
4208 am__fastdepCC_FALSE=
4213 ac_cpp='$CXXCPP $CPPFLAGS'
4214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4217 if test -z "$CXX"; then
4218 if test -n "$CCC"; then
4221 if test -n "$ac_tool_prefix"; then
4222 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if ${ac_cv_prog_CXX+:} false; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -n "$CXX"; then
4232 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir=.
4239 for ac_exec_ext in '' $ac_executable_extensions; do
4240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4241 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 if test -n "$CXX"; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4254 $as_echo "$CXX" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4261 test -n "$CXX" && break
4264 if test -z "$CXX"; then
4266 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4268 # Extract the first word of "$ac_prog", so it can be a program name with args.
4269 set dummy $ac_prog; ac_word=$2
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4271 $as_echo_n "checking for $ac_word... " >&6; }
4272 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4273 $as_echo_n "(cached) " >&6
4275 if test -n "$ac_ct_CXX"; then
4276 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_ac_ct_CXX="$ac_prog"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4296 if test -n "$ac_ct_CXX"; then
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4298 $as_echo "$ac_ct_CXX" >&6; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4301 $as_echo "no" >&6; }
4305 test -n "$ac_ct_CXX" && break
4308 if test "x$ac_ct_CXX" = x; then
4311 case $cross_compiling:$ac_tool_warned in
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4315 ac_tool_warned=yes ;;
4323 # Provide some information about the compiler.
4324 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4327 for ac_option in --version -v -V -qversion; do
4328 { { ac_try="$ac_compiler $ac_option >&5"
4330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4331 *) ac_try_echo
=$ac_try;;
4333 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4334 $as_echo "$ac_try_echo"; } >&5
4335 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4337 if test -s conftest.err
; then
4339 ... rest of stderr output deleted ...
4340 10q' conftest.err
>conftest.er1
4341 cat conftest.er1
>&5
4343 rm -f conftest.er1 conftest.err
4344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4345 test $ac_status = 0; }
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4349 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4350 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4351 $as_echo_n "(cached) " >&6
4353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4367 if ac_fn_cxx_try_compile
"$LINENO"; then :
4372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4373 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4377 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4378 if test $ac_compiler_gnu = yes; then
4383 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4384 ac_save_CXXFLAGS
=$CXXFLAGS
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4386 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4387 if ${ac_cv_prog_cxx_g+:} false
; then :
4388 $as_echo_n "(cached) " >&6
4390 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4391 ac_cxx_werror_flag
=yes
4394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4405 if ac_fn_cxx_try_compile
"$LINENO"; then :
4406 ac_cv_prog_cxx_g
=yes
4409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4420 if ac_fn_cxx_try_compile
"$LINENO"; then :
4423 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h. */
4436 if ac_fn_cxx_try_compile
"$LINENO"; then :
4437 ac_cv_prog_cxx_g
=yes
4439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4444 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4447 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4448 if test "$ac_test_CXXFLAGS" = set; then
4449 CXXFLAGS
=$ac_save_CXXFLAGS
4450 elif test $ac_cv_prog_cxx_g = yes; then
4451 if test "$GXX" = yes; then
4457 if test "$GXX" = yes; then
4464 ac_cpp
='$CPP $CPPFLAGS'
4465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4469 depcc
="$CXX" am_compiler_list
=
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4472 $as_echo_n "checking dependency style of $depcc... " >&6; }
4473 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4474 $as_echo_n "(cached) " >&6
4476 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4477 # We make a subdir and do the tests there. Otherwise we can end up
4478 # making bogus files that we don't know about and never remove. For
4479 # instance it was reported that on HP-UX the gcc test will end up
4480 # making a dummy file named 'D' -- because '-MD' means "put the output
4484 # Copy depcomp to subdir because otherwise we won't find it if we're
4485 # using a relative directory.
4486 cp "$am_depcomp" conftest.dir
4488 # We will build objects and dependencies in a subdirectory because
4489 # it helps to detect inapplicable dependency modes. For instance
4490 # both Tru64's cc and ICC support -MD to output dependencies as a
4491 # side effect of compilation, but ICC will put the dependencies in
4492 # the current directory while Tru64 will put them in the object
4496 am_cv_CXX_dependencies_compiler_type
=none
4497 if test "$am_compiler_list" = ""; then
4498 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4501 case " $depcc " in #(
4502 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4505 for depmode
in $am_compiler_list; do
4506 # Setup a source with many dependencies, because some compilers
4507 # like to wrap large dependency lists on column 80 (with \), and
4508 # we should not choose a depcomp mode which is confused by this.
4510 # We need to recreate these files for each test, as the compiler may
4511 # overwrite some of them when testing with obscure command lines.
4512 # This happens at least with the AIX C compiler.
4514 for i
in 1 2 3 4 5 6; do
4515 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4516 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4517 # Solaris 10 /bin/sh.
4518 echo '/* dummy */' > sub
/conftst
$i.h
4520 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4522 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4523 # mode. It turns out that the SunPro C++ compiler does not properly
4524 # handle '-M -o', and we need to detect this. Also, some Intel
4525 # versions had trouble with output in subdirs.
4526 am__obj
=sub
/conftest.
${OBJEXT-o}
4527 am__minus_obj
="-o $am__obj"
4530 # This depmode causes a compiler race in universal mode.
4531 test "$am__universal" = false
|| continue
4534 # After this tag, mechanisms are not by side-effect, so they'll
4535 # only be used when explicitly requested.
4536 if test "x$enable_dependency_tracking" = xyes
; then
4542 msvc7
| msvc7msys
| msvisualcpp
| msvcmsys
)
4543 # This compiler won't grok '-c -o', but also, the minuso test has
4544 # not run yet. These depmodes are late enough in the game, and
4545 # so weak that their functioning should not be impacted.
4546 am__obj
=conftest.
${OBJEXT-o}
4551 if depmode
=$depmode \
4552 source=sub
/conftest.c object
=$am__obj \
4553 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4554 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4555 >/dev
/null
2>conftest.err
&&
4556 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4557 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4558 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4559 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4560 # icc doesn't choke on unknown options, it will just issue warnings
4561 # or remarks (even with -Werror). So we grep stderr for any message
4562 # that says an option was ignored or not supported.
4563 # When given -MP, icc 7.0 and 7.1 complain thusly:
4564 # icc: Command line warning: ignoring option '-M'; no argument required
4565 # The diagnosis changed in icc 8.0:
4566 # icc: Command line remark: option '-MP' not supported
4567 if (grep 'ignoring option' conftest.err
||
4568 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4569 am_cv_CXX_dependencies_compiler_type
=$depmode
4578 am_cv_CXX_dependencies_compiler_type
=none
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4583 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4584 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4587 test "x$enable_dependency_tracking" != xno \
4588 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4589 am__fastdepCXX_TRUE
=
4590 am__fastdepCXX_FALSE
='#'
4592 am__fastdepCXX_TRUE
='#'
4593 am__fastdepCXX_FALSE
=
4598 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
4599 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
4602 if test -n "$ac_tool_prefix"; then
4603 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4606 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if ${ac_cv_prog_OBJCXX+:} false
; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -n "$OBJCXX"; then
4613 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir
=.
4620 for ac_exec_ext
in '' $ac_executable_extensions; do
4621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 OBJCXX
=$ac_cv_prog_OBJCXX
4633 if test -n "$OBJCXX"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
4635 $as_echo "$OBJCXX" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4642 test -n "$OBJCXX" && break
4645 if test -z "$OBJCXX"; then
4646 ac_ct_OBJCXX
=$OBJCXX
4647 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy
$ac_prog; ac_word
=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_ac_ct_OBJCXX+:} false
; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -n "$ac_ct_OBJCXX"; then
4657 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
4677 if test -n "$ac_ct_OBJCXX"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
4679 $as_echo "$ac_ct_OBJCXX" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 test -n "$ac_ct_OBJCXX" && break
4689 if test "x$ac_ct_OBJCXX" = x
; then
4692 case $cross_compiling:$ac_tool_warned in
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned
=yes ;;
4698 OBJCXX
=$ac_ct_OBJCXX
4702 # Provide some information about the compiler.
4703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
4706 for ac_option
in --version -v -V -qversion; do
4707 { { ac_try
="$ac_compiler $ac_option >&5"
4709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4710 *) ac_try_echo=$ac_try;;
4712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4713 $as_echo "$ac_try_echo"; } >&5
4714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4716 if test -s conftest.err; then
4718 ... rest of stderr output deleted ...
4719 10q' conftest.err >conftest.er1
4720 cat conftest.er1 >&5
4722 rm -f conftest.er1 conftest.err
4723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4724 test $ac_status = 0; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
4728 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
4729 if ${ac_cv_objcxx_compiler_gnu+:} false; then :
4730 $as_echo_n "(cached) " >&6
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4746 if ac_fn_objcxx_try_compile "$LINENO"; then :
4751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4752 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
4756 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
4757 if test $ac_compiler_gnu = yes; then
4762 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
4763 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
4765 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
4766 if ${ac_cv_prog_objcxx_g+:} false; then :
4767 $as_echo_n "(cached) " >&6
4769 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
4770 ac_objcxx_werror_flag=yes
4771 ac_cv_prog_objcxx_g=no
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4784 if ac_fn_objcxx_try_compile "$LINENO"; then :
4785 ac_cv_prog_objcxx_g=yes
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4799 if ac_fn_objcxx_try_compile "$LINENO"; then :
4802 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4815 if ac_fn_objcxx_try_compile "$LINENO"; then :
4816 ac_cv_prog_objcxx_g=yes
4818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
4826 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
4827 if test "$ac_test_OBJCXXFLAGS" = set; then
4828 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
4829 elif test $ac_cv_prog_objcxx_g = yes; then
4830 if test "$GOBJCXX" = yes; then
4831 OBJCXXFLAGS="-g -O2"
4836 if test "$GOBJCXX" = yes; then
4843 ac_cpp='$CPP $CPPFLAGS'
4844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4848 depcc="$OBJCXX" am_compiler_list='gcc3 gcc'
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4851 $as_echo_n "checking dependency style of $depcc... " >&6; }
4852 if ${am_cv_OBJCXX_dependencies_compiler_type+:} false; then :
4853 $as_echo_n "(cached) " >&6
4855 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4856 # We make a subdir and do the tests there. Otherwise we can end up
4857 # making bogus files that we don't know about and never remove. For
4858 # instance it was reported that on HP-UX the gcc test will end up
4859 # making a dummy file named 'D' -- because '-MD' means "put the output
4863 # Copy depcomp to subdir because otherwise we won't find it if we're
4864 # using a relative directory.
4865 cp "$am_depcomp" conftest.dir
4867 # We will build objects and dependencies in a subdirectory because
4868 # it helps to detect inapplicable dependency modes. For instance
4869 # both Tru64's cc and ICC support -MD to output dependencies as a
4870 # side effect of compilation, but ICC will put the dependencies in
4871 # the current directory while Tru64 will put them in the object
4875 am_cv_OBJCXX_dependencies_compiler_type=none
4876 if test "$am_compiler_list" = ""; then
4877 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4882 for depmode in $am_compiler_list; do
4883 # Setup a source with many dependencies, because some compilers
4884 # like to wrap large dependency lists on column 80 (with \), and
4885 # we should not choose a depcomp mode which is confused by this.
4887 # We need to recreate these files for each test, as the compiler may
4888 # overwrite some of them when testing with obscure command lines.
4889 # This happens at least with the AIX C compiler.
4891 for i in 1 2 3 4 5 6; do
4892 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4893 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4894 # Solaris 10 /bin/sh.
4895 echo '/* dummy */' > sub/conftst$i.h
4897 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4899 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4900 # mode. It turns out that the SunPro C++ compiler does not properly
4901 # handle '-M -o', and we need to detect this. Also, some Intel
4902 # versions had trouble with output in subdirs.
4903 am__obj=sub/conftest.${OBJEXT-o}
4904 am__minus_obj="-o $am__obj"
4907 # This depmode causes a compiler race in universal mode.
4908 test "$am__universal" = false || continue
4911 # After this tag, mechanisms are not by side-effect, so they'll
4912 # only be used when explicitly requested.
4913 if test "x$enable_dependency_tracking" = xyes; then
4919 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4920 # This compiler won't grok '-c -o', but also, the minuso test has
4921 # not run yet. These depmodes are late enough in the game, and
4922 # so weak that their functioning should not be impacted.
4923 am__obj=conftest.${OBJEXT-o}
4928 if depmode=$depmode \
4929 source=sub/conftest.c object=$am__obj \
4930 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4931 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4932 >/dev/null 2>conftest.err &&
4933 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4934 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4935 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4936 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4937 # icc doesn't choke on unknown options, it will just issue warnings
4938 # or remarks (even with -Werror). So we grep stderr for any message
4939 # that says an option was ignored or not supported.
4940 # When given -MP, icc 7.0 and 7.1 complain thusly:
4941 # icc: Command line warning: ignoring option '-M'; no argument required
4942 # The diagnosis changed in icc 8.0:
4943 # icc: Command line remark: option '-MP' not supported
4944 if (grep 'ignoring option' conftest.err ||
4945 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4946 am_cv_OBJCXX_dependencies_compiler_type=$depmode
4955 am_cv_OBJCXX_dependencies_compiler_type=none
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJCXX_dependencies_compiler_type" >&5
4960 $as_echo "$am_cv_OBJCXX_dependencies_compiler_type" >&6; }
4961 OBJCXXDEPMODE=depmode=$am_cv_OBJCXX_dependencies_compiler_type
4964 test "x$enable_dependency_tracking" != xno \
4965 && test "$am_cv_OBJCXX_dependencies_compiler_type" = gcc3; then
4966 am__fastdepOBJCXX_TRUE=
4967 am__fastdepOBJCXX_FALSE='#'
4969 am__fastdepOBJCXX_TRUE='#'
4970 am__fastdepOBJCXX_FALSE=
4976 if test -n "$ac_tool_prefix"; then
4977 for ac_prog in ar lib "link -lib"
4979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 $as_echo_n "checking for $ac_word... " >&6; }
4983 if ${ac_cv_prog_AR+:} false; then :
4984 $as_echo_n "(cached) " >&6
4986 if test -n "$AR"; then
4987 ac_cv_prog_AR="$AR" # Let the user override the test.
4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 test -z "$as_dir" && as_dir=.
4994 for ac_exec_ext in '' $ac_executable_extensions; do
4995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 if test -n "$AR"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5009 $as_echo "$AR" >&6; }
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5016 test -n "$AR" && break
5019 if test -z "$AR"; then
5021 for ac_prog in ar lib "link -lib"
5023 # Extract the first word of "$ac_prog", so it can be a program name with args.
5024 set dummy $ac_prog; ac_word=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$ac_ct_AR"; then
5031 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_ac_ct_AR="$ac_prog"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5051 if test -n "$ac_ct_AR"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5053 $as_echo "$ac_ct_AR" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 test -n "$ac_ct_AR" && break
5063 if test "x$ac_ct_AR" = x; then
5066 case $cross_compiling:$ac_tool_warned in
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5070 ac_tool_warned=yes ;;
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5079 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5080 if ${am_cv_ar_interface+:} false; then :
5081 $as_echo_n "(cached) " >&6
5084 ac_cpp='$CPP $CPPFLAGS'
5085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5089 am_cv_ar_interface=ar
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091 /* end confdefs.h. */
5092 int some_variable = 0;
5094 if ac_fn_c_try_compile "$LINENO"; then :
5095 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5096 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5097 (eval $am_ar_try) 2>&5
5099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5100 test $ac_status = 0; }
5101 if test "$ac_status" -eq 0; then
5102 am_cv_ar_interface=ar
5104 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5105 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5106 (eval $am_ar_try) 2>&5
5108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5109 test $ac_status = 0; }
5110 if test "$ac_status" -eq 0; then
5111 am_cv_ar_interface=lib
5113 am_cv_ar_interface=unknown
5116 rm -f conftest.lib libconftest.a
5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5121 ac_cpp='$CPP $CPPFLAGS'
5122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5128 $as_echo "$am_cv_ar_interface" >&6; }
5130 case $am_cv_ar_interface in
5134 # Microsoft lib, so override with the ar-lib wrapper script.
5135 # FIXME: It is wrong to rewrite AR.
5136 # But if we don't then we get into trouble of one sort or another.
5137 # A longer-term fix would be to have automake use am__AR in this case,
5138 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5140 AR="$am_aux_dir/ar-lib $AR"
5143 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5152 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5157 macro_version='2.4.6'
5158 macro_revision='2.4.6'
5172 ltmain=$ac_aux_dir/ltmain.sh
5174 # Make sure we can run config.sub.
5175 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5176 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5179 $as_echo_n "checking build system type... " >&6; }
5180 if ${ac_cv_build+:} false; then :
5181 $as_echo_n "(cached) " >&6
5183 ac_build_alias=$build_alias
5184 test "x$ac_build_alias" = x &&
5185 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5186 test "x$ac_build_alias" = x &&
5187 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5188 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5189 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5193 $as_echo "$ac_cv_build" >&6; }
5194 case $ac_cv_build in
5196 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5199 ac_save_IFS=$IFS; IFS='-'
5205 # Remember, the first character of IFS is used to create $*,
5206 # except with old shells:
5209 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5213 $as_echo_n "checking host system type... " >&6; }
5214 if ${ac_cv_host+:} false; then :
5215 $as_echo_n "(cached) " >&6
5217 if test "x$host_alias" = x; then
5218 ac_cv_host=$ac_cv_build
5220 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5221 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5226 $as_echo "$ac_cv_host" >&6; }
5229 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5232 ac_save_IFS=$IFS; IFS='-'
5238 # Remember, the first character of IFS is used to create $*,
5239 # except with old shells:
5242 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5245 # Backslashify metacharacters that are still active within
5246 # double-quoted strings.
5247 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5249 # Same as above, but do not quote variable references.
5250 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5252 # Sed substitution to delay expansion of an escaped shell variable in a
5253 # double_quote_subst'ed string.
5254 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5256 # Sed substitution to delay expansion of an escaped single quote.
5257 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5259 # Sed substitution to avoid accidental globbing in evaled expressions
5260 no_glob_subst='s/\*/\\\*/g'
5262 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5263 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5264 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5267 $as_echo_n "checking how to print
strings...
" >&6; }
5268 # Test print first, because it will be a builtin if present.
5269 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5270 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5272 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5275 # Use this function as a fallback that always works.
5276 func_fallback_echo ()
5278 eval 'cat <<_LTECHO_EOF
5282 ECHO='func_fallback_echo'
5285 # func_echo_all arg...
5286 # Invoke $ECHO with all args, space-separated.
5293 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5294 $as_echo "printf" >&6; } ;;
5295 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5296 $as_echo "print
-r" >&6; } ;;
5297 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5298 $as_echo "cat" >&6; } ;;
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5315 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5316 if ${ac_cv_path_SED+:} false; then :
5317 $as_echo_n "(cached
) " >&6
5319 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5320 for ac_i in 1 2 3 4 5 6 7; do
5321 ac_script="$ac_script$as_nl$ac_script"
5323 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5324 { ac_script=; unset ac_script;}
5325 if test -z "$SED"; then
5326 ac_path_SED_found=false
5327 # Loop through the user's path and test for each of PROGNAME-LIST
5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 test -z "$as_dir" && as_dir=.
5333 for ac_prog in sed gsed; do
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5336 as_fn_executable_p "$ac_path_SED" || continue
5337 # Check for GNU ac_path_SED and select it if it is found.
5338 # Check for GNU $ac_path_SED
5339 case `"$ac_path_SED" --version 2>&1` in
5341 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5344 $as_echo_n 0123456789 >"conftest.
in"
5347 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5348 mv "conftest.tmp
" "conftest.
in"
5349 cp "conftest.
in" "conftest.
nl"
5350 $as_echo '' >> "conftest.
nl"
5351 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5352 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5353 as_fn_arith $ac_count + 1 && ac_count=$as_val
5354 if test $ac_count -gt ${ac_path_SED_max-0}; then
5355 # Best one so far, save it but keep looking for a better one
5356 ac_cv_path_SED="$ac_path_SED"
5357 ac_path_SED_max=$ac_count
5359 # 10*(2^10) chars as input seems more than enough
5360 test $ac_count -gt 10 && break
5362 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5365 $ac_path_SED_found && break 3
5370 if test -z "$ac_cv_path_SED"; then
5371 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5379 $as_echo "$ac_cv_path_SED" >&6; }
5380 SED="$ac_cv_path_SED"
5383 test -z "$SED" && SED=sed
5384 Xsed="$SED -e 1s
/^X
//"
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5397 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5398 if ${ac_cv_path_GREP+:} false; then :
5399 $as_echo_n "(cached
) " >&6
5401 if test -z "$GREP"; then
5402 ac_path_GREP_found=false
5403 # Loop through the user's path and test for each of PROGNAME-LIST
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5408 test -z "$as_dir" && as_dir=.
5409 for ac_prog in grep ggrep; do
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5412 as_fn_executable_p "$ac_path_GREP" || continue
5413 # Check for GNU ac_path_GREP and select it if it is found.
5414 # Check for GNU $ac_path_GREP
5415 case `"$ac_path_GREP" --version 2>&1` in
5417 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5420 $as_echo_n 0123456789 >"conftest.
in"
5423 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5424 mv "conftest.tmp
" "conftest.
in"
5425 cp "conftest.
in" "conftest.
nl"
5426 $as_echo 'GREP' >> "conftest.
nl"
5427 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5428 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5429 as_fn_arith $ac_count + 1 && ac_count=$as_val
5430 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5431 # Best one so far, save it but keep looking for a better one
5432 ac_cv_path_GREP="$ac_path_GREP"
5433 ac_path_GREP_max=$ac_count
5435 # 10*(2^10) chars as input seems more than enough
5436 test $ac_count -gt 10 && break
5438 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5441 $ac_path_GREP_found && break 3
5446 if test -z "$ac_cv_path_GREP"; then
5447 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5450 ac_cv_path_GREP=$GREP
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5455 $as_echo "$ac_cv_path_GREP" >&6; }
5456 GREP="$ac_cv_path_GREP"
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5460 $as_echo_n "checking
for egrep...
" >&6; }
5461 if ${ac_cv_path_EGREP+:} false; then :
5462 $as_echo_n "(cached
) " >&6
5464 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5465 then ac_cv_path_EGREP="$GREP -E"
5467 if test -z "$EGREP"; then
5468 ac_path_EGREP_found=false
5469 # Loop through the user's path and test for each of PROGNAME-LIST
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5474 test -z "$as_dir" && as_dir=.
5475 for ac_prog in egrep; do
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5478 as_fn_executable_p "$ac_path_EGREP" || continue
5479 # Check for GNU ac_path_EGREP and select it if it is found.
5480 # Check for GNU $ac_path_EGREP
5481 case `"$ac_path_EGREP" --version 2>&1` in
5483 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5486 $as_echo_n 0123456789 >"conftest.
in"
5489 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5490 mv "conftest.tmp
" "conftest.
in"
5491 cp "conftest.
in" "conftest.
nl"
5492 $as_echo 'EGREP' >> "conftest.
nl"
5493 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5494 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5495 as_fn_arith $ac_count + 1 && ac_count=$as_val
5496 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5497 # Best one so far, save it but keep looking for a better one
5498 ac_cv_path_EGREP="$ac_path_EGREP"
5499 ac_path_EGREP_max=$ac_count
5501 # 10*(2^10) chars as input seems more than enough
5502 test $ac_count -gt 10 && break
5504 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5507 $ac_path_EGREP_found && break 3
5512 if test -z "$ac_cv_path_EGREP"; then
5513 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5516 ac_cv_path_EGREP=$EGREP
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5522 $as_echo "$ac_cv_path_EGREP" >&6; }
5523 EGREP="$ac_cv_path_EGREP"
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5527 $as_echo_n "checking
for fgrep...
" >&6; }
5528 if ${ac_cv_path_FGREP+:} false; then :
5529 $as_echo_n "(cached
) " >&6
5531 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5532 then ac_cv_path_FGREP="$GREP -F"
5534 if test -z "$FGREP"; then
5535 ac_path_FGREP_found=false
5536 # Loop through the user's path and test for each of PROGNAME-LIST
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5541 test -z "$as_dir" && as_dir=.
5542 for ac_prog in fgrep; do
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5545 as_fn_executable_p "$ac_path_FGREP" || continue
5546 # Check for GNU ac_path_FGREP and select it if it is found.
5547 # Check for GNU $ac_path_FGREP
5548 case `"$ac_path_FGREP" --version 2>&1` in
5550 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5553 $as_echo_n 0123456789 >"conftest.
in"
5556 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5557 mv "conftest.tmp
" "conftest.
in"
5558 cp "conftest.
in" "conftest.
nl"
5559 $as_echo 'FGREP' >> "conftest.
nl"
5560 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5561 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5562 as_fn_arith $ac_count + 1 && ac_count=$as_val
5563 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5564 # Best one so far, save it but keep looking for a better one
5565 ac_cv_path_FGREP="$ac_path_FGREP"
5566 ac_path_FGREP_max=$ac_count
5568 # 10*(2^10) chars as input seems more than enough
5569 test $ac_count -gt 10 && break
5571 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5574 $ac_path_FGREP_found && break 3
5579 if test -z "$ac_cv_path_FGREP"; then
5580 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5583 ac_cv_path_FGREP=$FGREP
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5589 $as_echo "$ac_cv_path_FGREP" >&6; }
5590 FGREP="$ac_cv_path_FGREP"
5593 test -z "$GREP" && GREP=grep
5613 # Check whether --with-gnu-ld was given.
5614 if test "${with_gnu_ld+set}" = set; then :
5615 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5621 if test yes = "$GCC"; then
5622 # Check if gcc -print-prog-name=ld gives a path.
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5624 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5627 # gcc leaves a trailing carriage return, which upsets mingw
5628 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5630 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5633 # Accept absolute paths.
5635 re_direlt='/[^/][^/]*/\.\./'
5636 # Canonicalize the pathname of ld
5637 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5638 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5639 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5641 test -z "$LD" && LD=$ac_prog
5644 # If it fails, then pretend we aren't using GCC.
5648 # If it is relative, then search for the first ld in PATH.
5652 elif test yes = "$with_gnu_ld"; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5654 $as_echo_n "checking
for GNU ld...
" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5657 $as_echo_n "checking
for non
-GNU ld...
" >&6; }
5659 if ${lt_cv_path_LD+:} false; then :
5660 $as_echo_n "(cached
) " >&6
5662 if test -z "$LD"; then
5663 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5664 for ac_dir in $PATH; do
5666 test -z "$ac_dir" && ac_dir=.
5667 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5668 lt_cv_path_LD=$ac_dir/$ac_prog
5669 # Check to see if the program is GNU ld. I'd rather use --version,
5670 # but apparently some variants of GNU ld only accept -v.
5671 # Break only if it was the GNU/non-GNU ld that we prefer.
5672 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5673 *GNU* | *'with BFD'*)
5674 test no != "$with_gnu_ld" && break
5677 test yes != "$with_gnu_ld" && break
5684 lt_cv_path_LD=$LD # Let the user override the test with a path.
5689 if test -n "$LD"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5691 $as_echo "$LD" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5694 $as_echo "no
" >&6; }
5696 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5698 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5699 if ${lt_cv_prog_gnu_ld+:} false; then :
5700 $as_echo_n "(cached
) " >&6
5702 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5703 case `$LD -v 2>&1 </dev/null` in
5704 *GNU* | *'with BFD'*)
5705 lt_cv_prog_gnu_ld=yes
5708 lt_cv_prog_gnu_ld=no
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5713 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5714 with_gnu_ld=$lt_cv_prog_gnu_ld
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5725 $as_echo_n "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5726 if ${lt_cv_path_NM+:} false; then :
5727 $as_echo_n "(cached
) " >&6
5729 if test -n "$NM"; then
5730 # Let the user override the test.
5733 lt_nm_to_check=${ac_tool_prefix}nm
5734 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5735 lt_nm_to_check="$lt_nm_to_check nm
"
5737 for lt_tmp_nm in $lt_nm_to_check; do
5738 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5739 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5741 test -z "$ac_dir" && ac_dir=.
5742 tmp_nm=$ac_dir/$lt_tmp_nm
5743 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5744 # Check to see if the nm accepts a BSD-compat flag.
5745 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5746 # nm: unknown option "B
" ignored
5747 # Tru64's nm complains that /dev/null is an invalid object file
5748 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5750 mingw*) lt_bad_file=conftest.nm/nofile ;;
5751 *) lt_bad_file=/dev/null ;;
5753 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5754 *$lt_bad_file* | *'Invalid file or object type'*)
5755 lt_cv_path_NM="$tmp_nm -B"
5759 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5761 lt_cv_path_NM="$tmp_nm -p"
5765 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5766 continue # so that we can try to find one that supports BSD flags
5775 : ${lt_cv_path_NM=no}
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5779 $as_echo "$lt_cv_path_NM" >&6; }
5780 if test no != "$lt_cv_path_NM"; then
5783 # Didn't find any BSD compatible name lister, look for dumpbin.
5784 if test -n "$DUMPBIN"; then :
5785 # Let the user override the test.
5787 if test -n "$ac_tool_prefix"; then
5788 for ac_prog in dumpbin "link
-dump"
5790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5791 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5793 $as_echo_n "checking
for $ac_word...
" >&6; }
5794 if ${ac_cv_prog_DUMPBIN+:} false; then :
5795 $as_echo_n "(cached
) " >&6
5797 if test -n "$DUMPBIN"; then
5798 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 test -z "$as_dir" && as_dir=.
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5807 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5817 DUMPBIN=$ac_cv_prog_DUMPBIN
5818 if test -n "$DUMPBIN"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5820 $as_echo "$DUMPBIN" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5823 $as_echo "no
" >&6; }
5827 test -n "$DUMPBIN" && break
5830 if test -z "$DUMPBIN"; then
5831 ac_ct_DUMPBIN=$DUMPBIN
5832 for ac_prog in dumpbin "link
-dump"
5834 # Extract the first word of "$ac_prog", so it can be a program name with args.
5835 set dummy $ac_prog; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5837 $as_echo_n "checking
for $ac_word...
" >&6; }
5838 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5839 $as_echo_n "(cached
) " >&6
5841 if test -n "$ac_ct_DUMPBIN"; then
5842 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5861 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5862 if test -n "$ac_ct_DUMPBIN"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5864 $as_echo "$ac_ct_DUMPBIN" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5867 $as_echo "no
" >&6; }
5871 test -n "$ac_ct_DUMPBIN" && break
5874 if test "x
$ac_ct_DUMPBIN" = x; then
5877 case $cross_compiling:$ac_tool_warned in
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5880 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5881 ac_tool_warned=yes ;;
5883 DUMPBIN=$ac_ct_DUMPBIN
5887 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5889 DUMPBIN="$DUMPBIN -symbols -headers"
5897 if test : != "$DUMPBIN"; then
5901 test -z "$NM" && NM=nm
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5909 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5910 if ${lt_cv_nm_interface+:} false; then :
5911 $as_echo_n "(cached
) " >&6
5913 lt_cv_nm_interface="BSD nm
"
5914 echo "int some_variable
= 0;" > conftest.$ac_ext
5915 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5916 (eval "$ac_compile" 2>conftest.err)
5917 cat conftest.err >&5
5918 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5919 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5920 cat conftest.err >&5
5921 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5922 cat conftest.out >&5
5923 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5924 lt_cv_nm_interface="MS dumpbin
"
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5929 $as_echo "$lt_cv_nm_interface" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5932 $as_echo_n "checking whether
ln -s works...
" >&6; }
5934 if test "$LN_S" = "ln -s"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5936 $as_echo "yes" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5939 $as_echo "no
, using
$LN_S" >&6; }
5942 # find the maximum length of command line arguments
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5944 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5945 if ${lt_cv_sys_max_cmd_len+:} false; then :
5946 $as_echo_n "(cached
) " >&6
5953 # On DJGPP, this test can blow up pretty badly due to problems in libc
5954 # (any single argument exceeding 2000 bytes causes a buffer overrun
5955 # during glob expansion). Even if it were fixed, the result of this
5956 # check would be larger than it should be.
5957 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5961 # Under GNU Hurd, this test is not required because there is
5962 # no limit to the length of command line arguments.
5963 # Libtool will interpret -1 as no limit whatsoever
5964 lt_cv_sys_max_cmd_len=-1;
5967 cygwin* | mingw* | cegcc*)
5968 # On Win9x/ME, this test blows up -- it succeeds, but takes
5969 # about 5 minutes as the teststring grows exponentially.
5970 # Worse, since 9x/ME are not pre-emptively multitasking,
5971 # you end up with a "frozen
" computer, even though with patience
5972 # the test eventually succeeds (with a max line length of 256k).
5973 # Instead, let's just punt: use the minimum linelength reported by
5974 # all of the supported platforms: 8192 (on NT/2K/XP).
5975 lt_cv_sys_max_cmd_len=8192;
5979 # On MiNT this can take a long time and run out of memory.
5980 lt_cv_sys_max_cmd_len=8192;
5984 # On AmigaOS with pdksh, this test takes hours, literally.
5985 # So we just punt and use a minimum line length of 8192.
5986 lt_cv_sys_max_cmd_len=8192;
5989 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5990 # This has been around since 386BSD, at least. Likely further.
5991 if test -x /sbin/sysctl; then
5992 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5993 elif test -x /usr/sbin/sysctl; then
5994 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5996 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5998 # And add a safety zone
5999 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6000 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6004 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6005 lt_cv_sys_max_cmd_len=196608
6009 # The test takes a long time on OS/2.
6010 lt_cv_sys_max_cmd_len=8192
6014 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6015 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6016 # nice to cause kernel panics so lets avoid the loop below.
6017 # First set a reasonable default.
6018 lt_cv_sys_max_cmd_len=16384
6020 if test -x /sbin/sysconfig; then
6021 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6022 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6027 lt_cv_sys_max_cmd_len=102400
6029 sysv5* | sco5v6* | sysv4.2uw2*)
6030 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6031 if test -n "$kargmax"; then
6032 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6034 lt_cv_sys_max_cmd_len=32768
6038 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6039 if test -n "$lt_cv_sys_max_cmd_len" && \
6040 test undefined != "$lt_cv_sys_max_cmd_len"; then
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6044 # Make teststring a little bigger before we do anything with it.
6045 # a 1K string should be a reasonable start.
6046 for i in 1 2 3 4 5 6 7 8; do
6047 teststring=$teststring$teststring
6049 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6050 # If test is not a shell built-in, we'll probably end up computing a
6051 # maximum length that is only half of the actual maximum length, but
6053 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6054 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6055 test 17 != "$i" # 1/2 MB should be enough
6058 teststring=$teststring$teststring
6060 # Only check the string length outside the loop.
6061 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6063 # Add a significant safety factor because C++ compilers can tack on
6064 # massive amounts of additional arguments before passing them to the
6065 # linker. It appears as though 1/2 is a usable value.
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6073 if test -n "$lt_cv_sys_max_cmd_len"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6075 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6078 $as_echo "none
" >&6; }
6080 max_cmd_len=$lt_cv_sys_max_cmd_len
6091 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6101 # test EBCDIC or ASCII
6102 case `echo X|tr X '\101'` in
6103 A) # ASCII based system
6104 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6105 lt_SP2NL='tr \040 \012'
6106 lt_NL2SP='tr \015\012 \040\040'
6108 *) # EBCDIC based system
6109 lt_SP2NL='tr \100 \n'
6110 lt_NL2SP='tr \r\n \100\100'
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6123 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6124 if ${lt_cv_to_host_file_cmd+:} false; then :
6125 $as_echo_n "(cached
) " >&6
6130 *-*-mingw* ) # actually msys
6131 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6134 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6136 * ) # otherwise, assume *nix
6137 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6143 *-*-mingw* ) # actually msys
6144 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6147 lt_cv_to_host_file_cmd=func_convert_file_noop
6149 * ) # otherwise, assume *nix
6150 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6154 * ) # unhandled hosts (and "normal
" native builds)
6155 lt_cv_to_host_file_cmd=func_convert_file_noop
6161 to_host_file_cmd=$lt_cv_to_host_file_cmd
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6163 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6170 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6171 if ${lt_cv_to_tool_file_cmd+:} false; then :
6172 $as_echo_n "(cached
) " >&6
6174 #assume ordinary cross tools, or native build.
6175 lt_cv_to_tool_file_cmd=func_convert_file_noop
6179 *-*-mingw* ) # actually msys
6180 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6188 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6190 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6197 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6198 if ${lt_cv_ld_reload_flag+:} false; then :
6199 $as_echo_n "(cached
) " >&6
6201 lt_cv_ld_reload_flag='-r'
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6204 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6205 reload_flag=$lt_cv_ld_reload_flag
6206 case $reload_flag in
6208 *) reload_flag=" $reload_flag" ;;
6210 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6212 cygwin* | mingw* | pw32* | cegcc*)
6213 if test yes != "$GCC"; then
6218 if test yes = "$GCC"; then
6219 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6221 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6234 if test -n "$ac_tool_prefix"; then
6235 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6236 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6238 $as_echo_n "checking
for $ac_word...
" >&6; }
6239 if ${ac_cv_prog_OBJDUMP+:} false; then :
6240 $as_echo_n "(cached
) " >&6
6242 if test -n "$OBJDUMP"; then
6243 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6262 OBJDUMP=$ac_cv_prog_OBJDUMP
6263 if test -n "$OBJDUMP"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6265 $as_echo "$OBJDUMP" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6268 $as_echo "no
" >&6; }
6273 if test -z "$ac_cv_prog_OBJDUMP"; then
6274 ac_ct_OBJDUMP=$OBJDUMP
6275 # Extract the first word of "objdump
", so it can be a program name with args.
6276 set dummy objdump; ac_word=$2
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6278 $as_echo_n "checking
for $ac_word...
" >&6; }
6279 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6280 $as_echo_n "(cached
) " >&6
6282 if test -n "$ac_ct_OBJDUMP"; then
6283 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289 test -z "$as_dir" && as_dir=.
6290 for ac_exec_ext in '' $ac_executable_extensions; do
6291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6292 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6302 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6303 if test -n "$ac_ct_OBJDUMP"; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6305 $as_echo "$ac_ct_OBJDUMP" >&6; }
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6308 $as_echo "no
" >&6; }
6311 if test "x
$ac_ct_OBJDUMP" = x; then
6314 case $cross_compiling:$ac_tool_warned in
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6317 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6318 ac_tool_warned=yes ;;
6320 OBJDUMP=$ac_ct_OBJDUMP
6323 OBJDUMP="$ac_cv_prog_OBJDUMP"
6326 test -z "$OBJDUMP" && OBJDUMP=objdump
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6337 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6338 if ${lt_cv_deplibs_check_method+:} false; then :
6339 $as_echo_n "(cached
) " >&6
6341 lt_cv_file_magic_cmd='$MAGIC_CMD'
6342 lt_cv_file_magic_test_file=
6343 lt_cv_deplibs_check_method='unknown'
6344 # Need to set the preceding variable on all platforms that support
6345 # interlibrary dependencies.
6346 # 'none' -- dependencies not supported.
6347 # 'unknown' -- same as none, but documents that we really don't know.
6348 # 'pass_all' -- all dependencies passed with no checks.
6349 # 'test_compile' -- check by making test program.
6350 # 'file_magic [[regex]]' -- check by looking for files in library path
6351 # that responds to the $file_magic_cmd with a given extended regex.
6352 # If you have 'file' or equivalent on your system and you're not sure
6353 # whether 'pass_all' will *always* work, you probably want this one.
6357 lt_cv_deplibs_check_method=pass_all
6361 lt_cv_deplibs_check_method=pass_all
6365 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6366 lt_cv_file_magic_cmd='/usr/bin/file -L'
6367 lt_cv_file_magic_test_file=/shlib/libc.so
6371 # func_win32_libid is a shell function defined in ltmain.sh
6372 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6373 lt_cv_file_magic_cmd='func_win32_libid'
6377 # Base MSYS/MinGW do not provide the 'file' command needed by
6378 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6379 # unless we find 'file', for example because we are cross-compiling.
6380 if ( file / ) >/dev/null 2>&1; then
6381 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6382 lt_cv_file_magic_cmd='func_win32_libid'
6384 # Keep this pattern in sync with the one in func_win32_libid.
6385 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6386 lt_cv_file_magic_cmd='$OBJDUMP -f'
6391 # use the weaker test based on 'objdump'. See mingw*.
6392 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6393 lt_cv_file_magic_cmd='$OBJDUMP -f'
6396 darwin* | rhapsody*)
6397 lt_cv_deplibs_check_method=pass_all
6400 freebsd* | dragonfly*)
6401 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6404 # Not sure whether the presence of OpenBSD here was a mistake.
6405 # Let's accept both of them until this is cleared up.
6406 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6407 lt_cv_file_magic_cmd=/usr/bin/file
6408 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6412 lt_cv_deplibs_check_method=pass_all
6417 lt_cv_deplibs_check_method=pass_all
6420 hpux10.20* | hpux11*)
6421 lt_cv_file_magic_cmd=/usr/bin/file
6424 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6425 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6428 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]'
6429 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6432 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6433 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6439 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6443 irix5* | irix6* | nonstopux*)
6445 *-32|*"-32 ") libmagic=32-bit;;
6446 *-n32|*"-n32 ") libmagic=N32;;
6447 *-64|*"-64 ") libmagic=64-bit;;
6448 *) libmagic=never-match;;
6450 lt_cv_deplibs_check_method=pass_all
6453 # This must be glibc/ELF.
6454 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6455 lt_cv_deplibs_check_method=pass_all
6459 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6460 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6462 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6467 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6468 lt_cv_file_magic_cmd=/usr/bin/file
6469 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6473 lt_cv_deplibs_check_method=pass_all
6477 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6478 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6480 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6484 osf3* | osf4* | osf5*)
6485 lt_cv_deplibs_check_method=pass_all
6489 lt_cv_deplibs_check_method=pass_all
6493 lt_cv_deplibs_check_method=pass_all
6496 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6497 lt_cv_deplibs_check_method=pass_all
6501 case $host_vendor in
6503 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]'
6504 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6507 lt_cv_deplibs_check_method=pass_all
6510 lt_cv_file_magic_cmd='/bin/file'
6511 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6514 lt_cv_file_magic_cmd='/bin/file'
6515 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6516 lt_cv_file_magic_test_file=/lib/libc.so
6519 lt_cv_deplibs_check_method=pass_all
6522 lt_cv_deplibs_check_method=pass_all
6528 lt_cv_deplibs_check_method=pass_all
6531 lt_cv_deplibs_check_method=pass_all
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6537 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6541 if test "$build" = "$host"; then
6544 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6547 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6553 file_magic_cmd=$lt_cv_file_magic_cmd
6554 deplibs_check_method=$lt_cv_deplibs_check_method
6555 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6578 if test -n "$ac_tool_prefix"; then
6579 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6580 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6582 $as_echo_n "checking
for $ac_word...
" >&6; }
6583 if ${ac_cv_prog_DLLTOOL+:} false; then :
6584 $as_echo_n "(cached
) " >&6
6586 if test -n "$DLLTOOL"; then
6587 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593 test -z "$as_dir" && as_dir=.
6594 for ac_exec_ext in '' $ac_executable_extensions; do
6595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6596 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6597 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6606 DLLTOOL=$ac_cv_prog_DLLTOOL
6607 if test -n "$DLLTOOL"; then
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6609 $as_echo "$DLLTOOL" >&6; }
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6612 $as_echo "no
" >&6; }
6617 if test -z "$ac_cv_prog_DLLTOOL"; then
6618 ac_ct_DLLTOOL=$DLLTOOL
6619 # Extract the first word of "dlltool
", so it can be a program name with args.
6620 set dummy dlltool; ac_word=$2
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6622 $as_echo_n "checking
for $ac_word...
" >&6; }
6623 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6624 $as_echo_n "(cached
) " >&6
6626 if test -n "$ac_ct_DLLTOOL"; then
6627 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6646 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6647 if test -n "$ac_ct_DLLTOOL"; then
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6649 $as_echo "$ac_ct_DLLTOOL" >&6; }
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6652 $as_echo "no
" >&6; }
6655 if test "x
$ac_ct_DLLTOOL" = x; then
6658 case $cross_compiling:$ac_tool_warned in
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6661 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6662 ac_tool_warned=yes ;;
6664 DLLTOOL=$ac_ct_DLLTOOL
6667 DLLTOOL="$ac_cv_prog_DLLTOOL"
6670 test -z "$DLLTOOL" && DLLTOOL=dlltool
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6682 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6683 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6684 $as_echo_n "(cached
) " >&6
6686 lt_cv_sharedlib_from_linklib_cmd='unknown'
6689 cygwin* | mingw* | pw32* | cegcc*)
6690 # two different shell functions defined in ltmain.sh;
6691 # decide which one to use based on capabilities of $DLLTOOL
6692 case `$DLLTOOL --help 2>&1` in
6693 *--identify-strict*)
6694 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6697 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6702 # fallback: assume linklib IS sharedlib
6703 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6709 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6710 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6711 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6719 if test -n "$ac_tool_prefix"; then
6722 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6723 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6725 $as_echo_n "checking
for $ac_word...
" >&6; }
6726 if ${ac_cv_prog_AR+:} false; then :
6727 $as_echo_n "(cached
) " >&6
6729 if test -n "$AR"; then
6730 ac_cv_prog_AR="$AR" # Let the user override the test.
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 test -z "$as_dir" && as_dir=.
6737 for ac_exec_ext in '' $ac_executable_extensions; do
6738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6739 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6750 if test -n "$AR"; then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6752 $as_echo "$AR" >&6; }
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6755 $as_echo "no
" >&6; }
6759 test -n "$AR" && break
6762 if test -z "$AR"; then
6766 # Extract the first word of "$ac_prog", so it can be a program name with args.
6767 set dummy $ac_prog; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6769 $as_echo_n "checking
for $ac_word...
" >&6; }
6770 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6771 $as_echo_n "(cached
) " >&6
6773 if test -n "$ac_ct_AR"; then
6774 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6783 ac_cv_prog_ac_ct_AR="$ac_prog"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6793 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6794 if test -n "$ac_ct_AR"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6796 $as_echo "$ac_ct_AR" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6799 $as_echo "no
" >&6; }
6803 test -n "$ac_ct_AR" && break
6806 if test "x
$ac_ct_AR" = x; then
6809 case $cross_compiling:$ac_tool_warned in
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6812 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6813 ac_tool_warned=yes ;;
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6833 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6834 if ${lt_cv_ar_at_file+:} false; then :
6835 $as_echo_n "(cached
) " >&6
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6849 if ac_fn_c_try_compile "$LINENO"; then :
6850 echo conftest.$ac_objext > conftest.lst
6851 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6852 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6853 (eval $lt_ar_try) 2>&5
6855 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6856 test $ac_status = 0; }
6857 if test 0 -eq "$ac_status"; then
6858 # Ensure the archiver fails upon bogus file names.
6859 rm -f conftest.$ac_objext libconftest.a
6860 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6861 (eval $lt_ar_try) 2>&5
6863 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6864 test $ac_status = 0; }
6865 if test 0 -ne "$ac_status"; then
6869 rm -f conftest.* libconftest.a
6872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6876 $as_echo "$lt_cv_ar_at_file" >&6; }
6878 if test no = "$lt_cv_ar_at_file"; then
6881 archiver_list_spec=$lt_cv_ar_at_file
6890 if test -n "$ac_tool_prefix"; then
6891 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6892 set dummy ${ac_tool_prefix}strip; ac_word=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6894 $as_echo_n "checking
for $ac_word...
" >&6; }
6895 if ${ac_cv_prog_STRIP+:} false; then :
6896 $as_echo_n "(cached
) " >&6
6898 if test -n "$STRIP"; then
6899 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 test -z "$as_dir" && as_dir=.
6906 for ac_exec_ext in '' $ac_executable_extensions; do
6907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6908 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6918 STRIP=$ac_cv_prog_STRIP
6919 if test -n "$STRIP"; then
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6921 $as_echo "$STRIP" >&6; }
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6924 $as_echo "no
" >&6; }
6929 if test -z "$ac_cv_prog_STRIP"; then
6931 # Extract the first word of "strip
", so it can be a program name with args.
6932 set dummy strip; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6934 $as_echo_n "checking
for $ac_word...
" >&6; }
6935 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6936 $as_echo_n "(cached
) " >&6
6938 if test -n "$ac_ct_STRIP"; then
6939 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6948 ac_cv_prog_ac_ct_STRIP="strip
"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6958 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6959 if test -n "$ac_ct_STRIP"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6961 $as_echo "$ac_ct_STRIP" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6964 $as_echo "no
" >&6; }
6967 if test "x
$ac_ct_STRIP" = x; then
6970 case $cross_compiling:$ac_tool_warned in
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6973 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6974 ac_tool_warned=yes ;;
6979 STRIP="$ac_cv_prog_STRIP"
6982 test -z "$STRIP" && STRIP=:
6989 if test -n "$ac_tool_prefix"; then
6990 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6991 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6993 $as_echo_n "checking
for $ac_word...
" >&6; }
6994 if ${ac_cv_prog_RANLIB+:} false; then :
6995 $as_echo_n "(cached
) " >&6
6997 if test -n "$RANLIB"; then
6998 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7007 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7017 RANLIB=$ac_cv_prog_RANLIB
7018 if test -n "$RANLIB"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7020 $as_echo "$RANLIB" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7023 $as_echo "no
" >&6; }
7028 if test -z "$ac_cv_prog_RANLIB"; then
7029 ac_ct_RANLIB=$RANLIB
7030 # Extract the first word of "ranlib
", so it can be a program name with args.
7031 set dummy ranlib; ac_word=$2
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7033 $as_echo_n "checking
for $ac_word...
" >&6; }
7034 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7035 $as_echo_n "(cached
) " >&6
7037 if test -n "$ac_ct_RANLIB"; then
7038 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7044 test -z "$as_dir" && as_dir=.
7045 for ac_exec_ext in '' $ac_executable_extensions; do
7046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7047 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7057 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7058 if test -n "$ac_ct_RANLIB"; then
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7060 $as_echo "$ac_ct_RANLIB" >&6; }
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7063 $as_echo "no
" >&6; }
7066 if test "x
$ac_ct_RANLIB" = x; then
7069 case $cross_compiling:$ac_tool_warned in
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7072 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7073 ac_tool_warned=yes ;;
7075 RANLIB=$ac_ct_RANLIB
7078 RANLIB="$ac_cv_prog_RANLIB"
7081 test -z "$RANLIB" && RANLIB=:
7088 # Determine commands to create old-style static archives.
7089 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7090 old_postinstall_cmds='chmod 644 $oldlib'
7091 old_postuninstall_cmds=
7093 if test -n "$RANLIB"; then
7096 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7099 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7102 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7107 lock_old_archive_extraction=yes ;;
7109 lock_old_archive_extraction=no ;;
7150 # If no C compiler was specified, use CC.
7153 # If no C compiler flags were specified, use CFLAGS.
7154 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7156 # Allow CC to be a program name with arguments.
7160 # Check for command to grab the raw symbol name followed by C symbol from nm.
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7162 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7163 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7164 $as_echo_n "(cached
) " >&6
7167 # These are sane defaults that work on at least a few old systems.
7168 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7170 # Character class describing NM global symbol codes.
7171 symcode='[BCDEGRST]'
7173 # Regexp to match symbols that can be accessed directly from C.
7174 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7176 # Define system-specific variables.
7181 cygwin* | mingw* | pw32* | cegcc*)
7182 symcode='[ABCDGISTW]'
7185 if test ia64 = "$host_cpu"; then
7186 symcode='[ABCDEGRST]'
7190 symcode='[BCDEGRST]'
7193 symcode='[BCDEGQRST]'
7204 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7212 # If we're using GNU nm, then use its standard symbol codes.
7213 case `$NM -V 2>&1` in
7214 *GNU* | *'with BFD'*)
7215 symcode='[ABCDGIRSTW]' ;;
7218 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7219 # Gets list of data symbols to import.
7220 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7221 # Adjust the below global symbol transforms to fixup imported variables.
7222 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7223 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7224 lt_c_name_lib_hook="\
7225 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7226 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7228 # Disable hooks by default.
7229 lt_cv_sys_global_symbol_to_import=
7235 # Transform an extracted symbol line into a proper C declaration.
7236 # Some systems (esp. on ia64) link data and code symbols differently,
7237 # so use this general approach.
7238 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7240 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7241 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7243 # Transform an extracted symbol line into symbol name and symbol address
7244 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7246 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7247 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7249 # Transform an extracted symbol line into symbol name with lib prefix and
7251 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7252 $lt_c_name_lib_hook\
7253 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7254 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7255 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7257 # Handle CRLF in mingw tool chain
7261 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7265 # Try without a prefix underscore, then with it.
7266 for ac_symprfx in "" "_
"; do
7268 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7269 symxfrm="\\1 $ac_symprfx\\2 \\2"
7271 # Write the raw and C identifiers.
7272 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7273 # Fake it for dumpbin and say T for any non-static function,
7274 # D for any global variable and I for any imported variable.
7275 # Also find C++ and __fastcall symbols from MSVC++,
7276 # which start with @ or ?.
7277 lt_cv_sys_global_symbol_pipe="$AWK '"\
7278 " {last_section=section; section=\$ 3};"\
7279 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7280 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7281 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7282 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7283 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7284 " \$ 0!~/External *\|/{next};"\
7285 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7286 " {if(hide[section]) next};"\
7287 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7288 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7289 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7290 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7291 " ' prfx
=^
$ac_symprfx"
7293 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7295 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7297 # Check to see that the pipe works correctly.
7301 cat > conftest.$ac_ext <<_LT_EOF
7306 void nm_test_func(void);
7307 void nm_test_func(void){}
7311 int main(){nm_test_var='a';nm_test_func();return(0);}
7314 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7315 (eval $ac_compile) 2>&5
7317 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7318 test $ac_status = 0; }; then
7319 # Now try to grab the symbols.
7321 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7322 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7324 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7325 test $ac_status = 0; } && test -s "$nlist"; then
7326 # Try sorting and uniquifying the output.
7327 if sort "$nlist" | uniq > "$nlist"T; then
7328 mv -f "$nlist"T "$nlist"
7333 # Make sure that we snagged all the symbols we need.
7334 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7335 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7336 cat <<_LT_EOF > conftest.$ac_ext
7337 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7338 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7339 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7340 relocations are performed -- see ld's documentation on pseudo-relocs. */
7341 # define LT_DLSYM_CONST
7342 #elif defined __osf__
7343 /* This system does not cope well with relocations in const data. */
7344 # define LT_DLSYM_CONST
7346 # define LT_DLSYM_CONST const
7354 # Now generate the symbol file.
7355 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7357 cat <<_LT_EOF >> conftest.$ac_ext
7359 /* The mapping between symbol names and symbols. */
7360 LT_DLSYM_CONST struct {
7364 lt__PROGRAM__LTX_preloaded_symbols[] =
7366 { "@PROGRAM@
", (void *) 0 },
7368 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7369 cat <<\_LT_EOF >> conftest.$ac_ext
7373 /* This works around a problem in FreeBSD linker */
7374 #ifdef FREEBSD_WORKAROUND
7375 static const void *lt_preloaded_setup() {
7376 return lt__PROGRAM__LTX_preloaded_symbols;
7384 # Now try linking the two files.
7385 mv conftest.$ac_objext conftstm.$ac_objext
7386 lt_globsym_save_LIBS=$LIBS
7387 lt_globsym_save_CFLAGS=$CFLAGS
7388 LIBS=conftstm.$ac_objext
7389 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7390 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7391 (eval $ac_link) 2>&5
7393 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7394 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7397 LIBS=$lt_globsym_save_LIBS
7398 CFLAGS=$lt_globsym_save_CFLAGS
7400 echo "cannot
find nm_test_func
in $nlist" >&5
7403 echo "cannot
find nm_test_var
in $nlist" >&5
7406 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7409 echo "$progname: failed program was
:" >&5
7410 cat conftest.$ac_ext >&5
7412 rm -rf conftest* conftst*
7414 # Do not use the global_symbol_pipe unless it works.
7415 if test yes = "$pipe_works"; then
7418 lt_cv_sys_global_symbol_pipe=
7424 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7425 lt_cv_sys_global_symbol_to_cdecl=
7427 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7429 $as_echo "failed
" >&6; }
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7432 $as_echo "ok
" >&6; }
7435 # Response file support.
7436 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7437 nm_file_list_spec='@'
7438 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7439 nm_file_list_spec='@'
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7479 $as_echo_n "checking
for sysroot...
" >&6; }
7481 # Check whether --with-sysroot was given.
7482 if test "${with_sysroot+set}" = set; then :
7483 withval=$with_sysroot;
7490 case $with_sysroot in #(
7492 if test yes = "$GCC"; then
7493 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7497 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7503 $as_echo "$with_sysroot" >&6; }
7504 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7509 $as_echo "${lt_sysroot:-no}" >&6; }
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7516 $as_echo_n "checking
for a working
dd...
" >&6; }
7517 if ${ac_cv_path_lt_DD+:} false; then :
7518 $as_echo_n "(cached
) " >&6
7520 printf 0123456789abcdef0123456789abcdef >conftest.i
7521 cat conftest.i conftest.i >conftest2.i
7523 if test -z "$lt_DD"; then
7524 ac_path_lt_DD_found=false
7525 # Loop through the user's path and test for each of PROGNAME-LIST
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 test -z "$as_dir" && as_dir=.
7531 for ac_prog in dd; do
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7534 as_fn_executable_p "$ac_path_lt_DD" || continue
7535 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7536 cmp -s conftest.i conftest.out \
7537 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7539 $ac_path_lt_DD_found && break 3
7544 if test -z "$ac_cv_path_lt_DD"; then
7548 ac_cv_path_lt_DD=$lt_DD
7551 rm -f conftest.i conftest2.i conftest.out
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7554 $as_echo "$ac_cv_path_lt_DD" >&6; }
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7558 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7559 if ${lt_cv_truncate_bin+:} false; then :
7560 $as_echo_n "(cached
) " >&6
7562 printf 0123456789abcdef0123456789abcdef >conftest.i
7563 cat conftest.i conftest.i >conftest2.i
7565 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7566 cmp -s conftest.i conftest.out \
7567 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7569 rm -f conftest.i conftest2.i conftest.out
7570 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7573 $as_echo "$lt_cv_truncate_bin" >&6; }
7581 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7584 for cc_temp in $*""; do
7586 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7587 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7592 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7595 # Check whether --enable-libtool-lock was given.
7596 if test "${enable_libtool_lock+set}" = set; then :
7597 enableval=$enable_libtool_lock;
7600 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7602 # Some flags need to be propagated to the compiler or linker for good
7606 # Find out what ABI is being produced by ac_compile, and set mode
7607 # options accordingly.
7608 echo 'int i;' > conftest.$ac_ext
7609 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7610 (eval $ac_compile) 2>&5
7612 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7613 test $ac_status = 0; }; then
7614 case `/usr/bin/file conftest.$ac_objext` in
7626 # Find out what ABI is being produced by ac_compile, and set linker
7627 # options accordingly.
7628 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7629 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7630 (eval $ac_compile) 2>&5
7632 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7633 test $ac_status = 0; }; then
7634 if test yes = "$lt_cv_prog_gnu_ld"; then
7635 case `/usr/bin/file conftest.$ac_objext` in
7637 LD="${LD-ld} -melf32bsmip"
7640 LD="${LD-ld} -melf32bmipn32"
7643 LD="${LD-ld} -melf64bmip"
7647 case `/usr/bin/file conftest.$ac_objext` in
7664 # Find out what ABI is being produced by ac_compile, and set linker
7665 # options accordingly.
7666 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7667 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7668 (eval $ac_compile) 2>&5
7670 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7671 test $ac_status = 0; }; then
7673 case `/usr/bin/file conftest.$ac_objext` in
7681 case `/usr/bin/file conftest.$ac_objext` in
7683 emul="${emul}btsmip
"
7686 emul="${emul}ltsmip
"
7689 case `/usr/bin/file conftest.$ac_objext` in
7694 LD="${LD-ld} -m $emul"
7699 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7700 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7701 # Find out what ABI is being produced by ac_compile, and set linker
7702 # options accordingly. Note that the listed cases only cover the
7703 # situations where additional linker options are needed (such as when
7704 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7705 # vice versa); the common cases where no linker options are needed do
7706 # not appear in the list.
7707 echo 'int i;' > conftest.$ac_ext
7708 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7709 (eval $ac_compile) 2>&5
7711 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7712 test $ac_status = 0; }; then
7713 case `/usr/bin/file conftest.o` in
7716 x86_64-*kfreebsd*-gnu)
7717 LD="${LD-ld} -m elf_i386_fbsd
"
7720 case `/usr/bin/file conftest.o` in
7722 LD="${LD-ld} -m elf32_x86_64
"
7725 LD="${LD-ld} -m elf_i386
"
7729 powerpc64le-*linux*)
7730 LD="${LD-ld} -m elf32lppclinux
"
7733 LD="${LD-ld} -m elf32ppclinux
"
7736 LD="${LD-ld} -m elf_s390
"
7739 LD="${LD-ld} -m elf32_sparc
"
7745 x86_64-*kfreebsd*-gnu)
7746 LD="${LD-ld} -m elf_x86_64_fbsd
"
7749 LD="${LD-ld} -m elf_x86_64
"
7752 LD="${LD-ld} -m elf64lppc
"
7755 LD="${LD-ld} -m elf64ppc
"
7757 s390*-*linux*|s390*-*tpf*)
7758 LD="${LD-ld} -m elf64_s390
"
7761 LD="${LD-ld} -m elf64_sparc
"
7771 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7773 CFLAGS="$CFLAGS -belf"
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7775 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7776 if ${lt_cv_cc_needs_belf+:} false; then :
7777 $as_echo_n "(cached
) " >&6
7780 ac_cpp='$CPP $CPPFLAGS'
7781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7786 /* end confdefs.h. */
7796 if ac_fn_c_try_link "$LINENO"; then :
7797 lt_cv_cc_needs_belf=yes
7799 lt_cv_cc_needs_belf=no
7801 rm -f core conftest.err conftest.$ac_objext \
7802 conftest$ac_exeext conftest.$ac_ext
7804 ac_cpp='$CPP $CPPFLAGS'
7805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7811 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7812 if test yes != "$lt_cv_cc_needs_belf"; then
7813 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7818 # Find out what ABI is being produced by ac_compile, and set linker
7819 # options accordingly.
7820 echo 'int i;' > conftest.$ac_ext
7821 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7822 (eval $ac_compile) 2>&5
7824 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7825 test $ac_status = 0; }; then
7826 case `/usr/bin/file conftest.o` in
7828 case $lt_cv_prog_gnu_ld in
7831 i?86-*-solaris*|x86_64-*-solaris*)
7832 LD="${LD-ld} -m elf_x86_64
"
7835 LD="${LD-ld} -m elf64_sparc
"
7838 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7839 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7844 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7856 need_locks=$enable_libtool_lock
7858 if test -n "$ac_tool_prefix"; then
7859 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7860 set dummy ${ac_tool_prefix}mt; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7862 $as_echo_n "checking
for $ac_word...
" >&6; }
7863 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7864 $as_echo_n "(cached
) " >&6
7866 if test -n "$MANIFEST_TOOL"; then
7867 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7886 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7887 if test -n "$MANIFEST_TOOL"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7889 $as_echo "$MANIFEST_TOOL" >&6; }
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7892 $as_echo "no
" >&6; }
7897 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7898 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7899 # Extract the first word of "mt
", so it can be a program name with args.
7900 set dummy mt; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7902 $as_echo_n "checking
for $ac_word...
" >&6; }
7903 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7904 $as_echo_n "(cached
) " >&6
7906 if test -n "$ac_ct_MANIFEST_TOOL"; then
7907 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7926 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7927 if test -n "$ac_ct_MANIFEST_TOOL"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7929 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7932 $as_echo "no
" >&6; }
7935 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7938 case $cross_compiling:$ac_tool_warned in
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7941 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7942 ac_tool_warned=yes ;;
7944 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7947 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7950 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7952 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7953 if ${lt_cv_path_mainfest_tool+:} false; then :
7954 $as_echo_n "(cached
) " >&6
7956 lt_cv_path_mainfest_tool=no
7957 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7958 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7959 cat conftest.err >&5
7960 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7961 lt_cv_path_mainfest_tool=yes
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7966 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7967 if test yes != "$lt_cv_path_mainfest_tool"; then
7977 rhapsody* | darwin*)
7978 if test -n "$ac_tool_prefix"; then
7979 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7980 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7982 $as_echo_n "checking
for $ac_word...
" >&6; }
7983 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7984 $as_echo_n "(cached
) " >&6
7986 if test -n "$DSYMUTIL"; then
7987 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7996 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8006 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8007 if test -n "$DSYMUTIL"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8009 $as_echo "$DSYMUTIL" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8012 $as_echo "no
" >&6; }
8017 if test -z "$ac_cv_prog_DSYMUTIL"; then
8018 ac_ct_DSYMUTIL=$DSYMUTIL
8019 # Extract the first word of "dsymutil
", so it can be a program name with args.
8020 set dummy dsymutil; ac_word=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8022 $as_echo_n "checking
for $ac_word...
" >&6; }
8023 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8024 $as_echo_n "(cached
) " >&6
8026 if test -n "$ac_ct_DSYMUTIL"; then
8027 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 test -z "$as_dir" && as_dir=.
8034 for ac_exec_ext in '' $ac_executable_extensions; do
8035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8036 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8046 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8047 if test -n "$ac_ct_DSYMUTIL"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8049 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8052 $as_echo "no
" >&6; }
8055 if test "x
$ac_ct_DSYMUTIL" = x; then
8058 case $cross_compiling:$ac_tool_warned in
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8061 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8062 ac_tool_warned=yes ;;
8064 DSYMUTIL=$ac_ct_DSYMUTIL
8067 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8070 if test -n "$ac_tool_prefix"; then
8071 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8072 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8074 $as_echo_n "checking
for $ac_word...
" >&6; }
8075 if ${ac_cv_prog_NMEDIT+:} false; then :
8076 $as_echo_n "(cached
) " >&6
8078 if test -n "$NMEDIT"; then
8079 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8088 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8098 NMEDIT=$ac_cv_prog_NMEDIT
8099 if test -n "$NMEDIT"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8101 $as_echo "$NMEDIT" >&6; }
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8104 $as_echo "no
" >&6; }
8109 if test -z "$ac_cv_prog_NMEDIT"; then
8110 ac_ct_NMEDIT=$NMEDIT
8111 # Extract the first word of "nmedit
", so it can be a program name with args.
8112 set dummy nmedit; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8114 $as_echo_n "checking
for $ac_word...
" >&6; }
8115 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8116 $as_echo_n "(cached
) " >&6
8118 if test -n "$ac_ct_NMEDIT"; then
8119 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8128 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8138 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8139 if test -n "$ac_ct_NMEDIT"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8141 $as_echo "$ac_ct_NMEDIT" >&6; }
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8144 $as_echo "no
" >&6; }
8147 if test "x
$ac_ct_NMEDIT" = x; then
8150 case $cross_compiling:$ac_tool_warned in
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8153 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8154 ac_tool_warned=yes ;;
8156 NMEDIT=$ac_ct_NMEDIT
8159 NMEDIT="$ac_cv_prog_NMEDIT"
8162 if test -n "$ac_tool_prefix"; then
8163 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8164 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8166 $as_echo_n "checking
for $ac_word...
" >&6; }
8167 if ${ac_cv_prog_LIPO+:} false; then :
8168 $as_echo_n "(cached
) " >&6
8170 if test -n "$LIPO"; then
8171 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8180 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8190 LIPO=$ac_cv_prog_LIPO
8191 if test -n "$LIPO"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8193 $as_echo "$LIPO" >&6; }
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8196 $as_echo "no
" >&6; }
8201 if test -z "$ac_cv_prog_LIPO"; then
8203 # Extract the first word of "lipo
", so it can be a program name with args.
8204 set dummy lipo; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8206 $as_echo_n "checking
for $ac_word...
" >&6; }
8207 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8208 $as_echo_n "(cached
) " >&6
8210 if test -n "$ac_ct_LIPO"; then
8211 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8220 ac_cv_prog_ac_ct_LIPO="lipo
"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8230 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8231 if test -n "$ac_ct_LIPO"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8233 $as_echo "$ac_ct_LIPO" >&6; }
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8236 $as_echo "no
" >&6; }
8239 if test "x
$ac_ct_LIPO" = x; then
8242 case $cross_compiling:$ac_tool_warned in
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8245 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8246 ac_tool_warned=yes ;;
8251 LIPO="$ac_cv_prog_LIPO"
8254 if test -n "$ac_tool_prefix"; then
8255 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8256 set dummy ${ac_tool_prefix}otool; ac_word=$2
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8258 $as_echo_n "checking
for $ac_word...
" >&6; }
8259 if ${ac_cv_prog_OTOOL+:} false; then :
8260 $as_echo_n "(cached
) " >&6
8262 if test -n "$OTOOL"; then
8263 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8269 test -z "$as_dir" && as_dir=.
8270 for ac_exec_ext in '' $ac_executable_extensions; do
8271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8272 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8273 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8282 OTOOL=$ac_cv_prog_OTOOL
8283 if test -n "$OTOOL"; then
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8285 $as_echo "$OTOOL" >&6; }
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8288 $as_echo "no
" >&6; }
8293 if test -z "$ac_cv_prog_OTOOL"; then
8295 # Extract the first word of "otool
", so it can be a program name with args.
8296 set dummy otool; ac_word=$2
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8298 $as_echo_n "checking
for $ac_word...
" >&6; }
8299 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8300 $as_echo_n "(cached
) " >&6
8302 if test -n "$ac_ct_OTOOL"; then
8303 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8309 test -z "$as_dir" && as_dir=.
8310 for ac_exec_ext in '' $ac_executable_extensions; do
8311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8312 ac_cv_prog_ac_ct_OTOOL="otool
"
8313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8322 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8323 if test -n "$ac_ct_OTOOL"; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8325 $as_echo "$ac_ct_OTOOL" >&6; }
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8328 $as_echo "no
" >&6; }
8331 if test "x
$ac_ct_OTOOL" = x; then
8334 case $cross_compiling:$ac_tool_warned in
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8337 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8338 ac_tool_warned=yes ;;
8343 OTOOL="$ac_cv_prog_OTOOL"
8346 if test -n "$ac_tool_prefix"; then
8347 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8348 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8350 $as_echo_n "checking
for $ac_word...
" >&6; }
8351 if ${ac_cv_prog_OTOOL64+:} false; then :
8352 $as_echo_n "(cached
) " >&6
8354 if test -n "$OTOOL64"; then
8355 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8361 test -z "$as_dir" && as_dir=.
8362 for ac_exec_ext in '' $ac_executable_extensions; do
8363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8364 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8374 OTOOL64=$ac_cv_prog_OTOOL64
8375 if test -n "$OTOOL64"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8377 $as_echo "$OTOOL64" >&6; }
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8380 $as_echo "no
" >&6; }
8385 if test -z "$ac_cv_prog_OTOOL64"; then
8386 ac_ct_OTOOL64=$OTOOL64
8387 # Extract the first word of "otool64
", so it can be a program name with args.
8388 set dummy otool64; ac_word=$2
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8390 $as_echo_n "checking
for $ac_word...
" >&6; }
8391 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8392 $as_echo_n "(cached
) " >&6
8394 if test -n "$ac_ct_OTOOL64"; then
8395 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8401 test -z "$as_dir" && as_dir=.
8402 for ac_exec_ext in '' $ac_executable_extensions; do
8403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8404 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8414 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8415 if test -n "$ac_ct_OTOOL64"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8417 $as_echo "$ac_ct_OTOOL64" >&6; }
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8420 $as_echo "no
" >&6; }
8423 if test "x
$ac_ct_OTOOL64" = x; then
8426 case $cross_compiling:$ac_tool_warned in
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8429 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8430 ac_tool_warned=yes ;;
8432 OTOOL64=$ac_ct_OTOOL64
8435 OTOOL64="$ac_cv_prog_OTOOL64"
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8465 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8466 if ${lt_cv_apple_cc_single_mod+:} false; then :
8467 $as_echo_n "(cached
) " >&6
8469 lt_cv_apple_cc_single_mod=no
8470 if test -z "$LT_MULTI_MODULE"; then
8471 # By default we will add the -single_module flag. You can override
8472 # by either setting the environment variable LT_MULTI_MODULE
8473 # non-empty at configure time, or by adding -multi_module to the
8475 rm -rf libconftest.dylib*
8476 echo "int foo
(void
){return 1;}" > conftest.c
8477 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8478 -dynamiclib -Wl,-single_module conftest.c
" >&5
8479 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8480 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8482 # If there is a non-empty error log, and "single_module
"
8483 # appears in it, assume the flag caused a linker warning
8484 if test -s conftest.err && $GREP single_module conftest.err; then
8485 cat conftest.err >&5
8486 # Otherwise, if the output was created with a 0 exit code from
8487 # the compiler, it worked.
8488 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8489 lt_cv_apple_cc_single_mod=yes
8491 cat conftest.err >&5
8493 rm -rf libconftest.dylib*
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8498 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8501 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8502 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8503 $as_echo_n "(cached
) " >&6
8505 lt_cv_ld_exported_symbols_list=no
8506 save_LDFLAGS=$LDFLAGS
8507 echo "_main
" > conftest.sym
8508 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8520 if ac_fn_c_try_link "$LINENO"; then :
8521 lt_cv_ld_exported_symbols_list=yes
8523 lt_cv_ld_exported_symbols_list=no
8525 rm -f core conftest.err conftest.$ac_objext \
8526 conftest$ac_exeext conftest.$ac_ext
8527 LDFLAGS=$save_LDFLAGS
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8531 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8534 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8535 if ${lt_cv_ld_force_load+:} false; then :
8536 $as_echo_n "(cached
) " >&6
8538 lt_cv_ld_force_load=no
8539 cat > conftest.c << _LT_EOF
8540 int forced_loaded() { return 2;}
8542 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8543 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8544 echo "$AR cru libconftest.a conftest.o
" >&5
8545 $AR cru libconftest.a conftest.o 2>&5
8546 echo "$RANLIB libconftest.a
" >&5
8547 $RANLIB libconftest.a 2>&5
8548 cat > conftest.c << _LT_EOF
8549 int main() { return 0;}
8551 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8552 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8554 if test -s conftest.err && $GREP force_load conftest.err; then
8555 cat conftest.err >&5
8556 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8557 lt_cv_ld_force_load=yes
8559 cat conftest.err >&5
8561 rm -f conftest.err libconftest.a conftest conftest.c
8562 rm -rf conftest.dSYM
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8566 $as_echo "$lt_cv_ld_force_load" >&6; }
8568 rhapsody* | darwin1.[012])
8569 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8571 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8572 darwin*) # darwin 5.x on
8573 # if running on 10.5 or later, the deployment target defaults
8574 # to the OS version, if on x86, and 10.4, the deployment
8575 # target defaults to 10.4. Don't you love it?
8576 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8577 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8578 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8580 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8582 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8586 if test yes = "$lt_cv_apple_cc_single_mod"; then
8587 _lt_dar_single_mod='$single_module'
8589 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8590 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8592 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8594 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8595 _lt_dsymutil='~$DSYMUTIL $lib || :'
8602 # func_munge_path_list VARIABLE PATH
8603 # -----------------------------------
8604 # VARIABLE is name of variable containing _space_ separated list of
8605 # directories to be munged by the contents of PATH, which is string
8608 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8610 # string "DIR
[ DIR
]" will be appended to VARIABLE
8611 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8612 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8613 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8615 # VARIABLE will be replaced by "DIR
[ DIR
]"
8616 func_munge_path_list ()
8622 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8625 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8628 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8629 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8632 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8638 ac_cpp='$CPP $CPPFLAGS'
8639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8643 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8644 # On Suns, sometimes $CPP names a directory.
8645 if test -n "$CPP" && test -d "$CPP"; then
8648 if test -z "$CPP"; then
8649 if ${ac_cv_prog_CPP+:} false; then :
8650 $as_echo_n "(cached
) " >&6
8652 # Double quotes because CPP needs to be expanded
8653 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8656 for ac_c_preproc_warn_flag in '' yes
8658 # Use a header file that comes with gcc, so configuring glibc
8659 # with a fresh cross-compiler works.
8660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8661 # <limits.h> exists even on freestanding compilers.
8662 # On the NeXT, cc -E runs the code through the compiler's parser,
8663 # not just through cpp. "Syntax error
" is here to catch this case.
8664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8665 /* end confdefs.h. */
8667 # include <limits.h>
8669 # include <assert.h>
8673 if ac_fn_c_try_cpp "$LINENO"; then :
8676 # Broken: fails on valid input.
8679 rm -f conftest.err conftest.i conftest.$ac_ext
8681 # OK, works on sane cases. Now check whether nonexistent headers
8682 # can be detected and how.
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 #include <ac_nonexistent.h>
8687 if ac_fn_c_try_cpp "$LINENO"; then :
8688 # Broken: success on invalid input.
8691 # Passes both tests.
8695 rm -f conftest.err conftest.i conftest.$ac_ext
8698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8699 rm -f conftest.i conftest.err conftest.$ac_ext
8700 if $ac_preproc_ok; then :
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8713 $as_echo "$CPP" >&6; }
8715 for ac_c_preproc_warn_flag in '' yes
8717 # Use a header file that comes with gcc, so configuring glibc
8718 # with a fresh cross-compiler works.
8719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8720 # <limits.h> exists even on freestanding compilers.
8721 # On the NeXT, cc -E runs the code through the compiler's parser,
8722 # not just through cpp. "Syntax error
" is here to catch this case.
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8726 # include <limits.h>
8728 # include <assert.h>
8732 if ac_fn_c_try_cpp "$LINENO"; then :
8735 # Broken: fails on valid input.
8738 rm -f conftest.err conftest.i conftest.$ac_ext
8740 # OK, works on sane cases. Now check whether nonexistent headers
8741 # can be detected and how.
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 #include <ac_nonexistent.h>
8746 if ac_fn_c_try_cpp "$LINENO"; then :
8747 # Broken: success on invalid input.
8750 # Passes both tests.
8754 rm -f conftest.err conftest.i conftest.$ac_ext
8757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8758 rm -f conftest.i conftest.err conftest.$ac_ext
8759 if $ac_preproc_ok; then :
8762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8764 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8765 See \`config.log' for more details
" "$LINENO" 5; }
8769 ac_cpp='$CPP $CPPFLAGS'
8770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8776 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8777 if ${ac_cv_header_stdc+:} false; then :
8778 $as_echo_n "(cached
) " >&6
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8795 if ac_fn_c_try_compile "$LINENO"; then :
8796 ac_cv_header_stdc=yes
8798 ac_cv_header_stdc=no
8800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8802 if test $ac_cv_header_stdc = yes; then
8803 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8809 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8810 $EGREP "memchr
" >/dev/null 2>&1; then :
8813 ac_cv_header_stdc=no
8819 if test $ac_cv_header_stdc = yes; then
8820 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8826 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8827 $EGREP "free
" >/dev/null 2>&1; then :
8830 ac_cv_header_stdc=no
8836 if test $ac_cv_header_stdc = yes; then
8837 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8838 if test "$cross_compiling" = yes; then :
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8845 #if ((' ' & 0x0FF) == 0x020)
8846 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8847 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8849 # define ISLOWER(c) \
8850 (('a' <= (c) && (c) <= 'i') \
8851 || ('j' <= (c) && (c) <= 'r') \
8852 || ('s' <= (c) && (c) <= 'z'))
8853 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8856 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8861 for (i = 0; i < 256; i++)
8862 if (XOR (islower (i), ISLOWER (i))
8863 || toupper (i) != TOUPPER (i))
8868 if ac_fn_c_try_run "$LINENO"; then :
8871 ac_cv_header_stdc=no
8873 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8874 conftest.$ac_objext conftest.beam conftest.$ac_ext
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8880 $as_echo "$ac_cv_header_stdc" >&6; }
8881 if test $ac_cv_header_stdc = yes; then
8883 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8887 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8888 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8889 inttypes.h stdint.h unistd.h
8891 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8892 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8894 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8895 cat >>confdefs.h
<<_ACEOF
8896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8904 for ac_header
in dlfcn.h
8906 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8908 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8909 cat >>confdefs.h
<<_ACEOF
8910 #define HAVE_DLFCN_H 1
8920 func_stripname_cnf
()
8923 .
*) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8924 *) func_stripname_result
=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8926 } # func_stripname_cnf
8933 # Check whether --enable-static was given.
8934 if test "${enable_static+set}" = set; then :
8935 enableval
=$enable_static; p
=${PACKAGE-default}
8937 yes) enable_static
=yes ;;
8938 no
) enable_static
=no
;;
8941 # Look at the argument we got. We use all the common list separators.
8942 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8943 for pkg
in $enableval; do
8945 if test "X$pkg" = "X$p"; then
8971 # Check whether --enable-shared was given.
8972 if test "${enable_shared+set}" = set; then :
8973 enableval
=$enable_shared; p
=${PACKAGE-default}
8975 yes) enable_shared
=yes ;;
8976 no
) enable_shared
=no
;;
8979 # Look at the argument we got. We use all the common list separators.
8980 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8981 for pkg
in $enableval; do
8983 if test "X$pkg" = "X$p"; then
9004 # Check whether --with-pic was given.
9005 if test "${with_pic+set}" = set; then :
9006 withval
=$with_pic; lt_p
=${PACKAGE-default}
9008 yes|no
) pic_mode
=$withval ;;
9011 # Look at the argument we got. We use all the common list separators.
9012 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9013 for lt_pkg
in $withval; do
9015 if test "X$lt_pkg" = "X$lt_p"; then
9033 # Check whether --enable-fast-install was given.
9034 if test "${enable_fast_install+set}" = set; then :
9035 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9037 yes) enable_fast_install
=yes ;;
9038 no
) enable_fast_install
=no
;;
9040 enable_fast_install
=no
9041 # Look at the argument we got. We use all the common list separators.
9042 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9043 for pkg
in $enableval; do
9045 if test "X$pkg" = "X$p"; then
9046 enable_fast_install
=yes
9053 enable_fast_install
=yes
9063 shared_archive_member_spec
=
9064 case $host,$enable_shared in
9065 power
*-*-aix[5-9]*,yes)
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9067 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9069 # Check whether --with-aix-soname was given.
9070 if test "${with_aix_soname+set}" = set; then :
9071 withval
=$with_aix_soname; case $withval in
9075 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9078 lt_cv_with_aix_soname
=$with_aix_soname
9080 if ${lt_cv_with_aix_soname+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 lt_cv_with_aix_soname
=aix
9086 with_aix_soname
=$lt_cv_with_aix_soname
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9090 $as_echo "$with_aix_soname" >&6; }
9091 if test aix
!= "$with_aix_soname"; then
9092 # For the AIX way of multilib, we name the shared archive member
9093 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9094 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9095 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9096 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9097 if test 64 = "${OBJECT_MODE-32}"; then
9098 shared_archive_member_spec
=shr_64
9100 shared_archive_member_spec
=shr
9118 # This can be used to rebuild libtool when needed
9119 LIBTOOL_DEPS
=$ltmain
9121 # Always use our own libtool.
9122 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9153 test -z "$LN_S" && LN_S
="ln -s"
9168 if test -n "${ZSH_VERSION+set}"; then
9169 setopt NO_GLOB_SUBST
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9173 $as_echo_n "checking for objdir... " >&6; }
9174 if ${lt_cv_objdir+:} false
; then :
9175 $as_echo_n "(cached) " >&6
9177 rm -f .libs
2>/dev
/null
9178 mkdir .libs
2>/dev
/null
9179 if test -d .libs
; then
9182 # MS-DOS does not allow filenames that begin with a dot.
9185 rmdir .libs
2>/dev
/null
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9188 $as_echo "$lt_cv_objdir" >&6; }
9189 objdir
=$lt_cv_objdir
9195 cat >>confdefs.h
<<_ACEOF
9196 #define LT_OBJDIR "$lt_cv_objdir/"
9204 # AIX sometimes has problems with the GCC collect2 program. For some
9205 # reason, if we set the COLLECT_NAMES environment variable, the problems
9206 # vanish in a puff of smoke.
9207 if test set != "${COLLECT_NAMES+set}"; then
9209 export COLLECT_NAMES
9216 can_build_shared
=yes
9218 # All known linkers require a '.a' archive for static linking (except MSVC,
9219 # which needs '.lib').
9222 with_gnu_ld
=$lt_cv_prog_gnu_ld
9227 # Set sane defaults for various variables
9228 test -z "$CC" && CC
=cc
9229 test -z "$LTCC" && LTCC
=$CC
9230 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9231 test -z "$LD" && LD
=ld
9232 test -z "$ac_objext" && ac_objext
=o
9234 func_cc_basename
$compiler
9235 cc_basename
=$func_cc_basename_result
9238 # Only perform the check for file, if the check method requires it
9239 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9240 case $deplibs_check_method in
9242 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9244 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9245 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9246 $as_echo_n "(cached) " >&6
9250 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9253 lt_save_MAGIC_CMD
=$MAGIC_CMD
9254 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9255 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9256 for ac_dir
in $ac_dummy; do
9258 test -z "$ac_dir" && ac_dir
=.
9259 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9260 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9261 if test -n "$file_magic_test_file"; then
9262 case $deplibs_check_method in
9264 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9265 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9266 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9267 $EGREP "$file_magic_regex" > /dev
/null
; then
9272 *** Warning: the command libtool uses to detect shared libraries,
9273 *** $file_magic_cmd, produces output that libtool cannot recognize.
9274 *** The result is that libtool may fail to recognize shared libraries
9275 *** as such. This will affect the creation of libtool libraries that
9276 *** depend on shared libraries, but programs linked with such libtool
9277 *** libraries will work regardless of this problem. Nevertheless, you
9278 *** may want to report the problem to your system manager and/or to
9279 *** bug-libtool@gnu.org
9289 MAGIC_CMD
=$lt_save_MAGIC_CMD
9294 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9295 if test -n "$MAGIC_CMD"; then
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9297 $as_echo "$MAGIC_CMD" >&6; }
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 $as_echo "no" >&6; }
9307 if test -z "$lt_cv_path_MAGIC_CMD"; then
9308 if test -n "$ac_tool_prefix"; then
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9310 $as_echo_n "checking for file... " >&6; }
9311 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9312 $as_echo_n "(cached) " >&6
9316 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9319 lt_save_MAGIC_CMD
=$MAGIC_CMD
9320 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9321 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9322 for ac_dir
in $ac_dummy; do
9324 test -z "$ac_dir" && ac_dir
=.
9325 if test -f "$ac_dir/file"; then
9326 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9327 if test -n "$file_magic_test_file"; then
9328 case $deplibs_check_method in
9330 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9331 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9332 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
9333 $EGREP "$file_magic_regex" > /dev
/null
; then
9338 *** Warning: the command libtool uses to detect shared libraries,
9339 *** $file_magic_cmd, produces output that libtool cannot recognize.
9340 *** The result is that libtool may fail to recognize shared libraries
9341 *** as such. This will affect the creation of libtool libraries that
9342 *** depend on shared libraries, but programs linked with such libtool
9343 *** libraries will work regardless of this problem. Nevertheless, you
9344 *** may want to report the problem to your system manager and/or to
9345 *** bug-libtool@gnu.org
9355 MAGIC_CMD
=$lt_save_MAGIC_CMD
9360 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9361 if test -n "$MAGIC_CMD"; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9363 $as_echo "$MAGIC_CMD" >&6; }
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9366 $as_echo "no" >&6; }
9379 # Use C for the default configuration in the libtool script
9383 ac_cpp
='$CPP $CPPFLAGS'
9384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9389 # Source file extension for C test sources.
9392 # Object file extension for compiled C test sources.
9396 # Code to be used in simple compile tests
9397 lt_simple_compile_test_code
="int some_variable = 0;"
9399 # Code to be used in simple link tests
9400 lt_simple_link_test_code
='int main(){return(0);}'
9408 # If no C compiler was specified, use CC.
9411 # If no C compiler flags were specified, use CFLAGS.
9412 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9414 # Allow CC to be a program name with arguments.
9417 # Save the default compiler, since it gets overwritten when the other
9418 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9419 compiler_DEFAULT
=$CC
9421 # save warnings/boilerplate of simple test code
9422 ac_outfile
=conftest.
$ac_objext
9423 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9424 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9425 _lt_compiler_boilerplate
=`cat conftest.err`
9428 ac_outfile
=conftest.
$ac_objext
9429 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9430 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9431 _lt_linker_boilerplate
=`cat conftest.err`
9436 ## There is no encapsulation within the following macros, do not change
9437 ## the running order or otherwise move them around unless you know exactly
9438 ## what you are doing...
9439 if test -n "$compiler"; then
9441 lt_prog_compiler_no_builtin_flag
=
9443 if test yes = "$GCC"; then
9444 case $cc_basename in
9446 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9448 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9452 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9453 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9454 $as_echo_n "(cached) " >&6
9456 lt_cv_prog_compiler_rtti_exceptions
=no
9457 ac_outfile
=conftest.
$ac_objext
9458 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9459 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9460 # Insert the option either (1) after the last *FLAGS variable, or
9461 # (2) before a word containing "conftest.", or (3) at the end.
9462 # Note that $ac_compile itself does not contain backslashes and begins
9463 # with a dollar sign (not a hyphen), so the echo should work correctly.
9464 # The option is referenced via a variable to avoid confusing sed.
9465 lt_compile
=`echo "$ac_compile" | $SED \
9466 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9467 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9468 -e 's:$: $lt_compiler_flag:'`
9469 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9470 (eval "$lt_compile" 2>conftest.err
)
9472 cat conftest.err
>&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 if (exit $ac_status) && test -s "$ac_outfile"; then
9475 # The compiler can only warn and ignore the option if not recognized
9476 # So say no if there are warnings other than the usual output.
9477 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9478 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9479 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9480 lt_cv_prog_compiler_rtti_exceptions
=yes
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9487 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9489 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9490 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9502 lt_prog_compiler_wl
=
9503 lt_prog_compiler_pic
=
9504 lt_prog_compiler_static
=
9507 if test yes = "$GCC"; then
9508 lt_prog_compiler_wl
='-Wl,'
9509 lt_prog_compiler_static
='-static'
9513 # All AIX code is PIC.
9514 if test ia64
= "$host_cpu"; then
9515 # AIX 5 now supports IA64 processor
9516 lt_prog_compiler_static
='-Bstatic'
9518 lt_prog_compiler_pic
='-fPIC'
9524 # see comment about AmigaOS4 .so support
9525 lt_prog_compiler_pic
='-fPIC'
9528 # FIXME: we need at least 68020 code to build shared libraries, but
9529 # adding the '-m68020' flag to GCC prevents building anything better,
9531 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9536 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9537 # PIC is the default for these OSes.
9540 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9541 # This hack is so that the source file can tell whether it is being
9542 # built for inclusion in a dll (and should export symbols for example).
9543 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9544 # (--disable-auto-import) libraries
9545 lt_prog_compiler_pic
='-DDLL_EXPORT'
9548 lt_prog_compiler_static
='$wl-static'
9553 darwin
* | rhapsody
*)
9554 # PIC is the default on this platform
9555 # Common symbols not allowed in MH_DYLIB files
9556 lt_prog_compiler_pic
='-fno-common'
9560 # PIC is the default for Haiku.
9561 # The "-static" flag exists, but is broken.
9562 lt_prog_compiler_static
=
9566 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9567 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9568 # sets the default TLS model and affects inlining.
9574 lt_prog_compiler_pic
='-fPIC'
9580 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9581 # Instead, we relocate shared libraries at runtime.
9585 # Just because we use GCC doesn't mean we suddenly get shared libraries
9586 # on systems that don't support them.
9587 lt_prog_compiler_can_build_shared
=no
9592 # QNX uses GNU C++, but need to define -shared option too, otherwise
9594 lt_prog_compiler_pic
='-fPIC -shared'
9598 if test -d /usr
/nec
; then
9599 lt_prog_compiler_pic
=-Kconform_pic
9604 lt_prog_compiler_pic
='-fPIC'
9608 case $cc_basename in
9609 nvcc
*) # Cuda Compiler Driver 2.2
9610 lt_prog_compiler_wl
='-Xlinker '
9611 if test -n "$lt_prog_compiler_pic"; then
9612 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9617 # PORTME Check for flag to pass linker flags through the system compiler.
9620 lt_prog_compiler_wl
='-Wl,'
9621 if test ia64
= "$host_cpu"; then
9622 # AIX 5 now supports IA64 processor
9623 lt_prog_compiler_static
='-Bstatic'
9625 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9629 darwin
* | rhapsody
*)
9630 # PIC is the default on this platform
9631 # Common symbols not allowed in MH_DYLIB files
9632 lt_prog_compiler_pic
='-fno-common'
9633 case $cc_basename in
9635 # NAG Fortran compiler
9636 lt_prog_compiler_wl
='-Wl,-Wl,,'
9637 lt_prog_compiler_pic
='-PIC'
9638 lt_prog_compiler_static
='-Bstatic'
9643 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9644 # This hack is so that the source file can tell whether it is being
9645 # built for inclusion in a dll (and should export symbols for example).
9646 lt_prog_compiler_pic
='-DDLL_EXPORT'
9649 lt_prog_compiler_static
='$wl-static'
9654 hpux9
* | hpux10
* | hpux11
*)
9655 lt_prog_compiler_wl
='-Wl,'
9656 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9663 lt_prog_compiler_pic
='+Z'
9666 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9667 lt_prog_compiler_static
='$wl-a ${wl}archive'
9670 irix5
* | irix6
* | nonstopux
*)
9671 lt_prog_compiler_wl
='-Wl,'
9672 # PIC (with -KPIC) is the default.
9673 lt_prog_compiler_static
='-non_shared'
9676 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9677 case $cc_basename in
9678 # old Intel for x86_64, which still supported -KPIC.
9680 lt_prog_compiler_wl
='-Wl,'
9681 lt_prog_compiler_pic
='-KPIC'
9682 lt_prog_compiler_static
='-static'
9684 # icc used to be incompatible with GCC.
9685 # ICC 10 doesn't accept -KPIC any more.
9687 lt_prog_compiler_wl
='-Wl,'
9688 lt_prog_compiler_pic
='-fPIC'
9689 lt_prog_compiler_static
='-static'
9691 # Lahey Fortran 8.1.
9693 lt_prog_compiler_wl
='-Wl,'
9694 lt_prog_compiler_pic
='--shared'
9695 lt_prog_compiler_static
='--static'
9698 # NAG Fortran compiler
9699 lt_prog_compiler_wl
='-Wl,-Wl,,'
9700 lt_prog_compiler_pic
='-PIC'
9701 lt_prog_compiler_static
='-Bstatic'
9704 # Fabrice Bellard et al's Tiny C Compiler
9705 lt_prog_compiler_wl
='-Wl,'
9706 lt_prog_compiler_pic
='-fPIC'
9707 lt_prog_compiler_static
='-static'
9709 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9710 # Portland Group compilers (*not* the Pentium gcc compiler,
9711 # which looks to be a dead project)
9712 lt_prog_compiler_wl
='-Wl,'
9713 lt_prog_compiler_pic
='-fpic'
9714 lt_prog_compiler_static
='-Bstatic'
9717 lt_prog_compiler_wl
='-Wl,'
9718 # All Alpha code is PIC.
9719 lt_prog_compiler_static
='-non_shared'
9721 xl
* | bgxl
* | bgf
* | mpixl
*)
9722 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9723 lt_prog_compiler_wl
='-Wl,'
9724 lt_prog_compiler_pic
='-qpic'
9725 lt_prog_compiler_static
='-qstaticlink'
9728 case `$CC -V 2>&1 | sed 5q` in
9729 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9730 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9731 lt_prog_compiler_pic
='-KPIC'
9732 lt_prog_compiler_static
='-Bstatic'
9733 lt_prog_compiler_wl
=''
9735 *Sun\ F
* | *Sun
*Fortran
*)
9736 lt_prog_compiler_pic
='-KPIC'
9737 lt_prog_compiler_static
='-Bstatic'
9738 lt_prog_compiler_wl
='-Qoption ld '
9742 lt_prog_compiler_pic
='-KPIC'
9743 lt_prog_compiler_static
='-Bstatic'
9744 lt_prog_compiler_wl
='-Wl,'
9746 *Intel
*\
[CF
]*Compiler
*)
9747 lt_prog_compiler_wl
='-Wl,'
9748 lt_prog_compiler_pic
='-fPIC'
9749 lt_prog_compiler_static
='-static'
9752 lt_prog_compiler_wl
='-Wl,'
9753 lt_prog_compiler_pic
='-fpic'
9754 lt_prog_compiler_static
='-Bstatic'
9762 lt_prog_compiler_pic
='-KPIC'
9763 lt_prog_compiler_static
='-Bstatic'
9767 # QNX uses GNU C++, but need to define -shared option too, otherwise
9769 lt_prog_compiler_pic
='-fPIC -shared'
9772 osf3
* | osf4
* | osf5
*)
9773 lt_prog_compiler_wl
='-Wl,'
9774 # All OSF/1 code is PIC.
9775 lt_prog_compiler_static
='-non_shared'
9779 lt_prog_compiler_static
='-non_shared'
9783 lt_prog_compiler_pic
='-KPIC'
9784 lt_prog_compiler_static
='-Bstatic'
9785 case $cc_basename in
9786 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9787 lt_prog_compiler_wl
='-Qoption ld ';;
9789 lt_prog_compiler_wl
='-Wl,';;
9794 lt_prog_compiler_wl
='-Qoption ld '
9795 lt_prog_compiler_pic
='-PIC'
9796 lt_prog_compiler_static
='-Bstatic'
9799 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9800 lt_prog_compiler_wl
='-Wl,'
9801 lt_prog_compiler_pic
='-KPIC'
9802 lt_prog_compiler_static
='-Bstatic'
9806 if test -d /usr
/nec
; then
9807 lt_prog_compiler_pic
='-Kconform_pic'
9808 lt_prog_compiler_static
='-Bstatic'
9812 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9813 lt_prog_compiler_wl
='-Wl,'
9814 lt_prog_compiler_pic
='-KPIC'
9815 lt_prog_compiler_static
='-Bstatic'
9819 lt_prog_compiler_wl
='-Wl,'
9820 lt_prog_compiler_can_build_shared
=no
9824 lt_prog_compiler_pic
='-pic'
9825 lt_prog_compiler_static
='-Bstatic'
9829 lt_prog_compiler_can_build_shared
=no
9835 # For platforms that do not support PIC, -DPIC is meaningless:
9837 lt_prog_compiler_pic
=
9840 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9845 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9846 if ${lt_cv_prog_compiler_pic+:} false
; then :
9847 $as_echo_n "(cached) " >&6
9849 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9852 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9853 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9856 # Check to make sure the PIC flag actually works.
9858 if test -n "$lt_prog_compiler_pic"; then
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9860 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9861 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9862 $as_echo_n "(cached) " >&6
9864 lt_cv_prog_compiler_pic_works
=no
9865 ac_outfile
=conftest.
$ac_objext
9866 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9867 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9868 # Insert the option either (1) after the last *FLAGS variable, or
9869 # (2) before a word containing "conftest.", or (3) at the end.
9870 # Note that $ac_compile itself does not contain backslashes and begins
9871 # with a dollar sign (not a hyphen), so the echo should work correctly.
9872 # The option is referenced via a variable to avoid confusing sed.
9873 lt_compile
=`echo "$ac_compile" | $SED \
9874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9876 -e 's:$: $lt_compiler_flag:'`
9877 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9878 (eval "$lt_compile" 2>conftest.err
)
9880 cat conftest.err
>&5
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882 if (exit $ac_status) && test -s "$ac_outfile"; then
9883 # The compiler can only warn and ignore the option if not recognized
9884 # So say no if there are warnings other than the usual output.
9885 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9886 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9887 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9888 lt_cv_prog_compiler_pic_works
=yes
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9895 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9897 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9898 case $lt_prog_compiler_pic in
9900 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9903 lt_prog_compiler_pic
=
9904 lt_prog_compiler_can_build_shared
=no
9920 # Check to make sure the static flag actually works.
9922 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9924 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9925 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9926 $as_echo_n "(cached) " >&6
9928 lt_cv_prog_compiler_static_works
=no
9929 save_LDFLAGS
=$LDFLAGS
9930 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9931 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9932 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9933 # The linker can only warn and ignore the option if not recognized
9934 # So say no if there are warnings
9935 if test -s conftest.err
; then
9936 # Append any errors to the config.log.
9937 cat conftest.err
1>&5
9938 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9939 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9940 if diff conftest.exp conftest.er2
>/dev
/null
; then
9941 lt_cv_prog_compiler_static_works
=yes
9944 lt_cv_prog_compiler_static_works
=yes
9948 LDFLAGS
=$save_LDFLAGS
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9952 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9954 if test yes = "$lt_cv_prog_compiler_static_works"; then
9957 lt_prog_compiler_static
=
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9967 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9968 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9969 $as_echo_n "(cached) " >&6
9971 lt_cv_prog_compiler_c_o
=no
9972 $RM -r conftest
2>/dev
/null
9976 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9978 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9979 # Insert the option either (1) after the last *FLAGS variable, or
9980 # (2) before a word containing "conftest.", or (3) at the end.
9981 # Note that $ac_compile itself does not contain backslashes and begins
9982 # with a dollar sign (not a hyphen), so the echo should work correctly.
9983 lt_compile
=`echo "$ac_compile" | $SED \
9984 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9985 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9986 -e 's:$: $lt_compiler_flag:'`
9987 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9988 (eval "$lt_compile" 2>out
/conftest.err
)
9990 cat out
/conftest.err
>&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9994 # The compiler can only warn and ignore the option if not recognized
9995 # So say no if there are warnings
9996 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9997 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9998 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9999 lt_cv_prog_compiler_c_o
=yes
10004 # SGI C++ compiler will create directory out/ii_files/ for
10005 # template instantiation
10006 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10007 $RM out
/* && rmdir out
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10014 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10022 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10023 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10024 $as_echo_n "(cached) " >&6
10026 lt_cv_prog_compiler_c_o
=no
10027 $RM -r conftest
2>/dev
/null
10031 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10033 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10034 # Insert the option either (1) after the last *FLAGS variable, or
10035 # (2) before a word containing "conftest.", or (3) at the end.
10036 # Note that $ac_compile itself does not contain backslashes and begins
10037 # with a dollar sign (not a hyphen), so the echo should work correctly.
10038 lt_compile
=`echo "$ac_compile" | $SED \
10039 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10040 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10041 -e 's:$: $lt_compiler_flag:'`
10042 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10043 (eval "$lt_compile" 2>out
/conftest.err
)
10045 cat out
/conftest.err
>&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10049 # The compiler can only warn and ignore the option if not recognized
10050 # So say no if there are warnings
10051 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
10052 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10053 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10054 lt_cv_prog_compiler_c_o
=yes
10059 # SGI C++ compiler will create directory out/ii_files/ for
10060 # template instantiation
10061 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10062 $RM out
/* && rmdir out
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10069 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10074 hard_links
=nottested
10075 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10076 # do not overwrite the value of need_locks provided by the user
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10078 $as_echo_n "checking if we can lock with hard links... " >&6; }
10081 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10083 ln conftest.a conftest.b
2>&5 || hard_links
=no
10084 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10086 $as_echo "$hard_links" >&6; }
10087 if test no
= "$hard_links"; then
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10089 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10102 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10105 allow_undefined_flag
=
10106 always_export_symbols
=no
10108 archive_expsym_cmds
=
10109 compiler_needs_object
=no
10110 enable_shared_with_static_runtimes
=no
10111 export_dynamic_flag_spec
=
10112 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10113 hardcode_automatic
=no
10115 hardcode_direct_absolute
=no
10116 hardcode_libdir_flag_spec
=
10117 hardcode_libdir_separator
=
10118 hardcode_minus_L
=no
10119 hardcode_shlibpath_var
=unsupported
10121 link_all_deplibs
=unknown
10123 module_expsym_cmds
=
10124 old_archive_from_new_cmds
=
10125 old_archive_from_expsyms_cmds
=
10126 thread_safe_flag_spec
=
10127 whole_archive_flag_spec
=
10128 # include_expsyms should be a list of space-separated symbols to be *always*
10129 # included in the symbol list
10131 # exclude_expsyms can be an extended regexp of symbols to exclude
10132 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10133 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10134 # as well as any symbol that contains 'd'.
10135 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10136 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10137 # platforms (ab)use it in PIC code, but their linkers get confused if
10138 # the symbol is explicitly referenced. Since portable code cannot
10139 # rely on this symbol name, it's probably fine to never include it in
10140 # preloaded symbol tables.
10141 # Exclude shared library initialization/finalization symbols.
10142 extract_expsyms_cmds
=
10145 cygwin
* | mingw
* | pw32
* | cegcc
*)
10146 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10147 # When not using gcc, we currently assume that we are using
10148 # Microsoft Visual C++.
10149 if test yes != "$GCC"; then
10154 # we just hope/assume this is gcc and not c89 (= MSVC++)
10157 openbsd
* | bitrig
*)
10164 # On some targets, GNU ld is compatible enough with the native linker
10165 # that we're better off using the native interface for both.
10166 lt_use_gnu_ld_interface
=no
10167 if test yes = "$with_gnu_ld"; then
10170 # The AIX port of GNU ld has always aspired to compatibility
10171 # with the native linker. However, as the warning in the GNU ld
10172 # block says, versions before 2.19.5* couldn't really create working
10173 # shared libraries, regardless of the interface used.
10174 case `$LD -v 2>&1` in
10175 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10176 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10177 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10179 lt_use_gnu_ld_interface
=yes
10184 lt_use_gnu_ld_interface
=yes
10189 if test yes = "$lt_use_gnu_ld_interface"; then
10190 # If archive_cmds runs LD, not CC, wlarc should be empty
10193 # Set some defaults for GNU ld with shared library support. These
10194 # are reset later if shared libraries are not supported. Putting them
10195 # here allows them to be overridden if necessary.
10196 runpath_var
=LD_RUN_PATH
10197 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10198 export_dynamic_flag_spec
='$wl--export-dynamic'
10199 # ancient GNU ld didn't support --whole-archive et. al.
10200 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
10201 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10203 whole_archive_flag_spec
=
10205 supports_anon_versioning
=no
10206 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10207 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10208 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
10209 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10210 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10211 *\
2.11.
*) ;; # other 2.11 versions
10212 *) supports_anon_versioning
=yes ;;
10215 # See if GNU ld supports shared libraries.
10218 # On AIX/PPC, the GNU linker is very broken
10219 if test ia64
!= "$host_cpu"; then
10223 *** Warning: the GNU linker, at least up to release 2.19, is reported
10224 *** to be unable to reliably create shared libraries on AIX.
10225 *** Therefore, libtool is disabling shared libraries support. If you
10226 *** really care for shared libraries, you may want to install binutils
10227 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10228 *** You will then need to restart the configuration process.
10237 # see comment about AmigaOS4 .so support
10238 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10239 archive_expsym_cmds
=''
10242 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)'
10243 hardcode_libdir_flag_spec
='-L$libdir'
10244 hardcode_minus_L
=yes
10250 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10251 allow_undefined_flag
=unsupported
10252 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10253 # support --undefined. This deserves some investigation. FIXME
10254 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10260 cygwin
* | mingw
* | pw32
* | cegcc
*)
10261 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10262 # as there is no search path for DLLs.
10263 hardcode_libdir_flag_spec
='-L$libdir'
10264 export_dynamic_flag_spec
='$wl--export-all-symbols'
10265 allow_undefined_flag
=unsupported
10266 always_export_symbols
=no
10267 enable_shared_with_static_runtimes
=yes
10268 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'
10269 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10271 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
10272 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10273 # If the export-symbols file already is a .def file, use it as
10274 # is; otherwise, prepend EXPORTS...
10275 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10276 cp $export_symbols $output_objdir/$soname.def;
10278 echo EXPORTS > $output_objdir/$soname.def;
10279 cat $export_symbols >> $output_objdir/$soname.def;
10281 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10288 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10289 link_all_deplibs
=yes
10293 hardcode_libdir_flag_spec
='-L$libdir'
10294 hardcode_minus_L
=yes
10295 allow_undefined_flag
=unsupported
10297 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10298 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10299 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10300 $ECHO EXPORTS >> $output_objdir/$libname.def~
10301 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10302 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10303 emximp -o $lib $output_objdir/$libname.def'
10304 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10305 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10306 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10307 $ECHO EXPORTS >> $output_objdir/$libname.def~
10308 prefix_cmds="$SED"~
10309 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10310 prefix_cmds="$prefix_cmds -e 1d";
10312 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10313 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10314 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10315 emximp -o $lib $output_objdir/$libname.def'
10316 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10317 enable_shared_with_static_runtimes
=yes
10322 hardcode_shlibpath_var
=no
10323 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10324 export_dynamic_flag_spec
='$wl-E'
10325 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10326 # Instead, shared libraries are loaded at an image base (0x10000000 by
10327 # default) and relocated if they conflict, which is a slow very memory
10328 # consuming and fragmenting process. To avoid this, we pick a random,
10329 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10330 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10331 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10332 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'
10335 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10337 if test linux
-dietlibc = "$host_os"; then
10338 case $cc_basename in
10339 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10342 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
10343 && test no
= "$tmp_diet"
10345 tmp_addflag
=' $pic_flag'
10346 tmp_sharedflag
='-shared'
10347 case $cc_basename,$host_cpu in
10348 pgcc
*) # Portland Group C compiler
10349 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'
10350 tmp_addflag
=' $pic_flag'
10352 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10353 # Portland Group f77 and f90 compilers
10354 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'
10355 tmp_addflag
=' $pic_flag -Mnomain' ;;
10356 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10357 tmp_addflag
=' -i_dynamic' ;;
10358 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10359 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10360 ifc
* | ifort
*) # Intel Fortran compiler
10361 tmp_addflag
=' -nofor_main' ;;
10362 lf95
*) # Lahey Fortran 8.1
10363 whole_archive_flag_spec
=
10364 tmp_sharedflag
='--shared' ;;
10365 nagfor
*) # NAGFOR 5.3
10366 tmp_sharedflag
='-Wl,-shared' ;;
10367 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10368 tmp_sharedflag
='-qmkshrobj'
10370 nvcc
*) # Cuda Compiler Driver 2.2
10371 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'
10372 compiler_needs_object
=yes
10375 case `$CC -V 2>&1 | sed 5q` in
10376 *Sun\ C
*) # Sun C 5.9
10377 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'
10378 compiler_needs_object
=yes
10379 tmp_sharedflag
='-G' ;;
10380 *Sun\ F
*) # Sun Fortran 8.3
10381 tmp_sharedflag
='-G' ;;
10383 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10385 if test yes = "$supports_anon_versioning"; then
10386 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10387 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10388 echo "local: *; };" >> $output_objdir/$libname.ver~
10389 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10392 case $cc_basename in
10394 export_dynamic_flag_spec
='-rdynamic'
10396 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10397 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10398 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10399 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10400 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10401 if test yes = "$supports_anon_versioning"; then
10402 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10403 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10404 echo "local: *; };" >> $output_objdir/$libname.ver~
10405 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10415 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10416 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10419 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10420 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10425 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
10429 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10430 *** create shared libraries on Solaris systems. Therefore, libtool
10431 *** is disabling shared libraries support. We urge you to upgrade GNU
10432 *** binutils to release 2.9.1 or newer. Another option is to modify
10433 *** your PATH or compiler configuration so that the native linker is
10434 *** used, and then restart.
10437 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10438 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10439 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10445 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10446 case `$LD -v 2>&1` in
10447 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10451 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10452 *** reliably create shared libraries on SCO systems. Therefore, libtool
10453 *** is disabling shared libraries support. We urge you to upgrade GNU
10454 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10455 *** your PATH or compiler configuration so that the native linker is
10456 *** used, and then restart.
10461 # For security reasons, it is highly recommended that you always
10462 # use absolute paths for naming shared libraries, and exclude the
10463 # DT_RUNPATH tag from executables and libraries. But doing so
10464 # requires that you compile everything twice, which is a pain.
10465 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10466 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10467 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10468 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10477 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10479 hardcode_direct
=yes
10480 hardcode_shlibpath_var
=no
10484 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10485 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10486 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10493 if test no
= "$ld_shlibs"; then
10495 hardcode_libdir_flag_spec
=
10496 export_dynamic_flag_spec
=
10497 whole_archive_flag_spec
=
10500 # PORTME fill in a description of your system's linker (not GNU ld)
10503 allow_undefined_flag
=unsupported
10504 always_export_symbols
=yes
10505 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'
10506 # Note: this linker hardcodes the directories in LIBPATH if there
10507 # are no directories specified by -L.
10508 hardcode_minus_L
=yes
10509 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10510 # Neither direct hardcoding nor static linking is supported with a
10512 hardcode_direct
=unsupported
10517 if test ia64
= "$host_cpu"; then
10518 # On IA64, the linker does run time linking by default, so we don't
10519 # have to do anything special.
10520 aix_use_runtimelinking
=no
10521 exp_sym_flag
='-Bexport'
10524 # If we're using GNU nm, then we don't want the "-C" option.
10525 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10526 # Without the "-l" option, or with the "-B" option, AIX nm treats
10527 # weak defined symbols like other global defined symbols, whereas
10528 # GNU nm marks them as "W".
10529 # While the 'weak' keyword is ignored in the Export File, we need
10530 # it in the Import File for the 'aix-soname' feature, so we have
10531 # to replace the "-B" option with "-P" for AIX nm.
10532 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10533 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'
10535 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'
10537 aix_use_runtimelinking
=no
10539 # Test if we are trying to use run time linking or normal
10540 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10541 # have runtime linking enabled, and use it for executables.
10542 # For shared libraries, we enable/disable runtime linking
10543 # depending on the kind of the shared library created -
10544 # when "with_aix_soname,aix_use_runtimelinking" is:
10545 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10546 # "aix,yes" lib.so shared, rtl:yes, for executables
10547 # lib.a static archive
10548 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10549 # lib.a(lib.so.V) shared, rtl:no, for executables
10550 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10551 # lib.a(lib.so.V) shared, rtl:no
10552 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10553 # lib.a static archive
10554 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10555 for ld_flag
in $LDFLAGS; do
10556 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
10557 aix_use_runtimelinking
=yes
10561 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10562 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10563 # so we don't have lib.a shared libs to link our executables.
10564 # We have to force runtime linking in this case.
10565 aix_use_runtimelinking
=yes
10566 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10571 exp_sym_flag
='-bexport'
10572 no_entry_flag
='-bnoentry'
10575 # When large executables or shared objects are built, AIX ld can
10576 # have problems creating the table of contents. If linking a library
10577 # or program results in "error TOC overflow" add -mminimal-toc to
10578 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10579 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10582 hardcode_direct
=yes
10583 hardcode_direct_absolute
=yes
10584 hardcode_libdir_separator
=':'
10585 link_all_deplibs
=yes
10586 file_list_spec
='$wl-f,'
10587 case $with_aix_soname,$aix_use_runtimelinking in
10588 aix
,*) ;; # traditional, no import file
10589 svr4
,* | *,yes) # use import file
10590 # The Import File defines what to hardcode.
10592 hardcode_direct_absolute
=no
10596 if test yes = "$GCC"; then
10597 case $host_os in aix4.
[012]|aix4.
[012].
*)
10598 # We only want to do this on AIX 4.2 and lower, the check
10599 # below for broken collect2 doesn't work under 4.3+
10600 collect2name
=`$CC -print-prog-name=collect2`
10601 if test -f "$collect2name" &&
10602 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10604 # We have reworked collect2
10607 # We have old collect2
10608 hardcode_direct
=unsupported
10609 # It fails to find uninstalled libraries when the uninstalled
10610 # path is not listed in the libpath. Setting hardcode_minus_L
10611 # to unsupported forces relinking
10612 hardcode_minus_L
=yes
10613 hardcode_libdir_flag_spec
='-L$libdir'
10614 hardcode_libdir_separator
=
10618 shared_flag
='-shared'
10619 if test yes = "$aix_use_runtimelinking"; then
10620 shared_flag
="$shared_flag "'$wl-G'
10622 # Need to ensure runtime linking is disabled for the traditional
10623 # shared library, or the linker may eventually find shared libraries
10624 # /with/ Import File - we do not want to mix them.
10625 shared_flag_aix
='-shared'
10626 shared_flag_svr4
='-shared $wl-G'
10629 if test ia64
= "$host_cpu"; then
10630 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10631 # chokes on -Wl,-G. The following line is correct:
10634 if test yes = "$aix_use_runtimelinking"; then
10635 shared_flag
='$wl-G'
10637 shared_flag
='$wl-bM:SRE'
10639 shared_flag_aix
='$wl-bM:SRE'
10640 shared_flag_svr4
='$wl-G'
10644 export_dynamic_flag_spec
='$wl-bexpall'
10645 # It seems that -bexpall does not export symbols beginning with
10646 # underscore (_), so it is better to generate a list of symbols to export.
10647 always_export_symbols
=yes
10648 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10649 # Warning - without using the other runtime loading flags (-brtl),
10650 # -berok will link without error, but may produce a broken library.
10651 allow_undefined_flag
='-berok'
10652 # Determine the default libpath from the value encoded in an
10653 # empty executable.
10654 if test set = "${lt_cv_aix_libpath+set}"; then
10655 aix_libpath
=$lt_cv_aix_libpath
10657 if ${lt_cv_aix_libpath_+:} false
; then :
10658 $as_echo_n "(cached) " >&6
10660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10671 if ac_fn_c_try_link
"$LINENO"; then :
10673 lt_aix_libpath_sed
='
10674 /Import File Strings/,/^$/ {
10676 s/^0 *\([^ ]*\) *$/\1/
10680 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10681 # Check for a 64-bit object if we didn't find anything.
10682 if test -z "$lt_cv_aix_libpath_"; then
10683 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10686 rm -f core conftest.err conftest.
$ac_objext \
10687 conftest
$ac_exeext conftest.
$ac_ext
10688 if test -z "$lt_cv_aix_libpath_"; then
10689 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10694 aix_libpath
=$lt_cv_aix_libpath_
10697 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10698 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
10700 if test ia64
= "$host_cpu"; then
10701 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10702 allow_undefined_flag
="-z nodefs"
10703 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"
10705 # Determine the default libpath from the value encoded in an
10706 # empty executable.
10707 if test set = "${lt_cv_aix_libpath+set}"; then
10708 aix_libpath
=$lt_cv_aix_libpath
10710 if ${lt_cv_aix_libpath_+:} false
; then :
10711 $as_echo_n "(cached) " >&6
10713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10714 /* end confdefs.h. */
10724 if ac_fn_c_try_link
"$LINENO"; then :
10726 lt_aix_libpath_sed
='
10727 /Import File Strings/,/^$/ {
10729 s/^0 *\([^ ]*\) *$/\1/
10733 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10734 # Check for a 64-bit object if we didn't find anything.
10735 if test -z "$lt_cv_aix_libpath_"; then
10736 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10739 rm -f core conftest.err conftest.
$ac_objext \
10740 conftest
$ac_exeext conftest.
$ac_ext
10741 if test -z "$lt_cv_aix_libpath_"; then
10742 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10747 aix_libpath
=$lt_cv_aix_libpath_
10750 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10751 # Warning - without using the other run time loading flags,
10752 # -berok will link without error, but may produce a broken library.
10753 no_undefined_flag
=' $wl-bernotok'
10754 allow_undefined_flag
=' $wl-berok'
10755 if test yes = "$with_gnu_ld"; then
10756 # We only use this code for GNU lds that support --whole-archive.
10757 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10759 # Exported symbols can be pulled into shared objects from archives
10760 whole_archive_flag_spec
='$convenience'
10762 archive_cmds_need_lc
=yes
10763 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10764 # -brtl affects multiple linker settings, -berok does not and is overridden later
10765 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10766 if test svr4
!= "$with_aix_soname"; then
10767 # This is similar to how AIX traditionally builds its shared libraries.
10768 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'
10770 if test aix
!= "$with_aix_soname"; then
10771 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'
10773 # used by -dlpreopen to get the symbols
10774 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10776 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10784 # see comment about AmigaOS4 .so support
10785 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10786 archive_expsym_cmds
=''
10789 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)'
10790 hardcode_libdir_flag_spec
='-L$libdir'
10791 hardcode_minus_L
=yes
10797 export_dynamic_flag_spec
=-rdynamic
10800 cygwin
* | mingw
* | pw32
* | cegcc
*)
10801 # When not using gcc, we currently assume that we are using
10802 # Microsoft Visual C++.
10803 # hardcode_libdir_flag_spec is actually meaningless, as there is
10804 # no search path for DLLs.
10805 case $cc_basename in
10808 hardcode_libdir_flag_spec
=' '
10809 allow_undefined_flag
=unsupported
10810 always_export_symbols
=yes
10812 # Tell ltmain to make .lib files, not .a files.
10814 # Tell ltmain to make .dll files, not .so files.
10816 # FIXME: Setting linknames here is a bad hack.
10817 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10818 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10819 cp "$export_symbols" "$output_objdir/$soname.def";
10820 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10822 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10824 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10826 # The linker will not automatically build a static lib if we build a DLL.
10827 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10828 enable_shared_with_static_runtimes
=yes
10829 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10830 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10832 old_postinstall_cmds
='chmod 644 $oldlib'
10833 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10834 lt_tool_outputfile="@TOOL_OUTPUT@"~
10835 case $lt_outputfile in
10838 lt_outputfile=$lt_outputfile.exe
10839 lt_tool_outputfile=$lt_tool_outputfile.exe
10842 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10843 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10844 $RM "$lt_outputfile.manifest";
10848 # Assume MSVC wrapper
10849 hardcode_libdir_flag_spec
=' '
10850 allow_undefined_flag
=unsupported
10851 # Tell ltmain to make .lib files, not .a files.
10853 # Tell ltmain to make .dll files, not .so files.
10855 # FIXME: Setting linknames here is a bad hack.
10856 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10857 # The linker will automatically build a .lib file if we build a DLL.
10858 old_archive_from_new_cmds
='true'
10859 # FIXME: Should let the user specify the lib program.
10860 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10861 enable_shared_with_static_runtimes
=yes
10866 darwin
* | rhapsody
*)
10869 archive_cmds_need_lc
=no
10871 hardcode_automatic
=yes
10872 hardcode_shlibpath_var
=unsupported
10873 if test yes = "$lt_cv_ld_force_load"; then
10874 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\"`'
10877 whole_archive_flag_spec
=''
10879 link_all_deplibs
=yes
10880 allow_undefined_flag
=$_lt_dar_allow_undefined
10881 case $cc_basename in
10882 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10883 *) _lt_dar_can_shared
=$GCC ;;
10885 if test yes = "$_lt_dar_can_shared"; then
10886 output_verbose_link_cmd
=func_echo_all
10887 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10888 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10889 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"
10890 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"
10899 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10900 hardcode_libdir_flag_spec
='-L$libdir'
10901 hardcode_shlibpath_var
=no
10904 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10905 # support. Future versions do this automatically, but an explicit c++rt0.o
10906 # does not break anything, and helps significantly (at the cost of a little
10909 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10910 hardcode_libdir_flag_spec
='-R$libdir'
10911 hardcode_direct
=yes
10912 hardcode_shlibpath_var
=no
10915 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10917 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10918 hardcode_direct
=yes
10919 hardcode_minus_L
=yes
10920 hardcode_shlibpath_var
=no
10923 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10924 freebsd
* | dragonfly
*)
10925 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10926 hardcode_libdir_flag_spec
='-R$libdir'
10927 hardcode_direct
=yes
10928 hardcode_shlibpath_var
=no
10932 if test yes = "$GCC"; then
10933 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'
10935 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'
10937 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10938 hardcode_libdir_separator
=:
10939 hardcode_direct
=yes
10941 # hardcode_minus_L: Not really in the search PATH,
10942 # but as the default location of the library.
10943 hardcode_minus_L
=yes
10944 export_dynamic_flag_spec
='$wl-E'
10948 if test yes,no
= "$GCC,$with_gnu_ld"; then
10949 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10951 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10953 if test no
= "$with_gnu_ld"; then
10954 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10955 hardcode_libdir_separator
=:
10956 hardcode_direct
=yes
10957 hardcode_direct_absolute
=yes
10958 export_dynamic_flag_spec
='$wl-E'
10959 # hardcode_minus_L: Not really in the search PATH,
10960 # but as the default location of the library.
10961 hardcode_minus_L
=yes
10966 if test yes,no
= "$GCC,$with_gnu_ld"; then
10969 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10972 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10975 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10981 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10984 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10988 # Older versions of the 11.00 compiler do not understand -b yet
10989 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10991 $as_echo_n "checking if $CC understands -b... " >&6; }
10992 if ${lt_cv_prog_compiler__b+:} false
; then :
10993 $as_echo_n "(cached) " >&6
10995 lt_cv_prog_compiler__b
=no
10996 save_LDFLAGS
=$LDFLAGS
10997 LDFLAGS
="$LDFLAGS -b"
10998 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10999 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11000 # The linker can only warn and ignore the option if not recognized
11001 # So say no if there are warnings
11002 if test -s conftest.err
; then
11003 # Append any errors to the config.log.
11004 cat conftest.err
1>&5
11005 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11006 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11007 if diff conftest.exp conftest.er2
>/dev
/null
; then
11008 lt_cv_prog_compiler__b
=yes
11011 lt_cv_prog_compiler__b
=yes
11015 LDFLAGS
=$save_LDFLAGS
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11019 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11021 if test yes = "$lt_cv_prog_compiler__b"; then
11022 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11024 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11030 if test no
= "$with_gnu_ld"; then
11031 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11032 hardcode_libdir_separator
=:
11037 hardcode_shlibpath_var
=no
11040 hardcode_direct
=yes
11041 hardcode_direct_absolute
=yes
11042 export_dynamic_flag_spec
='$wl-E'
11044 # hardcode_minus_L: Not really in the search PATH,
11045 # but as the default location of the library.
11046 hardcode_minus_L
=yes
11052 irix5
* | irix6
* | nonstopux
*)
11053 if test yes = "$GCC"; then
11054 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'
11055 # Try to use the -exported_symbol ld option, if it does not
11056 # work, assume that -exports_file does not work either and
11057 # implicitly export all symbols.
11058 # This should be the same for all languages, so no per-tag cache variable.
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11060 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11061 if ${lt_cv_irix_exported_symbol+:} false
; then :
11062 $as_echo_n "(cached) " >&6
11064 save_LDFLAGS
=$LDFLAGS
11065 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11068 int foo (void) { return 0; }
11070 if ac_fn_c_try_link
"$LINENO"; then :
11071 lt_cv_irix_exported_symbol
=yes
11073 lt_cv_irix_exported_symbol
=no
11075 rm -f core conftest.err conftest.
$ac_objext \
11076 conftest
$ac_exeext conftest.
$ac_ext
11077 LDFLAGS
=$save_LDFLAGS
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11080 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11081 if test yes = "$lt_cv_irix_exported_symbol"; then
11082 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'
11085 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'
11086 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'
11088 archive_cmds_need_lc
='no'
11089 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11090 hardcode_libdir_separator
=:
11092 link_all_deplibs
=yes
11096 case $cc_basename in
11098 # Fabrice Bellard et al's Tiny C Compiler
11100 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11106 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11107 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11109 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11111 hardcode_libdir_flag_spec
='-R$libdir'
11112 hardcode_direct
=yes
11113 hardcode_shlibpath_var
=no
11117 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11118 hardcode_direct
=yes
11119 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11120 hardcode_libdir_separator
=:
11121 hardcode_shlibpath_var
=no
11127 openbsd
* | bitrig
*)
11128 if test -f /usr
/libexec
/ld.so
; then
11129 hardcode_direct
=yes
11130 hardcode_shlibpath_var
=no
11131 hardcode_direct_absolute
=yes
11132 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11133 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11134 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11135 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11136 export_dynamic_flag_spec
='$wl-E'
11138 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11139 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11147 hardcode_libdir_flag_spec
='-L$libdir'
11148 hardcode_minus_L
=yes
11149 allow_undefined_flag
=unsupported
11151 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11152 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11153 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11154 $ECHO EXPORTS >> $output_objdir/$libname.def~
11155 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11156 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11157 emximp -o $lib $output_objdir/$libname.def'
11158 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11159 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11160 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11161 $ECHO EXPORTS >> $output_objdir/$libname.def~
11162 prefix_cmds="$SED"~
11163 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11164 prefix_cmds="$prefix_cmds -e 1d";
11166 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11167 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11168 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11169 emximp -o $lib $output_objdir/$libname.def'
11170 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11171 enable_shared_with_static_runtimes
=yes
11175 if test yes = "$GCC"; then
11176 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11177 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'
11179 allow_undefined_flag
=' -expect_unresolved \*'
11180 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'
11182 archive_cmds_need_lc
='no'
11183 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11184 hardcode_libdir_separator
=:
11187 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11188 if test yes = "$GCC"; then
11189 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11190 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'
11191 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11193 allow_undefined_flag
=' -expect_unresolved \*'
11194 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'
11195 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~
11196 $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'
11198 # Both c and cxx compiler support -rpath directly
11199 hardcode_libdir_flag_spec
='-rpath $libdir'
11201 archive_cmds_need_lc
='no'
11202 hardcode_libdir_separator
=:
11206 no_undefined_flag
=' -z defs'
11207 if test yes = "$GCC"; then
11209 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11210 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11211 $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'
11213 case `$CC -V 2>&1` in
11216 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11217 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11218 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11222 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11223 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11224 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11228 hardcode_libdir_flag_spec
='-R$libdir'
11229 hardcode_shlibpath_var
=no
11231 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11233 # The compiler driver will combine and reorder linker options,
11234 # but understands '-z linker_flag'. GCC discards it without '$wl',
11235 # but is careful enough not to reorder.
11236 # Supported since Solaris 2.6 (maybe 2.5.1?)
11237 if test yes = "$GCC"; then
11238 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11240 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11244 link_all_deplibs
=yes
11248 if test sequent
= "$host_vendor"; then
11249 # Use $CC to link under sequent, because it throws in some extra .o
11250 # files that make .init and .fini sections work.
11251 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11253 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11255 hardcode_libdir_flag_spec
='-L$libdir'
11256 hardcode_direct
=yes
11257 hardcode_minus_L
=yes
11258 hardcode_shlibpath_var
=no
11262 case $host_vendor in
11264 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11265 hardcode_direct
=yes # is this really true???
11268 ## LD is ld it makes a PLAMLIB
11269 ## CC just makes a GrossModule.
11270 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11271 reload_cmds
='$CC -r -o $output$reload_objs'
11275 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11276 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11279 runpath_var
='LD_RUN_PATH'
11280 hardcode_shlibpath_var
=no
11284 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11285 hardcode_shlibpath_var
=no
11286 export_dynamic_flag_spec
='-Bexport'
11290 if test -d /usr
/nec
; then
11291 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11292 hardcode_shlibpath_var
=no
11293 runpath_var
=LD_RUN_PATH
11294 hardcode_runpath_var
=yes
11299 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11300 no_undefined_flag
='$wl-z,text'
11301 archive_cmds_need_lc
=no
11302 hardcode_shlibpath_var
=no
11303 runpath_var
='LD_RUN_PATH'
11305 if test yes = "$GCC"; then
11306 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11307 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11309 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11310 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11314 sysv5
* | sco3.2v5
* | sco5v6
*)
11315 # Note: We CANNOT use -z defs as we might desire, because we do not
11316 # link with -lc, and that would cause any symbols used from libc to
11317 # always be unresolved, which means just about no library would
11318 # ever link correctly. If we're not using GNU ld we use -z text
11319 # though, which does catch some bad symbols but isn't as heavy-handed
11321 no_undefined_flag
='$wl-z,text'
11322 allow_undefined_flag
='$wl-z,nodefs'
11323 archive_cmds_need_lc
=no
11324 hardcode_shlibpath_var
=no
11325 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11326 hardcode_libdir_separator
=':'
11327 link_all_deplibs
=yes
11328 export_dynamic_flag_spec
='$wl-Bexport'
11329 runpath_var
='LD_RUN_PATH'
11331 if test yes = "$GCC"; then
11332 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11333 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11335 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11336 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11341 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11342 hardcode_libdir_flag_spec
='-L$libdir'
11343 hardcode_shlibpath_var
=no
11351 if test sni
= "$host_vendor"; then
11353 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11354 export_dynamic_flag_spec
='$wl-Blargedynsym'
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11361 $as_echo "$ld_shlibs" >&6; }
11362 test no
= "$ld_shlibs" && can_build_shared
=no
11364 with_gnu_ld
=$with_gnu_ld
11381 # Do we need to explicitly link libc?
11383 case "x$archive_cmds_need_lc" in
11385 # Assume -lc should be added
11386 archive_cmds_need_lc
=yes
11388 if test yes,yes = "$GCC,$enable_shared"; then
11389 case $archive_cmds in
11391 # FIXME: we may have to deal with multi-command sequences.
11394 # Test whether the compiler implicitly links with -lc since on some
11395 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11396 # to ld, don't add -lc before -lgcc.
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11398 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11399 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11400 $as_echo_n "(cached) " >&6
11403 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11406 (eval $ac_compile) 2>&5
11408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11409 test $ac_status = 0; } 2>conftest.err
; then
11412 libobjs
=conftest.
$ac_objext
11414 wl
=$lt_prog_compiler_wl
11415 pic_flag
=$lt_prog_compiler_pic
11421 lt_save_allow_undefined_flag
=$allow_undefined_flag
11422 allow_undefined_flag
=
11423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11424 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11427 test $ac_status = 0; }
11429 lt_cv_archive_cmds_need_lc
=no
11431 lt_cv_archive_cmds_need_lc
=yes
11433 allow_undefined_flag
=$lt_save_allow_undefined_flag
11435 cat conftest.err
1>&5
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11441 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11442 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11601 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11603 if test yes = "$GCC"; then
11605 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11606 *) lt_awk_arg
='/^libraries:/' ;;
11609 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11610 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11612 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11613 case $lt_search_path_spec in
11615 # if the path contains ";" then we assume it to be the separator
11616 # otherwise default to the standard path separator (i.e. ":") - it is
11617 # assumed that no part of a normal pathname contains ";" but that should
11618 # okay in the real world where ";" in dirpaths is itself problematic.
11619 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11622 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11625 # Ok, now we have the path, separated by spaces, we can step through it
11626 # and add multilib dir if necessary...
11627 lt_tmp_lt_search_path_spec
=
11628 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11629 # ...but if some path component already ends with the multilib dir we assume
11630 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11631 case "$lt_multi_os_dir; $lt_search_path_spec " in
11632 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11636 for lt_sys_path
in $lt_search_path_spec; do
11637 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11638 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11639 elif test -n "$lt_multi_os_dir"; then
11640 test -d "$lt_sys_path" && \
11641 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11644 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11645 BEGIN {RS = " "; FS = "/|\n";} {
11648 for (lt_i = NF; lt_i > 0; lt_i--) {
11649 if ($lt_i != "" && $lt_i != ".") {
11650 if ($lt_i == "..") {
11653 if (lt_count == 0) {
11654 lt_foo = "/" $lt_i lt_foo;
11661 if (lt_foo != "") { lt_freq[lt_foo]++; }
11662 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11664 # AWK program above erroneously prepends '/' to C:/dos/paths
11667 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11668 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11670 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11672 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11674 library_names_spec
=
11675 libname_spec
='lib$name'
11679 postuninstall_cmds
=
11683 shlibpath_overrides_runpath
=unknown
11685 dynamic_linker
="$host_os ld.so"
11686 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11687 need_lib_prefix
=unknown
11688 hardcode_into_libs
=no
11690 # when you set need_version to no, make sure it does not cause -set_version
11691 # flags to be left without arguments
11692 need_version
=unknown
11698 version_type
=linux
# correct to gnu/linux during the next big refactor
11699 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11700 shlibpath_var
=LIBPATH
11702 # AIX 3 has no versioning support, so we append a major version to the name.
11703 soname_spec
='$libname$release$shared_ext$major'
11707 version_type
=linux
# correct to gnu/linux during the next big refactor
11710 hardcode_into_libs
=yes
11711 if test ia64
= "$host_cpu"; then
11712 # AIX 5 supports IA64
11713 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11714 shlibpath_var
=LD_LIBRARY_PATH
11716 # With GCC up to 2.95.x, collect2 would create an import file
11717 # for dependence libraries. The import file would start with
11718 # the line '#! .'. This would cause the generated library to
11719 # depend on '.', always an invalid library. This was fixed in
11720 # development snapshots of GCC prior to 3.0.
11722 aix4
| aix4.
[01] | aix4.
[01].
*)
11723 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11725 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11728 can_build_shared
=no
11732 # Using Import Files as archive members, it is possible to support
11733 # filename-based versioning of shared library archives on AIX. While
11734 # this would work for both with and without runtime linking, it will
11735 # prevent static linking of such archives. So we do filename-based
11736 # shared library versioning with .so extension only, which is used
11737 # when both runtime linking and shared linking is enabled.
11738 # Unfortunately, runtime linking may impact performance, so we do
11739 # not want this to be the default eventually. Also, we use the
11740 # versioned .so libs for executables only if there is the -brtl
11741 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11742 # To allow for filename-based versioning support, we need to create
11743 # libNAME.so.V as an archive file, containing:
11744 # *) an Import File, referring to the versioned filename of the
11745 # archive as well as the shared archive member, telling the
11746 # bitwidth (32 or 64) of that shared object, and providing the
11747 # list of exported symbols of that shared object, eventually
11748 # decorated with the 'weak' keyword
11749 # *) the shared object with the F_LOADONLY flag set, to really avoid
11750 # it being seen by the linker.
11751 # At run time we better use the real file rather than another symlink,
11752 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11754 case $with_aix_soname,$aix_use_runtimelinking in
11755 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11756 # soname into executable. Probably we can add versioning support to
11757 # collect2, so additional links can be useful in future.
11758 aix
,yes) # traditional libtool
11759 dynamic_linker
='AIX unversionable lib.so'
11760 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11761 # instead of lib<name>.a to let people know that these are not
11762 # typical AIX shared libraries.
11763 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11765 aix
,no
) # traditional AIX only
11766 dynamic_linker
='AIX lib.a(lib.so.V)'
11767 # We preserve .a as extension for shared libraries through AIX4.2
11768 # and later when we are not doing run time linking.
11769 library_names_spec
='$libname$release.a $libname.a'
11770 soname_spec
='$libname$release$shared_ext$major'
11772 svr4
,*) # full svr4 only
11773 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11774 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11775 # We do not specify a path in Import Files, so LIBPATH fires.
11776 shlibpath_overrides_runpath
=yes
11778 *,yes) # both, prefer svr4
11779 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11780 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11781 # unpreferred sharedlib libNAME.a needs extra handling
11782 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"'
11783 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"'
11784 # We do not specify a path in Import Files, so LIBPATH fires.
11785 shlibpath_overrides_runpath
=yes
11787 *,no
) # both, prefer aix
11788 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11789 library_names_spec
='$libname$release.a $libname.a'
11790 soname_spec
='$libname$release$shared_ext$major'
11791 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11792 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)'
11793 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"'
11796 shlibpath_var
=LIBPATH
11803 # Since July 2007 AmigaOS4 officially supports .so libraries.
11804 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11805 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11808 library_names_spec
='$libname.ixlibrary $libname.a'
11809 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11810 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'
11816 library_names_spec
='$libname$shared_ext'
11817 dynamic_linker
="$host_os ld.so"
11818 shlibpath_var
=LIBRARY_PATH
11822 version_type
=linux
# correct to gnu/linux during the next big refactor
11824 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11825 soname_spec
='$libname$release$shared_ext$major'
11826 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11827 shlibpath_var
=LD_LIBRARY_PATH
11828 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11829 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11830 # the default ld.so.conf also contains /usr/contrib/lib and
11831 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11832 # libtool to hard-code these into programs
11835 cygwin
* | mingw
* | pw32
* | cegcc
*)
11836 version_type
=windows
11841 case $GCC,$cc_basename in
11844 library_names_spec
='$libname.dll.a'
11845 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11846 postinstall_cmds
='base_file=`basename \$file`~
11847 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11848 dldir=$destdir/`dirname \$dlpath`~
11849 test -d \$dldir || mkdir -p \$dldir~
11850 $install_prog $dir/$dlname \$dldir/$dlname~
11851 chmod a+x \$dldir/$dlname~
11852 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11853 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11855 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11856 dlpath=$dir/\$dldll~
11858 shlibpath_overrides_runpath
=yes
11862 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11863 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11865 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11868 # MinGW DLLs use traditional 'lib' prefix
11869 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11872 # pw32 DLLs use 'pw' prefix rather than 'lib'
11873 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11876 dynamic_linker
='Win32 ld.exe'
11881 libname_spec
='$name'
11882 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11883 library_names_spec
='$libname.dll.lib'
11887 sys_lib_search_path_spec
=
11890 for lt_path
in $LIB
11893 # Let DOS variable expansion print the short 8.3 style file name.
11894 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11895 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11898 # Convert to MSYS style.
11899 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11902 # Convert to unix form, then to dos form, then back to unix form
11903 # but this time dos style (no spaces!) so that the unix form looks
11904 # like /cygdrive/c/PROGRA~1:/cygdr...
11905 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11906 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11907 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11910 sys_lib_search_path_spec
=$LIB
11911 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11912 # It is most probably a Windows format PATH.
11913 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11915 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11917 # FIXME: find the short name or the path components, as spaces are
11918 # common. (e.g. "Program Files" -> "PROGRA~1")
11922 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11923 postinstall_cmds
='base_file=`basename \$file`~
11924 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11925 dldir=$destdir/`dirname \$dlpath`~
11926 test -d \$dldir || mkdir -p \$dldir~
11927 $install_prog $dir/$dlname \$dldir/$dlname'
11928 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11929 dlpath=$dir/\$dldll~
11931 shlibpath_overrides_runpath
=yes
11932 dynamic_linker
='Win32 link.exe'
11936 # Assume MSVC wrapper
11937 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11938 dynamic_linker
='Win32 ld.exe'
11941 # FIXME: first we should search . and the directory the executable is in
11945 darwin
* | rhapsody
*)
11946 dynamic_linker
="$host_os dyld"
11947 version_type
=darwin
11950 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11951 soname_spec
='$libname$release$major$shared_ext'
11952 shlibpath_overrides_runpath
=yes
11953 shlibpath_var
=DYLD_LIBRARY_PATH
11954 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11956 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11957 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11961 version_type
=linux
# correct to gnu/linux during the next big refactor
11964 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11965 soname_spec
='$libname$release$shared_ext$major'
11966 shlibpath_var
=LD_LIBRARY_PATH
11969 freebsd
* | dragonfly
*)
11970 # DragonFly does not have aout. When/if they implement a new
11971 # versioning mechanism, adjust this.
11972 if test -x /usr
/bin
/objformat
; then
11973 objformat
=`/usr/bin/objformat`
11976 freebsd
[23].
*) objformat
=aout
;;
11977 *) objformat
=elf
;;
11980 version_type
=freebsd
-$objformat
11981 case $version_type in
11983 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11984 soname_spec
='$libname$release$shared_ext$major'
11989 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11993 shlibpath_var
=LD_LIBRARY_PATH
11996 shlibpath_overrides_runpath
=yes
11998 freebsd3.
[01]* | freebsdelf3.
[01]*)
11999 shlibpath_overrides_runpath
=yes
12000 hardcode_into_libs
=yes
12002 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12003 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12004 shlibpath_overrides_runpath
=no
12005 hardcode_into_libs
=yes
12007 *) # from 4.6 on, and DragonFly
12008 shlibpath_overrides_runpath
=yes
12009 hardcode_into_libs
=yes
12015 version_type
=linux
# correct to gnu/linux during the next big refactor
12018 dynamic_linker
="$host_os runtime_loader"
12019 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12020 soname_spec
='$libname$release$shared_ext$major'
12021 shlibpath_var
=LIBRARY_PATH
12022 shlibpath_overrides_runpath
=no
12023 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12024 hardcode_into_libs
=yes
12027 hpux9
* | hpux10
* | hpux11
*)
12028 # Give a soname corresponding to the major version so that dld.sl refuses to
12029 # link against other versions.
12036 hardcode_into_libs
=yes
12037 dynamic_linker
="$host_os dld.so"
12038 shlibpath_var
=LD_LIBRARY_PATH
12039 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12040 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12041 soname_spec
='$libname$release$shared_ext$major'
12042 if test 32 = "$HPUX_IA64_MODE"; then
12043 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12044 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12046 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12047 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12052 hardcode_into_libs
=yes
12053 dynamic_linker
="$host_os dld.sl"
12054 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12055 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12056 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12057 soname_spec
='$libname$release$shared_ext$major'
12058 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12059 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12063 dynamic_linker
="$host_os dld.sl"
12064 shlibpath_var
=SHLIB_PATH
12065 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12066 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12067 soname_spec
='$libname$release$shared_ext$major'
12070 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12071 postinstall_cmds
='chmod 555 $lib'
12072 # or fails outright, so override atomically:
12073 install_override_mode
=555
12077 version_type
=linux
# correct to gnu/linux during the next big refactor
12080 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12081 soname_spec
='$libname$release$shared_ext$major'
12082 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12083 shlibpath_var
=LD_LIBRARY_PATH
12084 shlibpath_overrides_runpath
=no
12085 hardcode_into_libs
=yes
12088 irix5
* | irix6
* | nonstopux
*)
12090 nonstopux
*) version_type
=nonstopux
;;
12092 if test yes = "$lt_cv_prog_gnu_ld"; then
12093 version_type
=linux
# correct to gnu/linux during the next big refactor
12100 soname_spec
='$libname$release$shared_ext$major'
12101 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12103 irix5
* | nonstopux
*)
12104 libsuff
= shlibsuff
=
12107 case $LD in # libtool.m4 will add one of these switches to LD
12108 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12109 libsuff
= shlibsuff
= libmagic
=32-bit;;
12110 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12111 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12112 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12113 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12114 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
12118 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12119 shlibpath_overrides_runpath
=no
12120 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12121 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12122 hardcode_into_libs
=yes
12125 # No shared lib support for Linux oldld, aout, or coff.
12126 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12131 version_type
=none
# Android doesn't support versioned libraries.
12134 library_names_spec
='$libname$release$shared_ext'
12135 soname_spec
='$libname$release$shared_ext'
12137 shlibpath_var
=LD_LIBRARY_PATH
12138 shlibpath_overrides_runpath
=yes
12140 # This implies no fast_install, which is unacceptable.
12141 # Some rework will be needed to allow for fast_install
12142 # before this can be enabled.
12143 hardcode_into_libs
=yes
12145 dynamic_linker
='Android linker'
12146 # Don't embed -rpath directories since the linker doesn't support them.
12147 hardcode_libdir_flag_spec
='-L$libdir'
12150 # This must be glibc/ELF.
12151 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12152 version_type
=linux
# correct to gnu/linux during the next big refactor
12155 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12156 soname_spec
='$libname$release$shared_ext$major'
12157 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12158 shlibpath_var
=LD_LIBRARY_PATH
12159 shlibpath_overrides_runpath
=no
12161 # Some binutils ld are patched to set DT_RUNPATH
12162 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12163 $as_echo_n "(cached) " >&6
12165 lt_cv_shlibpath_overrides_runpath
=no
12166 save_LDFLAGS
=$LDFLAGS
12167 save_libdir
=$libdir
12168 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12169 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12181 if ac_fn_c_try_link
"$LINENO"; then :
12182 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
12183 lt_cv_shlibpath_overrides_runpath
=yes
12186 rm -f core conftest.err conftest.
$ac_objext \
12187 conftest
$ac_exeext conftest.
$ac_ext
12188 LDFLAGS
=$save_LDFLAGS
12189 libdir
=$save_libdir
12193 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12195 # This implies no fast_install, which is unacceptable.
12196 # Some rework will be needed to allow for fast_install
12197 # before this can be enabled.
12198 hardcode_into_libs
=yes
12200 # Ideally, we could use ldconfig to report *all* directores which are
12201 # searched for libraries, however this is still not possible. Aside from not
12202 # being certain /sbin/ldconfig is available, command
12203 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12204 # even though it is searched at run-time. Try to do the best guess by
12205 # appending ld.so.conf contents (and includes) to the search path.
12206 if test -f /etc
/ld.so.conf
; then
12207 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' ' '`
12208 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12211 # We used to test for /lib/ld.so.1 and disable shared libraries on
12212 # powerpc, because MkLinux only supported shared libraries with the
12213 # GNU dynamic linker. Since this was broken with cross compilers,
12214 # most powerpc-linux boxes support dynamic linking these days and
12215 # people can always --disable-shared, the test was removed, and we
12216 # assume the GNU/Linux dynamic linker is in use.
12217 dynamic_linker
='GNU/Linux ld.so'
12224 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12225 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12226 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12227 dynamic_linker
='NetBSD (a.out) ld.so'
12229 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12230 soname_spec
='$libname$release$shared_ext$major'
12231 dynamic_linker
='NetBSD ld.elf_so'
12233 shlibpath_var
=LD_LIBRARY_PATH
12234 shlibpath_overrides_runpath
=yes
12235 hardcode_into_libs
=yes
12239 version_type
=linux
# correct to gnu/linux during the next big refactor
12240 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12241 shlibpath_var
=LD_LIBRARY_PATH
12242 shlibpath_overrides_runpath
=yes
12249 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12250 soname_spec
='$libname$release$shared_ext$major'
12251 shlibpath_var
=LD_LIBRARY_PATH
12252 shlibpath_overrides_runpath
=no
12253 hardcode_into_libs
=yes
12254 dynamic_linker
='ldqnx.so'
12257 openbsd
* | bitrig
*)
12259 sys_lib_dlsearch_path_spec
=/usr
/lib
12261 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12266 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12267 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12268 shlibpath_var
=LD_LIBRARY_PATH
12269 shlibpath_overrides_runpath
=yes
12273 libname_spec
='$name'
12274 version_type
=windows
12278 # OS/2 can only load a DLL with a base name of 8 characters or less.
12279 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12280 v=$($ECHO $release$versuffix | tr -d .-);
12281 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12282 $ECHO $n$v`$shared_ext'
12283 library_names_spec
='${libname}_dll.$libext'
12284 dynamic_linker
='OS/2 ld.exe'
12285 shlibpath_var
=BEGINLIBPATH
12286 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12287 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12288 postinstall_cmds
='base_file=`basename \$file`~
12289 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12290 dldir=$destdir/`dirname \$dlpath`~
12291 test -d \$dldir || mkdir -p \$dldir~
12292 $install_prog $dir/$dlname \$dldir/$dlname~
12293 chmod a+x \$dldir/$dlname~
12294 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12295 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12297 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12298 dlpath=$dir/\$dldll~
12302 osf3
* | osf4
* | osf5
*)
12306 soname_spec
='$libname$release$shared_ext$major'
12307 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12308 shlibpath_var
=LD_LIBRARY_PATH
12309 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12310 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12318 version_type
=linux
# correct to gnu/linux during the next big refactor
12321 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12322 soname_spec
='$libname$release$shared_ext$major'
12323 shlibpath_var
=LD_LIBRARY_PATH
12324 shlibpath_overrides_runpath
=yes
12325 hardcode_into_libs
=yes
12326 # ldd complains unless libraries are executable
12327 postinstall_cmds
='chmod +x $lib'
12332 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12333 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12334 shlibpath_var
=LD_LIBRARY_PATH
12335 shlibpath_overrides_runpath
=yes
12336 if test yes = "$with_gnu_ld"; then
12343 version_type
=linux
# correct to gnu/linux during the next big refactor
12344 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12345 soname_spec
='$libname$release$shared_ext$major'
12346 shlibpath_var
=LD_LIBRARY_PATH
12347 case $host_vendor in
12349 shlibpath_overrides_runpath
=no
12351 runpath_var
=LD_RUN_PATH
12359 shlibpath_overrides_runpath
=no
12360 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12366 if test -d /usr
/nec
; then
12367 version_type
=linux
# correct to gnu/linux during the next big refactor
12368 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12369 soname_spec
='$libname$shared_ext.$major'
12370 shlibpath_var
=LD_LIBRARY_PATH
12374 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12378 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12379 soname_spec
='$libname$release$shared_ext$major'
12380 shlibpath_var
=LD_LIBRARY_PATH
12381 shlibpath_overrides_runpath
=yes
12382 hardcode_into_libs
=yes
12383 if test yes = "$with_gnu_ld"; then
12384 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12386 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12389 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12393 sys_lib_dlsearch_path_spec
='/usr/lib'
12397 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12398 version_type
=linux
# correct to gnu/linux during the next big refactor
12401 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12402 shlibpath_var
=LD_LIBRARY_PATH
12403 shlibpath_overrides_runpath
=no
12404 hardcode_into_libs
=yes
12408 version_type
=linux
# correct to gnu/linux during the next big refactor
12409 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12410 soname_spec
='$libname$release$shared_ext$major'
12411 shlibpath_var
=LD_LIBRARY_PATH
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12419 $as_echo "$dynamic_linker" >&6; }
12420 test no
= "$dynamic_linker" && can_build_shared
=no
12422 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12423 if test yes = "$GCC"; then
12424 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12427 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12428 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12431 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12432 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12435 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12436 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12438 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12439 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12441 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12442 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12541 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12543 if test -n "$hardcode_libdir_flag_spec" ||
12544 test -n "$runpath_var" ||
12545 test yes = "$hardcode_automatic"; then
12547 # We can hardcode non-existent directories.
12548 if test no
!= "$hardcode_direct" &&
12549 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12550 # have to relink, otherwise we might link with an installed library
12551 # when we should be linking with a yet-to-be-installed one
12552 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12553 test no
!= "$hardcode_minus_L"; then
12554 # Linking always hardcodes the temporary library directory.
12555 hardcode_action
=relink
12557 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12558 hardcode_action
=immediate
12561 # We cannot hardcode anything, or else we can only hardcode existing
12563 hardcode_action
=unsupported
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12566 $as_echo "$hardcode_action" >&6; }
12568 if test relink
= "$hardcode_action" ||
12569 test yes = "$inherit_rpath"; then
12570 # Fast installation is not supported
12571 enable_fast_install
=no
12572 elif test yes = "$shlibpath_overrides_runpath" ||
12573 test no
= "$enable_shared"; then
12574 # Fast installation is not necessary
12575 enable_fast_install
=needless
12583 if test yes != "$enable_dlopen"; then
12584 enable_dlopen
=unknown
12585 enable_dlopen_self
=unknown
12586 enable_dlopen_self_static
=unknown
12593 lt_cv_dlopen
=load_add_on
12595 lt_cv_dlopen_self
=yes
12598 mingw
* | pw32
* | cegcc
*)
12599 lt_cv_dlopen
=LoadLibrary
12604 lt_cv_dlopen
=dlopen
12609 # if libdl is installed we need to link against it
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12611 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12612 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12613 $as_echo_n "(cached) " >&6
12615 ac_check_lib_save_LIBS
=$LIBS
12617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12635 if ac_fn_c_try_link
"$LINENO"; then :
12636 ac_cv_lib_dl_dlopen
=yes
12638 ac_cv_lib_dl_dlopen
=no
12640 rm -f core conftest.err conftest.
$ac_objext \
12641 conftest
$ac_exeext conftest.
$ac_ext
12642 LIBS
=$ac_check_lib_save_LIBS
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12645 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12646 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12647 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12652 lt_cv_dlopen_self
=yes
12659 # Don't try to run any link tests for TPF. We know it's impossible
12660 # because TPF is a cross-compiler, and we know how we open DSOs.
12661 lt_cv_dlopen
=dlopen
12663 lt_cv_dlopen_self
=no
12667 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12668 if test "x$ac_cv_func_shl_load" = xyes
; then :
12669 lt_cv_dlopen
=shl_load
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12672 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12673 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12674 $as_echo_n "(cached) " >&6
12676 ac_check_lib_save_LIBS
=$LIBS
12678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12681 /* Override any GCC internal prototype to avoid an error.
12682 Use char because int might match the return type of a GCC
12683 builtin and then its argument prototype would still apply. */
12691 return shl_load ();
12696 if ac_fn_c_try_link
"$LINENO"; then :
12697 ac_cv_lib_dld_shl_load
=yes
12699 ac_cv_lib_dld_shl_load
=no
12701 rm -f core conftest.err conftest.
$ac_objext \
12702 conftest
$ac_exeext conftest.
$ac_ext
12703 LIBS
=$ac_check_lib_save_LIBS
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12706 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12707 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12708 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12710 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12711 if test "x$ac_cv_func_dlopen" = xyes
; then :
12712 lt_cv_dlopen
=dlopen
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12715 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12716 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12717 $as_echo_n "(cached) " >&6
12719 ac_check_lib_save_LIBS
=$LIBS
12721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 /* Override any GCC internal prototype to avoid an error.
12725 Use char because int might match the return type of a GCC
12726 builtin and then its argument prototype would still apply. */
12739 if ac_fn_c_try_link
"$LINENO"; then :
12740 ac_cv_lib_dl_dlopen
=yes
12742 ac_cv_lib_dl_dlopen
=no
12744 rm -f core conftest.err conftest.
$ac_objext \
12745 conftest
$ac_exeext conftest.
$ac_ext
12746 LIBS
=$ac_check_lib_save_LIBS
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12749 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12750 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12751 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12754 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12755 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12756 $as_echo_n "(cached) " >&6
12758 ac_check_lib_save_LIBS
=$LIBS
12759 LIBS
="-lsvld $LIBS"
12760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12778 if ac_fn_c_try_link
"$LINENO"; then :
12779 ac_cv_lib_svld_dlopen
=yes
12781 ac_cv_lib_svld_dlopen
=no
12783 rm -f core conftest.err conftest.
$ac_objext \
12784 conftest
$ac_exeext conftest.
$ac_ext
12785 LIBS
=$ac_check_lib_save_LIBS
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12788 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12789 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12790 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12793 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12794 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12795 $as_echo_n "(cached) " >&6
12797 ac_check_lib_save_LIBS
=$LIBS
12799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12802 /* Override any GCC internal prototype to avoid an error.
12803 Use char because int might match the return type of a GCC
12804 builtin and then its argument prototype would still apply. */
12812 return dld_link ();
12817 if ac_fn_c_try_link
"$LINENO"; then :
12818 ac_cv_lib_dld_dld_link
=yes
12820 ac_cv_lib_dld_dld_link
=no
12822 rm -f core conftest.err conftest.
$ac_objext \
12823 conftest
$ac_exeext conftest.
$ac_ext
12824 LIBS
=$ac_check_lib_save_LIBS
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12827 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12828 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12829 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12850 if test no
= "$lt_cv_dlopen"; then
12856 case $lt_cv_dlopen in
12858 save_CPPFLAGS
=$CPPFLAGS
12859 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12861 save_LDFLAGS
=$LDFLAGS
12862 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12865 LIBS
="$lt_cv_dlopen_libs $LIBS"
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12868 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12869 if ${lt_cv_dlopen_self+:} false
; then :
12870 $as_echo_n "(cached) " >&6
12872 if test yes = "$cross_compiling"; then :
12873 lt_cv_dlopen_self
=cross
12875 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12876 lt_status
=$lt_dlunknown
12877 cat > conftest.
$ac_ext <<_LT_EOF
12878 #line $LINENO "configure"
12879 #include "confdefs.h"
12888 # define LT_DLGLOBAL RTLD_GLOBAL
12891 # define LT_DLGLOBAL DL_GLOBAL
12893 # define LT_DLGLOBAL 0
12897 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12898 find out it does not work in some platform. */
12899 #ifndef LT_DLLAZY_OR_NOW
12901 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12904 # define LT_DLLAZY_OR_NOW DL_LAZY
12907 # define LT_DLLAZY_OR_NOW RTLD_NOW
12910 # define LT_DLLAZY_OR_NOW DL_NOW
12912 # define LT_DLLAZY_OR_NOW 0
12919 /* When -fvisibility=hidden is used, assume the code has been annotated
12920 correspondingly for the symbols needed. */
12921 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12922 int fnord () __attribute__((visibility("default")));
12925 int fnord () { return 42; }
12928 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12929 int status = $lt_dlunknown;
12933 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12936 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12937 else puts (dlerror ());
12939 /* dlclose (self); */
12947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12948 (eval $ac_link) 2>&5
12950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12951 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12952 (.
/conftest
; exit; ) >&5 2>/dev
/null
12954 case x
$lt_status in
12955 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12956 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12957 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12960 # compilation failed
12961 lt_cv_dlopen_self
=no
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12969 $as_echo "$lt_cv_dlopen_self" >&6; }
12971 if test yes = "$lt_cv_dlopen_self"; then
12972 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12974 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12975 if ${lt_cv_dlopen_self_static+:} false
; then :
12976 $as_echo_n "(cached) " >&6
12978 if test yes = "$cross_compiling"; then :
12979 lt_cv_dlopen_self_static
=cross
12981 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12982 lt_status
=$lt_dlunknown
12983 cat > conftest.
$ac_ext <<_LT_EOF
12984 #line $LINENO "configure"
12985 #include "confdefs.h"
12994 # define LT_DLGLOBAL RTLD_GLOBAL
12997 # define LT_DLGLOBAL DL_GLOBAL
12999 # define LT_DLGLOBAL 0
13003 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13004 find out it does not work in some platform. */
13005 #ifndef LT_DLLAZY_OR_NOW
13007 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13010 # define LT_DLLAZY_OR_NOW DL_LAZY
13013 # define LT_DLLAZY_OR_NOW RTLD_NOW
13016 # define LT_DLLAZY_OR_NOW DL_NOW
13018 # define LT_DLLAZY_OR_NOW 0
13025 /* When -fvisibility=hidden is used, assume the code has been annotated
13026 correspondingly for the symbols needed. */
13027 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13028 int fnord () __attribute__((visibility("default")));
13031 int fnord () { return 42; }
13034 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13035 int status = $lt_dlunknown;
13039 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13042 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13043 else puts (dlerror ());
13045 /* dlclose (self); */
13053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13054 (eval $ac_link) 2>&5
13056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13057 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13058 (.
/conftest
; exit; ) >&5 2>/dev
/null
13060 case x
$lt_status in
13061 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13062 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13063 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13066 # compilation failed
13067 lt_cv_dlopen_self_static
=no
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13075 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13078 CPPFLAGS
=$save_CPPFLAGS
13079 LDFLAGS
=$save_LDFLAGS
13084 case $lt_cv_dlopen_self in
13085 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13086 *) enable_dlopen_self
=unknown
;;
13089 case $lt_cv_dlopen_self_static in
13090 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13091 *) enable_dlopen_self_static
=unknown
;;
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13114 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13115 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
13116 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13117 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13119 $as_echo "yes" >&6; }
13121 # FIXME - insert some real tests, host_os isn't really good enough
13124 if test -n "$STRIP"; then
13125 striplib
="$STRIP -x"
13126 old_striplib
="$STRIP -S"
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13128 $as_echo "yes" >&6; }
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13131 $as_echo "no" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13136 $as_echo "no" >&6; }
13152 # Report what library types will actually be built
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13154 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13156 $as_echo "$can_build_shared" >&6; }
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13159 $as_echo_n "checking whether to build shared libraries... " >&6; }
13160 test no
= "$can_build_shared" && enable_shared
=no
13162 # On AIX, shared libraries and static libraries use the same namespace, and
13163 # are all built from PIC.
13166 test yes = "$enable_shared" && enable_static
=no
13167 if test -n "$RANLIB"; then
13168 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13169 postinstall_cmds
='$RANLIB $lib'
13174 if test ia64
!= "$host_cpu"; then
13175 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13176 yes,aix
,yes) ;; # shared object as lib.so file only
13177 yes,svr4
,*) ;; # shared object as lib.so archive member only
13178 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13184 $as_echo "$enable_shared" >&6; }
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13187 $as_echo_n "checking whether to build static libraries... " >&6; }
13188 # Make sure either enable_shared or enable_static is yes.
13189 test yes = "$enable_shared" || enable_static
=yes
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13191 $as_echo "$enable_static" >&6; }
13198 ac_cpp
='$CPP $CPPFLAGS'
13199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13205 if test -n "$CXX" && ( test no
!= "$CXX" &&
13206 ( (test g
++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13207 (test g
++ != "$CXX"))); then
13209 ac_cpp
='$CXXCPP $CPPFLAGS'
13210 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13211 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13212 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13214 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13215 if test -z "$CXXCPP"; then
13216 if ${ac_cv_prog_CXXCPP+:} false
; then :
13217 $as_echo_n "(cached) " >&6
13219 # Double quotes because CXXCPP needs to be expanded
13220 for CXXCPP
in "$CXX -E" "/lib/cpp"
13222 ac_preproc_ok
=false
13223 for ac_cxx_preproc_warn_flag
in '' yes
13225 # Use a header file that comes with gcc, so configuring glibc
13226 # with a fresh cross-compiler works.
13227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13228 # <limits.h> exists even on freestanding compilers.
13229 # On the NeXT, cc -E runs the code through the compiler's parser,
13230 # not just through cpp. "Syntax error" is here to catch this case.
13231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13234 # include <limits.h>
13236 # include <assert.h>
13240 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13243 # Broken: fails on valid input.
13246 rm -f conftest.err conftest.i conftest.
$ac_ext
13248 # OK, works on sane cases. Now check whether nonexistent headers
13249 # can be detected and how.
13250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13252 #include <ac_nonexistent.h>
13254 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13255 # Broken: success on invalid input.
13258 # Passes both tests.
13262 rm -f conftest.err conftest.i conftest.
$ac_ext
13265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13266 rm -f conftest.i conftest.err conftest.
$ac_ext
13267 if $ac_preproc_ok; then :
13272 ac_cv_prog_CXXCPP
=$CXXCPP
13275 CXXCPP
=$ac_cv_prog_CXXCPP
13277 ac_cv_prog_CXXCPP
=$CXXCPP
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13280 $as_echo "$CXXCPP" >&6; }
13281 ac_preproc_ok
=false
13282 for ac_cxx_preproc_warn_flag
in '' yes
13284 # Use a header file that comes with gcc, so configuring glibc
13285 # with a fresh cross-compiler works.
13286 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13287 # <limits.h> exists even on freestanding compilers.
13288 # On the NeXT, cc -E runs the code through the compiler's parser,
13289 # not just through cpp. "Syntax error" is here to catch this case.
13290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13293 # include <limits.h>
13295 # include <assert.h>
13299 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13302 # Broken: fails on valid input.
13305 rm -f conftest.err conftest.i conftest.
$ac_ext
13307 # OK, works on sane cases. Now check whether nonexistent headers
13308 # can be detected and how.
13309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13310 /* end confdefs.h. */
13311 #include <ac_nonexistent.h>
13313 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13314 # Broken: success on invalid input.
13317 # Passes both tests.
13321 rm -f conftest.err conftest.i conftest.
$ac_ext
13324 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13325 rm -f conftest.i conftest.err conftest.
$ac_ext
13326 if $ac_preproc_ok; then :
13329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13331 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
13332 See \`config.log' for more details" "$LINENO" 5; }
13336 ac_cpp
='$CPP $CPPFLAGS'
13337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13342 _lt_caught_CXX_error
=yes
13346 ac_cpp
='$CXXCPP $CPPFLAGS'
13347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13351 archive_cmds_need_lc_CXX
=no
13352 allow_undefined_flag_CXX
=
13353 always_export_symbols_CXX
=no
13354 archive_expsym_cmds_CXX
=
13355 compiler_needs_object_CXX
=no
13356 export_dynamic_flag_spec_CXX
=
13357 hardcode_direct_CXX
=no
13358 hardcode_direct_absolute_CXX
=no
13359 hardcode_libdir_flag_spec_CXX
=
13360 hardcode_libdir_separator_CXX
=
13361 hardcode_minus_L_CXX
=no
13362 hardcode_shlibpath_var_CXX
=unsupported
13363 hardcode_automatic_CXX
=no
13364 inherit_rpath_CXX
=no
13366 module_expsym_cmds_CXX
=
13367 link_all_deplibs_CXX
=unknown
13368 old_archive_cmds_CXX
=$old_archive_cmds
13369 reload_flag_CXX
=$reload_flag
13370 reload_cmds_CXX
=$reload_cmds
13371 no_undefined_flag_CXX
=
13372 whole_archive_flag_spec_CXX
=
13373 enable_shared_with_static_runtimes_CXX
=no
13375 # Source file extension for C++ test sources.
13378 # Object file extension for compiled C++ test sources.
13382 # No sense in running all these tests if we already determined that
13383 # the CXX compiler isn't working. Some variables (like enable_shared)
13384 # are currently assumed to apply to all compilers on this platform,
13385 # and will be corrupted by setting them based on a non-working compiler.
13386 if test yes != "$_lt_caught_CXX_error"; then
13387 # Code to be used in simple compile tests
13388 lt_simple_compile_test_code
="int some_variable = 0;"
13390 # Code to be used in simple link tests
13391 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13393 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13400 # If no C compiler was specified, use CC.
13403 # If no C compiler flags were specified, use CFLAGS.
13404 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13406 # Allow CC to be a program name with arguments.
13410 # save warnings/boilerplate of simple test code
13411 ac_outfile
=conftest.
$ac_objext
13412 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13413 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13414 _lt_compiler_boilerplate
=`cat conftest.err`
13417 ac_outfile
=conftest.
$ac_objext
13418 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13419 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
13420 _lt_linker_boilerplate
=`cat conftest.err`
13424 # Allow CC to be a program name with arguments.
13426 lt_save_CFLAGS
=$CFLAGS
13430 lt_save_with_gnu_ld
=$with_gnu_ld
13431 lt_save_path_LD
=$lt_cv_path_LD
13432 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13433 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13435 $as_unset lt_cv_prog_gnu_ld
13437 if test -n "${lt_cv_path_LDCXX+set}"; then
13438 lt_cv_path_LD
=$lt_cv_path_LDCXX
13440 $as_unset lt_cv_path_LD
13442 test -z "${LDCXX+set}" || LD
=$LDCXX
13447 func_cc_basename
$compiler
13448 cc_basename
=$func_cc_basename_result
13451 if test -n "$compiler"; then
13452 # We don't want -fno-exception when compiling C++ code, so set the
13453 # no_builtin_flag separately
13454 if test yes = "$GXX"; then
13455 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13457 lt_prog_compiler_no_builtin_flag_CXX
=
13460 if test yes = "$GXX"; then
13461 # Set up default GNU C++ configuration
13465 # Check whether --with-gnu-ld was given.
13466 if test "${with_gnu_ld+set}" = set; then :
13467 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
13473 if test yes = "$GCC"; then
13474 # Check if gcc -print-prog-name=ld gives a path.
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13476 $as_echo_n "checking for ld used by $CC... " >&6; }
13479 # gcc leaves a trailing carriage return, which upsets mingw
13480 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13482 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13485 # Accept absolute paths.
13487 re_direlt
='/[^/][^/]*/\.\./'
13488 # Canonicalize the pathname of ld
13489 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13490 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
13491 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13493 test -z "$LD" && LD
=$ac_prog
13496 # If it fails, then pretend we aren't using GCC.
13500 # If it is relative, then search for the first ld in PATH.
13501 with_gnu_ld
=unknown
13504 elif test yes = "$with_gnu_ld"; then
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13506 $as_echo_n "checking for GNU ld... " >&6; }
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13509 $as_echo_n "checking for non-GNU ld... " >&6; }
13511 if ${lt_cv_path_LD+:} false
; then :
13512 $as_echo_n "(cached) " >&6
13514 if test -z "$LD"; then
13515 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
13516 for ac_dir
in $PATH; do
13518 test -z "$ac_dir" && ac_dir
=.
13519 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13520 lt_cv_path_LD
=$ac_dir/$ac_prog
13521 # Check to see if the program is GNU ld. I'd rather use --version,
13522 # but apparently some variants of GNU ld only accept -v.
13523 # Break only if it was the GNU/non-GNU ld that we prefer.
13524 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13525 *GNU
* | *'with BFD'*)
13526 test no
!= "$with_gnu_ld" && break
13529 test yes != "$with_gnu_ld" && break
13536 lt_cv_path_LD
=$LD # Let the user override the test with a path.
13541 if test -n "$LD"; then
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13543 $as_echo "$LD" >&6; }
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13546 $as_echo "no" >&6; }
13548 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13550 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13551 if ${lt_cv_prog_gnu_ld+:} false
; then :
13552 $as_echo_n "(cached) " >&6
13554 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13555 case `$LD -v 2>&1 </dev/null` in
13556 *GNU
* | *'with BFD'*)
13557 lt_cv_prog_gnu_ld
=yes
13560 lt_cv_prog_gnu_ld
=no
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13565 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13566 with_gnu_ld
=$lt_cv_prog_gnu_ld
13574 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13575 # archiving commands below assume that GNU ld is being used.
13576 if test yes = "$with_gnu_ld"; then
13577 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13578 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'
13580 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
13581 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
13583 # If archive_cmds runs LD, not CC, wlarc should be empty
13584 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13585 # investigate it a little bit more. (MM)
13588 # ancient GNU ld didn't support --whole-archive et. al.
13589 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13590 $GREP 'no-whole-archive' > /dev
/null
; then
13591 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13593 whole_archive_flag_spec_CXX
=
13599 # A generic and very simple default shared library creation
13600 # command for GNU C++ for the case where it uses the native
13601 # linker, instead of GNU ld. If possible, this setting should
13602 # overridden to take advantage of the native linker features on
13603 # the platform it is being used on.
13604 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13607 # Commands to make compiler produce verbose output that lists
13608 # what "hidden" libraries, object files and flags are used when
13609 # linking a shared library.
13610 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13618 # PORTME: fill in a description of your system's C++ link characteristics
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13620 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13624 # FIXME: insert proper C++ library support
13628 if test ia64
= "$host_cpu"; then
13629 # On IA64, the linker does run time linking by default, so we don't
13630 # have to do anything special.
13631 aix_use_runtimelinking
=no
13632 exp_sym_flag
='-Bexport'
13635 aix_use_runtimelinking
=no
13637 # Test if we are trying to use run time linking or normal
13638 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13639 # have runtime linking enabled, and use it for executables.
13640 # For shared libraries, we enable/disable runtime linking
13641 # depending on the kind of the shared library created -
13642 # when "with_aix_soname,aix_use_runtimelinking" is:
13643 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13644 # "aix,yes" lib.so shared, rtl:yes, for executables
13645 # lib.a static archive
13646 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13647 # lib.a(lib.so.V) shared, rtl:no, for executables
13648 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13649 # lib.a(lib.so.V) shared, rtl:no
13650 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13651 # lib.a static archive
13652 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13653 for ld_flag
in $LDFLAGS; do
13656 aix_use_runtimelinking
=yes
13661 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
13662 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13663 # so we don't have lib.a shared libs to link our executables.
13664 # We have to force runtime linking in this case.
13665 aix_use_runtimelinking
=yes
13666 LDFLAGS
="$LDFLAGS -Wl,-brtl"
13671 exp_sym_flag
='-bexport'
13672 no_entry_flag
='-bnoentry'
13675 # When large executables or shared objects are built, AIX ld can
13676 # have problems creating the table of contents. If linking a library
13677 # or program results in "error TOC overflow" add -mminimal-toc to
13678 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13679 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13681 archive_cmds_CXX
=''
13682 hardcode_direct_CXX
=yes
13683 hardcode_direct_absolute_CXX
=yes
13684 hardcode_libdir_separator_CXX
=':'
13685 link_all_deplibs_CXX
=yes
13686 file_list_spec_CXX
='$wl-f,'
13687 case $with_aix_soname,$aix_use_runtimelinking in
13688 aix
,*) ;; # no import file
13689 svr4
,* | *,yes) # use import file
13690 # The Import File defines what to hardcode.
13691 hardcode_direct_CXX
=no
13692 hardcode_direct_absolute_CXX
=no
13696 if test yes = "$GXX"; then
13697 case $host_os in aix4.
[012]|aix4.
[012].
*)
13698 # We only want to do this on AIX 4.2 and lower, the check
13699 # below for broken collect2 doesn't work under 4.3+
13700 collect2name
=`$CC -print-prog-name=collect2`
13701 if test -f "$collect2name" &&
13702 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
13704 # We have reworked collect2
13707 # We have old collect2
13708 hardcode_direct_CXX
=unsupported
13709 # It fails to find uninstalled libraries when the uninstalled
13710 # path is not listed in the libpath. Setting hardcode_minus_L
13711 # to unsupported forces relinking
13712 hardcode_minus_L_CXX
=yes
13713 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13714 hardcode_libdir_separator_CXX
=
13717 shared_flag
='-shared'
13718 if test yes = "$aix_use_runtimelinking"; then
13719 shared_flag
=$shared_flag' $wl-G'
13721 # Need to ensure runtime linking is disabled for the traditional
13722 # shared library, or the linker may eventually find shared libraries
13723 # /with/ Import File - we do not want to mix them.
13724 shared_flag_aix
='-shared'
13725 shared_flag_svr4
='-shared $wl-G'
13728 if test ia64
= "$host_cpu"; then
13729 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13730 # chokes on -Wl,-G. The following line is correct:
13733 if test yes = "$aix_use_runtimelinking"; then
13734 shared_flag
='$wl-G'
13736 shared_flag
='$wl-bM:SRE'
13738 shared_flag_aix
='$wl-bM:SRE'
13739 shared_flag_svr4
='$wl-G'
13743 export_dynamic_flag_spec_CXX
='$wl-bexpall'
13744 # It seems that -bexpall does not export symbols beginning with
13745 # underscore (_), so it is better to generate a list of symbols to
13747 always_export_symbols_CXX
=yes
13748 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13749 # Warning - without using the other runtime loading flags (-brtl),
13750 # -berok will link without error, but may produce a broken library.
13751 # The "-G" linker flag allows undefined symbols.
13752 no_undefined_flag_CXX
='-bernotok'
13753 # Determine the default libpath from the value encoded in an empty
13755 if test set = "${lt_cv_aix_libpath+set}"; then
13756 aix_libpath
=$lt_cv_aix_libpath
13758 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13759 $as_echo_n "(cached) " >&6
13761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13772 if ac_fn_cxx_try_link
"$LINENO"; then :
13774 lt_aix_libpath_sed
='
13775 /Import File Strings/,/^$/ {
13777 s/^0 *\([^ ]*\) *$/\1/
13781 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13782 # Check for a 64-bit object if we didn't find anything.
13783 if test -z "$lt_cv_aix_libpath__CXX"; then
13784 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13787 rm -f core conftest.err conftest.
$ac_objext \
13788 conftest
$ac_exeext conftest.
$ac_ext
13789 if test -z "$lt_cv_aix_libpath__CXX"; then
13790 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13795 aix_libpath
=$lt_cv_aix_libpath__CXX
13798 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13800 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
13802 if test ia64
= "$host_cpu"; then
13803 hardcode_libdir_flag_spec_CXX
='$wl-R $libdir:/usr/lib:/lib'
13804 allow_undefined_flag_CXX
="-z nodefs"
13805 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"
13807 # Determine the default libpath from the value encoded in an
13808 # empty executable.
13809 if test set = "${lt_cv_aix_libpath+set}"; then
13810 aix_libpath
=$lt_cv_aix_libpath
13812 if ${lt_cv_aix_libpath__CXX+:} false
; then :
13813 $as_echo_n "(cached) " >&6
13815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13826 if ac_fn_cxx_try_link
"$LINENO"; then :
13828 lt_aix_libpath_sed
='
13829 /Import File Strings/,/^$/ {
13831 s/^0 *\([^ ]*\) *$/\1/
13835 lt_cv_aix_libpath__CXX
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13836 # Check for a 64-bit object if we didn't find anything.
13837 if test -z "$lt_cv_aix_libpath__CXX"; then
13838 lt_cv_aix_libpath__CXX
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13841 rm -f core conftest.err conftest.
$ac_objext \
13842 conftest
$ac_exeext conftest.
$ac_ext
13843 if test -z "$lt_cv_aix_libpath__CXX"; then
13844 lt_cv_aix_libpath__CXX
=/usr
/lib
:/lib
13849 aix_libpath
=$lt_cv_aix_libpath__CXX
13852 hardcode_libdir_flag_spec_CXX
='$wl-blibpath:$libdir:'"$aix_libpath"
13853 # Warning - without using the other run time loading flags,
13854 # -berok will link without error, but may produce a broken library.
13855 no_undefined_flag_CXX
=' $wl-bernotok'
13856 allow_undefined_flag_CXX
=' $wl-berok'
13857 if test yes = "$with_gnu_ld"; then
13858 # We only use this code for GNU lds that support --whole-archive.
13859 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
13861 # Exported symbols can be pulled into shared objects from archives
13862 whole_archive_flag_spec_CXX
='$convenience'
13864 archive_cmds_need_lc_CXX
=yes
13865 archive_expsym_cmds_CXX
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13866 # -brtl affects multiple linker settings, -berok does not and is overridden later
13867 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13868 if test svr4
!= "$with_aix_soname"; then
13869 # This is similar to how AIX traditionally builds its shared
13870 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13871 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'
13873 if test aix
!= "$with_aix_soname"; then
13874 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'
13876 # used by -dlpreopen to get the symbols
13877 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13879 archive_expsym_cmds_CXX
="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13885 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
13886 allow_undefined_flag_CXX
=unsupported
13887 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13888 # support --undefined. This deserves some investigation. FIXME
13889 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13896 case $cc_basename in
13898 # FIXME: insert proper C++ library support
13904 cygwin
* | mingw
* | pw32
* | cegcc
*)
13905 case $GXX,$cc_basename in
13908 # hardcode_libdir_flag_spec is actually meaningless, as there is
13909 # no search path for DLLs.
13910 hardcode_libdir_flag_spec_CXX
=' '
13911 allow_undefined_flag_CXX
=unsupported
13912 always_export_symbols_CXX
=yes
13913 file_list_spec_CXX
='@'
13914 # Tell ltmain to make .lib files, not .a files.
13916 # Tell ltmain to make .dll files, not .so files.
13918 # FIXME: Setting linknames here is a bad hack.
13919 archive_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13920 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13921 cp "$export_symbols" "$output_objdir/$soname.def";
13922 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13924 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13926 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13928 # The linker will not automatically build a static lib if we build a DLL.
13929 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13930 enable_shared_with_static_runtimes_CXX
=yes
13932 old_postinstall_cmds_CXX
='chmod 644 $oldlib'
13933 postlink_cmds_CXX
='lt_outputfile="@OUTPUT@"~
13934 lt_tool_outputfile="@TOOL_OUTPUT@"~
13935 case $lt_outputfile in
13938 lt_outputfile=$lt_outputfile.exe
13939 lt_tool_outputfile=$lt_tool_outputfile.exe
13942 func_to_tool_file "$lt_outputfile"~
13943 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13944 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13945 $RM "$lt_outputfile.manifest";
13950 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13951 # as there is no search path for DLLs.
13952 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13953 export_dynamic_flag_spec_CXX
='$wl--export-all-symbols'
13954 allow_undefined_flag_CXX
=unsupported
13955 always_export_symbols_CXX
=no
13956 enable_shared_with_static_runtimes_CXX
=yes
13958 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
13959 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'
13960 # If the export-symbols file already is a .def file, use it as
13961 # is; otherwise, prepend EXPORTS...
13962 archive_expsym_cmds_CXX
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13963 cp $export_symbols $output_objdir/$soname.def;
13965 echo EXPORTS > $output_objdir/$soname.def;
13966 cat $export_symbols >> $output_objdir/$soname.def;
13968 $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'
13975 darwin
* | rhapsody
*)
13978 archive_cmds_need_lc_CXX
=no
13979 hardcode_direct_CXX
=no
13980 hardcode_automatic_CXX
=yes
13981 hardcode_shlibpath_var_CXX
=unsupported
13982 if test yes = "$lt_cv_ld_force_load"; then
13983 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\"`'
13986 whole_archive_flag_spec_CXX
=''
13988 link_all_deplibs_CXX
=yes
13989 allow_undefined_flag_CXX
=$_lt_dar_allow_undefined
13990 case $cc_basename in
13991 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
13992 *) _lt_dar_can_shared
=$GCC ;;
13994 if test yes = "$_lt_dar_can_shared"; then
13995 output_verbose_link_cmd
=func_echo_all
13996 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"
13997 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13998 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"
13999 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"
14000 if test yes != "$lt_cv_apple_cc_single_mod"; then
14001 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"
14002 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"
14012 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14013 hardcode_minus_L_CXX
=yes
14014 allow_undefined_flag_CXX
=unsupported
14016 archive_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14017 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14018 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14019 $ECHO EXPORTS >> $output_objdir/$libname.def~
14020 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14021 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14022 emximp -o $lib $output_objdir/$libname.def'
14023 archive_expsym_cmds_CXX
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14024 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14025 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14026 $ECHO EXPORTS >> $output_objdir/$libname.def~
14027 prefix_cmds="$SED"~
14028 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14029 prefix_cmds="$prefix_cmds -e 1d";
14031 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14032 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14033 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14034 emximp -o $lib $output_objdir/$libname.def'
14035 old_archive_From_new_cmds_CXX
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14036 enable_shared_with_static_runtimes_CXX
=yes
14040 case $cc_basename in
14042 # FIXME: insert proper C++ library support
14046 # Green Hills C++ Compiler
14047 # FIXME: insert proper C++ library support
14051 # FIXME: insert proper C++ library support
14058 # C++ shared libraries reported to be fairly broken before
14064 archive_cmds_need_lc_CXX
=no
14067 freebsd
* | dragonfly
*)
14068 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14074 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14075 link_all_deplibs_CXX
=yes
14079 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14080 hardcode_libdir_separator_CXX
=:
14081 export_dynamic_flag_spec_CXX
='$wl-E'
14082 hardcode_direct_CXX
=yes
14083 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14084 # but as the default
14085 # location of the library.
14087 case $cc_basename in
14089 # FIXME: insert proper C++ library support
14093 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'
14094 # Commands to make compiler produce verbose output that lists
14095 # what "hidden" libraries, object files and flags are used when
14096 # linking a shared library.
14098 # There doesn't appear to be a way to prevent this compiler from
14099 # explicitly linking system object files so we need to strip them
14100 # from the output so that they don't get included in the library
14102 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"'
14105 if test yes = "$GXX"; then
14106 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'
14108 # FIXME: insert proper C++ library support
14116 if test no
= "$with_gnu_ld"; then
14117 hardcode_libdir_flag_spec_CXX
='$wl+b $wl$libdir'
14118 hardcode_libdir_separator_CXX
=:
14124 export_dynamic_flag_spec_CXX
='$wl-E'
14130 hardcode_direct_CXX
=no
14131 hardcode_shlibpath_var_CXX
=no
14134 hardcode_direct_CXX
=yes
14135 hardcode_direct_absolute_CXX
=yes
14136 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14137 # but as the default
14138 # location of the library.
14142 case $cc_basename in
14144 # FIXME: insert proper C++ library support
14150 archive_cmds_CXX
='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14153 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14156 archive_cmds_CXX
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14159 # Commands to make compiler produce verbose output that lists
14160 # what "hidden" libraries, object files and flags are used when
14161 # linking a shared library.
14163 # There doesn't appear to be a way to prevent this compiler from
14164 # explicitly linking system object files so we need to strip them
14165 # from the output so that they don't get included in the library
14167 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"'
14170 if test yes = "$GXX"; then
14171 if test no
= "$with_gnu_ld"; then
14174 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14177 archive_cmds_CXX
='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14180 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'
14185 # FIXME: insert proper C++ library support
14193 hardcode_direct_CXX
=no
14194 hardcode_shlibpath_var_CXX
=no
14195 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14196 export_dynamic_flag_spec_CXX
='$wl-E'
14197 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14198 # Instead, shared libraries are loaded at an image base (0x10000000 by
14199 # default) and relocated if they conflict, which is a slow very memory
14200 # consuming and fragmenting process. To avoid this, we pick a random,
14201 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14202 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14203 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'
14204 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'
14207 case $cc_basename in
14210 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'
14212 # Archives containing C++ object files must be created using
14213 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14214 # necessary to make sure instantiated templates are included
14216 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14219 if test yes = "$GXX"; then
14220 if test no
= "$with_gnu_ld"; then
14221 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
14223 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'
14226 link_all_deplibs_CXX
=yes
14229 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14230 hardcode_libdir_separator_CXX
=:
14231 inherit_rpath_CXX
=yes
14234 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
14235 case $cc_basename in
14237 # Kuck and Associates, Inc. (KAI) C++ Compiler
14239 # KCC will only create a shared library if the output file
14240 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14241 # to its proper name (with version) after linking.
14242 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'
14243 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'
14244 # Commands to make compiler produce verbose output that lists
14245 # what "hidden" libraries, object files and flags are used when
14246 # linking a shared library.
14248 # There doesn't appear to be a way to prevent this compiler from
14249 # explicitly linking system object files so we need to strip them
14250 # from the output so that they don't get included in the library
14252 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"'
14254 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14255 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14257 # Archives containing C++ object files must be created using
14258 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14259 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14264 # version 8.0 and above of icpc choke on multiply defined symbols
14265 # if we add $predep_objects and $postdep_objects, however 7.1 and
14266 # earlier do not add the objects themselves.
14267 case `$CC -V 2>&1` in
14269 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14270 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'
14272 *) # Version 8.0 or newer
14275 ia64
*) tmp_idyn
=' -i_dynamic';;
14277 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14278 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'
14281 archive_cmds_need_lc_CXX
=no
14282 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14283 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14284 whole_archive_flag_spec_CXX
='$wl--whole-archive$convenience $wl--no-whole-archive'
14287 # Portland Group C++ compiler
14289 *pgCC\
[1-5].
* | *pgcpp\
[1-5].
*)
14290 prelink_cmds_CXX
='tpldir=Template.dir~
14292 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14293 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14294 old_archive_cmds_CXX
='tpldir=Template.dir~
14296 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14297 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14299 archive_cmds_CXX
='tpldir=Template.dir~
14301 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14302 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14303 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14305 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14306 $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'
14308 *) # Version 6 and above use weak symbols
14309 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14310 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'
14314 hardcode_libdir_flag_spec_CXX
='$wl--rpath $wl$libdir'
14315 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14316 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'
14320 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14321 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'
14323 runpath_var
=LD_RUN_PATH
14324 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14325 hardcode_libdir_separator_CXX
=:
14327 # Commands to make compiler produce verbose output that lists
14328 # what "hidden" libraries, object files and flags are used when
14329 # linking a shared library.
14331 # There doesn't appear to be a way to prevent this compiler from
14332 # explicitly linking system object files so we need to strip them
14333 # from the output so that they don't get included in the library
14335 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'
14337 xl
* | mpixl
* | bgxl
*)
14338 # IBM XL 8.0 on PPC, with GNU ld
14339 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14340 export_dynamic_flag_spec_CXX
='$wl--export-dynamic'
14341 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14342 if test yes = "$supports_anon_versioning"; then
14343 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14344 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14345 echo "local: *; };" >> $output_objdir/$libname.ver~
14346 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14350 case `$CC -V 2>&1 | sed 5q` in
14353 no_undefined_flag_CXX
=' -zdefs'
14354 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14355 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'
14356 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14357 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'
14358 compiler_needs_object_CXX
=yes
14360 # Not sure whether something based on
14361 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14363 output_verbose_link_cmd
='func_echo_all'
14365 # Archives containing C++ object files must be created using
14366 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14367 # necessary to make sure instantiated templates are included
14369 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14377 # FIXME: insert proper C++ library support
14382 # FIXME: insert proper C++ library support
14387 case $cc_basename in
14389 # FIXME: insert proper C++ library support
14393 # FIXME: insert proper C++ library support
14400 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14401 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14403 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14404 hardcode_direct_CXX
=yes
14405 hardcode_shlibpath_var_CXX
=no
14407 # Workaround some broken pre-1.5 toolchains
14408 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14415 openbsd
* | bitrig
*)
14416 if test -f /usr
/libexec
/ld.so
; then
14417 hardcode_direct_CXX
=yes
14418 hardcode_shlibpath_var_CXX
=no
14419 hardcode_direct_absolute_CXX
=yes
14420 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14421 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14422 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14423 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14424 export_dynamic_flag_spec_CXX
='$wl-E'
14425 whole_archive_flag_spec_CXX
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14427 output_verbose_link_cmd
=func_echo_all
14433 osf3
* | osf4
* | osf5
*)
14434 case $cc_basename in
14436 # Kuck and Associates, Inc. (KAI) C++ Compiler
14438 # KCC will only create a shared library if the output file
14439 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14440 # to its proper name (with version) after linking.
14441 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'
14443 hardcode_libdir_flag_spec_CXX
='$wl-rpath,$libdir'
14444 hardcode_libdir_separator_CXX
=:
14446 # Archives containing C++ object files must be created using
14447 # the KAI C++ compiler.
14449 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14450 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14454 # Rational C++ 2.4.1
14455 # FIXME: insert proper C++ library support
14461 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14462 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'
14463 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14466 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14467 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'
14468 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14469 echo "-hidden">> $lib.exp~
14470 $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~
14472 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14476 hardcode_libdir_separator_CXX
=:
14478 # Commands to make compiler produce verbose output that lists
14479 # what "hidden" libraries, object files and flags are used when
14480 # linking a shared library.
14482 # There doesn't appear to be a way to prevent this compiler from
14483 # explicitly linking system object files so we need to strip them
14484 # from the output so that they don't get included in the library
14486 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"'
14489 if test yes,no
= "$GXX,$with_gnu_ld"; then
14490 allow_undefined_flag_CXX
=' $wl-expect_unresolved $wl\*'
14493 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'
14496 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'
14500 hardcode_libdir_flag_spec_CXX
='$wl-rpath $wl$libdir'
14501 hardcode_libdir_separator_CXX
=:
14503 # Commands to make compiler produce verbose output that lists
14504 # what "hidden" libraries, object files and flags are used when
14505 # linking a shared library.
14506 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14509 # FIXME: insert proper C++ library support
14517 # FIXME: insert proper C++ library support
14522 case $cc_basename in
14525 # FIXME: insert proper C++ library support
14530 # FIXME: insert proper C++ library support
14534 # FIXME: insert proper C++ library support
14541 case $cc_basename in
14543 # Sun C++ 4.2, 5.x and Centerline C++
14544 archive_cmds_need_lc_CXX
=yes
14545 no_undefined_flag_CXX
=' -zdefs'
14546 archive_cmds_CXX
='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14547 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14548 $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'
14550 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14551 hardcode_shlibpath_var_CXX
=no
14553 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14555 # The compiler driver will combine and reorder linker options,
14556 # but understands '-z linker_flag'.
14557 # Supported since Solaris 2.6 (maybe 2.5.1?)
14558 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14561 link_all_deplibs_CXX
=yes
14563 output_verbose_link_cmd
='func_echo_all'
14565 # Archives containing C++ object files must be created using
14566 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14567 # necessary to make sure instantiated templates are included
14569 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14572 # Green Hills C++ Compiler
14573 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14575 # The C++ compiler must be used to create the archive.
14576 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14579 # GNU C++ compiler with Solaris linker
14580 if test yes,no
= "$GXX,$with_gnu_ld"; then
14581 no_undefined_flag_CXX
=' $wl-z ${wl}defs'
14582 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
14583 archive_cmds_CXX
='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14584 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14585 $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'
14587 # Commands to make compiler produce verbose output that lists
14588 # what "hidden" libraries, object files and flags are used when
14589 # linking a shared library.
14590 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14592 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14594 archive_cmds_CXX
='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14595 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14596 $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'
14598 # Commands to make compiler produce verbose output that lists
14599 # what "hidden" libraries, object files and flags are used when
14600 # linking a shared library.
14601 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14604 hardcode_libdir_flag_spec_CXX
='$wl-R $wl$libdir'
14606 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14608 whole_archive_flag_spec_CXX
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14616 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14617 no_undefined_flag_CXX
='$wl-z,text'
14618 archive_cmds_need_lc_CXX
=no
14619 hardcode_shlibpath_var_CXX
=no
14620 runpath_var
='LD_RUN_PATH'
14622 case $cc_basename in
14624 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14625 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14628 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14629 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14634 sysv5
* | sco3.2v5
* | sco5v6
*)
14635 # Note: We CANNOT use -z defs as we might desire, because we do not
14636 # link with -lc, and that would cause any symbols used from libc to
14637 # always be unresolved, which means just about no library would
14638 # ever link correctly. If we're not using GNU ld we use -z text
14639 # though, which does catch some bad symbols but isn't as heavy-handed
14641 no_undefined_flag_CXX
='$wl-z,text'
14642 allow_undefined_flag_CXX
='$wl-z,nodefs'
14643 archive_cmds_need_lc_CXX
=no
14644 hardcode_shlibpath_var_CXX
=no
14645 hardcode_libdir_flag_spec_CXX
='$wl-R,$libdir'
14646 hardcode_libdir_separator_CXX
=':'
14647 link_all_deplibs_CXX
=yes
14648 export_dynamic_flag_spec_CXX
='$wl-Bexport'
14649 runpath_var
='LD_RUN_PATH'
14651 case $cc_basename in
14653 archive_cmds_CXX
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14654 archive_expsym_cmds_CXX
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14655 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14656 '"$old_archive_cmds_CXX"
14657 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14658 '"$reload_cmds_CXX"
14661 archive_cmds_CXX
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14662 archive_expsym_cmds_CXX
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14668 case $cc_basename in
14670 # NonStop-UX NCC 3.20
14671 # FIXME: insert proper C++ library support
14675 # FIXME: insert proper C++ library support
14682 # FIXME: insert proper C++ library support
14687 # FIXME: insert proper C++ library support
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14693 $as_echo "$ld_shlibs_CXX" >&6; }
14694 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
14700 ## There is no encapsulation within the following macros, do not change
14701 ## the running order or otherwise move them around unless you know exactly
14702 ## what you are doing...
14703 # Dependencies to place before and after the object being linked:
14704 predep_objects_CXX
=
14705 postdep_objects_CXX
=
14708 compiler_lib_search_path_CXX
=
14710 cat > conftest.
$ac_ext <<_LT_EOF
14714 Foo (void) { a = 0; }
14721 _lt_libdeps_save_CFLAGS
=$CFLAGS
14722 case "$CC $CFLAGS " in #(
14723 *\
-flto*\
*) CFLAGS
="$CFLAGS -fno-lto" ;;
14724 *\
-fwhopr*\
*) CFLAGS
="$CFLAGS -fno-whopr" ;;
14725 *\
-fuse-linker-plugin*\
*) CFLAGS
="$CFLAGS -fno-use-linker-plugin" ;;
14728 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14729 (eval $ac_compile) 2>&5
14731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14732 test $ac_status = 0; }; then
14733 # Parse the compiler output and extract the necessary
14734 # objects, libraries and library flags.
14736 # Sentinel used to keep track of whether or not we are before
14737 # the conftest object file.
14738 pre_test_object_deps_done
=no
14740 for p
in `eval "$output_verbose_link_cmd"`; do
14744 # Some compilers place space between "-{L,R}" and the path.
14745 # Remove the space.
14746 if test x
-L = "$p" ||
14747 test x
-R = "$p"; then
14752 # Expand the sysroot to ease extracting the directories later.
14753 if test -z "$prev"; then
14755 -L*) func_stripname_cnf
'-L' '' "$p"; prev
=-L; p
=$func_stripname_result ;;
14756 -R*) func_stripname_cnf
'-R' '' "$p"; prev
=-R; p
=$func_stripname_result ;;
14757 -l*) func_stripname_cnf
'-l' '' "$p"; prev
=-l; p
=$func_stripname_result ;;
14761 =*) func_stripname_cnf
'=' '' "$p"; p
=$lt_sysroot$func_stripname_result ;;
14763 if test no
= "$pre_test_object_deps_done"; then
14766 # Internal compiler library paths should come after those
14767 # provided the user. The postdeps already come after the
14768 # user supplied libs so there is no need to process them.
14769 if test -z "$compiler_lib_search_path_CXX"; then
14770 compiler_lib_search_path_CXX
=$prev$p
14772 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} $prev$p"
14775 # The "-l" case would never come before the object being
14776 # linked, so don't bother handling this case.
14779 if test -z "$postdeps_CXX"; then
14780 postdeps_CXX
=$prev$p
14782 postdeps_CXX
="${postdeps_CXX} $prev$p"
14788 *.lto.
$objext) ;; # Ignore GCC LTO objects
14790 # This assumes that the test object file only shows up
14791 # once in the compiler output.
14792 if test "$p" = "conftest.$objext"; then
14793 pre_test_object_deps_done
=yes
14797 if test no
= "$pre_test_object_deps_done"; then
14798 if test -z "$predep_objects_CXX"; then
14799 predep_objects_CXX
=$p
14801 predep_objects_CXX
="$predep_objects_CXX $p"
14804 if test -z "$postdep_objects_CXX"; then
14805 postdep_objects_CXX
=$p
14807 postdep_objects_CXX
="$postdep_objects_CXX $p"
14812 *) ;; # Ignore the rest.
14820 echo "libtool.m4: error: problem compiling CXX test program"
14823 $RM -f confest.
$objext
14824 CFLAGS
=$_lt_libdeps_save_CFLAGS
14826 # PORTME: override above test on systems where it is broken
14829 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14830 # hack all around it, let's just trust "g++" to DTRT.
14831 predep_objects_CXX
=
14832 postdep_objects_CXX
=
14838 case " $postdeps_CXX " in
14839 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14841 compiler_lib_search_dirs_CXX
=
14842 if test -n "${compiler_lib_search_path_CXX}"; then
14843 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14876 lt_prog_compiler_wl_CXX
=
14877 lt_prog_compiler_pic_CXX
=
14878 lt_prog_compiler_static_CXX
=
14881 # C++ specific cases for pic, static, wl, etc.
14882 if test yes = "$GXX"; then
14883 lt_prog_compiler_wl_CXX
='-Wl,'
14884 lt_prog_compiler_static_CXX
='-static'
14888 # All AIX code is PIC.
14889 if test ia64
= "$host_cpu"; then
14890 # AIX 5 now supports IA64 processor
14891 lt_prog_compiler_static_CXX
='-Bstatic'
14893 lt_prog_compiler_pic_CXX
='-fPIC'
14899 # see comment about AmigaOS4 .so support
14900 lt_prog_compiler_pic_CXX
='-fPIC'
14903 # FIXME: we need at least 68020 code to build shared libraries, but
14904 # adding the '-m68020' flag to GCC prevents building anything better,
14906 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14911 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14912 # PIC is the default for these OSes.
14914 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14915 # This hack is so that the source file can tell whether it is being
14916 # built for inclusion in a dll (and should export symbols for example).
14917 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14918 # (--disable-auto-import) libraries
14919 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14922 lt_prog_compiler_static_CXX
='$wl-static'
14926 darwin
* | rhapsody
*)
14927 # PIC is the default on this platform
14928 # Common symbols not allowed in MH_DYLIB files
14929 lt_prog_compiler_pic_CXX
='-fno-common'
14932 # DJGPP does not support shared libraries at all
14933 lt_prog_compiler_pic_CXX
=
14936 # PIC is the default for Haiku.
14937 # The "-static" flag exists, but is broken.
14938 lt_prog_compiler_static_CXX
=
14941 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14942 # Instead, we relocate shared libraries at runtime.
14945 if test -d /usr
/nec
; then
14946 lt_prog_compiler_pic_CXX
=-Kconform_pic
14950 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14951 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14952 # sets the default TLS model and affects inlining.
14957 lt_prog_compiler_pic_CXX
='-fPIC'
14962 # QNX uses GNU C++, but need to define -shared option too, otherwise
14963 # it will coredump.
14964 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14967 lt_prog_compiler_pic_CXX
='-fPIC'
14973 # All AIX code is PIC.
14974 if test ia64
= "$host_cpu"; then
14975 # AIX 5 now supports IA64 processor
14976 lt_prog_compiler_static_CXX
='-Bstatic'
14978 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14982 case $cc_basename in
14984 # Green Hills C++ Compiler
14985 # _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"
14989 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14990 # This hack is so that the source file can tell whether it is being
14991 # built for inclusion in a dll (and should export symbols for example).
14992 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14995 case $cc_basename in
14997 lt_prog_compiler_pic_CXX
='-KPIC'
15000 # Green Hills C++ Compiler
15001 lt_prog_compiler_pic_CXX
='-pic'
15007 freebsd
* | dragonfly
*)
15008 # FreeBSD uses GNU C++
15010 hpux9
* | hpux10
* | hpux11
*)
15011 case $cc_basename in
15013 lt_prog_compiler_wl_CXX
='-Wl,'
15014 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15015 if test ia64
!= "$host_cpu"; then
15016 lt_prog_compiler_pic_CXX
='+Z'
15020 lt_prog_compiler_wl_CXX
='-Wl,'
15021 lt_prog_compiler_static_CXX
='$wl-a ${wl}archive'
15027 lt_prog_compiler_pic_CXX
='+Z'
15036 # This is c89, which is MS Visual C++ (no shared libs)
15037 # Anyone wants to do a port?
15039 irix5
* | irix6
* | nonstopux
*)
15040 case $cc_basename in
15042 lt_prog_compiler_wl_CXX
='-Wl,'
15043 lt_prog_compiler_static_CXX
='-non_shared'
15044 # CC pic flag -KPIC is the default.
15050 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
15051 case $cc_basename in
15054 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15055 lt_prog_compiler_pic_CXX
='-fPIC'
15058 # old Intel C++ for x86_64, which still supported -KPIC.
15059 lt_prog_compiler_wl_CXX
='-Wl,'
15060 lt_prog_compiler_pic_CXX
='-KPIC'
15061 lt_prog_compiler_static_CXX
='-static'
15064 # Intel C++, used to be incompatible with GCC.
15065 # ICC 10 doesn't accept -KPIC any more.
15066 lt_prog_compiler_wl_CXX
='-Wl,'
15067 lt_prog_compiler_pic_CXX
='-fPIC'
15068 lt_prog_compiler_static_CXX
='-static'
15071 # Portland Group C++ compiler
15072 lt_prog_compiler_wl_CXX
='-Wl,'
15073 lt_prog_compiler_pic_CXX
='-fpic'
15074 lt_prog_compiler_static_CXX
='-Bstatic'
15078 # Make sure the PIC flag is empty. It appears that all Alpha
15079 # Linux and Compaq Tru64 Unix objects are PIC.
15080 lt_prog_compiler_pic_CXX
=
15081 lt_prog_compiler_static_CXX
='-non_shared'
15083 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15084 # IBM XL 8.0, 9.0 on PPC and BlueGene
15085 lt_prog_compiler_wl_CXX
='-Wl,'
15086 lt_prog_compiler_pic_CXX
='-qpic'
15087 lt_prog_compiler_static_CXX
='-qstaticlink'
15090 case `$CC -V 2>&1 | sed 5q` in
15093 lt_prog_compiler_pic_CXX
='-KPIC'
15094 lt_prog_compiler_static_CXX
='-Bstatic'
15095 lt_prog_compiler_wl_CXX
='-Qoption ld '
15106 case $cc_basename in
15108 lt_prog_compiler_pic_CXX
='-W c,exportall'
15117 # QNX uses GNU C++, but need to define -shared option too, otherwise
15118 # it will coredump.
15119 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15121 osf3
* | osf4
* | osf5
*)
15122 case $cc_basename in
15124 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15127 # Rational C++ 2.4.1
15128 lt_prog_compiler_pic_CXX
='-pic'
15131 # Digital/Compaq C++
15132 lt_prog_compiler_wl_CXX
='-Wl,'
15133 # Make sure the PIC flag is empty. It appears that all Alpha
15134 # Linux and Compaq Tru64 Unix objects are PIC.
15135 lt_prog_compiler_pic_CXX
=
15136 lt_prog_compiler_static_CXX
='-non_shared'
15145 case $cc_basename in
15147 # Sun C++ 4.2, 5.x and Centerline C++
15148 lt_prog_compiler_pic_CXX
='-KPIC'
15149 lt_prog_compiler_static_CXX
='-Bstatic'
15150 lt_prog_compiler_wl_CXX
='-Qoption ld '
15153 # Green Hills C++ Compiler
15154 lt_prog_compiler_pic_CXX
='-PIC'
15161 case $cc_basename in
15164 lt_prog_compiler_pic_CXX
='-pic'
15165 lt_prog_compiler_static_CXX
='-Bstatic'
15169 lt_prog_compiler_pic_CXX
='-pic'
15175 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15176 case $cc_basename in
15178 lt_prog_compiler_wl_CXX
='-Wl,'
15179 lt_prog_compiler_pic_CXX
='-KPIC'
15180 lt_prog_compiler_static_CXX
='-Bstatic'
15185 case $cc_basename in
15187 # NonStop-UX NCC 3.20
15188 lt_prog_compiler_pic_CXX
='-KPIC'
15197 lt_prog_compiler_can_build_shared_CXX
=no
15203 # For platforms that do not support PIC, -DPIC is meaningless:
15205 lt_prog_compiler_pic_CXX
=
15208 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15213 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15214 if ${lt_cv_prog_compiler_pic_CXX+:} false
; then :
15215 $as_echo_n "(cached) " >&6
15217 lt_cv_prog_compiler_pic_CXX
=$lt_prog_compiler_pic_CXX
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15220 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15221 lt_prog_compiler_pic_CXX
=$lt_cv_prog_compiler_pic_CXX
15224 # Check to make sure the PIC flag actually works.
15226 if test -n "$lt_prog_compiler_pic_CXX"; then
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15228 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15229 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
15230 $as_echo_n "(cached) " >&6
15232 lt_cv_prog_compiler_pic_works_CXX
=no
15233 ac_outfile
=conftest.
$ac_objext
15234 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15235 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15236 # Insert the option either (1) after the last *FLAGS variable, or
15237 # (2) before a word containing "conftest.", or (3) at the end.
15238 # Note that $ac_compile itself does not contain backslashes and begins
15239 # with a dollar sign (not a hyphen), so the echo should work correctly.
15240 # The option is referenced via a variable to avoid confusing sed.
15241 lt_compile
=`echo "$ac_compile" | $SED \
15242 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15243 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15244 -e 's:$: $lt_compiler_flag:'`
15245 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15246 (eval "$lt_compile" 2>conftest.err
)
15248 cat conftest.err
>&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 if (exit $ac_status) && test -s "$ac_outfile"; then
15251 # The compiler can only warn and ignore the option if not recognized
15252 # So say no if there are warnings other than the usual output.
15253 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15254 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15255 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
15256 lt_cv_prog_compiler_pic_works_CXX
=yes
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15263 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15265 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15266 case $lt_prog_compiler_pic_CXX in
15268 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15271 lt_prog_compiler_pic_CXX
=
15272 lt_prog_compiler_can_build_shared_CXX
=no
15282 # Check to make sure the static flag actually works.
15284 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15286 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15287 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
15288 $as_echo_n "(cached) " >&6
15290 lt_cv_prog_compiler_static_works_CXX
=no
15291 save_LDFLAGS
=$LDFLAGS
15292 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15293 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15294 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15295 # The linker can only warn and ignore the option if not recognized
15296 # So say no if there are warnings
15297 if test -s conftest.err
; then
15298 # Append any errors to the config.log.
15299 cat conftest.err
1>&5
15300 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15301 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15302 if diff conftest.exp conftest.er2
>/dev
/null
; then
15303 lt_cv_prog_compiler_static_works_CXX
=yes
15306 lt_cv_prog_compiler_static_works_CXX
=yes
15310 LDFLAGS
=$save_LDFLAGS
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15314 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15316 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15319 lt_prog_compiler_static_CXX
=
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15326 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15327 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15328 $as_echo_n "(cached) " >&6
15330 lt_cv_prog_compiler_c_o_CXX
=no
15331 $RM -r conftest
2>/dev
/null
15335 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15337 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15338 # Insert the option either (1) after the last *FLAGS variable, or
15339 # (2) before a word containing "conftest.", or (3) at the end.
15340 # Note that $ac_compile itself does not contain backslashes and begins
15341 # with a dollar sign (not a hyphen), so the echo should work correctly.
15342 lt_compile
=`echo "$ac_compile" | $SED \
15343 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15345 -e 's:$: $lt_compiler_flag:'`
15346 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15347 (eval "$lt_compile" 2>out
/conftest.err
)
15349 cat out
/conftest.err
>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15353 # The compiler can only warn and ignore the option if not recognized
15354 # So say no if there are warnings
15355 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15356 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15357 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15358 lt_cv_prog_compiler_c_o_CXX
=yes
15363 # SGI C++ compiler will create directory out/ii_files/ for
15364 # template instantiation
15365 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15366 $RM out
/* && rmdir out
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15373 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15378 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15379 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
15380 $as_echo_n "(cached) " >&6
15382 lt_cv_prog_compiler_c_o_CXX
=no
15383 $RM -r conftest
2>/dev
/null
15387 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15389 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15390 # Insert the option either (1) after the last *FLAGS variable, or
15391 # (2) before a word containing "conftest.", or (3) at the end.
15392 # Note that $ac_compile itself does not contain backslashes and begins
15393 # with a dollar sign (not a hyphen), so the echo should work correctly.
15394 lt_compile
=`echo "$ac_compile" | $SED \
15395 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15396 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15397 -e 's:$: $lt_compiler_flag:'`
15398 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15399 (eval "$lt_compile" 2>out
/conftest.err
)
15401 cat out
/conftest.err
>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15405 # The compiler can only warn and ignore the option if not recognized
15406 # So say no if there are warnings
15407 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
15408 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15409 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15410 lt_cv_prog_compiler_c_o_CXX
=yes
15415 # SGI C++ compiler will create directory out/ii_files/ for
15416 # template instantiation
15417 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15418 $RM out
/* && rmdir out
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15425 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15430 hard_links
=nottested
15431 if test no
= "$lt_cv_prog_compiler_c_o_CXX" && test no
!= "$need_locks"; then
15432 # do not overwrite the value of need_locks provided by the user
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15434 $as_echo_n "checking if we can lock with hard links... " >&6; }
15437 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15439 ln conftest.a conftest.b
2>&5 || hard_links
=no
15440 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15442 $as_echo "$hard_links" >&6; }
15443 if test no
= "$hard_links"; then
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15445 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15455 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15457 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15458 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15461 # If we're using GNU nm, then we don't want the "-C" option.
15462 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15463 # Without the "-l" option, or with the "-B" option, AIX nm treats
15464 # weak defined symbols like other global defined symbols, whereas
15465 # GNU nm marks them as "W".
15466 # While the 'weak' keyword is ignored in the Export File, we need
15467 # it in the Import File for the 'aix-soname' feature, so we have
15468 # to replace the "-B" option with "-P" for AIX nm.
15469 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
15470 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'
15472 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'
15476 export_symbols_cmds_CXX
=$ltdll_cmds
15478 cygwin
* | mingw
* | cegcc
*)
15479 case $cc_basename in
15481 exclude_expsyms_CXX
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15484 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'
15485 exclude_expsyms_CXX
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15490 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15495 $as_echo "$ld_shlibs_CXX" >&6; }
15496 test no
= "$ld_shlibs_CXX" && can_build_shared
=no
15498 with_gnu_ld_CXX
=$with_gnu_ld
15506 # Do we need to explicitly link libc?
15508 case "x$archive_cmds_need_lc_CXX" in
15510 # Assume -lc should be added
15511 archive_cmds_need_lc_CXX
=yes
15513 if test yes,yes = "$GCC,$enable_shared"; then
15514 case $archive_cmds_CXX in
15516 # FIXME: we may have to deal with multi-command sequences.
15519 # Test whether the compiler implicitly links with -lc since on some
15520 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15521 # to ld, don't add -lc before -lgcc.
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15523 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15524 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
15525 $as_echo_n "(cached) " >&6
15528 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15531 (eval $ac_compile) 2>&5
15533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15534 test $ac_status = 0; } 2>conftest.err
; then
15537 libobjs
=conftest.
$ac_objext
15539 wl
=$lt_prog_compiler_wl_CXX
15540 pic_flag
=$lt_prog_compiler_pic_CXX
15546 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15547 allow_undefined_flag_CXX
=
15548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15549 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15552 test $ac_status = 0; }
15554 lt_cv_archive_cmds_need_lc_CXX
=no
15556 lt_cv_archive_cmds_need_lc_CXX
=yes
15558 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15560 cat conftest.err
1>&5
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15566 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15567 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15636 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15638 library_names_spec
=
15639 libname_spec
='lib$name'
15643 postuninstall_cmds
=
15647 shlibpath_overrides_runpath
=unknown
15649 dynamic_linker
="$host_os ld.so"
15650 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15651 need_lib_prefix
=unknown
15652 hardcode_into_libs
=no
15654 # when you set need_version to no, make sure it does not cause -set_version
15655 # flags to be left without arguments
15656 need_version
=unknown
15662 version_type
=linux
# correct to gnu/linux during the next big refactor
15663 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
15664 shlibpath_var
=LIBPATH
15666 # AIX 3 has no versioning support, so we append a major version to the name.
15667 soname_spec
='$libname$release$shared_ext$major'
15671 version_type
=linux
# correct to gnu/linux during the next big refactor
15674 hardcode_into_libs
=yes
15675 if test ia64
= "$host_cpu"; then
15676 # AIX 5 supports IA64
15677 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15678 shlibpath_var
=LD_LIBRARY_PATH
15680 # With GCC up to 2.95.x, collect2 would create an import file
15681 # for dependence libraries. The import file would start with
15682 # the line '#! .'. This would cause the generated library to
15683 # depend on '.', always an invalid library. This was fixed in
15684 # development snapshots of GCC prior to 3.0.
15686 aix4
| aix4.
[01] | aix4.
[01].
*)
15687 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15689 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
15692 can_build_shared
=no
15696 # Using Import Files as archive members, it is possible to support
15697 # filename-based versioning of shared library archives on AIX. While
15698 # this would work for both with and without runtime linking, it will
15699 # prevent static linking of such archives. So we do filename-based
15700 # shared library versioning with .so extension only, which is used
15701 # when both runtime linking and shared linking is enabled.
15702 # Unfortunately, runtime linking may impact performance, so we do
15703 # not want this to be the default eventually. Also, we use the
15704 # versioned .so libs for executables only if there is the -brtl
15705 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15706 # To allow for filename-based versioning support, we need to create
15707 # libNAME.so.V as an archive file, containing:
15708 # *) an Import File, referring to the versioned filename of the
15709 # archive as well as the shared archive member, telling the
15710 # bitwidth (32 or 64) of that shared object, and providing the
15711 # list of exported symbols of that shared object, eventually
15712 # decorated with the 'weak' keyword
15713 # *) the shared object with the F_LOADONLY flag set, to really avoid
15714 # it being seen by the linker.
15715 # At run time we better use the real file rather than another symlink,
15716 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15718 case $with_aix_soname,$aix_use_runtimelinking in
15719 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15720 # soname into executable. Probably we can add versioning support to
15721 # collect2, so additional links can be useful in future.
15722 aix
,yes) # traditional libtool
15723 dynamic_linker
='AIX unversionable lib.so'
15724 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15725 # instead of lib<name>.a to let people know that these are not
15726 # typical AIX shared libraries.
15727 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15729 aix
,no
) # traditional AIX only
15730 dynamic_linker
='AIX lib.a(lib.so.V)'
15731 # We preserve .a as extension for shared libraries through AIX4.2
15732 # and later when we are not doing run time linking.
15733 library_names_spec
='$libname$release.a $libname.a'
15734 soname_spec
='$libname$release$shared_ext$major'
15736 svr4
,*) # full svr4 only
15737 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
15738 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15739 # We do not specify a path in Import Files, so LIBPATH fires.
15740 shlibpath_overrides_runpath
=yes
15742 *,yes) # both, prefer svr4
15743 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15744 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
15745 # unpreferred sharedlib libNAME.a needs extra handling
15746 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"'
15747 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"'
15748 # We do not specify a path in Import Files, so LIBPATH fires.
15749 shlibpath_overrides_runpath
=yes
15751 *,no
) # both, prefer aix
15752 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15753 library_names_spec
='$libname$release.a $libname.a'
15754 soname_spec
='$libname$release$shared_ext$major'
15755 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15756 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)'
15757 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"'
15760 shlibpath_var
=LIBPATH
15767 # Since July 2007 AmigaOS4 officially supports .so libraries.
15768 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15769 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15772 library_names_spec
='$libname.ixlibrary $libname.a'
15773 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15774 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'
15780 library_names_spec
='$libname$shared_ext'
15781 dynamic_linker
="$host_os ld.so"
15782 shlibpath_var
=LIBRARY_PATH
15786 version_type
=linux
# correct to gnu/linux during the next big refactor
15788 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15789 soname_spec
='$libname$release$shared_ext$major'
15790 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15791 shlibpath_var
=LD_LIBRARY_PATH
15792 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15793 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15794 # the default ld.so.conf also contains /usr/contrib/lib and
15795 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15796 # libtool to hard-code these into programs
15799 cygwin
* | mingw
* | pw32
* | cegcc
*)
15800 version_type
=windows
15805 case $GCC,$cc_basename in
15808 library_names_spec
='$libname.dll.a'
15809 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15810 postinstall_cmds
='base_file=`basename \$file`~
15811 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15812 dldir=$destdir/`dirname \$dlpath`~
15813 test -d \$dldir || mkdir -p \$dldir~
15814 $install_prog $dir/$dlname \$dldir/$dlname~
15815 chmod a+x \$dldir/$dlname~
15816 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15817 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15819 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15820 dlpath=$dir/\$dldll~
15822 shlibpath_overrides_runpath
=yes
15826 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15827 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15831 # MinGW DLLs use traditional 'lib' prefix
15832 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15835 # pw32 DLLs use 'pw' prefix rather than 'lib'
15836 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15839 dynamic_linker
='Win32 ld.exe'
15844 libname_spec
='$name'
15845 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
15846 library_names_spec
='$libname.dll.lib'
15850 sys_lib_search_path_spec
=
15853 for lt_path
in $LIB
15856 # Let DOS variable expansion print the short 8.3 style file name.
15857 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15858 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
15861 # Convert to MSYS style.
15862 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15865 # Convert to unix form, then to dos form, then back to unix form
15866 # but this time dos style (no spaces!) so that the unix form looks
15867 # like /cygdrive/c/PROGRA~1:/cygdr...
15868 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
15869 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15870 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15873 sys_lib_search_path_spec
=$LIB
15874 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
15875 # It is most probably a Windows format PATH.
15876 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15878 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15880 # FIXME: find the short name or the path components, as spaces are
15881 # common. (e.g. "Program Files" -> "PROGRA~1")
15885 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15886 postinstall_cmds
='base_file=`basename \$file`~
15887 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15888 dldir=$destdir/`dirname \$dlpath`~
15889 test -d \$dldir || mkdir -p \$dldir~
15890 $install_prog $dir/$dlname \$dldir/$dlname'
15891 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15892 dlpath=$dir/\$dldll~
15894 shlibpath_overrides_runpath
=yes
15895 dynamic_linker
='Win32 link.exe'
15899 # Assume MSVC wrapper
15900 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
15901 dynamic_linker
='Win32 ld.exe'
15904 # FIXME: first we should search . and the directory the executable is in
15908 darwin
* | rhapsody
*)
15909 dynamic_linker
="$host_os dyld"
15910 version_type
=darwin
15913 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
15914 soname_spec
='$libname$release$major$shared_ext'
15915 shlibpath_overrides_runpath
=yes
15916 shlibpath_var
=DYLD_LIBRARY_PATH
15917 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15919 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15923 version_type
=linux
# correct to gnu/linux during the next big refactor
15926 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15927 soname_spec
='$libname$release$shared_ext$major'
15928 shlibpath_var
=LD_LIBRARY_PATH
15931 freebsd
* | dragonfly
*)
15932 # DragonFly does not have aout. When/if they implement a new
15933 # versioning mechanism, adjust this.
15934 if test -x /usr
/bin
/objformat
; then
15935 objformat
=`/usr/bin/objformat`
15938 freebsd
[23].
*) objformat
=aout
;;
15939 *) objformat
=elf
;;
15942 version_type
=freebsd
-$objformat
15943 case $version_type in
15945 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15946 soname_spec
='$libname$release$shared_ext$major'
15951 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15955 shlibpath_var
=LD_LIBRARY_PATH
15958 shlibpath_overrides_runpath
=yes
15960 freebsd3.
[01]* | freebsdelf3.
[01]*)
15961 shlibpath_overrides_runpath
=yes
15962 hardcode_into_libs
=yes
15964 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15965 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15966 shlibpath_overrides_runpath
=no
15967 hardcode_into_libs
=yes
15969 *) # from 4.6 on, and DragonFly
15970 shlibpath_overrides_runpath
=yes
15971 hardcode_into_libs
=yes
15977 version_type
=linux
# correct to gnu/linux during the next big refactor
15980 dynamic_linker
="$host_os runtime_loader"
15981 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15982 soname_spec
='$libname$release$shared_ext$major'
15983 shlibpath_var
=LIBRARY_PATH
15984 shlibpath_overrides_runpath
=no
15985 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15986 hardcode_into_libs
=yes
15989 hpux9
* | hpux10
* | hpux11
*)
15990 # Give a soname corresponding to the major version so that dld.sl refuses to
15991 # link against other versions.
15998 hardcode_into_libs
=yes
15999 dynamic_linker
="$host_os dld.so"
16000 shlibpath_var
=LD_LIBRARY_PATH
16001 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16002 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16003 soname_spec
='$libname$release$shared_ext$major'
16004 if test 32 = "$HPUX_IA64_MODE"; then
16005 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16006 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
16008 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16009 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
16014 hardcode_into_libs
=yes
16015 dynamic_linker
="$host_os dld.sl"
16016 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16017 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16018 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16019 soname_spec
='$libname$release$shared_ext$major'
16020 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16021 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16025 dynamic_linker
="$host_os dld.sl"
16026 shlibpath_var
=SHLIB_PATH
16027 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16028 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16029 soname_spec
='$libname$release$shared_ext$major'
16032 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16033 postinstall_cmds
='chmod 555 $lib'
16034 # or fails outright, so override atomically:
16035 install_override_mode
=555
16039 version_type
=linux
# correct to gnu/linux during the next big refactor
16042 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16043 soname_spec
='$libname$release$shared_ext$major'
16044 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16045 shlibpath_var
=LD_LIBRARY_PATH
16046 shlibpath_overrides_runpath
=no
16047 hardcode_into_libs
=yes
16050 irix5
* | irix6
* | nonstopux
*)
16052 nonstopux
*) version_type
=nonstopux
;;
16054 if test yes = "$lt_cv_prog_gnu_ld"; then
16055 version_type
=linux
# correct to gnu/linux during the next big refactor
16062 soname_spec
='$libname$release$shared_ext$major'
16063 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16065 irix5
* | nonstopux
*)
16066 libsuff
= shlibsuff
=
16069 case $LD in # libtool.m4 will add one of these switches to LD
16070 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16071 libsuff
= shlibsuff
= libmagic
=32-bit;;
16072 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16073 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16074 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16075 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16076 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
16080 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16081 shlibpath_overrides_runpath
=no
16082 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16083 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
16084 hardcode_into_libs
=yes
16087 # No shared lib support for Linux oldld, aout, or coff.
16088 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16093 version_type
=none
# Android doesn't support versioned libraries.
16096 library_names_spec
='$libname$release$shared_ext'
16097 soname_spec
='$libname$release$shared_ext'
16099 shlibpath_var
=LD_LIBRARY_PATH
16100 shlibpath_overrides_runpath
=yes
16102 # This implies no fast_install, which is unacceptable.
16103 # Some rework will be needed to allow for fast_install
16104 # before this can be enabled.
16105 hardcode_into_libs
=yes
16107 dynamic_linker
='Android linker'
16108 # Don't embed -rpath directories since the linker doesn't support them.
16109 hardcode_libdir_flag_spec_CXX
='-L$libdir'
16112 # This must be glibc/ELF.
16113 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
16114 version_type
=linux
# correct to gnu/linux during the next big refactor
16117 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16118 soname_spec
='$libname$release$shared_ext$major'
16119 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16120 shlibpath_var
=LD_LIBRARY_PATH
16121 shlibpath_overrides_runpath
=no
16123 # Some binutils ld are patched to set DT_RUNPATH
16124 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
16125 $as_echo_n "(cached) " >&6
16127 lt_cv_shlibpath_overrides_runpath
=no
16128 save_LDFLAGS
=$LDFLAGS
16129 save_libdir
=$libdir
16130 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16131 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16143 if ac_fn_cxx_try_link
"$LINENO"; then :
16144 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
16145 lt_cv_shlibpath_overrides_runpath
=yes
16148 rm -f core conftest.err conftest.
$ac_objext \
16149 conftest
$ac_exeext conftest.
$ac_ext
16150 LDFLAGS
=$save_LDFLAGS
16151 libdir
=$save_libdir
16155 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16157 # This implies no fast_install, which is unacceptable.
16158 # Some rework will be needed to allow for fast_install
16159 # before this can be enabled.
16160 hardcode_into_libs
=yes
16162 # Ideally, we could use ldconfig to report *all* directores which are
16163 # searched for libraries, however this is still not possible. Aside from not
16164 # being certain /sbin/ldconfig is available, command
16165 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16166 # even though it is searched at run-time. Try to do the best guess by
16167 # appending ld.so.conf contents (and includes) to the search path.
16168 if test -f /etc
/ld.so.conf
; then
16169 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' ' '`
16170 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16173 # We used to test for /lib/ld.so.1 and disable shared libraries on
16174 # powerpc, because MkLinux only supported shared libraries with the
16175 # GNU dynamic linker. Since this was broken with cross compilers,
16176 # most powerpc-linux boxes support dynamic linking these days and
16177 # people can always --disable-shared, the test was removed, and we
16178 # assume the GNU/Linux dynamic linker is in use.
16179 dynamic_linker
='GNU/Linux ld.so'
16186 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
16187 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16188 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16189 dynamic_linker
='NetBSD (a.out) ld.so'
16191 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16192 soname_spec
='$libname$release$shared_ext$major'
16193 dynamic_linker
='NetBSD ld.elf_so'
16195 shlibpath_var
=LD_LIBRARY_PATH
16196 shlibpath_overrides_runpath
=yes
16197 hardcode_into_libs
=yes
16201 version_type
=linux
# correct to gnu/linux during the next big refactor
16202 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16203 shlibpath_var
=LD_LIBRARY_PATH
16204 shlibpath_overrides_runpath
=yes
16211 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16212 soname_spec
='$libname$release$shared_ext$major'
16213 shlibpath_var
=LD_LIBRARY_PATH
16214 shlibpath_overrides_runpath
=no
16215 hardcode_into_libs
=yes
16216 dynamic_linker
='ldqnx.so'
16219 openbsd
* | bitrig
*)
16221 sys_lib_dlsearch_path_spec
=/usr
/lib
16223 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16228 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16229 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16230 shlibpath_var
=LD_LIBRARY_PATH
16231 shlibpath_overrides_runpath
=yes
16235 libname_spec
='$name'
16236 version_type
=windows
16240 # OS/2 can only load a DLL with a base name of 8 characters or less.
16241 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
16242 v=$($ECHO $release$versuffix | tr -d .-);
16243 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16244 $ECHO $n$v`$shared_ext'
16245 library_names_spec
='${libname}_dll.$libext'
16246 dynamic_linker
='OS/2 ld.exe'
16247 shlibpath_var
=BEGINLIBPATH
16248 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16249 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16250 postinstall_cmds
='base_file=`basename \$file`~
16251 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16252 dldir=$destdir/`dirname \$dlpath`~
16253 test -d \$dldir || mkdir -p \$dldir~
16254 $install_prog $dir/$dlname \$dldir/$dlname~
16255 chmod a+x \$dldir/$dlname~
16256 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16257 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16259 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16260 dlpath=$dir/\$dldll~
16264 osf3
* | osf4
* | osf5
*)
16268 soname_spec
='$libname$release$shared_ext$major'
16269 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16270 shlibpath_var
=LD_LIBRARY_PATH
16271 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16272 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16280 version_type
=linux
# correct to gnu/linux during the next big refactor
16283 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16284 soname_spec
='$libname$release$shared_ext$major'
16285 shlibpath_var
=LD_LIBRARY_PATH
16286 shlibpath_overrides_runpath
=yes
16287 hardcode_into_libs
=yes
16288 # ldd complains unless libraries are executable
16289 postinstall_cmds
='chmod +x $lib'
16294 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16295 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16296 shlibpath_var
=LD_LIBRARY_PATH
16297 shlibpath_overrides_runpath
=yes
16298 if test yes = "$with_gnu_ld"; then
16305 version_type
=linux
# correct to gnu/linux during the next big refactor
16306 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16307 soname_spec
='$libname$release$shared_ext$major'
16308 shlibpath_var
=LD_LIBRARY_PATH
16309 case $host_vendor in
16311 shlibpath_overrides_runpath
=no
16313 runpath_var
=LD_RUN_PATH
16321 shlibpath_overrides_runpath
=no
16322 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16328 if test -d /usr
/nec
; then
16329 version_type
=linux
# correct to gnu/linux during the next big refactor
16330 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16331 soname_spec
='$libname$shared_ext.$major'
16332 shlibpath_var
=LD_LIBRARY_PATH
16336 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16340 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16341 soname_spec
='$libname$release$shared_ext$major'
16342 shlibpath_var
=LD_LIBRARY_PATH
16343 shlibpath_overrides_runpath
=yes
16344 hardcode_into_libs
=yes
16345 if test yes = "$with_gnu_ld"; then
16346 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16348 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16351 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16355 sys_lib_dlsearch_path_spec
='/usr/lib'
16359 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16360 version_type
=linux
# correct to gnu/linux during the next big refactor
16363 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16364 shlibpath_var
=LD_LIBRARY_PATH
16365 shlibpath_overrides_runpath
=no
16366 hardcode_into_libs
=yes
16370 version_type
=linux
# correct to gnu/linux during the next big refactor
16371 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16372 soname_spec
='$libname$release$shared_ext$major'
16373 shlibpath_var
=LD_LIBRARY_PATH
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16381 $as_echo "$dynamic_linker" >&6; }
16382 test no
= "$dynamic_linker" && can_build_shared
=no
16384 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16385 if test yes = "$GCC"; then
16386 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16389 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16390 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
16393 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16394 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
16397 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16398 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
16400 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16401 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
16403 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16404 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16446 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16447 hardcode_action_CXX
=
16448 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16449 test -n "$runpath_var_CXX" ||
16450 test yes = "$hardcode_automatic_CXX"; then
16452 # We can hardcode non-existent directories.
16453 if test no
!= "$hardcode_direct_CXX" &&
16454 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16455 # have to relink, otherwise we might link with an installed library
16456 # when we should be linking with a yet-to-be-installed one
16457 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16458 test no
!= "$hardcode_minus_L_CXX"; then
16459 # Linking always hardcodes the temporary library directory.
16460 hardcode_action_CXX
=relink
16462 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16463 hardcode_action_CXX
=immediate
16466 # We cannot hardcode anything, or else we can only hardcode existing
16468 hardcode_action_CXX
=unsupported
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16471 $as_echo "$hardcode_action_CXX" >&6; }
16473 if test relink
= "$hardcode_action_CXX" ||
16474 test yes = "$inherit_rpath_CXX"; then
16475 # Fast installation is not supported
16476 enable_fast_install
=no
16477 elif test yes = "$shlibpath_overrides_runpath" ||
16478 test no
= "$enable_shared"; then
16479 # Fast installation is not necessary
16480 enable_fast_install
=needless
16489 fi # test -n "$compiler"
16492 CFLAGS
=$lt_save_CFLAGS
16496 with_gnu_ld
=$lt_save_with_gnu_ld
16497 lt_cv_path_LDCXX
=$lt_cv_path_LD
16498 lt_cv_path_LD
=$lt_save_path_LD
16499 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16500 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16501 fi # test yes != "$_lt_caught_CXX_error"
16504 ac_cpp
='$CPP $CPPFLAGS'
16505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16523 ac_config_commands
="$ac_config_commands libtool"
16528 # Only expand once:
16533 ac_cpp
='$CXXCPP $CPPFLAGS'
16534 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16535 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16536 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16539 ax_cxx_compile_cxx11_required
=true
16541 ac_cpp
='$CXXCPP $CPPFLAGS'
16542 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16543 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16544 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
16547 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
16548 if ${ax_cv_cxx_compile_cxx11+:} false
; then :
16549 $as_echo_n "(cached) " >&6
16551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16552 /* end confdefs.h. */
16554 template <typename T>
16557 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16561 virtual void f() {}
16563 struct Child : public Base {
16564 virtual void f() override {}
16567 typedef check<check<bool>> right_angle_brackets;
16572 typedef check<int> check_type;
16574 check_type&& cr = static_cast<check_type&&>(c);
16580 if ac_fn_cxx_try_compile
"$LINENO"; then :
16581 ax_cv_cxx_compile_cxx11
=yes
16583 ax_cv_cxx_compile_cxx11
=no
16585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
16588 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
16589 if test x
$ax_cv_cxx_compile_cxx11 = xyes
; then
16593 if test x
$ac_success = xno
; then
16594 for switch
in -std=gnu
++11 -std=gnu
++0x
; do
16595 cachevar
=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
16597 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
16598 if eval \
${$cachevar+:} false
; then :
16599 $as_echo_n "(cached) " >&6
16601 ac_save_CXXFLAGS
="$CXXFLAGS"
16602 CXXFLAGS
="$CXXFLAGS $switch"
16603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 template <typename T>
16609 static_assert(sizeof(int) <= sizeof(T), "not big enough");
16613 virtual void f() {}
16615 struct Child : public Base {
16616 virtual void f() override {}
16619 typedef check<check<bool>> right_angle_brackets;
16624 typedef check<int> check_type;
16626 check_type&& cr = static_cast<check_type&&>(c);
16632 if ac_fn_cxx_try_compile
"$LINENO"; then :
16637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16638 CXXFLAGS
="$ac_save_CXXFLAGS"
16640 eval ac_res
=\$
$cachevar
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16642 $as_echo "$ac_res" >&6; }
16643 if eval test x\$
$cachevar = xyes
; then
16644 CXXFLAGS
="$CXXFLAGS $switch"
16653 ac_cpp
='$CXXCPP $CPPFLAGS'
16654 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16655 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16656 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16658 if test x
$ax_cxx_compile_cxx11_required = xtrue
; then
16659 if test x
$ac_success = xno
; then
16660 as_fn_error $?
"*** A compiler with support for C++11 language features is required." "$LINENO" 5
16663 if test x
$ac_success = xno
; then
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
16666 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
16670 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
16677 OBJCXXFLAGS
="${OBJCXXFLAGS} ${CXXFLAGS##*' '}"
16686 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16687 if test -n "$ac_tool_prefix"; then
16688 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16689 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16691 $as_echo_n "checking for $ac_word... " >&6; }
16692 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
16693 $as_echo_n "(cached) " >&6
16695 case $PKG_CONFIG in
16697 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16701 for as_dir
in $PATH
16704 test -z "$as_dir" && as_dir
=.
16705 for ac_exec_ext
in '' $ac_executable_extensions; do
16706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16707 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16718 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16719 if test -n "$PKG_CONFIG"; then
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16721 $as_echo "$PKG_CONFIG" >&6; }
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16724 $as_echo "no" >&6; }
16729 if test -z "$ac_cv_path_PKG_CONFIG"; then
16730 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16731 # Extract the first word of "pkg-config", so it can be a program name with args.
16732 set dummy pkg
-config; ac_word
=$2
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16734 $as_echo_n "checking for $ac_word... " >&6; }
16735 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
16736 $as_echo_n "(cached) " >&6
16738 case $ac_pt_PKG_CONFIG in
16740 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16744 for as_dir
in $PATH
16747 test -z "$as_dir" && as_dir
=.
16748 for ac_exec_ext
in '' $ac_executable_extensions; do
16749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16750 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16761 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16762 if test -n "$ac_pt_PKG_CONFIG"; then
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16764 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16767 $as_echo "no" >&6; }
16770 if test "x$ac_pt_PKG_CONFIG" = x
; then
16773 case $cross_compiling:$ac_tool_warned in
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16777 ac_tool_warned
=yes ;;
16779 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16782 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16786 if test -n "$PKG_CONFIG"; then
16787 _pkg_min_version
=0.22
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16789 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16790 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16792 $as_echo "yes" >&6; }
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16795 $as_echo "no" >&6; }
16800 # Extract the first word of "git", so it can be a program name with args.
16801 set dummy git
; ac_word
=$2
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16803 $as_echo_n "checking for $ac_word... " >&6; }
16804 if ${ac_cv_path_GIT+:} false
; then :
16805 $as_echo_n "(cached) " >&6
16809 ac_cv_path_GIT
="$GIT" # Let the user override the test with a path.
16812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16813 for as_dir
in $PATH
16816 test -z "$as_dir" && as_dir
=.
16817 for ac_exec_ext
in '' $ac_executable_extensions; do
16818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16819 ac_cv_path_GIT
="$as_dir/$ac_word$ac_exec_ext"
16820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16830 GIT
=$ac_cv_path_GIT
16831 if test -n "$GIT"; then
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT" >&5
16833 $as_echo "$GIT" >&6; }
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16836 $as_echo "no" >&6; }
16840 # Extract the first word of "time", so it can be a program name with args.
16841 set dummy
time; ac_word
=$2
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16843 $as_echo_n "checking for $ac_word... " >&6; }
16844 if ${ac_cv_path_TIME+:} false
; then :
16845 $as_echo_n "(cached) " >&6
16849 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
16852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16853 for as_dir
in $PATH
16856 test -z "$as_dir" && as_dir
=.
16857 for ac_exec_ext
in '' $ac_executable_extensions; do
16858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16859 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
16860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16870 TIME
=$ac_cv_path_TIME
16871 if test -n "$TIME"; then
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
16873 $as_echo "$TIME" >&6; }
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16876 $as_echo "no" >&6; }
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 3.0" >&5
16886 $as_echo_n "checking for bison >= 3.0... " >&6; }
16887 if test -z "$BISON"; then
16888 ac_path_BISON_found
=false
16889 # Loop through the user's path and test for each of PROGNAME-LIST
16890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16891 for as_dir
in $PATH
16894 test -z "$as_dir" && as_dir
=.
16895 for ac_prog
in bison
; do
16896 for ac_exec_ext
in '' $ac_executable_extensions; do
16897 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
16898 as_fn_executable_p
"$ac_path_BISON" || continue
16899 version
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
16900 if ${version:+false} :; then :
16903 as_awk_strverscmp
='
16904 # Use only awk features that work with 7th edition Unix awk (1978).
16905 # My, what an old awk you have, Mr. Solaris!
16907 while (length(v1) && length(v2)) {
16908 # Set d1 to be the next thing to compare from v1, and likewise for d2.
16909 # Normally this is a single character, but if v1 and v2 contain digits,
16910 # compare them as integers and fractions as strverscmp does.
16911 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
16912 # Split v1 and v2 into their leading digit string components d1 and d2,
16913 # and advance v1 and v2 past the leading digit strings.
16914 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
16915 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
16916 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
16917 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
16920 # Compare two fractions.
16921 while (d1 ~ /^0/ && d2 ~ /^0/) {
16922 d1 = substr(d1, 2); len1--
16923 d2 = substr(d2, 2); len2--
16925 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
16926 # The two components differ in length, and the common prefix
16927 # contains only leading zeros. Consider the longer to be less.
16931 # Otherwise, compare as strings.
16936 # A fraction is less than an integer.
16941 # An integer is greater than a fraction.
16944 # Compare two integers.
16950 # The normal case, without worrying about digits.
16951 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
16952 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
16954 if (d1 < d2) exit 1
16955 if (d1 > d2) exit 2
16957 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
16958 # which mishandles some comparisons of empty strings to integers.
16959 if (length(v2)) exit 1
16960 if (length(v1)) exit 2
16965 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
16970 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16972 ac_cv_path_BISON
=$ac_path_BISON ;; #(
16978 $ac_path_BISON_found && break 3
16983 if test -z "$ac_cv_path_BISON"; then
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16985 $as_echo "no" >&6; }
16988 ac_cv_path_BISON
=$BISON
16994 BISON
=$ac_cv_path_BISON
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
16997 $as_echo "$BISON" >&6; }
17002 as_fn_error $?
"You need bison 3.0 or greater" "$LINENO" 5
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17009 $as_echo "no" >&6; }
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
17018 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
17019 if test -z "$FLEX"; then
17020 ac_path_FLEX_found
=false
17021 # Loop through the user's path and test for each of PROGNAME-LIST
17022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17023 for as_dir
in $PATH
17026 test -z "$as_dir" && as_dir
=.
17027 for ac_prog
in flex
; do
17028 for ac_exec_ext
in '' $ac_executable_extensions; do
17029 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
17030 as_fn_executable_p
"$ac_path_FLEX" || continue
17031 version
=`$ac_path_FLEX --version | $SED -e '1 s/^[^0-9.]* \([0-9.]*\).*$/\1/p;d'`
17032 if ${version:+false} :; then :
17037 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17042 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17044 ac_cv_path_FLEX
=$ac_path_FLEX ;; #(
17050 $ac_path_FLEX_found && break 3
17055 if test -z "$ac_cv_path_FLEX"; then
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17057 $as_echo "no" >&6; }
17060 ac_cv_path_FLEX
=$FLEX
17066 FLEX
=$ac_cv_path_FLEX
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
17069 $as_echo "$FLEX" >&6; }
17074 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17081 $as_echo "no" >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
17090 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
17091 if test -z "$GPERF"; then
17092 ac_path_GPERF_found
=false
17093 # Loop through the user's path and test for each of PROGNAME-LIST
17094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17095 for as_dir
in $PATH
17098 test -z "$as_dir" && as_dir
=.
17099 for ac_prog
in gperf
; do
17100 for ac_exec_ext
in '' $ac_executable_extensions; do
17101 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
17102 as_fn_executable_p
"$ac_path_GPERF" || continue
17103 version
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
17104 if ${version:+false} :; then :
17109 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17114 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17116 ac_cv_path_GPERF
=$ac_path_GPERF ;; #(
17122 $ac_path_GPERF_found && break 3
17127 if test -z "$ac_cv_path_GPERF"; then
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17129 $as_echo "no" >&6; }
17132 ac_cv_path_GPERF
=$GPERF
17138 GPERF
=$ac_cv_path_GPERF
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
17141 $as_echo "$GPERF" >&6; }
17146 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17153 $as_echo "no" >&6; }
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tar gtar gnutar >= 1.19" >&5
17162 $as_echo_n "checking for tar gtar gnutar >= 1.19... " >&6; }
17163 if test -z "$GNUTAR"; then
17164 ac_path_GNUTAR_found
=false
17165 # Loop through the user's path and test for each of PROGNAME-LIST
17166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17167 for as_dir
in $PATH
17170 test -z "$as_dir" && as_dir
=.
17171 for ac_prog
in tar gtar gnutar
; do
17172 for ac_exec_ext
in '' $ac_executable_extensions; do
17173 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
17174 as_fn_executable_p
"$ac_path_GNUTAR" || continue
17175 version
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
17176 if ${version:+false} :; then :
17181 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
17186 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17188 ac_cv_path_GNUTAR
=$ac_path_GNUTAR ;; #(
17194 $ac_path_GNUTAR_found && break 3
17199 if test -z "$ac_cv_path_GNUTAR"; then
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17201 $as_echo "no" >&6; }
17204 ac_cv_path_GNUTAR
=$GNUTAR
17210 GNUTAR
=$ac_cv_path_GNUTAR
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
17213 $as_echo "$GNUTAR" >&6; }
17218 as_fn_error $?
"You need tar gtar gnutar 1.19 or greater" "$LINENO" 5
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17225 $as_echo "no" >&6; }
17236 if test "x$LFLAGS" = x
; then :
17237 LFLAGS
="--full --ecs"
17245 ac_cpp
='$CPP $CPPFLAGS'
17246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
17251 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
17252 if ${ac_cv_cflags_warn_all+:} false
; then :
17253 $as_echo_n "(cached) " >&6
17255 ac_cv_cflags_warn_all
="no, unknown"
17256 ac_save_CFLAGS
="$CFLAGS"
17257 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" #
17258 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17270 if ac_fn_c_try_compile
"$LINENO"; then :
17271 ac_cv_cflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17275 CFLAGS
="$ac_save_CFLAGS"
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
17279 $as_echo "$ac_cv_cflags_warn_all" >&6; }
17282 case ".$ac_cv_cflags_warn_all" in
17285 *) if ${CFLAGS+:} false
; then :
17286 case " $CFLAGS " in
17287 *" $ac_cv_cflags_warn_all "*)
17288 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
17289 (: CFLAGS already contains
$ac_cv_cflags_warn_all) 2>&5
17291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17292 test $ac_status = 0; }
17295 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
17296 (: CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
17298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17299 test $ac_status = 0; }
17300 CFLAGS
="$CFLAGS $ac_cv_cflags_warn_all"
17304 CFLAGS
="$ac_cv_cflags_warn_all"
17310 ac_cpp
='$CXXCPP $CPPFLAGS'
17311 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17312 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17313 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17317 ac_cpp
='$CXXCPP $CPPFLAGS'
17318 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17319 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17320 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17323 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17324 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17325 $as_echo_n "(cached) " >&6
17327 ac_cv_cxxflags_warn_all
="no, unknown"
17328 ac_save_CXXFLAGS
="$CXXFLAGS"
17329 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" #
17330 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17342 if ac_fn_cxx_try_compile
"$LINENO"; then :
17343 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17347 CXXFLAGS
="$ac_save_CXXFLAGS"
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17351 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17354 case ".$ac_cv_cxxflags_warn_all" in
17357 *) if ${CXXFLAGS+:} false
; then :
17358 case " $CXXFLAGS " in
17359 *" $ac_cv_cxxflags_warn_all "*)
17360 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17361 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17364 test $ac_status = 0; }
17367 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17368 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17371 test $ac_status = 0; }
17372 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17376 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17382 ac_cpp
='$CXXCPP $CPPFLAGS'
17383 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17384 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17385 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXFLAGS for maximum warnings" >&5
17389 $as_echo_n "checking CXXFLAGS for maximum warnings... " >&6; }
17390 if ${ac_cv_cxxflags_warn_all+:} false
; then :
17391 $as_echo_n "(cached) " >&6
17393 ac_cv_cxxflags_warn_all
="no, unknown"
17394 ac_save_CXXFLAGS
="$CXXFLAGS"
17395 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" #
17396 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
17397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17408 if ac_fn_cxx_try_compile
"$LINENO"; then :
17409 ac_cv_cxxflags_warn_all
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
17411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17413 CXXFLAGS
="$ac_save_CXXFLAGS"
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_warn_all" >&5
17417 $as_echo "$ac_cv_cxxflags_warn_all" >&6; }
17420 case ".$ac_cv_cxxflags_warn_all" in
17423 *) if ${CXXFLAGS+:} false
; then :
17424 case " $CXXFLAGS " in
17425 *" $ac_cv_cxxflags_warn_all "*)
17426 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains \$ac_cv_cxxflags_warn_all"; } >&5
17427 (: CXXFLAGS already contains
$ac_cv_cxxflags_warn_all) 2>&5
17429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17430 test $ac_status = 0; }
17433 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS \$ac_cv_cxxflags_warn_all\""; } >&5
17434 (: CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all") 2>&5
17436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17437 test $ac_status = 0; }
17438 CXXFLAGS
="$CXXFLAGS $ac_cv_cxxflags_warn_all"
17442 CXXFLAGS
="$ac_cv_cxxflags_warn_all"
17452 ac_cpp
='$CPP $CPPFLAGS'
17453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Werror" >&5
17458 $as_echo_n "checking for cc -Werror... " >&6; }
17462 for element
in -Werror; do
17464 for x
in $CFLAGS; do
17466 acl_save_prefix
="$prefix"
17467 prefix
="$acl_final_prefix"
17468 acl_save_exec_prefix
="$exec_prefix"
17469 exec_prefix
="$acl_final_exec_prefix"
17471 exec_prefix
="$acl_save_exec_prefix"
17472 prefix
="$acl_save_prefix"
17474 if test "X$x" = "X$element"; then
17479 if test -z "$haveit"; then
17480 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17489 if ac_fn_c_try_compile
"$LINENO"; then :
17494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17497 if test "x$cy_good" = x1
; then :
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17499 $as_echo "yes" >&6; }
17501 for element
in -Werror; do
17503 for x
in $CFLAGS; do
17505 acl_save_prefix
="$prefix"
17506 prefix
="$acl_final_prefix"
17507 acl_save_exec_prefix
="$exec_prefix"
17508 exec_prefix
="$acl_final_exec_prefix"
17510 exec_prefix
="$acl_save_exec_prefix"
17511 prefix
="$acl_save_prefix"
17513 if test "X$x" = "X$element"; then
17518 if test -z "$haveit"; then
17519 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17526 $as_echo "no" >&6; }
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
17538 ac_cpp
='$CXXCPP $CPPFLAGS'
17539 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17540 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17541 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Werror" >&5
17544 $as_echo_n "checking for c++ -Werror... " >&6; }
17548 for element
in -Werror; do
17550 for x
in $CXXFLAGS; do
17552 acl_save_prefix
="$prefix"
17553 prefix
="$acl_final_prefix"
17554 acl_save_exec_prefix
="$exec_prefix"
17555 exec_prefix
="$acl_final_exec_prefix"
17557 exec_prefix
="$acl_save_exec_prefix"
17558 prefix
="$acl_save_prefix"
17560 if test "X$x" = "X$element"; then
17565 if test -z "$haveit"; then
17566 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17575 if ac_fn_cxx_try_compile
"$LINENO"; then :
17580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17583 if test "x$cy_good" = x1
; then :
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17585 $as_echo "yes" >&6; }
17587 for element
in -Werror; do
17589 for x
in $CXXFLAGS; do
17591 acl_save_prefix
="$prefix"
17592 prefix
="$acl_final_prefix"
17593 acl_save_exec_prefix
="$exec_prefix"
17594 exec_prefix
="$acl_final_exec_prefix"
17596 exec_prefix
="$acl_save_exec_prefix"
17597 prefix
="$acl_save_prefix"
17599 if test "X$x" = "X$element"; then
17604 if test -z "$haveit"; then
17605 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17612 $as_echo "no" >&6; }
17616 ac_cpp
='$CXXCPP $CPPFLAGS'
17617 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17624 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17625 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17626 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17627 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Werror" >&5
17630 $as_echo_n "checking for c++ -ObjC -Werror... " >&6; }
17632 cy_save
=$OBJCXXFLAGS
17634 for element
in -Werror; do
17636 for x
in $OBJCXXFLAGS; do
17638 acl_save_prefix
="$prefix"
17639 prefix
="$acl_final_prefix"
17640 acl_save_exec_prefix
="$exec_prefix"
17641 exec_prefix
="$acl_final_exec_prefix"
17643 exec_prefix
="$acl_save_exec_prefix"
17644 prefix
="$acl_save_prefix"
17646 if test "X$x" = "X$element"; then
17651 if test -z "$haveit"; then
17652 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17658 /* end confdefs.h. */
17661 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17668 OBJCXXFLAGS
=$cy_save
17669 if test "x$cy_good" = x1
; then :
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17671 $as_echo "yes" >&6; }
17673 for element
in -Werror; do
17675 for x
in $OBJCXXFLAGS; do
17677 acl_save_prefix
="$prefix"
17678 prefix
="$acl_final_prefix"
17679 acl_save_exec_prefix
="$exec_prefix"
17680 exec_prefix
="$acl_final_exec_prefix"
17682 exec_prefix
="$acl_save_exec_prefix"
17683 prefix
="$acl_save_prefix"
17685 if test "X$x" = "X$element"; then
17690 if test -z "$haveit"; then
17691 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17698 $as_echo "no" >&6; }
17702 ac_cpp
='$CXXCPP $CPPFLAGS'
17703 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17704 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17705 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17713 ac_cpp
='$CPP $CPPFLAGS'
17714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-deprecated-declarations" >&5
17719 $as_echo_n "checking for cc -Wno-deprecated-declarations... " >&6; }
17723 for element
in -Wno-deprecated-declarations; do
17725 for x
in $CFLAGS; do
17727 acl_save_prefix
="$prefix"
17728 prefix
="$acl_final_prefix"
17729 acl_save_exec_prefix
="$exec_prefix"
17730 exec_prefix
="$acl_final_exec_prefix"
17732 exec_prefix
="$acl_save_exec_prefix"
17733 prefix
="$acl_save_prefix"
17735 if test "X$x" = "X$element"; then
17740 if test -z "$haveit"; then
17741 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17750 if ac_fn_c_try_compile
"$LINENO"; then :
17755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17758 if test "x$cy_good" = x1
; then :
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17760 $as_echo "yes" >&6; }
17762 for element
in -Wno-deprecated-declarations; do
17764 for x
in $CFLAGS; do
17766 acl_save_prefix
="$prefix"
17767 prefix
="$acl_final_prefix"
17768 acl_save_exec_prefix
="$exec_prefix"
17769 exec_prefix
="$acl_final_exec_prefix"
17771 exec_prefix
="$acl_save_exec_prefix"
17772 prefix
="$acl_save_prefix"
17774 if test "X$x" = "X$element"; then
17779 if test -z "$haveit"; then
17780 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17787 $as_echo "no" >&6; }
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
17799 ac_cpp
='$CXXCPP $CPPFLAGS'
17800 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17801 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17802 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-deprecated-declarations" >&5
17805 $as_echo_n "checking for c++ -Wno-deprecated-declarations... " >&6; }
17809 for element
in -Wno-deprecated-declarations; do
17811 for x
in $CXXFLAGS; do
17813 acl_save_prefix
="$prefix"
17814 prefix
="$acl_final_prefix"
17815 acl_save_exec_prefix
="$exec_prefix"
17816 exec_prefix
="$acl_final_exec_prefix"
17818 exec_prefix
="$acl_save_exec_prefix"
17819 prefix
="$acl_save_prefix"
17821 if test "X$x" = "X$element"; then
17826 if test -z "$haveit"; then
17827 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17836 if ac_fn_cxx_try_compile
"$LINENO"; then :
17841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17844 if test "x$cy_good" = x1
; then :
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17846 $as_echo "yes" >&6; }
17848 for element
in -Wno-deprecated-declarations; do
17850 for x
in $CXXFLAGS; do
17852 acl_save_prefix
="$prefix"
17853 prefix
="$acl_final_prefix"
17854 acl_save_exec_prefix
="$exec_prefix"
17855 exec_prefix
="$acl_final_exec_prefix"
17857 exec_prefix
="$acl_save_exec_prefix"
17858 prefix
="$acl_save_prefix"
17860 if test "X$x" = "X$element"; then
17865 if test -z "$haveit"; then
17866 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17873 $as_echo "no" >&6; }
17877 ac_cpp
='$CXXCPP $CPPFLAGS'
17878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17885 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17886 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17887 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17888 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-deprecated-declarations" >&5
17891 $as_echo_n "checking for c++ -ObjC -Wno-deprecated-declarations... " >&6; }
17893 cy_save
=$OBJCXXFLAGS
17895 for element
in -Wno-deprecated-declarations; do
17897 for x
in $OBJCXXFLAGS; do
17899 acl_save_prefix
="$prefix"
17900 prefix
="$acl_final_prefix"
17901 acl_save_exec_prefix
="$exec_prefix"
17902 exec_prefix
="$acl_final_exec_prefix"
17904 exec_prefix
="$acl_save_exec_prefix"
17905 prefix
="$acl_save_prefix"
17907 if test "X$x" = "X$element"; then
17912 if test -z "$haveit"; then
17913 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17922 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17929 OBJCXXFLAGS
=$cy_save
17930 if test "x$cy_good" = x1
; then :
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17932 $as_echo "yes" >&6; }
17934 for element
in -Wno-deprecated-declarations; do
17936 for x
in $OBJCXXFLAGS; do
17938 acl_save_prefix
="$prefix"
17939 prefix
="$acl_final_prefix"
17940 acl_save_exec_prefix
="$exec_prefix"
17941 exec_prefix
="$acl_final_exec_prefix"
17943 exec_prefix
="$acl_save_exec_prefix"
17944 prefix
="$acl_save_prefix"
17946 if test "X$x" = "X$element"; then
17951 if test -z "$haveit"; then
17952 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17959 $as_echo "no" >&6; }
17963 ac_cpp
='$CXXCPP $CPPFLAGS'
17964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17974 ac_cpp
='$CPP $CPPFLAGS'
17975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-dangling-else" >&5
17980 $as_echo_n "checking for cc -Wno-dangling-else... " >&6; }
17984 for element
in -Wno-dangling-else; do
17986 for x
in $CFLAGS; do
17988 acl_save_prefix
="$prefix"
17989 prefix
="$acl_final_prefix"
17990 acl_save_exec_prefix
="$exec_prefix"
17991 exec_prefix
="$acl_final_exec_prefix"
17993 exec_prefix
="$acl_save_exec_prefix"
17994 prefix
="$acl_save_prefix"
17996 if test "X$x" = "X$element"; then
18001 if test -z "$haveit"; then
18002 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h. */
18011 if ac_fn_c_try_compile
"$LINENO"; then :
18016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18019 if test "x$cy_good" = x1
; then :
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18021 $as_echo "yes" >&6; }
18023 for element
in -Wno-dangling-else; do
18025 for x
in $CFLAGS; do
18027 acl_save_prefix
="$prefix"
18028 prefix
="$acl_final_prefix"
18029 acl_save_exec_prefix
="$exec_prefix"
18030 exec_prefix
="$acl_final_exec_prefix"
18032 exec_prefix
="$acl_save_exec_prefix"
18033 prefix
="$acl_save_prefix"
18035 if test "X$x" = "X$element"; then
18040 if test -z "$haveit"; then
18041 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18048 $as_echo "no" >&6; }
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
18060 ac_cpp
='$CXXCPP $CPPFLAGS'
18061 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18062 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18063 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-dangling-else" >&5
18066 $as_echo_n "checking for c++ -Wno-dangling-else... " >&6; }
18070 for element
in -Wno-dangling-else; do
18072 for x
in $CXXFLAGS; do
18074 acl_save_prefix
="$prefix"
18075 prefix
="$acl_final_prefix"
18076 acl_save_exec_prefix
="$exec_prefix"
18077 exec_prefix
="$acl_final_exec_prefix"
18079 exec_prefix
="$acl_save_exec_prefix"
18080 prefix
="$acl_save_prefix"
18082 if test "X$x" = "X$element"; then
18087 if test -z "$haveit"; then
18088 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18094 /* end confdefs.h. */
18097 if ac_fn_cxx_try_compile
"$LINENO"; then :
18102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18105 if test "x$cy_good" = x1
; then :
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18107 $as_echo "yes" >&6; }
18109 for element
in -Wno-dangling-else; do
18111 for x
in $CXXFLAGS; do
18113 acl_save_prefix
="$prefix"
18114 prefix
="$acl_final_prefix"
18115 acl_save_exec_prefix
="$exec_prefix"
18116 exec_prefix
="$acl_final_exec_prefix"
18118 exec_prefix
="$acl_save_exec_prefix"
18119 prefix
="$acl_save_prefix"
18121 if test "X$x" = "X$element"; then
18126 if test -z "$haveit"; then
18127 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18134 $as_echo "no" >&6; }
18138 ac_cpp
='$CXXCPP $CPPFLAGS'
18139 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18140 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18141 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18146 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18147 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18148 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18149 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-dangling-else" >&5
18152 $as_echo_n "checking for c++ -ObjC -Wno-dangling-else... " >&6; }
18154 cy_save
=$OBJCXXFLAGS
18156 for element
in -Wno-dangling-else; do
18158 for x
in $OBJCXXFLAGS; do
18160 acl_save_prefix
="$prefix"
18161 prefix
="$acl_final_prefix"
18162 acl_save_exec_prefix
="$exec_prefix"
18163 exec_prefix
="$acl_final_exec_prefix"
18165 exec_prefix
="$acl_save_exec_prefix"
18166 prefix
="$acl_save_prefix"
18168 if test "X$x" = "X$element"; then
18173 if test -z "$haveit"; then
18174 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18180 /* end confdefs.h. */
18183 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18190 OBJCXXFLAGS
=$cy_save
18191 if test "x$cy_good" = x1
; then :
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18193 $as_echo "yes" >&6; }
18195 for element
in -Wno-dangling-else; do
18197 for x
in $OBJCXXFLAGS; do
18199 acl_save_prefix
="$prefix"
18200 prefix
="$acl_final_prefix"
18201 acl_save_exec_prefix
="$exec_prefix"
18202 exec_prefix
="$acl_final_exec_prefix"
18204 exec_prefix
="$acl_save_exec_prefix"
18205 prefix
="$acl_save_prefix"
18207 if test "X$x" = "X$element"; then
18212 if test -z "$haveit"; then
18213 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18220 $as_echo "no" >&6; }
18224 ac_cpp
='$CXXCPP $CPPFLAGS'
18225 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18226 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18227 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18234 ac_cpp
='$CPP $CPPFLAGS'
18235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-empty-body" >&5
18240 $as_echo_n "checking for cc -Wno-empty-body... " >&6; }
18244 for element
in -Wno-empty-body; do
18246 for x
in $CFLAGS; do
18248 acl_save_prefix
="$prefix"
18249 prefix
="$acl_final_prefix"
18250 acl_save_exec_prefix
="$exec_prefix"
18251 exec_prefix
="$acl_final_exec_prefix"
18253 exec_prefix
="$acl_save_exec_prefix"
18254 prefix
="$acl_save_prefix"
18256 if test "X$x" = "X$element"; then
18261 if test -z "$haveit"; then
18262 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18271 if ac_fn_c_try_compile
"$LINENO"; then :
18276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18279 if test "x$cy_good" = x1
; then :
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18281 $as_echo "yes" >&6; }
18283 for element
in -Wno-empty-body; do
18285 for x
in $CFLAGS; do
18287 acl_save_prefix
="$prefix"
18288 prefix
="$acl_final_prefix"
18289 acl_save_exec_prefix
="$exec_prefix"
18290 exec_prefix
="$acl_final_exec_prefix"
18292 exec_prefix
="$acl_save_exec_prefix"
18293 prefix
="$acl_save_prefix"
18295 if test "X$x" = "X$element"; then
18300 if test -z "$haveit"; then
18301 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18308 $as_echo "no" >&6; }
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
18320 ac_cpp
='$CXXCPP $CPPFLAGS'
18321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-empty-body" >&5
18326 $as_echo_n "checking for c++ -Wno-empty-body... " >&6; }
18330 for element
in -Wno-empty-body; do
18332 for x
in $CXXFLAGS; do
18334 acl_save_prefix
="$prefix"
18335 prefix
="$acl_final_prefix"
18336 acl_save_exec_prefix
="$exec_prefix"
18337 exec_prefix
="$acl_final_exec_prefix"
18339 exec_prefix
="$acl_save_exec_prefix"
18340 prefix
="$acl_save_prefix"
18342 if test "X$x" = "X$element"; then
18347 if test -z "$haveit"; then
18348 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18357 if ac_fn_cxx_try_compile
"$LINENO"; then :
18362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18365 if test "x$cy_good" = x1
; then :
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18367 $as_echo "yes" >&6; }
18369 for element
in -Wno-empty-body; do
18371 for x
in $CXXFLAGS; do
18373 acl_save_prefix
="$prefix"
18374 prefix
="$acl_final_prefix"
18375 acl_save_exec_prefix
="$exec_prefix"
18376 exec_prefix
="$acl_final_exec_prefix"
18378 exec_prefix
="$acl_save_exec_prefix"
18379 prefix
="$acl_save_prefix"
18381 if test "X$x" = "X$element"; then
18386 if test -z "$haveit"; then
18387 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18394 $as_echo "no" >&6; }
18398 ac_cpp
='$CXXCPP $CPPFLAGS'
18399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18406 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18407 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18408 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18409 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-empty-body" >&5
18412 $as_echo_n "checking for c++ -ObjC -Wno-empty-body... " >&6; }
18414 cy_save
=$OBJCXXFLAGS
18416 for element
in -Wno-empty-body; do
18418 for x
in $OBJCXXFLAGS; do
18420 acl_save_prefix
="$prefix"
18421 prefix
="$acl_final_prefix"
18422 acl_save_exec_prefix
="$exec_prefix"
18423 exec_prefix
="$acl_final_exec_prefix"
18425 exec_prefix
="$acl_save_exec_prefix"
18426 prefix
="$acl_save_prefix"
18428 if test "X$x" = "X$element"; then
18433 if test -z "$haveit"; then
18434 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18443 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18450 OBJCXXFLAGS
=$cy_save
18451 if test "x$cy_good" = x1
; then :
18452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18453 $as_echo "yes" >&6; }
18455 for element
in -Wno-empty-body; do
18457 for x
in $OBJCXXFLAGS; do
18459 acl_save_prefix
="$prefix"
18460 prefix
="$acl_final_prefix"
18461 acl_save_exec_prefix
="$exec_prefix"
18462 exec_prefix
="$acl_final_exec_prefix"
18464 exec_prefix
="$acl_save_exec_prefix"
18465 prefix
="$acl_save_prefix"
18467 if test "X$x" = "X$element"; then
18472 if test -z "$haveit"; then
18473 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18480 $as_echo "no" >&6; }
18484 ac_cpp
='$CXXCPP $CPPFLAGS'
18485 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18486 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18487 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18494 ac_cpp
='$CPP $CPPFLAGS'
18495 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18496 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18497 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-overloaded-virtual" >&5
18500 $as_echo_n "checking for cc -Wno-overloaded-virtual... " >&6; }
18504 for element
in -Wno-overloaded-virtual; do
18506 for x
in $CFLAGS; do
18508 acl_save_prefix
="$prefix"
18509 prefix
="$acl_final_prefix"
18510 acl_save_exec_prefix
="$exec_prefix"
18511 exec_prefix
="$acl_final_exec_prefix"
18513 exec_prefix
="$acl_save_exec_prefix"
18514 prefix
="$acl_save_prefix"
18516 if test "X$x" = "X$element"; then
18521 if test -z "$haveit"; then
18522 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18531 if ac_fn_c_try_compile
"$LINENO"; then :
18536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18539 if test "x$cy_good" = x1
; then :
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18541 $as_echo "yes" >&6; }
18543 for element
in -Wno-overloaded-virtual; do
18545 for x
in $CFLAGS; do
18547 acl_save_prefix
="$prefix"
18548 prefix
="$acl_final_prefix"
18549 acl_save_exec_prefix
="$exec_prefix"
18550 exec_prefix
="$acl_final_exec_prefix"
18552 exec_prefix
="$acl_save_exec_prefix"
18553 prefix
="$acl_save_prefix"
18555 if test "X$x" = "X$element"; then
18560 if test -z "$haveit"; then
18561 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18568 $as_echo "no" >&6; }
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
18580 ac_cpp
='$CXXCPP $CPPFLAGS'
18581 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-overloaded-virtual" >&5
18586 $as_echo_n "checking for c++ -Wno-overloaded-virtual... " >&6; }
18590 for element
in -Wno-overloaded-virtual; do
18592 for x
in $CXXFLAGS; do
18594 acl_save_prefix
="$prefix"
18595 prefix
="$acl_final_prefix"
18596 acl_save_exec_prefix
="$exec_prefix"
18597 exec_prefix
="$acl_final_exec_prefix"
18599 exec_prefix
="$acl_save_exec_prefix"
18600 prefix
="$acl_save_prefix"
18602 if test "X$x" = "X$element"; then
18607 if test -z "$haveit"; then
18608 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18617 if ac_fn_cxx_try_compile
"$LINENO"; then :
18622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18625 if test "x$cy_good" = x1
; then :
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18627 $as_echo "yes" >&6; }
18629 for element
in -Wno-overloaded-virtual; do
18631 for x
in $CXXFLAGS; do
18633 acl_save_prefix
="$prefix"
18634 prefix
="$acl_final_prefix"
18635 acl_save_exec_prefix
="$exec_prefix"
18636 exec_prefix
="$acl_final_exec_prefix"
18638 exec_prefix
="$acl_save_exec_prefix"
18639 prefix
="$acl_save_prefix"
18641 if test "X$x" = "X$element"; then
18646 if test -z "$haveit"; then
18647 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18654 $as_echo "no" >&6; }
18658 ac_cpp
='$CXXCPP $CPPFLAGS'
18659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18666 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18667 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18668 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18669 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-overloaded-virtual" >&5
18672 $as_echo_n "checking for c++ -ObjC -Wno-overloaded-virtual... " >&6; }
18674 cy_save
=$OBJCXXFLAGS
18676 for element
in -Wno-overloaded-virtual; do
18678 for x
in $OBJCXXFLAGS; do
18680 acl_save_prefix
="$prefix"
18681 prefix
="$acl_final_prefix"
18682 acl_save_exec_prefix
="$exec_prefix"
18683 exec_prefix
="$acl_final_exec_prefix"
18685 exec_prefix
="$acl_save_exec_prefix"
18686 prefix
="$acl_save_prefix"
18688 if test "X$x" = "X$element"; then
18693 if test -z "$haveit"; then
18694 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18703 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18710 OBJCXXFLAGS
=$cy_save
18711 if test "x$cy_good" = x1
; then :
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18713 $as_echo "yes" >&6; }
18715 for element
in -Wno-overloaded-virtual; do
18717 for x
in $OBJCXXFLAGS; do
18719 acl_save_prefix
="$prefix"
18720 prefix
="$acl_final_prefix"
18721 acl_save_exec_prefix
="$exec_prefix"
18722 exec_prefix
="$acl_final_exec_prefix"
18724 exec_prefix
="$acl_save_exec_prefix"
18725 prefix
="$acl_save_prefix"
18727 if test "X$x" = "X$element"; then
18732 if test -z "$haveit"; then
18733 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18740 $as_echo "no" >&6; }
18744 ac_cpp
='$CXXCPP $CPPFLAGS'
18745 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18746 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18747 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18754 ac_cpp
='$CPP $CPPFLAGS'
18755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-parentheses" >&5
18760 $as_echo_n "checking for cc -Wno-parentheses... " >&6; }
18764 for element
in -Wno-parentheses; do
18766 for x
in $CFLAGS; do
18768 acl_save_prefix
="$prefix"
18769 prefix
="$acl_final_prefix"
18770 acl_save_exec_prefix
="$exec_prefix"
18771 exec_prefix
="$acl_final_exec_prefix"
18773 exec_prefix
="$acl_save_exec_prefix"
18774 prefix
="$acl_save_prefix"
18776 if test "X$x" = "X$element"; then
18781 if test -z "$haveit"; then
18782 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18791 if ac_fn_c_try_compile
"$LINENO"; then :
18796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18799 if test "x$cy_good" = x1
; then :
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18801 $as_echo "yes" >&6; }
18803 for element
in -Wno-parentheses; do
18805 for x
in $CFLAGS; do
18807 acl_save_prefix
="$prefix"
18808 prefix
="$acl_final_prefix"
18809 acl_save_exec_prefix
="$exec_prefix"
18810 exec_prefix
="$acl_final_exec_prefix"
18812 exec_prefix
="$acl_save_exec_prefix"
18813 prefix
="$acl_save_prefix"
18815 if test "X$x" = "X$element"; then
18820 if test -z "$haveit"; then
18821 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18828 $as_echo "no" >&6; }
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
18840 ac_cpp
='$CXXCPP $CPPFLAGS'
18841 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18842 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18843 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-parentheses" >&5
18846 $as_echo_n "checking for c++ -Wno-parentheses... " >&6; }
18850 for element
in -Wno-parentheses; do
18852 for x
in $CXXFLAGS; do
18854 acl_save_prefix
="$prefix"
18855 prefix
="$acl_final_prefix"
18856 acl_save_exec_prefix
="$exec_prefix"
18857 exec_prefix
="$acl_final_exec_prefix"
18859 exec_prefix
="$acl_save_exec_prefix"
18860 prefix
="$acl_save_prefix"
18862 if test "X$x" = "X$element"; then
18867 if test -z "$haveit"; then
18868 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18874 /* end confdefs.h. */
18877 if ac_fn_cxx_try_compile
"$LINENO"; then :
18882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18885 if test "x$cy_good" = x1
; then :
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18887 $as_echo "yes" >&6; }
18889 for element
in -Wno-parentheses; do
18891 for x
in $CXXFLAGS; do
18893 acl_save_prefix
="$prefix"
18894 prefix
="$acl_final_prefix"
18895 acl_save_exec_prefix
="$exec_prefix"
18896 exec_prefix
="$acl_final_exec_prefix"
18898 exec_prefix
="$acl_save_exec_prefix"
18899 prefix
="$acl_save_prefix"
18901 if test "X$x" = "X$element"; then
18906 if test -z "$haveit"; then
18907 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18914 $as_echo "no" >&6; }
18918 ac_cpp
='$CXXCPP $CPPFLAGS'
18919 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18920 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18926 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18927 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-parentheses" >&5
18932 $as_echo_n "checking for c++ -ObjC -Wno-parentheses... " >&6; }
18934 cy_save
=$OBJCXXFLAGS
18936 for element
in -Wno-parentheses; do
18938 for x
in $OBJCXXFLAGS; do
18940 acl_save_prefix
="$prefix"
18941 prefix
="$acl_final_prefix"
18942 acl_save_exec_prefix
="$exec_prefix"
18943 exec_prefix
="$acl_final_exec_prefix"
18945 exec_prefix
="$acl_save_exec_prefix"
18946 prefix
="$acl_save_prefix"
18948 if test "X$x" = "X$element"; then
18953 if test -z "$haveit"; then
18954 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18960 /* end confdefs.h. */
18963 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18970 OBJCXXFLAGS
=$cy_save
18971 if test "x$cy_good" = x1
; then :
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18973 $as_echo "yes" >&6; }
18975 for element
in -Wno-parentheses; do
18977 for x
in $OBJCXXFLAGS; do
18979 acl_save_prefix
="$prefix"
18980 prefix
="$acl_final_prefix"
18981 acl_save_exec_prefix
="$exec_prefix"
18982 exec_prefix
="$acl_final_exec_prefix"
18984 exec_prefix
="$acl_save_exec_prefix"
18985 prefix
="$acl_save_prefix"
18987 if test "X$x" = "X$element"; then
18992 if test -z "$haveit"; then
18993 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19000 $as_echo "no" >&6; }
19004 ac_cpp
='$CXXCPP $CPPFLAGS'
19005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19014 ac_cpp
='$CPP $CPPFLAGS'
19015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-tautological-undefined-compare" >&5
19020 $as_echo_n "checking for cc -Wno-tautological-undefined-compare... " >&6; }
19024 for element
in -Wno-tautological-undefined-compare; do
19026 for x
in $CFLAGS; do
19028 acl_save_prefix
="$prefix"
19029 prefix
="$acl_final_prefix"
19030 acl_save_exec_prefix
="$exec_prefix"
19031 exec_prefix
="$acl_final_exec_prefix"
19033 exec_prefix
="$acl_save_exec_prefix"
19034 prefix
="$acl_save_prefix"
19036 if test "X$x" = "X$element"; then
19041 if test -z "$haveit"; then
19042 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19051 if ac_fn_c_try_compile
"$LINENO"; then :
19056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19059 if test "x$cy_good" = x1
; then :
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19061 $as_echo "yes" >&6; }
19063 for element
in -Wno-tautological-undefined-compare; do
19065 for x
in $CFLAGS; do
19067 acl_save_prefix
="$prefix"
19068 prefix
="$acl_final_prefix"
19069 acl_save_exec_prefix
="$exec_prefix"
19070 exec_prefix
="$acl_final_exec_prefix"
19072 exec_prefix
="$acl_save_exec_prefix"
19073 prefix
="$acl_save_prefix"
19075 if test "X$x" = "X$element"; then
19080 if test -z "$haveit"; then
19081 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19088 $as_echo "no" >&6; }
19092 ac_cpp
='$CXXCPP $CPPFLAGS'
19093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19100 ac_cpp
='$CXXCPP $CPPFLAGS'
19101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-tautological-undefined-compare" >&5
19106 $as_echo_n "checking for c++ -Wno-tautological-undefined-compare... " >&6; }
19110 for element
in -Wno-tautological-undefined-compare; do
19112 for x
in $CXXFLAGS; do
19114 acl_save_prefix
="$prefix"
19115 prefix
="$acl_final_prefix"
19116 acl_save_exec_prefix
="$exec_prefix"
19117 exec_prefix
="$acl_final_exec_prefix"
19119 exec_prefix
="$acl_save_exec_prefix"
19120 prefix
="$acl_save_prefix"
19122 if test "X$x" = "X$element"; then
19127 if test -z "$haveit"; then
19128 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19134 /* end confdefs.h. */
19137 if ac_fn_cxx_try_compile
"$LINENO"; then :
19142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19145 if test "x$cy_good" = x1
; then :
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19147 $as_echo "yes" >&6; }
19149 for element
in -Wno-tautological-undefined-compare; do
19151 for x
in $CXXFLAGS; do
19153 acl_save_prefix
="$prefix"
19154 prefix
="$acl_final_prefix"
19155 acl_save_exec_prefix
="$exec_prefix"
19156 exec_prefix
="$acl_final_exec_prefix"
19158 exec_prefix
="$acl_save_exec_prefix"
19159 prefix
="$acl_save_prefix"
19161 if test "X$x" = "X$element"; then
19166 if test -z "$haveit"; then
19167 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19174 $as_echo "no" >&6; }
19178 ac_cpp
='$CXXCPP $CPPFLAGS'
19179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19186 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19187 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19188 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19189 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-tautological-undefined-compare" >&5
19192 $as_echo_n "checking for c++ -ObjC -Wno-tautological-undefined-compare... " >&6; }
19194 cy_save
=$OBJCXXFLAGS
19196 for element
in -Wno-tautological-undefined-compare; do
19198 for x
in $OBJCXXFLAGS; do
19200 acl_save_prefix
="$prefix"
19201 prefix
="$acl_final_prefix"
19202 acl_save_exec_prefix
="$exec_prefix"
19203 exec_prefix
="$acl_final_exec_prefix"
19205 exec_prefix
="$acl_save_exec_prefix"
19206 prefix
="$acl_save_prefix"
19208 if test "X$x" = "X$element"; then
19213 if test -z "$haveit"; then
19214 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19220 /* end confdefs.h. */
19223 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19230 OBJCXXFLAGS
=$cy_save
19231 if test "x$cy_good" = x1
; then :
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19233 $as_echo "yes" >&6; }
19235 for element
in -Wno-tautological-undefined-compare; do
19237 for x
in $OBJCXXFLAGS; do
19239 acl_save_prefix
="$prefix"
19240 prefix
="$acl_final_prefix"
19241 acl_save_exec_prefix
="$exec_prefix"
19242 exec_prefix
="$acl_final_exec_prefix"
19244 exec_prefix
="$acl_save_exec_prefix"
19245 prefix
="$acl_save_prefix"
19247 if test "X$x" = "X$element"; then
19252 if test -z "$haveit"; then
19253 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19260 $as_echo "no" >&6; }
19264 ac_cpp
='$CXXCPP $CPPFLAGS'
19265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19274 ac_cpp
='$CPP $CPPFLAGS'
19275 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cc -Wno-unneeded-internal-declaration" >&5
19280 $as_echo_n "checking for cc -Wno-unneeded-internal-declaration... " >&6; }
19284 for element
in -Wno-unneeded-internal-declaration; do
19286 for x
in $CFLAGS; do
19288 acl_save_prefix
="$prefix"
19289 prefix
="$acl_final_prefix"
19290 acl_save_exec_prefix
="$exec_prefix"
19291 exec_prefix
="$acl_final_exec_prefix"
19293 exec_prefix
="$acl_save_exec_prefix"
19294 prefix
="$acl_save_prefix"
19296 if test "X$x" = "X$element"; then
19301 if test -z "$haveit"; then
19302 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19308 /* end confdefs.h. */
19311 if ac_fn_c_try_compile
"$LINENO"; then :
19316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19319 if test "x$cy_good" = x1
; then :
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19321 $as_echo "yes" >&6; }
19323 for element
in -Wno-unneeded-internal-declaration; do
19325 for x
in $CFLAGS; do
19327 acl_save_prefix
="$prefix"
19328 prefix
="$acl_final_prefix"
19329 acl_save_exec_prefix
="$exec_prefix"
19330 exec_prefix
="$acl_final_exec_prefix"
19332 exec_prefix
="$acl_save_exec_prefix"
19333 prefix
="$acl_save_prefix"
19335 if test "X$x" = "X$element"; then
19340 if test -z "$haveit"; then
19341 CFLAGS
="${CFLAGS}${CFLAGS:+ }$element"
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19348 $as_echo "no" >&6; }
19352 ac_cpp
='$CXXCPP $CPPFLAGS'
19353 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19360 ac_cpp
='$CXXCPP $CPPFLAGS'
19361 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -Wno-unneeded-internal-declaration" >&5
19366 $as_echo_n "checking for c++ -Wno-unneeded-internal-declaration... " >&6; }
19370 for element
in -Wno-unneeded-internal-declaration; do
19372 for x
in $CXXFLAGS; do
19374 acl_save_prefix
="$prefix"
19375 prefix
="$acl_final_prefix"
19376 acl_save_exec_prefix
="$exec_prefix"
19377 exec_prefix
="$acl_final_exec_prefix"
19379 exec_prefix
="$acl_save_exec_prefix"
19380 prefix
="$acl_save_prefix"
19382 if test "X$x" = "X$element"; then
19387 if test -z "$haveit"; then
19388 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19397 if ac_fn_cxx_try_compile
"$LINENO"; then :
19402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19405 if test "x$cy_good" = x1
; then :
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19407 $as_echo "yes" >&6; }
19409 for element
in -Wno-unneeded-internal-declaration; do
19411 for x
in $CXXFLAGS; do
19413 acl_save_prefix
="$prefix"
19414 prefix
="$acl_final_prefix"
19415 acl_save_exec_prefix
="$exec_prefix"
19416 exec_prefix
="$acl_final_exec_prefix"
19418 exec_prefix
="$acl_save_exec_prefix"
19419 prefix
="$acl_save_prefix"
19421 if test "X$x" = "X$element"; then
19426 if test -z "$haveit"; then
19427 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19434 $as_echo "no" >&6; }
19438 ac_cpp
='$CXXCPP $CPPFLAGS'
19439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19446 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
19447 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19448 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19449 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c++ -ObjC -Wno-unneeded-internal-declaration" >&5
19452 $as_echo_n "checking for c++ -ObjC -Wno-unneeded-internal-declaration... " >&6; }
19454 cy_save
=$OBJCXXFLAGS
19456 for element
in -Wno-unneeded-internal-declaration; do
19458 for x
in $OBJCXXFLAGS; do
19460 acl_save_prefix
="$prefix"
19461 prefix
="$acl_final_prefix"
19462 acl_save_exec_prefix
="$exec_prefix"
19463 exec_prefix
="$acl_final_exec_prefix"
19465 exec_prefix
="$acl_save_exec_prefix"
19466 prefix
="$acl_save_prefix"
19468 if test "X$x" = "X$element"; then
19473 if test -z "$haveit"; then
19474 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19483 if ac_fn_objcxx_try_compile
"$LINENO"; then :
19488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19490 OBJCXXFLAGS
=$cy_save
19491 if test "x$cy_good" = x1
; then :
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19493 $as_echo "yes" >&6; }
19495 for element
in -Wno-unneeded-internal-declaration; do
19497 for x
in $OBJCXXFLAGS; do
19499 acl_save_prefix
="$prefix"
19500 prefix
="$acl_final_prefix"
19501 acl_save_exec_prefix
="$exec_prefix"
19502 exec_prefix
="$acl_final_exec_prefix"
19504 exec_prefix
="$acl_save_exec_prefix"
19505 prefix
="$acl_save_prefix"
19507 if test "X$x" = "X$element"; then
19512 if test -z "$haveit"; then
19513 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19520 $as_echo "no" >&6; }
19524 ac_cpp
='$CXXCPP $CPPFLAGS'
19525 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19526 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19527 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19536 ac_cpp
='$CPP $CPPFLAGS'
19537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19543 # We used to check for pthread.h first, but this fails if pthread.h
19544 # requires special compiler flags (e.g. on Tru64 or Sequent).
19545 # It gets checked for in the link test anyway.
19547 # First of all, check if the user has set any of the PTHREAD_LIBS,
19548 # etcetera environment variables, and if threads linking works using
19550 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19551 save_CFLAGS
="$CFLAGS"
19552 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19554 LIBS
="$PTHREAD_LIBS $LIBS"
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
19556 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
19557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19560 /* Override any GCC internal prototype to avoid an error.
19561 Use char because int might match the return type of a GCC
19562 builtin and then its argument prototype would still apply. */
19566 char pthread_join ();
19570 return pthread_join ();
19575 if ac_fn_c_try_link
"$LINENO"; then :
19578 rm -f core conftest.err conftest.
$ac_objext \
19579 conftest
$ac_exeext conftest.
$ac_ext
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19581 $as_echo "$ax_pthread_ok" >&6; }
19582 if test x
"$ax_pthread_ok" = xno
; then
19587 CFLAGS
="$save_CFLAGS"
19590 # We must check for the threads library under a number of different
19591 # names; the ordering is very important because some systems
19592 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19593 # libraries is broken (non-POSIX).
19595 # Create a list of thread flags to try. Items starting with a "-" are
19596 # C compiler flags, and other items are library names, except for "none"
19597 # which indicates that we try without any flags at all, and "pthread-config"
19598 # which is a program returning the flags for the Pth emulation library.
19600 ax_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mt -mthreads pthread --thread-safe pthread-config"
19602 # The ordering *is* (sometimes) important. Some notes on the
19603 # individual items follow:
19605 # pthreads: AIX (must check this before -lpthread)
19606 # none: in case threads are in libc; should be tried before -Kthread and
19607 # other compiler flags to prevent continual compiler warnings
19608 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19609 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19610 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19611 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
19612 # -pthreads: Solaris/gcc
19613 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19614 # doesn't hurt to check since this sometimes defines pthreads and
19615 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
19616 # is present but should not be used directly)
19617 # -mthreads: Mingw32/gcc, Lynx/gcc
19618 # pthread: Linux, etcetera
19619 # --thread-safe: KAI C++
19620 # pthread-config: use pthread-config program (for GNU Pth library)
19626 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
19627 # multi-threading and also sets -lpthread."
19629 ax_pthread_flags
="-mt -pthread pthread $ax_pthread_flags"
19634 # IBM z/OS requires a feature-test macro to be defined in order to
19635 # enable POSIX threads at all, so give the user a hint if this is
19636 # not set. (We don't define these ourselves, as they can affect
19637 # other portions of the system API in unpredictable ways.)
19639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19642 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
19643 AX_PTHREAD_ZOS_MISSING
19647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19648 $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev
/null
2>&1; then :
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
19650 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
19658 # Newer versions of Solaris require the "-mt -lpthread" pair, and we
19659 # check that first. On some older versions, libc contains stubbed
19660 # (non-functional) versions of the pthreads routines, so link-based
19661 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19662 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19663 # a function called by this macro, so we could check for that, but
19664 # who knows whether they'll stub that too in a future libc.) So
19665 # we'll look for -pthreads and -lpthread shortly thereafter.
19667 ax_pthread_flags
="-mt,pthread -pthreads -pthread pthread $ax_pthread_flags"
19671 # Older versions of Clang only give a warning instead of an error for an
19672 # unrecognized option, unless we specify -Werror. (We throw in some extra
19673 # Clang warning flags for good measure.)
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs certain flags to reject unknown flags" >&5
19676 $as_echo_n "checking if compiler needs certain flags to reject unknown flags... " >&6; }
19677 if ${ax_cv_PTHREAD_REJECT_UNKNOWN+:} false
; then :
19678 $as_echo_n "(cached) " >&6
19680 ax_cv_PTHREAD_REJECT_UNKNOWN
=unknown
19681 save_CFLAGS
="$CFLAGS"
19682 ax_pthread_extra_flags
="-Wunknown-warning-option -Wunused-command-line-argument"
19683 CFLAGS
="$CFLAGS $ax_pthread_extra_flags -Wfoobaz -foobaz"
19684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19695 if ac_fn_c_try_compile
"$LINENO"; then :
19696 ax_cv_PTHREAD_REJECT_UNKNOWN
="-Werror $ax_pthread_extra_flags"
19698 ax_cv_PTHREAD_REJECT_UNKNOWN
=no
19700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19701 CFLAGS
="$save_CFLAGS"
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_REJECT_UNKNOWN" >&5
19705 $as_echo "$ax_cv_PTHREAD_REJECT_UNKNOWN" >&6; }
19706 ax_pthread_extra_flags
=
19707 if test "x$ax_cv_PTHREAD_REJECT_UNKNOWN" != "xno"; then :
19708 ax_pthread_extra_flags
="$ax_cv_PTHREAD_REJECT_UNKNOWN"
19711 if test x
"$ax_pthread_ok" = xno
; then
19712 for flag
in $ax_pthread_flags; do
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19717 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
19722 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
19723 PTHREAD_CFLAGS
="-mt"
19724 PTHREAD_LIBS
="-lpthread"
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19729 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19730 PTHREAD_CFLAGS
="$flag"
19734 # Extract the first word of "pthread-config", so it can be a program name with args.
19735 set dummy pthread
-config; ac_word
=$2
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19737 $as_echo_n "checking for $ac_word... " >&6; }
19738 if ${ac_cv_prog_ax_pthread_config+:} false
; then :
19739 $as_echo_n "(cached) " >&6
19741 if test -n "$ax_pthread_config"; then
19742 ac_cv_prog_ax_pthread_config
="$ax_pthread_config" # Let the user override the test.
19744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19745 for as_dir
in $PATH
19748 test -z "$as_dir" && as_dir
=.
19749 for ac_exec_ext
in '' $ac_executable_extensions; do
19750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19751 ac_cv_prog_ax_pthread_config
="yes"
19752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19759 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config
="no"
19762 ax_pthread_config
=$ac_cv_prog_ax_pthread_config
19763 if test -n "$ax_pthread_config"; then
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19765 $as_echo "$ax_pthread_config" >&6; }
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19768 $as_echo "no" >&6; }
19772 if test x
"$ax_pthread_config" = xno
; then continue; fi
19773 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19774 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19779 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19780 PTHREAD_LIBS
="-l$flag"
19785 save_CFLAGS
="$CFLAGS"
19786 LIBS
="$PTHREAD_LIBS $LIBS"
19787 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
19789 # Check for various functions. We must include pthread.h,
19790 # since some functions may be macros. (On the Sequent, we
19791 # need a special flag -Kthread to make this header compile.)
19792 # We check for pthread_join because it is in -lpthread on IRIX
19793 # while pthread_create is in libc. We check for pthread_attr_init
19794 # due to DEC craziness with -lpthreads. We check for
19795 # pthread_cleanup_push because it is one of the few pthread
19796 # functions on Solaris that doesn't have a non-functional libc stub.
19797 # We try pthread_create on general principles.
19798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19800 #include <pthread.h>
19801 static void routine(void *a) { a = 0; }
19802 static void *start_routine(void *a) { return a; }
19806 pthread_t th; pthread_attr_t attr;
19807 pthread_create(&th, 0, start_routine, 0);
19808 pthread_join(th, 0);
19809 pthread_attr_init(&attr);
19810 pthread_cleanup_push(routine, 0);
19811 pthread_cleanup_pop(0) /* ; */
19816 if ac_fn_c_try_link
"$LINENO"; then :
19819 rm -f core conftest.err conftest.
$ac_objext \
19820 conftest
$ac_exeext conftest.
$ac_ext
19823 CFLAGS
="$save_CFLAGS"
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19826 $as_echo "$ax_pthread_ok" >&6; }
19827 if test "x$ax_pthread_ok" = xyes
; then
19836 # Various other checks:
19837 if test "x$ax_pthread_ok" = xyes
; then
19839 LIBS
="$PTHREAD_LIBS $LIBS"
19840 save_CFLAGS
="$CFLAGS"
19841 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19843 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19845 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19846 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false
; then :
19847 $as_echo_n "(cached) " >&6
19849 ax_cv_PTHREAD_JOINABLE_ATTR
=unknown
19850 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853 #include <pthread.h>
19857 int attr = $attr; return attr /* ; */
19862 if ac_fn_c_try_link
"$LINENO"; then :
19863 ax_cv_PTHREAD_JOINABLE_ATTR
=$attr; break
19865 rm -f core conftest.err conftest.
$ac_objext \
19866 conftest
$ac_exeext conftest.
$ac_ext
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
19871 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
19872 if test "$ax_cv_PTHREAD_JOINABLE_ATTR" != unknown
&& \
19873 test "$ax_cv_PTHREAD_JOINABLE_ATTR" != PTHREAD_CREATE_JOINABLE
; then :
19875 cat >>confdefs.h
<<_ACEOF
19876 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19882 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19883 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false
; then :
19884 $as_echo_n "(cached) " >&6
19886 ax_cv_PTHREAD_SPECIAL_FLAGS
=no
19887 ax_pthread_special_flags_added
=no
19888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19889 /* end confdefs.h. */
19891 # if !defined(_REENTRANT) && !defined(_THREAD_SAFE)
19892 AX_PTHREAD_NEED_SPECIAL_FLAG
19896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19897 $EGREP "AX_PTHREAD_NEED_SPECIAL_FLAG" >/dev
/null
2>&1; then :
19900 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_THREAD_SAFE"
19902 darwin
* | hpux
* | osf
* | solaris
*)
19903 ax_cv_PTHREAD_SPECIAL_FLAGS
="-D_REENTRANT"
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
19913 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
19914 if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
19915 test "x$ax_pthread_special_flags_added" != "xyes"; then :
19916 PTHREAD_CFLAGS
="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
19917 ax_pthread_special_flags_added
=yes
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
19921 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
19922 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false
; then :
19923 $as_echo_n "(cached) " >&6
19925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h. */
19927 #include <pthread.h>
19931 int i = PTHREAD_PRIO_INHERIT;
19936 if ac_fn_c_try_link
"$LINENO"; then :
19937 ax_cv_PTHREAD_PRIO_INHERIT
=yes
19939 ax_cv_PTHREAD_PRIO_INHERIT
=no
19941 rm -f core conftest.err conftest.
$ac_objext \
19942 conftest
$ac_exeext conftest.
$ac_ext
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
19946 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
19947 if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
19949 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
19954 CFLAGS
="$save_CFLAGS"
19956 # More AIX lossage: compile with *_r variant
19957 if test "x$GCC" != xyes
; then
19961 x
*/c89
|x
*/c89_128
|x
*/c99
|x
*/c99_128
|x
*/cc
|x
*/cc128
|x
*/xlc
|x
*/xlc_v6
|x
*/xlc128
|x
*/xlc128_v6
) :
19962 #handle absolute path differently from PATH based program lookup
19965 if as_fn_executable_p
${CC}_r
; then :
19966 PTHREAD_CC
="${CC}_r"
19969 for ac_prog
in ${CC}_r
19971 # Extract the first word of "$ac_prog", so it can be a program name with args.
19972 set dummy
$ac_prog; ac_word
=$2
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19974 $as_echo_n "checking for $ac_word... " >&6; }
19975 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19976 $as_echo_n "(cached) " >&6
19978 if test -n "$PTHREAD_CC"; then
19979 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19982 for as_dir
in $PATH
19985 test -z "$as_dir" && as_dir
=.
19986 for ac_exec_ext
in '' $ac_executable_extensions; do
19987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19988 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19998 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19999 if test -n "$PTHREAD_CC"; then
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
20001 $as_echo "$PTHREAD_CC" >&6; }
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20004 $as_echo "no" >&6; }
20008 test -n "$PTHREAD_CC" && break
20010 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
20021 test -n "$PTHREAD_CC" || PTHREAD_CC
="$CC"
20027 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20028 if test x
"$ax_pthread_ok" = xyes
; then
20030 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20038 ac_cpp
='$CXXCPP $CPPFLAGS'
20039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20051 # Check whether --enable-javascript was given.
20052 if test "${enable_javascript+set}" = set; then :
20053 enableval
=$enable_javascript;
20054 case $enableval in #(
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20063 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20064 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20065 $as_echo_n "(cached) " >&6
20067 ac_func_search_save_LIBS
=$LIBS
20068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20071 /* Override any GCC internal prototype to avoid an error.
20072 Use char because int might match the return type of a GCC
20073 builtin and then its argument prototype would still apply. */
20077 char JSEvaluateScript ();
20081 return JSEvaluateScript ();
20086 for ac_lib
in '' JavaScriptCore
; do
20087 if test -z "$ac_lib"; then
20088 ac_res
="none required"
20091 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20093 if ac_fn_cxx_try_link
"$LINENO"; then :
20094 ac_cv_search_JSEvaluateScript
=$ac_res
20096 rm -f core conftest.err conftest.
$ac_objext \
20098 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20102 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20105 ac_cv_search_JSEvaluateScript
=no
20107 rm conftest.
$ac_ext
20108 LIBS
=$ac_func_search_save_LIBS
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20111 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20112 ac_res
=$ac_cv_search_JSEvaluateScript
20113 if test "$ac_res" != no
; then :
20114 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20122 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20123 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20124 $as_echo_n "(cached) " >&6
20127 ac_check_framework_save_LIBS
=$LIBS
20128 LIBS
="-framework JavaScriptCore $LIBS"
20129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20130 /* end confdefs.h. */
20132 #include <JavaScriptCore/JSBase.h>
20138 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20144 if ac_fn_cxx_try_link
"$LINENO"; then :
20146 ac_cv_framework_JavaScriptCore
=yes
20149 ac_cv_framework_JavaScriptCore
=no
20151 rm -f core conftest.err conftest.
$ac_objext \
20152 conftest
$ac_exeext conftest.
$ac_ext
20153 LIBS
=$ac_check_framework_save_LIBS
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20157 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20158 if test $ac_cv_framework_JavaScriptCore = yes; then :
20161 for element
in "-framework JavaScriptCore"; do
20165 acl_save_prefix
="$prefix"
20166 prefix
="$acl_final_prefix"
20167 acl_save_exec_prefix
="$exec_prefix"
20168 exec_prefix
="$acl_final_exec_prefix"
20170 exec_prefix
="$acl_save_exec_prefix"
20171 prefix
="$acl_save_prefix"
20173 if test "X$x" = "X$element"; then
20178 if test -z "$haveit"; then
20179 LIBS
="${LIBS}${LIBS:+ }$element"
20190 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20194 $as_echo_n "checking for WEBKIT... " >&6; }
20196 if test -n "$WEBKIT_CFLAGS"; then
20197 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20198 elif test -n "$PKG_CONFIG"; then
20199 if test -n "$PKG_CONFIG" && \
20200 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20201 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20204 test $ac_status = 0; }; then
20205 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20206 test "x$?" != "x0" && pkg_failed
=yes
20213 if test -n "$WEBKIT_LIBS"; then
20214 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20215 elif test -n "$PKG_CONFIG"; then
20216 if test -n "$PKG_CONFIG" && \
20217 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20218 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20221 test $ac_status = 0; }; then
20222 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20223 test "x$?" != "x0" && pkg_failed
=yes
20233 if test $pkg_failed = yes; then
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20235 $as_echo "no" >&6; }
20237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20238 _pkg_short_errors_supported
=yes
20240 _pkg_short_errors_supported
=no
20242 if test $_pkg_short_errors_supported = yes; then
20243 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20245 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20247 # Put the nasty error message in config.log where it belongs
20248 echo "$WEBKIT_PKG_ERRORS" >&5
20251 elif test $pkg_failed = untried
; then
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20253 $as_echo "no" >&6; }
20256 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20257 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20259 $as_echo "yes" >&6; }
20264 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20266 for x
in $CPPFLAGS; do
20268 acl_save_prefix
="$prefix"
20269 prefix
="$acl_final_prefix"
20270 acl_save_exec_prefix
="$exec_prefix"
20271 exec_prefix
="$acl_final_exec_prefix"
20273 exec_prefix
="$acl_save_exec_prefix"
20274 prefix
="$acl_save_prefix"
20276 if test "X$x" = "X$element"; then
20281 if test -z "$haveit"; then
20282 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20287 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20291 acl_save_prefix
="$prefix"
20292 prefix
="$acl_final_prefix"
20293 acl_save_exec_prefix
="$exec_prefix"
20294 exec_prefix
="$acl_final_exec_prefix"
20296 exec_prefix
="$acl_save_exec_prefix"
20297 prefix
="$acl_save_prefix"
20299 if test "X$x" = "X$element"; then
20304 if test -z "$haveit"; then
20305 LIBS
="${LIBS}${LIBS:+ }$element"
20310 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20316 LTJAVASCRIPTCORE
=$LIBS
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20332 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20333 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20334 $as_echo_n "(cached) " >&6
20336 ac_func_search_save_LIBS
=$LIBS
20337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20338 /* end confdefs.h. */
20340 /* Override any GCC internal prototype to avoid an error.
20341 Use char because int might match the return type of a GCC
20342 builtin and then its argument prototype would still apply. */
20346 char JSEvaluateScript ();
20350 return JSEvaluateScript ();
20355 for ac_lib
in '' JavaScriptCore
; do
20356 if test -z "$ac_lib"; then
20357 ac_res
="none required"
20360 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20362 if ac_fn_cxx_try_link
"$LINENO"; then :
20363 ac_cv_search_JSEvaluateScript
=$ac_res
20365 rm -f core conftest.err conftest.
$ac_objext \
20367 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20371 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20374 ac_cv_search_JSEvaluateScript
=no
20376 rm conftest.
$ac_ext
20377 LIBS
=$ac_func_search_save_LIBS
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20380 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20381 ac_res
=$ac_cv_search_JSEvaluateScript
20382 if test "$ac_res" != no
; then :
20383 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20391 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20392 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20393 $as_echo_n "(cached) " >&6
20396 ac_check_framework_save_LIBS
=$LIBS
20397 LIBS
="-framework JavaScriptCore $LIBS"
20398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20399 /* end confdefs.h. */
20401 #include <JavaScriptCore/JSBase.h>
20407 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20413 if ac_fn_cxx_try_link
"$LINENO"; then :
20415 ac_cv_framework_JavaScriptCore
=yes
20418 ac_cv_framework_JavaScriptCore
=no
20420 rm -f core conftest.err conftest.
$ac_objext \
20421 conftest
$ac_exeext conftest.
$ac_ext
20422 LIBS
=$ac_check_framework_save_LIBS
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20426 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20427 if test $ac_cv_framework_JavaScriptCore = yes; then :
20430 for element
in "-framework JavaScriptCore"; do
20434 acl_save_prefix
="$prefix"
20435 prefix
="$acl_final_prefix"
20436 acl_save_exec_prefix
="$exec_prefix"
20437 exec_prefix
="$acl_final_exec_prefix"
20439 exec_prefix
="$acl_save_exec_prefix"
20440 prefix
="$acl_save_prefix"
20442 if test "X$x" = "X$element"; then
20447 if test -z "$haveit"; then
20448 LIBS
="${LIBS}${LIBS:+ }$element"
20459 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20463 $as_echo_n "checking for WEBKIT... " >&6; }
20465 if test -n "$WEBKIT_CFLAGS"; then
20466 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20467 elif test -n "$PKG_CONFIG"; then
20468 if test -n "$PKG_CONFIG" && \
20469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20470 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20473 test $ac_status = 0; }; then
20474 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20475 test "x$?" != "x0" && pkg_failed
=yes
20482 if test -n "$WEBKIT_LIBS"; then
20483 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20484 elif test -n "$PKG_CONFIG"; then
20485 if test -n "$PKG_CONFIG" && \
20486 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20487 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20490 test $ac_status = 0; }; then
20491 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20492 test "x$?" != "x0" && pkg_failed
=yes
20502 if test $pkg_failed = yes; then
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20504 $as_echo "no" >&6; }
20506 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20507 _pkg_short_errors_supported
=yes
20509 _pkg_short_errors_supported
=no
20511 if test $_pkg_short_errors_supported = yes; then
20512 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20514 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20516 # Put the nasty error message in config.log where it belongs
20517 echo "$WEBKIT_PKG_ERRORS" >&5
20520 elif test $pkg_failed = untried
; then
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20522 $as_echo "no" >&6; }
20525 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20526 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20528 $as_echo "yes" >&6; }
20533 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20535 for x
in $CPPFLAGS; do
20537 acl_save_prefix
="$prefix"
20538 prefix
="$acl_final_prefix"
20539 acl_save_exec_prefix
="$exec_prefix"
20540 exec_prefix
="$acl_final_exec_prefix"
20542 exec_prefix
="$acl_save_exec_prefix"
20543 prefix
="$acl_save_prefix"
20545 if test "X$x" = "X$element"; then
20550 if test -z "$haveit"; then
20551 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20556 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20560 acl_save_prefix
="$prefix"
20561 prefix
="$acl_final_prefix"
20562 acl_save_exec_prefix
="$exec_prefix"
20563 exec_prefix
="$acl_final_exec_prefix"
20565 exec_prefix
="$acl_save_exec_prefix"
20566 prefix
="$acl_save_prefix"
20568 if test "X$x" = "X$element"; then
20573 if test -z "$haveit"; then
20574 LIBS
="${LIBS}${LIBS:+ }$element"
20579 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20585 LTJAVASCRIPTCORE
=$LIBS
20591 as_fn_error $?
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
20600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JSEvaluateScript" >&5
20601 $as_echo_n "checking for library containing JSEvaluateScript... " >&6; }
20602 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20603 $as_echo_n "(cached) " >&6
20605 ac_func_search_save_LIBS
=$LIBS
20606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20609 /* Override any GCC internal prototype to avoid an error.
20610 Use char because int might match the return type of a GCC
20611 builtin and then its argument prototype would still apply. */
20615 char JSEvaluateScript ();
20619 return JSEvaluateScript ();
20624 for ac_lib
in '' JavaScriptCore
; do
20625 if test -z "$ac_lib"; then
20626 ac_res
="none required"
20629 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20631 if ac_fn_cxx_try_link
"$LINENO"; then :
20632 ac_cv_search_JSEvaluateScript
=$ac_res
20634 rm -f core conftest.err conftest.
$ac_objext \
20636 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20640 if ${ac_cv_search_JSEvaluateScript+:} false
; then :
20643 ac_cv_search_JSEvaluateScript
=no
20645 rm conftest.
$ac_ext
20646 LIBS
=$ac_func_search_save_LIBS
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JSEvaluateScript" >&5
20649 $as_echo "$ac_cv_search_JSEvaluateScript" >&6; }
20650 ac_res
=$ac_cv_search_JSEvaluateScript
20651 if test "$ac_res" != no
; then :
20652 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
20660 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
20661 if ${ac_cv_framework_JavaScriptCore+:} false
; then :
20662 $as_echo_n "(cached) " >&6
20665 ac_check_framework_save_LIBS
=$LIBS
20666 LIBS
="-framework JavaScriptCore $LIBS"
20667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20668 /* end confdefs.h. */
20670 #include <JavaScriptCore/JSBase.h>
20676 JSEvaluateScript(0, 0, 0, 0, 0, 0);
20682 if ac_fn_cxx_try_link
"$LINENO"; then :
20684 ac_cv_framework_JavaScriptCore
=yes
20687 ac_cv_framework_JavaScriptCore
=no
20689 rm -f core conftest.err conftest.
$ac_objext \
20690 conftest
$ac_exeext conftest.
$ac_ext
20691 LIBS
=$ac_check_framework_save_LIBS
20694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
20695 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
20696 if test $ac_cv_framework_JavaScriptCore = yes; then :
20699 for element
in "-framework JavaScriptCore"; do
20703 acl_save_prefix
="$prefix"
20704 prefix
="$acl_final_prefix"
20705 acl_save_exec_prefix
="$exec_prefix"
20706 exec_prefix
="$acl_final_exec_prefix"
20708 exec_prefix
="$acl_save_exec_prefix"
20709 prefix
="$acl_save_prefix"
20711 if test "X$x" = "X$element"; then
20716 if test -z "$haveit"; then
20717 LIBS
="${LIBS}${LIBS:+ }$element"
20728 for cy_webkit_pkg
in "javascriptcoregtk-4.0"; do
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20732 $as_echo_n "checking for WEBKIT... " >&6; }
20734 if test -n "$WEBKIT_CFLAGS"; then
20735 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
20736 elif test -n "$PKG_CONFIG"; then
20737 if test -n "$PKG_CONFIG" && \
20738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20739 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20742 test $ac_status = 0; }; then
20743 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$cy_webkit_pkg" 2>/dev/null`
20744 test "x$?" != "x0" && pkg_failed
=yes
20751 if test -n "$WEBKIT_LIBS"; then
20752 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
20753 elif test -n "$PKG_CONFIG"; then
20754 if test -n "$PKG_CONFIG" && \
20755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$cy_webkit_pkg\""; } >&5
20756 ($PKG_CONFIG --exists --print-errors "$cy_webkit_pkg") 2>&5
20758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20759 test $ac_status = 0; }; then
20760 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$cy_webkit_pkg" 2>/dev/null`
20761 test "x$?" != "x0" && pkg_failed
=yes
20771 if test $pkg_failed = yes; then
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20773 $as_echo "no" >&6; }
20775 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20776 _pkg_short_errors_supported
=yes
20778 _pkg_short_errors_supported
=no
20780 if test $_pkg_short_errors_supported = yes; then
20781 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20783 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "$cy_webkit_pkg" 2>&1`
20785 # Put the nasty error message in config.log where it belongs
20786 echo "$WEBKIT_PKG_ERRORS" >&5
20789 elif test $pkg_failed = untried
; then
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20791 $as_echo "no" >&6; }
20794 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
20795 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
20796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20797 $as_echo "yes" >&6; }
20802 for element
in `$PKG_CONFIG --cflags $cy_webkit_pkg`; do
20804 for x
in $CPPFLAGS; do
20806 acl_save_prefix
="$prefix"
20807 prefix
="$acl_final_prefix"
20808 acl_save_exec_prefix
="$exec_prefix"
20809 exec_prefix
="$acl_final_exec_prefix"
20811 exec_prefix
="$acl_save_exec_prefix"
20812 prefix
="$acl_save_prefix"
20814 if test "X$x" = "X$element"; then
20819 if test -z "$haveit"; then
20820 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
20825 for element
in `$PKG_CONFIG --libs $cy_webkit_pkg`; do
20829 acl_save_prefix
="$prefix"
20830 prefix
="$acl_final_prefix"
20831 acl_save_exec_prefix
="$exec_prefix"
20832 exec_prefix
="$acl_final_exec_prefix"
20834 exec_prefix
="$acl_save_exec_prefix"
20835 prefix
="$acl_save_prefix"
20837 if test "X$x" = "X$element"; then
20842 if test -z "$haveit"; then
20843 LIBS
="${LIBS}${LIBS:+ }$element"
20848 fi; if test "x$CY_EXECUTE" = x1
; then break; fi
20854 LTJAVASCRIPTCORE
=$LIBS
20862 # Check whether --enable-console was given.
20863 if test "${enable_console+set}" = set; then :
20864 enableval
=$enable_console;
20867 if test "x$enable_console" != "xno"; then
20869 CY_CONSOLE_FALSE
='#'
20871 CY_CONSOLE_TRUE
='#'
20876 # Check whether --enable-attach was given.
20877 if test "${enable_attach+set}" = set; then :
20878 enableval
=$enable_attach;
20881 if test "x$enable_attach" != "xno" -a "x$CY_EXECUTE" = x1
; then
20883 CY_ATTACH_FALSE
='#'
20892 if test "x$CY_EXECUTE" = x1
; then
20894 CY_EXECUTE_FALSE
='#'
20896 CY_EXECUTE_TRUE
='#'
20902 case $CY_EXECUTE in #(
20908 for ac_header
in uv.h
20910 ac_fn_cxx_check_header_mongrel
"$LINENO" "uv.h" "ac_cv_header_uv_h" "$ac_includes_default"
20911 if test "x$ac_cv_header_uv_h" = xyes
; then :
20912 cat >>confdefs.h
<<_ACEOF
20913 #define HAVE_UV_H 1
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uv_loop_init" >&5
20917 $as_echo_n "checking for library containing uv_loop_init... " >&6; }
20918 if ${ac_cv_search_uv_loop_init+:} false
; then :
20919 $as_echo_n "(cached) " >&6
20921 ac_func_search_save_LIBS
=$LIBS
20922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20925 /* Override any GCC internal prototype to avoid an error.
20926 Use char because int might match the return type of a GCC
20927 builtin and then its argument prototype would still apply. */
20931 char uv_loop_init ();
20935 return uv_loop_init ();
20940 for ac_lib
in '' uv
; do
20941 if test -z "$ac_lib"; then
20942 ac_res
="none required"
20945 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20947 if ac_fn_cxx_try_link
"$LINENO"; then :
20948 ac_cv_search_uv_loop_init
=$ac_res
20950 rm -f core conftest.err conftest.
$ac_objext \
20952 if ${ac_cv_search_uv_loop_init+:} false
; then :
20956 if ${ac_cv_search_uv_loop_init+:} false
; then :
20959 ac_cv_search_uv_loop_init
=no
20961 rm conftest.
$ac_ext
20962 LIBS
=$ac_func_search_save_LIBS
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uv_loop_init" >&5
20965 $as_echo "$ac_cv_search_uv_loop_init" >&6; }
20966 ac_res
=$ac_cv_search_uv_loop_init
20967 if test "$ac_res" != no
; then :
20968 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20982 for ac_header
in ffi.h ffi
/ffi.h
20984 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20985 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20986 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20987 cat >>confdefs.h
<<_ACEOF
20988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20999 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
21003 C compiler flags
for LIBFFI
, overriding pkg
-config
21004 LIBFFI_LIBS linker flags
for LIBFFI
, overriding pkg
-config
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
21008 $as_echo_n "checking for LIBFFI... " >&6; }
21010 if test -n "$LIBFFI_CFLAGS"; then
21011 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
21012 elif test -n "$PKG_CONFIG"; then
21013 if test -n "$PKG_CONFIG" && \
21014 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
21015 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
21017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21018 test $ac_status = 0; }; then
21019 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
21020 test "x$?" != "x0" && pkg_failed
=yes
21027 if test -n "$LIBFFI_LIBS"; then
21028 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
21029 elif test -n "$PKG_CONFIG"; then
21030 if test -n "$PKG_CONFIG" && \
21031 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
21032 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
21034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21035 test $ac_status = 0; }; then
21036 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
21037 test "x$?" != "x0" && pkg_failed
=yes
21047 if test $pkg_failed = yes; then
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21049 $as_echo "no" >&6; }
21051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21052 _pkg_short_errors_supported
=yes
21054 _pkg_short_errors_supported
=no
21056 if test $_pkg_short_errors_supported = yes; then
21057 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
21059 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
21061 # Put the nasty error message in config.log where it belongs
21062 echo "$LIBFFI_PKG_ERRORS" >&5
21064 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
21065 elif test $pkg_failed = untried
; then
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21067 $as_echo "no" >&6; }
21068 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
21070 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
21071 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21073 $as_echo "yes" >&6; }
21076 for element
in `$PKG_CONFIG --cflags libffi`; do
21078 for x
in $CPPFLAGS; do
21080 acl_save_prefix
="$prefix"
21081 prefix
="$acl_final_prefix"
21082 acl_save_exec_prefix
="$exec_prefix"
21083 exec_prefix
="$acl_final_exec_prefix"
21085 exec_prefix
="$acl_save_exec_prefix"
21086 prefix
="$acl_save_prefix"
21088 if test "X$x" = "X$element"; then
21093 if test -z "$haveit"; then
21094 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21099 for element
in `$PKG_CONFIG --libs libffi`; do
21103 acl_save_prefix
="$prefix"
21104 prefix
="$acl_final_prefix"
21105 acl_save_exec_prefix
="$exec_prefix"
21106 exec_prefix
="$acl_final_exec_prefix"
21108 exec_prefix
="$acl_save_exec_prefix"
21109 prefix
="$acl_save_prefix"
21111 if test "X$x" = "X$element"; then
21116 if test -z "$haveit"; then
21117 LIBS
="${LIBS}${LIBS:+ }$element"
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
21127 $as_echo_n "checking for library containing ffi_call... " >&6; }
21128 if ${ac_cv_search_ffi_call+:} false
; then :
21129 $as_echo_n "(cached) " >&6
21131 ac_func_search_save_LIBS
=$LIBS
21132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21133 /* end confdefs.h. */
21135 /* Override any GCC internal prototype to avoid an error.
21136 Use char because int might match the return type of a GCC
21137 builtin and then its argument prototype would still apply. */
21145 return ffi_call ();
21150 for ac_lib
in '' ffi
; do
21151 if test -z "$ac_lib"; then
21152 ac_res
="none required"
21155 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21157 if ac_fn_cxx_try_link
"$LINENO"; then :
21158 ac_cv_search_ffi_call
=$ac_res
21160 rm -f core conftest.err conftest.
$ac_objext \
21162 if ${ac_cv_search_ffi_call+:} false
; then :
21166 if ${ac_cv_search_ffi_call+:} false
; then :
21169 ac_cv_search_ffi_call
=no
21171 rm conftest.
$ac_ext
21172 LIBS
=$ac_func_search_save_LIBS
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
21175 $as_echo "$ac_cv_search_ffi_call" >&6; }
21176 ac_res
=$ac_cv_search_ffi_call
21177 if test "$ac_res" != no
; then :
21178 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21182 case $ac_cv_search_ffi_call in #(
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
21188 $as_echo_n "checking for LIBFFI... " >&6; }
21190 if test -n "$LIBFFI_CFLAGS"; then
21191 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
21192 elif test -n "$PKG_CONFIG"; then
21193 if test -n "$PKG_CONFIG" && \
21194 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
21195 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
21197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21198 test $ac_status = 0; }; then
21199 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
21200 test "x$?" != "x0" && pkg_failed
=yes
21207 if test -n "$LIBFFI_LIBS"; then
21208 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
21209 elif test -n "$PKG_CONFIG"; then
21210 if test -n "$PKG_CONFIG" && \
21211 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
21212 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
21214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21215 test $ac_status = 0; }; then
21216 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
21217 test "x$?" != "x0" && pkg_failed
=yes
21227 if test $pkg_failed = yes; then
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21229 $as_echo "no" >&6; }
21231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21232 _pkg_short_errors_supported
=yes
21234 _pkg_short_errors_supported
=no
21236 if test $_pkg_short_errors_supported = yes; then
21237 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
21239 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
21241 # Put the nasty error message in config.log where it belongs
21242 echo "$LIBFFI_PKG_ERRORS" >&5
21244 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
21245 elif test $pkg_failed = untried
; then
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21247 $as_echo "no" >&6; }
21248 as_fn_error $?
"missing \"libffi\"" "$LINENO" 5
21250 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
21251 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21253 $as_echo "yes" >&6; }
21256 for element
in `$PKG_CONFIG --cflags libffi`; do
21258 for x
in $CPPFLAGS; do
21260 acl_save_prefix
="$prefix"
21261 prefix
="$acl_final_prefix"
21262 acl_save_exec_prefix
="$exec_prefix"
21263 exec_prefix
="$acl_final_exec_prefix"
21265 exec_prefix
="$acl_save_exec_prefix"
21266 prefix
="$acl_save_prefix"
21268 if test "X$x" = "X$element"; then
21273 if test -z "$haveit"; then
21274 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21279 for element
in `$PKG_CONFIG --libs libffi`; do
21283 acl_save_prefix
="$prefix"
21284 prefix
="$acl_final_prefix"
21285 acl_save_exec_prefix
="$exec_prefix"
21286 exec_prefix
="$acl_final_exec_prefix"
21288 exec_prefix
="$acl_save_exec_prefix"
21289 prefix
="$acl_save_prefix"
21291 if test "X$x" = "X$element"; then
21296 if test -z "$haveit"; then
21297 LIBS
="${LIBS}${LIBS:+ }$element"
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaVM" >&5
21315 $as_echo_n "checking for framework JavaVM... " >&6; }
21316 if ${ac_cv_framework_JavaVM+:} false
; then :
21317 $as_echo_n "(cached) " >&6
21320 ac_check_framework_save_LIBS
=$LIBS
21321 LIBS
="-framework JavaVM $LIBS"
21322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21323 /* end confdefs.h. */
21325 #include <JavaVM/jni.h>
21330 JNI_GetCreatedJavaVMs(NULL, 0, NULL);
21335 if ac_fn_cxx_try_link
"$LINENO"; then :
21337 ac_cv_framework_JavaVM
=yes
21340 ac_cv_framework_JavaVM
=no
21342 rm -f core conftest.err conftest.
$ac_objext \
21343 conftest
$ac_exeext conftest.
$ac_ext
21344 LIBS
=$ac_check_framework_save_LIBS
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaVM" >&5
21348 $as_echo "$ac_cv_framework_JavaVM" >&6; }
21349 if test $ac_cv_framework_JavaVM = yes; then :
21352 for element
in "-framework JavaVM"; do
21356 acl_save_prefix
="$prefix"
21357 prefix
="$acl_final_prefix"
21358 acl_save_exec_prefix
="$exec_prefix"
21359 exec_prefix
="$acl_final_exec_prefix"
21361 exec_prefix
="$acl_save_exec_prefix"
21362 prefix
="$acl_save_prefix"
21364 if test "X$x" = "X$element"; then
21369 if test -z "$haveit"; then
21370 LIBS
="${LIBS}${LIBS:+ }$element"
21380 ac_fn_cxx_check_header_mongrel
"$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
21381 if test "x$ac_cv_header_jni_h" = xyes
; then :
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing JNI_GetCreatedJavaVMs" >&5
21389 $as_echo_n "checking for library containing JNI_GetCreatedJavaVMs... " >&6; }
21390 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
21391 $as_echo_n "(cached) " >&6
21393 ac_func_search_save_LIBS
=$LIBS
21394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21395 /* end confdefs.h. */
21397 /* Override any GCC internal prototype to avoid an error.
21398 Use char because int might match the return type of a GCC
21399 builtin and then its argument prototype would still apply. */
21403 char JNI_GetCreatedJavaVMs ();
21407 return JNI_GetCreatedJavaVMs ();
21412 for ac_lib
in '' dvm
; do
21413 if test -z "$ac_lib"; then
21414 ac_res
="none required"
21417 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21419 if ac_fn_cxx_try_link
"$LINENO"; then :
21420 ac_cv_search_JNI_GetCreatedJavaVMs
=$ac_res
21422 rm -f core conftest.err conftest.
$ac_objext \
21424 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
21428 if ${ac_cv_search_JNI_GetCreatedJavaVMs+:} false
; then :
21431 ac_cv_search_JNI_GetCreatedJavaVMs
=no
21433 rm conftest.
$ac_ext
21434 LIBS
=$ac_func_search_save_LIBS
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_JNI_GetCreatedJavaVMs" >&5
21437 $as_echo "$ac_cv_search_JNI_GetCreatedJavaVMs" >&6; }
21438 ac_res
=$ac_cv_search_JNI_GetCreatedJavaVMs
21439 if test "$ac_res" != no
; then :
21440 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21461 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
21462 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21463 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21464 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
21468 $as_echo_n "checking if we really have Objective C++... " >&6; }
21469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21470 /* end confdefs.h. */
21473 if ac_fn_objcxx_try_compile
"$LINENO"; then :
21476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21477 $as_echo "yes" >&6; }
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21481 $as_echo "no" >&6; }
21483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21485 if test "x$CY_OBJECTIVEC" = x1
; then :
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
21492 $as_echo_n "checking for framework CoreFoundation... " >&6; }
21493 if ${ac_cv_framework_CoreFoundation+:} false
; then :
21494 $as_echo_n "(cached) " >&6
21497 ac_check_framework_save_LIBS
=$LIBS
21498 LIBS
="-framework CoreFoundation $LIBS"
21499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21500 /* end confdefs.h. */
21502 #include <CoreFoundation/CFBase.h>
21507 CFAllocatorGetDefault();
21512 if ac_fn_objcxx_try_link
"$LINENO"; then :
21514 ac_cv_framework_CoreFoundation
=yes
21517 ac_cv_framework_CoreFoundation
=no
21519 rm -f core conftest.err conftest.
$ac_objext \
21520 conftest
$ac_exeext conftest.
$ac_ext
21521 LIBS
=$ac_check_framework_save_LIBS
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
21525 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
21526 if test $ac_cv_framework_CoreFoundation = yes; then :
21529 for element
in "-framework CoreFoundation"; do
21533 acl_save_prefix
="$prefix"
21534 prefix
="$acl_final_prefix"
21535 acl_save_exec_prefix
="$exec_prefix"
21536 exec_prefix
="$acl_final_exec_prefix"
21538 exec_prefix
="$acl_save_exec_prefix"
21539 prefix
="$acl_save_prefix"
21541 if test "X$x" = "X$element"; then
21546 if test -z "$haveit"; then
21547 LIBS
="${LIBS}${LIBS:+ }$element"
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
21557 $as_echo_n "checking for framework Foundation... " >&6; }
21558 if ${ac_cv_framework_Foundation+:} false
; then :
21559 $as_echo_n "(cached) " >&6
21562 ac_check_framework_save_LIBS
=$LIBS
21563 LIBS
="-framework Foundation $LIBS"
21564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21565 /* end confdefs.h. */
21567 #include <Foundation/NSObject.h>
21572 [[NSObject alloc] init];
21577 if ac_fn_objcxx_try_link
"$LINENO"; then :
21579 ac_cv_framework_Foundation
=yes
21582 ac_cv_framework_Foundation
=no
21584 rm -f core conftest.err conftest.
$ac_objext \
21585 conftest
$ac_exeext conftest.
$ac_ext
21586 LIBS
=$ac_check_framework_save_LIBS
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
21590 $as_echo "$ac_cv_framework_Foundation" >&6; }
21591 if test $ac_cv_framework_Foundation = yes; then :
21594 for element
in "-framework Foundation"; do
21598 acl_save_prefix
="$prefix"
21599 prefix
="$acl_final_prefix"
21600 acl_save_exec_prefix
="$exec_prefix"
21601 exec_prefix
="$acl_final_exec_prefix"
21603 exec_prefix
="$acl_save_exec_prefix"
21604 prefix
="$acl_save_prefix"
21606 if test "X$x" = "X$element"; then
21611 if test -z "$haveit"; then
21612 LIBS
="${LIBS}${LIBS:+ }$element"
21616 cat >>confdefs.h
<<_ACEOF
21617 #define HAVE_FRAMEWORK_FOUNDATION 1
21627 for ac_prog
in gnustep
-config
21629 # Extract the first word of "$ac_prog", so it can be a program name with args.
21630 set dummy
$ac_prog; ac_word
=$2
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21632 $as_echo_n "checking for $ac_word... " >&6; }
21633 if ${ac_cv_prog_GNUSTEP_CONFIG+:} false
; then :
21634 $as_echo_n "(cached) " >&6
21636 if test -n "$GNUSTEP_CONFIG"; then
21637 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
21639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21640 for as_dir
in $PATH
21643 test -z "$as_dir" && as_dir
=.
21644 for ac_exec_ext
in '' $ac_executable_extensions; do
21645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
21646 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
21647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21656 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
21657 if test -n "$GNUSTEP_CONFIG"; then
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
21659 $as_echo "$GNUSTEP_CONFIG" >&6; }
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21662 $as_echo "no" >&6; }
21666 test -n "$GNUSTEP_CONFIG" && break
21670 if test "x$GNUSTEP_CONFIG" != x
; then :
21674 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
21676 for x
in $OBJCXXFLAGS; do
21678 acl_save_prefix
="$prefix"
21679 prefix
="$acl_final_prefix"
21680 acl_save_exec_prefix
="$exec_prefix"
21681 exec_prefix
="$acl_final_exec_prefix"
21683 exec_prefix
="$acl_save_exec_prefix"
21684 prefix
="$acl_save_prefix"
21686 if test "X$x" = "X$element"; then
21691 if test -z "$haveit"; then
21692 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
21697 for element
in `$GNUSTEP_CONFIG --base-libs`; do
21701 acl_save_prefix
="$prefix"
21702 prefix
="$acl_final_prefix"
21703 acl_save_exec_prefix
="$exec_prefix"
21704 exec_prefix
="$acl_final_exec_prefix"
21706 exec_prefix
="$acl_save_exec_prefix"
21707 prefix
="$acl_save_prefix"
21709 if test "X$x" = "X$element"; then
21714 if test -z "$haveit"; then
21715 LIBS
="${LIBS}${LIBS:+ }$element"
21734 ac_cpp
='$CXXCPP $CPPFLAGS'
21735 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21744 if test "x$CY_JAVA" = x1
; then
21752 if test "x$CY_OBJECTIVEC" = x1
; then
21753 CY_OBJECTIVEC_TRUE
=
21754 CY_OBJECTIVEC_FALSE
='#'
21756 CY_OBJECTIVEC_TRUE
='#'
21757 CY_OBJECTIVEC_FALSE
=
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
21766 $as_echo_n "checking for a readline compatible library... " >&6; }
21767 if ${ax_cv_lib_readline+:} false
; then :
21768 $as_echo_n "(cached) " >&6
21772 for readline_lib
in readline edit editline
; do
21773 for termcap_lib
in "" termcap curses ncurses
; do
21774 if test -z "$termcap_lib"; then
21775 TRY_LIB
="-l$readline_lib"
21777 TRY_LIB
="-l$readline_lib -l$termcap_lib"
21779 LIBS
="$ORIG_LIBS $TRY_LIB"
21780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21781 /* end confdefs.h. */
21783 /* Override any GCC internal prototype to avoid an error.
21784 Use char because int might match the return type of a GCC
21785 builtin and then its argument prototype would still apply. */
21793 return readline ();
21798 if ac_fn_cxx_try_link
"$LINENO"; then :
21799 ax_cv_lib_readline
="$TRY_LIB"
21801 rm -f core conftest.err conftest.
$ac_objext \
21802 conftest
$ac_exeext conftest.
$ac_ext
21803 if test -n "$ax_cv_lib_readline"; then
21807 if test -n "$ax_cv_lib_readline"; then
21811 if test -z "$ax_cv_lib_readline"; then
21812 ax_cv_lib_readline
="no"
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline" >&5
21818 $as_echo "$ax_cv_lib_readline" >&6; }
21820 if test "$ax_cv_lib_readline" != "no"; then
21821 LIBS
="$LIBS $ax_cv_lib_readline"
21823 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
21825 for ac_header
in readline.h readline
/readline.h
21827 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21828 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21829 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21830 cat >>confdefs.h
<<_ACEOF
21831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
21839 $as_echo_n "checking whether readline supports history... " >&6; }
21840 if ${ax_cv_lib_readline_history+:} false
; then :
21841 $as_echo_n "(cached) " >&6
21844 ax_cv_lib_readline_history
="no"
21845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21846 /* end confdefs.h. */
21848 /* Override any GCC internal prototype to avoid an error.
21849 Use char because int might match the return type of a GCC
21850 builtin and then its argument prototype would still apply. */
21854 char add_history ();
21858 return add_history ();
21863 if ac_fn_cxx_try_link
"$LINENO"; then :
21864 ax_cv_lib_readline_history
="yes"
21866 rm -f core conftest.err conftest.
$ac_objext \
21867 conftest
$ac_exeext conftest.
$ac_ext
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_lib_readline_history" >&5
21871 $as_echo "$ax_cv_lib_readline_history" >&6; }
21872 if test "$ax_cv_lib_readline_history" = "yes"; then
21874 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
21876 for ac_header
in history.h readline
/history.h
21878 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21879 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21880 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21881 cat >>confdefs.h
<<_ACEOF
21882 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21892 LTLIBREADLINE
=$LIBS
21896 case $ax_cv_lib_readline in #(
21898 as_fn_error $?
"missing \"libreadline\"" "$LINENO" 5 ;; #(
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cur_term" >&5
21907 $as_echo_n "checking for library containing cur_term... " >&6; }
21908 if ${ac_cv_search_cur_term+:} false
; then :
21909 $as_echo_n "(cached) " >&6
21911 ac_func_search_save_LIBS
=$LIBS
21912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21913 /* end confdefs.h. */
21915 /* Override any GCC internal prototype to avoid an error.
21916 Use char because int might match the return type of a GCC
21917 builtin and then its argument prototype would still apply. */
21925 return cur_term ();
21930 for ac_lib
in '' termcap ncurses
; do
21931 if test -z "$ac_lib"; then
21932 ac_res
="none required"
21935 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21937 if ac_fn_cxx_try_link
"$LINENO"; then :
21938 ac_cv_search_cur_term
=$ac_res
21940 rm -f core conftest.err conftest.
$ac_objext \
21942 if ${ac_cv_search_cur_term+:} false
; then :
21946 if ${ac_cv_search_cur_term+:} false
; then :
21949 ac_cv_search_cur_term
=no
21951 rm conftest.
$ac_ext
21952 LIBS
=$ac_func_search_save_LIBS
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cur_term" >&5
21955 $as_echo "$ac_cv_search_cur_term" >&6; }
21956 ac_res
=$ac_cv_search_cur_term
21957 if test "$ac_res" != no
; then :
21958 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21973 ac_config_files
="$ac_config_files Makefile"
21975 cat >confcache
<<\_ACEOF
21976 # This file is a shell script that caches the results of configure
21977 # tests run on this system so they can be shared between configure
21978 # scripts and configure runs, see configure's option --config-cache.
21979 # It is not useful on other systems. If it contains results you don't
21980 # want to keep, you may remove or edit it.
21982 # config.status only pays attention to the cache file if you give it
21983 # the --recheck option to rerun configure.
21985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21987 # following values.
21991 # The following way of writing the cache mishandles newlines in values,
21992 # but we know of no workaround that is simple, portable, and efficient.
21993 # So, we kill variables containing newlines.
21994 # Ultrix sh set writes to stderr and can't be redirected directly,
21995 # and sets the high bit in the cache file unless we assign to the vars.
21997 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21998 eval ac_val
=\$
$ac_var
22002 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22006 _
| IFS
| as_nl
) ;; #(
22007 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22008 *) { eval $ac_var=; unset $ac_var;} ;;
22014 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22015 *${as_nl}ac_space
=\
*)
22016 # `set' does not quote correctly, so add quotes: double-quote
22017 # substitution turns \\\\ into \\, and sed turns \\ into \.
22020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22023 # `set' quotes correctly as required by POSIX, so do not add quotes.
22024 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22033 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22035 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22037 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22038 if test -w "$cache_file"; then
22039 if test "x$cache_file" != "x/dev/null"; then
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22041 $as_echo "$as_me: updating cache $cache_file" >&6;}
22042 if test ! -f "$cache_file" || test -h "$cache_file"; then
22043 cat confcache
>"$cache_file"
22045 case $cache_file in #(
22047 mv -f confcache
"$cache_file"$$
&&
22048 mv -f "$cache_file"$$
"$cache_file" ;; #(
22050 mv -f confcache
"$cache_file" ;;
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22056 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22061 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22062 # Let make expand exec_prefix.
22063 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22065 DEFS
=-DHAVE_CONFIG_H
22070 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22071 # 1. Remove the extension, and $U if already installed.
22072 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22073 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22074 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22075 # will be set to the directory where LIBOBJS objects are built.
22076 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22077 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22079 LIBOBJS
=$ac_libobjs
22081 LTLIBOBJS
=$ac_ltlibobjs
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22085 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22086 if test -n "$am_sleep_pid"; then
22087 # Hide warnings about reused PIDs.
22088 wait $am_sleep_pid 2>/dev
/null
22090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22091 $as_echo "done" >&6; }
22092 if test -n "$EXEEXT"; then
22094 am__EXEEXT_FALSE
='#'
22096 am__EXEEXT_TRUE
='#'
22100 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22101 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22104 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22105 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22108 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22109 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22112 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22113 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
22114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22116 if test -z "${am__fastdepOBJCXX_TRUE}" && test -z "${am__fastdepOBJCXX_FALSE}"; then
22117 as_fn_error $?
"conditional \"am__fastdepOBJCXX\" was never defined.
22118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22120 if test -z "${CY_CONSOLE_TRUE}" && test -z "${CY_CONSOLE_FALSE}"; then
22121 as_fn_error $?
"conditional \"CY_CONSOLE\" was never defined.
22122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22124 if test -z "${CY_ATTACH_TRUE}" && test -z "${CY_ATTACH_FALSE}"; then
22125 as_fn_error $?
"conditional \"CY_ATTACH\" was never defined.
22126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22128 if test -z "${CY_EXECUTE_TRUE}" && test -z "${CY_EXECUTE_FALSE}"; then
22129 as_fn_error $?
"conditional \"CY_EXECUTE\" was never defined.
22130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22132 if test -z "${CY_JAVA_TRUE}" && test -z "${CY_JAVA_FALSE}"; then
22133 as_fn_error $?
"conditional \"CY_JAVA\" was never defined.
22134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22136 if test -z "${CY_OBJECTIVEC_TRUE}" && test -z "${CY_OBJECTIVEC_FALSE}"; then
22137 as_fn_error $?
"conditional \"CY_OBJECTIVEC\" was never defined.
22138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22141 : "${CONFIG_STATUS=./config.status}"
22143 ac_clean_files_save
=$ac_clean_files
22144 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22146 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22148 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22150 # Generated by $as_me.
22151 # Run this file to recreate the current configuration.
22152 # Compiler output produced by configure, useful for debugging
22153 # configure, is in config.log if it exists.
22156 ac_cs_recheck=false
22159 SHELL=\${CONFIG_SHELL-$SHELL}
22162 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
22163 ## -------------------- ##
22164 ## M4sh Initialization. ##
22165 ## -------------------- ##
22167 # Be more Bourne compatible
22168 DUALCASE
=1; export DUALCASE
# for MKS sh
22169 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22172 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22173 # is contrary to our usage. Disable this feature.
22174 alias -g '${1+"$@"}'='"$@"'
22175 setopt NO_GLOB_SUBST
22177 case `(set -o) 2>/dev/null` in #(
22189 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22190 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22191 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22192 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22193 # Prefer a ksh shell builtin over an external printf program on Solaris,
22194 # but without wasting forks for bash or zsh.
22195 if test -z "$BASH_VERSION$ZSH_VERSION" \
22196 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22197 as_echo='print
-r --'
22198 as_echo_n='print
-rn --'
22199 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22200 as_echo='printf %s
\n'
22201 as_echo_n='printf %s
'
22203 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22204 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22205 as_echo_n='/usr
/ucb
/echo -n'
22207 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22208 as_echo_n_body='eval
22212 expr "X$arg" : "X\\(.*\\)$as_nl";
22213 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22215 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22217 export as_echo_n_body
22218 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22220 export as_echo_body
22221 as_echo='sh
-c $as_echo_body as_echo
'
22224 # The user is always right.
22225 if test "${PATH_SEPARATOR+set}" != set; then
22227 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22228 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22235 # We need space, tab and new line, in precisely that order. Quoting is
22236 # there to prevent editors from complaining about space-tab.
22237 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22238 # splitting by setting IFS to empty value.)
22241 # Find who we are. Look in the path if we contain no directory separator.
22244 *[\\/]* ) as_myself=$0 ;;
22245 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22246 for as_dir in $PATH
22249 test -z "$as_dir" && as_dir=.
22250 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22256 # We did not find ourselves, most probably we were run as `sh COMMAND'
22257 # in which case we are not to be found in the path.
22258 if test "x$as_myself" = x
; then
22261 if test ! -f "$as_myself"; then
22262 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22266 # Unset variables that we do not need and which cause bugs (e.g. in
22267 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22268 # suppresses any "Segmentation fault" message there. '((' could
22269 # trigger a bug in pdksh 5.2.14.
22270 for as_var
in BASH_ENV ENV MAIL MAILPATH
22271 do eval test x\
${$as_var+set} = xset \
22272 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
22285 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22288 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22289 # ----------------------------------------
22290 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22291 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22292 # script with STATUS, using 1 if that was 0.
22295 as_status
=$1; test $as_status -eq 0 && as_status
=1
22297 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22298 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22300 $as_echo "$as_me: error: $2" >&2
22301 as_fn_exit
$as_status
22305 # as_fn_set_status STATUS
22306 # -----------------------
22307 # Set $? to STATUS, without forking.
22308 as_fn_set_status
()
22311 } # as_fn_set_status
22313 # as_fn_exit STATUS
22314 # -----------------
22315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22319 as_fn_set_status
$1
22325 # Portably unset VAR.
22328 { eval $1=; unset $1;}
22330 as_unset
=as_fn_unset
22331 # as_fn_append VAR VALUE
22332 # ----------------------
22333 # Append the text in VALUE to the end of the definition contained in VAR. Take
22334 # advantage of any shell optimizations that allow amortized linear growth over
22335 # repeated appends, instead of the typical quadratic growth present in naive
22337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22338 eval 'as_fn_append ()
22349 # as_fn_arith ARG...
22350 # ------------------
22351 # Perform arithmetic evaluation on the ARGs, and store the result in the
22352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22353 # must be portable across $(()) and expr.
22354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22355 eval 'as_fn_arith ()
22362 as_val
=`expr "$@" || test $? -eq 1`
22367 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22368 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22374 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22375 as_basename
=basename
22380 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22386 as_me
=`$as_basename -- "$0" ||
22387 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22388 X"$0" : 'X\(//\)$' \| \
22389 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22391 sed '/^.*\/\([^/][^/]*\)\/*$/{
22405 # Avoid depending upon Character Ranges.
22406 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22407 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22408 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22409 as_cr_digits
='0123456789'
22410 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22412 ECHO_C
= ECHO_N
= ECHO_T
=
22413 case `echo -n x` in #(((((
22415 case `echo 'xy\c'` in
22416 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22418 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22425 rm -f conf$$ conf$$.exe conf$$.
file
22426 if test -d conf$$.dir
; then
22427 rm -f conf$$.dir
/conf$$.
file
22430 mkdir conf$$.dir
2>/dev
/null
22432 if (echo >conf$$.
file) 2>/dev
/null
; then
22433 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22435 # ... but there are two gotchas:
22436 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22437 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22438 # In both cases, we have to default to `cp -pR'.
22439 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
22441 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22449 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22450 rmdir conf$$.dir
2>/dev
/null
22455 # Create "$as_dir" as a directory, including parents if necessary.
22460 -*) as_dir
=.
/$as_dir;;
22462 test -d "$as_dir" || eval $as_mkdir_p || {
22466 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22467 *) as_qdir
=$as_dir;;
22469 as_dirs
="'$as_qdir' $as_dirs"
22470 as_dir
=`$as_dirname -- "$as_dir" ||
22471 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22472 X"$as_dir" : 'X\(//\)[^/]' \| \
22473 X"$as_dir" : 'X\(//\)$' \| \
22474 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22475 $as_echo X"$as_dir" |
22476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22480 /^X\(\/\/\)[^/].*/{
22493 test -d "$as_dir" && break
22495 test -z "$as_dirs" || eval "mkdir $as_dirs"
22496 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22500 if mkdir -p .
2>/dev
/null
; then
22501 as_mkdir_p
='mkdir -p "$as_dir"'
22503 test -d .
/-p && rmdir .
/-p
22508 # as_fn_executable_p FILE
22509 # -----------------------
22510 # Test if FILE is an executable regular file.
22511 as_fn_executable_p
()
22513 test -f "$1" && test -x "$1"
22514 } # as_fn_executable_p
22515 as_test_x
='test -x'
22516 as_executable_p
=as_fn_executable_p
22518 # Sed expression to map a string onto a valid CPP name.
22519 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22521 # Sed expression to map a string onto a valid variable name.
22522 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22526 ## ----------------------------------- ##
22527 ## Main body of $CONFIG_STATUS script. ##
22528 ## ----------------------------------- ##
22530 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22532 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22533 # Save the log message, to keep $0 and so on meaningful, and to
22534 # report actual input values of CONFIG_FILES etc. instead of their
22535 # values after options handling.
22537 This file was extended by Cycript $as_me 0.9, which was
22538 generated by GNU Autoconf 2.69. Invocation command line was
22540 CONFIG_FILES = $CONFIG_FILES
22541 CONFIG_HEADERS = $CONFIG_HEADERS
22542 CONFIG_LINKS = $CONFIG_LINKS
22543 CONFIG_COMMANDS = $CONFIG_COMMANDS
22546 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22551 case $ac_config_files in *"
22552 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22555 case $ac_config_headers in *"
22556 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22560 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22561 # Files that config.status was made for.
22562 config_files="$ac_config_files"
22563 config_headers="$ac_config_headers"
22564 config_commands="$ac_config_commands"
22568 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22570 \`$as_me' instantiates files and other configuration actions
22571 from templates according to the current configuration. Unless the files
22572 and actions are specified as TAGs, all are instantiated by default.
22574 Usage: $0 [OPTION]... [TAG]...
22576 -h, --help print this help, then exit
22577 -V, --version print version number and configuration settings, then exit
22578 --config print configuration, then exit
22579 -q, --quiet, --silent
22580 do not print progress messages
22581 -d, --debug don't remove temporary files
22582 --recheck update $as_me by reconfiguring in the same conditions
22583 --file=FILE[:TEMPLATE]
22584 instantiate the configuration file FILE
22585 --header=FILE[:TEMPLATE]
22586 instantiate the configuration header FILE
22588 Configuration files:
22591 Configuration headers:
22594 Configuration commands:
22597 Report bugs to <saurik@saurik.com>.
22598 Cycript home page: <http://www.cycript.org/>."
22601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22602 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22604 Cycript config.status 0.9
22605 configured by $0, generated by GNU Autoconf 2.69,
22606 with options \\"\$ac_cs_config\\"
22608 Copyright (C) 2012 Free Software Foundation, Inc.
22609 This config.status script is free software; the Free Software Foundation
22610 gives unlimited permission to copy, distribute and modify it."
22617 test -n "\$AWK" || AWK=awk
22620 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22621 # The default lists apply if the user does not specify any file.
22627 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22628 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22632 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22644 # Handling of the options.
22645 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22647 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22648 $as_echo "$ac_cs_version"; exit ;;
22649 --config | --confi | --conf | --con | --co | --c )
22650 $as_echo "$ac_cs_config"; exit ;;
22651 --debug | --debu | --deb | --de | --d | -d )
22653 --file | --fil | --fi | --f )
22656 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22657 '') as_fn_error $?
"missing file argument" ;;
22659 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22660 ac_need_defaults
=false
;;
22661 --header | --heade | --head | --hea )
22664 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22666 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22667 ac_need_defaults
=false
;;
22669 # Conflict between --help and --header
22670 as_fn_error $?
"ambiguous option: \`$1'
22671 Try \`$0 --help' for more information.";;
22672 --help | --hel | -h )
22673 $as_echo "$ac_cs_usage"; exit ;;
22674 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22675 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22678 # This is an error.
22679 -*) as_fn_error $?
"unrecognized option: \`$1'
22680 Try \`$0 --help' for more information." ;;
22682 *) as_fn_append ac_config_targets
" $1"
22683 ac_need_defaults
=false
;;
22689 ac_configure_extra_args
=
22691 if $ac_cs_silent; then
22693 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22698 if \$ac_cs_recheck; then
22699 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22701 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22702 CONFIG_SHELL='$SHELL'
22703 export CONFIG_SHELL
22708 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
22712 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22713 ## Running $as_me. ##
22719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22723 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22726 # The HP-UX ksh and POSIX shell print the target directory to stdout
22727 # if CDPATH is set.
22728 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22730 sed_quote_subst='$sed_quote_subst'
22731 double_quote_subst='$double_quote_subst'
22732 delay_variable_subst='$delay_variable_subst'
22733 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22734 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22735 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22736 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22737 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22738 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22739 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22740 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22741 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22742 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22743 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22744 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22745 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22746 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22747 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22748 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22749 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22750 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22751 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22752 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22753 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22754 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22755 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22756 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22757 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22758 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22759 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22760 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22761 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22762 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22763 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22764 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22765 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22766 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22767 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22768 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22769 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22770 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22771 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22772 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22773 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22774 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22775 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22776 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22777 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22778 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22779 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22780 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22781 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22782 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22783 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22784 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22785 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22786 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22787 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22788 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22789 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22790 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22791 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"`'
22792 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22793 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22794 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22795 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22796 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22797 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22798 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22799 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22800 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22801 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22802 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22803 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22804 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22805 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22806 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22807 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22808 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22809 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22810 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22811 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22812 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22813 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22814 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22815 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22816 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22817 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22818 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22819 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22820 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22821 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22822 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22823 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22824 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22825 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22826 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22827 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22828 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22829 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22830 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22831 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22832 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22833 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22834 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22835 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22836 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22837 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22838 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22839 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22840 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22841 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22842 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22843 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22844 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22845 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22846 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22847 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22848 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22849 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22850 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22851 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22852 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22853 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22854 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22855 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22856 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22857 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22858 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22859 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22860 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22861 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22862 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22863 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22864 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22865 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22866 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22867 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22868 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22869 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22870 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22871 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22872 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22873 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22874 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22875 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22876 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22877 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22878 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22879 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22880 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22881 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22882 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22883 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22884 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22885 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22886 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22887 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22888 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22889 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22890 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22891 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22892 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22893 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22894 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22895 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22896 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22897 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22898 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22899 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22900 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22901 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22902 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22903 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22904 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22905 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22906 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22907 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22908 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22909 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22910 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22911 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22912 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22913 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22914 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22915 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22916 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22917 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22918 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22919 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22920 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22921 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22924 LTCFLAGS='$LTCFLAGS'
22925 compiler='$compiler_DEFAULT'
22927 # A function that is used when there is no print builtin or printf.
22928 func_fallback_echo ()
22930 eval 'cat <<_LTECHO_EOF
22935 # Quote evaled strings.
22950 deplibs_check_method \
22955 sharedlib_from_linklib_cmd \
22958 archiver_list_spec \
22964 lt_cv_sys_global_symbol_pipe \
22965 lt_cv_sys_global_symbol_to_cdecl \
22966 lt_cv_sys_global_symbol_to_import \
22967 lt_cv_sys_global_symbol_to_c_name_address \
22968 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22969 lt_cv_nm_interface \
22970 nm_file_list_spec \
22971 lt_cv_truncate_bin \
22972 lt_prog_compiler_no_builtin_flag \
22973 lt_prog_compiler_pic \
22974 lt_prog_compiler_wl \
22975 lt_prog_compiler_static \
22976 lt_cv_prog_compiler_c_o \
22985 export_dynamic_flag_spec \
22986 whole_archive_flag_spec \
22987 compiler_needs_object \
22989 allow_undefined_flag \
22990 no_undefined_flag \
22991 hardcode_libdir_flag_spec \
22992 hardcode_libdir_separator \
22996 variables_saved_for_relink \
22998 library_names_spec \
23000 install_override_mode \
23004 compiler_lib_search_dirs \
23009 compiler_lib_search_path \
23013 lt_prog_compiler_no_builtin_flag_CXX \
23014 lt_prog_compiler_pic_CXX \
23015 lt_prog_compiler_wl_CXX \
23016 lt_prog_compiler_static_CXX \
23017 lt_cv_prog_compiler_c_o_CXX \
23018 export_dynamic_flag_spec_CXX \
23019 whole_archive_flag_spec_CXX \
23020 compiler_needs_object_CXX \
23022 allow_undefined_flag_CXX \
23023 no_undefined_flag_CXX \
23024 hardcode_libdir_flag_spec_CXX \
23025 hardcode_libdir_separator_CXX \
23026 exclude_expsyms_CXX \
23027 include_expsyms_CXX \
23028 file_list_spec_CXX \
23029 compiler_lib_search_dirs_CXX \
23030 predep_objects_CXX \
23031 postdep_objects_CXX \
23034 compiler_lib_search_path_CXX; do
23035 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23036 *[\\\\\\\`\\"\\\$]*)
23037 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23040 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23045 # Double-quote double-evaled strings.
23046 for var in reload_cmds \
23047 old_postinstall_cmds \
23048 old_postuninstall_cmds \
23050 extract_expsyms_cmds \
23051 old_archive_from_new_cmds \
23052 old_archive_from_expsyms_cmds \
23054 archive_expsym_cmds \
23056 module_expsym_cmds \
23057 export_symbols_cmds \
23061 postuninstall_cmds \
23063 sys_lib_search_path_spec \
23064 configure_time_dlsearch_path \
23065 configure_time_lt_sys_library_path \
23067 old_archive_cmds_CXX \
23068 old_archive_from_new_cmds_CXX \
23069 old_archive_from_expsyms_cmds_CXX \
23071 archive_expsym_cmds_CXX \
23073 module_expsym_cmds_CXX \
23074 export_symbols_cmds_CXX \
23076 postlink_cmds_CXX; do
23077 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23078 *[\\\\\\\`\\"\\\$]*)
23079 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23082 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23087 ac_aux_dir='$ac_aux_dir'
23089 # See if we are running on zsh, and set the options that allow our
23090 # commands through without removal of \ escapes INIT.
23091 if test -n "\${ZSH_VERSION+set}"; then
23092 setopt NO_GLOB_SUBST
23108 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23110 # Handling of arguments.
23111 for ac_config_target
in $ac_config_targets
23113 case $ac_config_target in
23114 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23115 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23116 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23117 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23119 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23124 # If the user did not use the arguments to specify the items to instantiate,
23125 # then the envvar interface is used. Set only those that are not.
23126 # We use the long form for the default assignment because of an extremely
23127 # bizarre bug on SunOS 4.1.3.
23128 if $ac_need_defaults; then
23129 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23130 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23131 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23134 # Have a temporary directory for convenience. Make it in the build tree
23135 # simply because there is no reason against having it here, and in addition,
23136 # creating and moving files from /tmp can sometimes cause problems.
23137 # Hook for its removal unless debugging.
23138 # Note that there is a small window in which the directory will not be cleaned:
23139 # after its creation but before its name has been assigned to `$tmp'.
23143 trap 'exit_status=$?
23144 : "${ac_tmp:=$tmp}"
23145 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23147 trap 'as_fn_exit 1' 1 2 13 15
23149 # Create a (secure) tmp directory for tmp files.
23152 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23156 tmp
=.
/conf$$
-$RANDOM
23157 (umask 077 && mkdir "$tmp")
23158 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23161 # Set up the scripts for CONFIG_FILES section.
23162 # No need to generate them if there are no CONFIG_FILES.
23163 # This happens for instance with `./config.status config.h'.
23164 if test -n "$CONFIG_FILES"; then
23167 ac_cr
=`echo X | tr X '\015'`
23168 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23169 # But we know of no other shell where ac_cr would be empty at this
23170 # point, so we can use a bashism as a fallback.
23171 if test "x$ac_cr" = x
; then
23172 eval ac_cr
=\$
\'\\r
\'
23174 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23175 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23178 ac_cs_awk_cr
=$ac_cr
23181 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23186 echo "cat >conf$$subs.awk <<_ACEOF" &&
23187 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23189 } >conf$$subs.sh ||
23190 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23191 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23193 for ac_last_try in false false false false false :; do
23194 . ./conf$$subs.sh ||
23195 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23197 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23198 if test $ac_delim_n = $ac_delim_num; then
23200 elif $ac_last_try; then
23201 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23203 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23206 rm -f conf$$subs.sh
23208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23209 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23213 s/^/S["/; s
/!.
*/"]=/
23223 s/\(.\{148\}\)..*/\1/
23225 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23230 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23237 s/\(.\{148\}\)..*/\1/
23239 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23243 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23248 ' <conf$$subs.awk | sed '
23253 ' >>$CONFIG_STATUS || ac_write_fail=1
23254 rm -f conf$$subs.awk
23255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23257 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23258 for (key in S) S_is_set[key] = 1
23264 nfields = split(line, field, "@
")
23266 len = length(field[1])
23267 for (i = 2; i < nfields; i++) {
23269 keylen = length(key)
23270 if (S_is_set[key]) {
23272 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23273 len += length(value) + length(field[++i])
23284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23285 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23286 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23289 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23290 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23293 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23294 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23295 # trailing colons and then remove the whole line if VPATH becomes empty
23296 # (actually we leave an empty line to preserve line numbers).
23297 if test "x
$srcdir" = x.; then
23298 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23317 fi # test -n "$CONFIG_FILES"
23319 # Set up the scripts for CONFIG_HEADERS section.
23320 # No need to generate them if there are no CONFIG_HEADERS.
23321 # This happens for instance with `./config.status Makefile'.
23322 if test -n "$CONFIG_HEADERS"; then
23323 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23327 # Transform confdefs.h into an awk script `defines.awk', embedded as
23328 # here-document in config.status, that substitutes the proper values into
23329 # config.h.in to produce config.h.
23331 # Create a delimiter string that does not exist in confdefs.h, to ease
23332 # handling of long lines.
23334 for ac_last_try in false false :; do
23335 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23336 if test -z "$ac_tt"; then
23338 elif $ac_last_try; then
23339 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23341 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23345 # For the awk script, D is an array of macro values keyed by name,
23346 # likewise P contains macro parameters if any. Preserve backslash
23347 # newline sequences.
23349 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23351 s/.\{148\}/&'"$ac_delim"'/g
23354 s/^[ ]*#[ ]*define[ ][ ]*/ /
23361 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23363 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23367 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23368 D["\
1"]=" \
3\\\\\\n
"\\/p
23370 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23375 s/.\{148\}/&'"$ac_delim"'/g
23380 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23383 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23385 ' <confdefs.h | sed '
23386 s/'"$ac_delim"'/"\\\
23387 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23390 for (key in D) D_is_set[key] = 1
23393 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23395 split(line, arg, " ")
23396 if (arg[1] == "#") {
23400 defundef
= substr
(arg
[1], 2)
23403 split(mac1
, mac2
, "(") #)
23405 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23406 if (D_is_set
[macro
]) {
23407 # Preserve the white space surrounding the "#".
23408 print prefix
"define", macro P
[macro
] D
[macro
]
23411 # Replace #undef with comments. This is necessary, for example,
23412 # in the case of _POSIX_SOURCE, which is predefined and required
23413 # on some systems where configure will not decide to define it.
23414 if (defundef
== "undef") {
23415 print
"/*", prefix defundef
, macro
, "*/"
23423 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23424 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23425 fi # test -n "$CONFIG_HEADERS"
23428 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23433 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23435 case $ac_mode$ac_tag in
23437 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23438 :[FH
]-) ac_tag
=-:-;;
23439 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23456 -) ac_f
="$ac_tmp/stdin";;
23457 *) # Look for the file first in the build tree, then in the source tree
23458 # (if the path is not absolute). The absolute path cannot be DOS-style,
23459 # because $ac_f cannot contain `:'.
23463 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23465 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23467 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23468 as_fn_append ac_file_inputs
" '$ac_f'"
23471 # Let's still pretend it is `configure' which instantiates (i.e., don't
23472 # use $as_me), people would be surprised to read:
23473 # /* config.h. Generated by config.status. */
23474 configure_input
='Generated from '`
23475 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23477 if test x
"$ac_file" != x
-; then
23478 configure_input
="$ac_file. $configure_input"
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23480 $as_echo "$as_me: creating $ac_file" >&6;}
23482 # Neutralize special characters interpreted by sed in replacement strings.
23483 case $configure_input in #(
23484 *\
&* | *\
|* | *\\* )
23485 ac_sed_conf_input
=`$as_echo "$configure_input" |
23486 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23487 *) ac_sed_conf_input
=$configure_input;;
23491 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23492 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23497 ac_dir
=`$as_dirname -- "$ac_file" ||
23498 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23499 X"$ac_file" : 'X\(//\)[^/]' \| \
23500 X"$ac_file" : 'X\(//\)$' \| \
23501 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23502 $as_echo X"$ac_file" |
23503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23507 /^X\(\/\/\)[^/].*/{
23520 as_dir
="$ac_dir"; as_fn_mkdir_p
23524 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23526 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23527 # A ".." for each directory in $ac_dir_suffix.
23528 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23529 case $ac_top_builddir_sub in
23530 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23531 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23534 ac_abs_top_builddir
=$ac_pwd
23535 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23536 # for backward compatibility:
23537 ac_top_builddir
=$ac_top_build_prefix
23540 .
) # We are building in place.
23542 ac_top_srcdir
=$ac_top_builddir_sub
23543 ac_abs_top_srcdir
=$ac_pwd ;;
23544 [\\/]* | ?
:[\\/]* ) # Absolute name.
23545 ac_srcdir
=$srcdir$ac_dir_suffix;
23546 ac_top_srcdir
=$srcdir
23547 ac_abs_top_srcdir
=$srcdir ;;
23548 *) # Relative name.
23549 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23550 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23551 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23553 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23563 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23564 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23566 ac_MKDIR_P
=$MKDIR_P
23568 [\\/$
]* | ?
:[\\/]* ) ;;
23569 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23573 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23574 # If the template does not know about datarootdir, expand it.
23575 # FIXME: This hack should be removed a few years after 2.60.
23576 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23587 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23588 *datarootdir
*) ac_datarootdir_seen
=yes;;
23589 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
23590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23591 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23594 ac_datarootdir_hack='
23595 s&@datadir@&$datadir&g
23596 s&@docdir@&$docdir&g
23597 s&@infodir@&$infodir&g
23598 s&@localedir@&$localedir&g
23599 s&@mandir@&$mandir&g
23600 s&\\\${datarootdir}&$datarootdir&g' ;;
23604 # Neutralize VPATH when `$srcdir' = `.'.
23605 # Shell code in configure.ac might set extrasub.
23606 # FIXME: do we really want to maintain this feature?
23607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23608 ac_sed_extra="$ac_vpsub
23611 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
23613 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
23614 s
|@configure_input@
|$ac_sed_conf_input|;t t
23615 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23616 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23617 s
&@srcdir@
&$ac_srcdir&;t t
23618 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23619 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23620 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23621 s
&@builddir@
&$ac_builddir&;t t
23622 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23623 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23624 s
&@INSTALL@
&$ac_INSTALL&;t t
23625 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23626 $ac_datarootdir_hack
23628 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23629 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23631 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23632 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23633 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23634 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23636 which seems to be undefined. Please make sure it is defined" >&5
23637 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23638 which seems to be undefined. Please make sure it is defined" >&2;}
23640 rm -f "$ac_tmp/stdin"
23642 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23643 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23651 if test x"$ac_file" != x-; then
23653 $as_echo "/* $configure_input */" \
23654 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23655 } >"$ac_tmp/config.h" \
23656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23657 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23659 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23662 mv "$ac_tmp/config.h" "$ac_file" \
23663 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23666 $as_echo "/* $configure_input */" \
23667 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23668 || as_fn_error $? "could not create -" "$LINENO" 5
23670 # Compute "$ac_file"'s index
in $config_headers.
23673 for _am_header
in $config_headers :; do
23674 case $_am_header in
23675 $_am_arg | $_am_arg:* )
23678 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23681 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23682 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23683 X"$_am_arg" : 'X\(//\)[^/]' \| \
23684 X"$_am_arg" : 'X\(//\)$' \| \
23685 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23686 $as_echo X"$_am_arg" |
23687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23691 /^X\(\/\/\)[^/].*/{
23703 s/.*/./; q'`/stamp
-h$_am_stamp_count
23706 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23707 $as_echo "$as_me: executing $ac_file commands" >&6;}
23712 case $ac_file$ac_mode in
23713 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
23714 # Older Autoconf quotes --file arguments for eval, but not when files
23715 # are listed without --file. Let's play safe and only enable the eval
23716 # if we detect the quoting.
23717 case $CONFIG_FILES in
23718 *\'*) eval set x
"$CONFIG_FILES" ;;
23719 *) set x
$CONFIG_FILES ;;
23724 # Strip MF so we end up with the name of the file.
23725 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23726 # Check whether this is an Automake generated Makefile or not.
23727 # We used to match only the files named 'Makefile.in', but
23728 # some people rename them; so instead we look at the file content.
23729 # Grep'ing the first line is not enough: some people post-process
23730 # each Makefile.in and add a new line on top of each file to say so.
23731 # Grep'ing the whole file is not good either: AIX grep has a line
23732 # limit of 2048, but all sed's we know have understand at least 4000.
23733 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
23734 dirpart
=`$as_dirname -- "$mf" ||
23735 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23736 X"$mf" : 'X\(//\)[^/]' \| \
23737 X"$mf" : 'X\(//\)$' \| \
23738 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23744 /^X\(\/\/\)[^/].*/{
23760 # Extract the definition of DEPDIR, am__include, and am__quote
23761 # from the Makefile without running 'make'.
23762 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23763 test -z "$DEPDIR" && continue
23764 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23765 test -z "$am__include" && continue
23766 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23767 # Find all dependency output files, they are included files with
23768 # $(DEPDIR) in their names. We invoke sed twice because it is the
23769 # simplest approach to changing $(DEPDIR) to its actual value in the
23771 for file in `sed -n "
23772 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23773 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23774 # Make sure the directory exists.
23775 test -f "$dirpart/$file" && continue
23776 fdir
=`$as_dirname -- "$file" ||
23777 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23778 X"$file" : 'X\(//\)[^/]' \| \
23779 X"$file" : 'X\(//\)$' \| \
23780 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23781 $as_echo X"$file" |
23782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23786 /^X\(\/\/\)[^/].*/{
23799 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23800 # echo "creating $dirpart/$file"
23801 echo '# dummy' > "$dirpart/$file"
23808 # See if we are running on zsh, and set the options that allow our
23809 # commands through without removal of \ escapes.
23810 if test -n "${ZSH_VERSION+set}"; then
23811 setopt NO_GLOB_SUBST
23815 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23818 cat <<_LT_EOF >> "$cfgfile"
23820 # Generated automatically by $as_me ($PACKAGE) $VERSION
23821 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23822 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23824 # Provide generalized library-building support services.
23825 # Written by Gordon Matzigkeit, 1996
23827 # Copyright (C) 2014 Free Software Foundation, Inc.
23828 # This is free software; see the source for copying conditions. There is NO
23829 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23831 # GNU Libtool is free software; you can redistribute it and/or modify
23832 # it under the terms of the GNU General Public License as published by
23833 # the Free Software Foundation; either version 2 of of the License, or
23834 # (at your option) any later version.
23836 # As a special exception to the GNU General Public License, if you
23837 # distribute this file as part of a program or library that is built
23838 # using GNU Libtool, you may include this file under the same
23839 # distribution terms that you use for the rest of that program.
23841 # GNU Libtool is distributed in the hope that it will be useful, but
23842 # WITHOUT ANY WARRANTY; without even the implied warranty of
23843 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23844 # GNU General Public License for more details.
23846 # You should have received a copy of the GNU General Public License
23847 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23850 # The names of the tagged configurations supported by this script.
23851 available_tags='CXX '
23853 # Configured defaults for sys_lib_dlsearch_path munging.
23854 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23856 # ### BEGIN LIBTOOL CONFIG
23858 # Which release of libtool.m4 was used?
23859 macro_version=$macro_version
23860 macro_revision=$macro_revision
23862 # Whether or not to build static libraries.
23863 build_old_libs=$enable_static
23865 # Whether or not to build shared libraries.
23866 build_libtool_libs=$enable_shared
23868 # What type of objects to build.
23871 # Whether or not to optimize for fast installation.
23872 fast_install=$enable_fast_install
23874 # Shared archive member basename,for filename based shared library versioning on AIX.
23875 shared_archive_member_spec=$shared_archive_member_spec
23877 # Shell to use when invoking shell scripts.
23880 # An echo program that protects backslashes.
23883 # The PATH separator for the build system.
23884 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23887 host_alias=$host_alias
23891 # The build system.
23892 build_alias=$build_alias
23896 # A sed program that does not truncate output.
23899 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23900 Xsed="\$SED -e 1s/^X//"
23902 # A grep program that handles long lines.
23908 # A literal string matcher.
23911 # A BSD- or MS-compatible name lister.
23914 # Whether we need soft or hard links.
23917 # What is the maximum length of a command?
23918 max_cmd_len=$max_cmd_len
23920 # Object file suffix (normally "o").
23923 # Executable file suffix (normally "").
23926 # whether the shell understands "unset".
23929 # turn spaces into newlines.
23932 # turn newlines into spaces.
23935 # convert \$build file names to \$host format.
23936 to_host_file_cmd=$lt_cv_to_host_file_cmd
23938 # convert \$build files to toolchain format.
23939 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23941 # An object symbol dumper.
23942 OBJDUMP=$lt_OBJDUMP
23944 # Method to check whether dependent libraries are shared objects.
23945 deplibs_check_method=$lt_deplibs_check_method
23947 # Command to use when deplibs_check_method = "file_magic".
23948 file_magic_cmd=$lt_file_magic_cmd
23950 # How to find potential files when deplibs_check_method = "file_magic".
23951 file_magic_glob=$lt_file_magic_glob
23953 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23954 want_nocaseglob=$lt_want_nocaseglob
23956 # DLL creation program.
23957 DLLTOOL=$lt_DLLTOOL
23959 # Command to associate shared and link libraries.
23960 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23965 # Flags to create an archive.
23966 AR_FLAGS=$lt_AR_FLAGS
23968 # How to feed a file listing to the archiver.
23969 archiver_list_spec=$lt_archiver_list_spec
23971 # A symbol stripping program.
23974 # Commands used to install an old-style archive.
23976 old_postinstall_cmds=$lt_old_postinstall_cmds
23977 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23979 # Whether to use a lock for old archive extraction.
23980 lock_old_archive_extraction=$lock_old_archive_extraction
23985 # LTCC compiler flags.
23986 LTCFLAGS=$lt_CFLAGS
23988 # Take the output of nm and produce a listing of raw symbols and C names.
23989 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23991 # Transform the output of nm in a proper C declaration.
23992 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23994 # Transform the output of nm into a list of symbols to manually relocate.
23995 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23997 # Transform the output of nm in a C name address pair.
23998 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24000 # Transform the output of nm in a C name address pair when lib prefix is needed.
24001 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24003 # The name lister interface.
24004 nm_interface=$lt_lt_cv_nm_interface
24006 # Specify filename containing input files for \$NM.
24007 nm_file_list_spec=$lt_nm_file_list_spec
24009 # The root where to search for dependent libraries,and where our libraries should be installed.
24010 lt_sysroot=$lt_sysroot
24012 # Command to truncate a binary pipe.
24013 lt_truncate_bin=$lt_lt_cv_truncate_bin
24015 # The name of the directory that contains temporary libtool files.
24018 # Used to examine libraries when file_magic_cmd begins with "file".
24019 MAGIC_CMD=$MAGIC_CMD
24021 # Must we lock files when doing compilation?
24022 need_locks=$lt_need_locks
24025 MANIFEST_TOOL=$lt_MANIFEST_TOOL
24027 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24028 DSYMUTIL=$lt_DSYMUTIL
24030 # Tool to change global to local symbols on Mac OS X.
24033 # Tool to manipulate fat objects and archives on Mac OS X.
24036 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24039 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24040 OTOOL64=$lt_OTOOL64
24042 # Old archive suffix (normally "a").
24045 # Shared library suffix (normally ".so").
24046 shrext_cmds=$lt_shrext_cmds
24048 # The commands to extract the exported symbol list from a shared archive.
24049 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24051 # Variables whose values should be saved in libtool wrapper scripts and
24052 # restored at link time.
24053 variables_saved_for_relink=$lt_variables_saved_for_relink
24055 # Do we need the "lib" prefix for modules?
24056 need_lib_prefix=$need_lib_prefix
24058 # Do we need a version for libraries?
24059 need_version=$need_version
24061 # Library versioning type.
24062 version_type=$version_type
24064 # Shared library runtime path variable.
24065 runpath_var=$runpath_var
24067 # Shared library path variable.
24068 shlibpath_var=$shlibpath_var
24070 # Is shlibpath searched before the hard-coded library search path?
24071 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24073 # Format of library name prefix.
24074 libname_spec=$lt_libname_spec
24076 # List of archive names. First name is the real one, the rest are links.
24077 # The last name is the one that the linker finds with -lNAME
24078 library_names_spec=$lt_library_names_spec
24080 # The coded name of the library, if different from the real name.
24081 soname_spec=$lt_soname_spec
24083 # Permission mode override for installation of shared libraries.
24084 install_override_mode=$lt_install_override_mode
24086 # Command to use after installation of a shared archive.
24087 postinstall_cmds=$lt_postinstall_cmds
24089 # Command to use after uninstallation of a shared archive.
24090 postuninstall_cmds=$lt_postuninstall_cmds
24092 # Commands used to finish a libtool library installation in a directory.
24093 finish_cmds=$lt_finish_cmds
24095 # As "finish_cmds", except a single script fragment to be evaled but
24097 finish_eval=$lt_finish_eval
24099 # Whether we should hardcode library paths into libraries.
24100 hardcode_into_libs=$hardcode_into_libs
24102 # Compile-time system search path for libraries.
24103 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24105 # Detected run-time system search path for libraries.
24106 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
24108 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
24109 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
24111 # Whether dlopen is supported.
24112 dlopen_support=$enable_dlopen
24114 # Whether dlopen of programs is supported.
24115 dlopen_self=$enable_dlopen_self
24117 # Whether dlopen of statically linked programs is supported.
24118 dlopen_self_static=$enable_dlopen_self_static
24120 # Commands to strip libraries.
24121 old_striplib=$lt_old_striplib
24122 striplib=$lt_striplib
24125 # The linker used to build libraries.
24128 # How to create reloadable object files.
24129 reload_flag=$lt_reload_flag
24130 reload_cmds=$lt_reload_cmds
24132 # Commands used to build an old-style archive.
24133 old_archive_cmds=$lt_old_archive_cmds
24135 # A language specific compiler.
24138 # Is the compiler the GNU compiler?
24141 # Compiler flag to turn off builtin functions.
24142 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24144 # Additional compiler flags for building library objects.
24145 pic_flag=$lt_lt_prog_compiler_pic
24147 # How to pass a linker flag through the compiler.
24148 wl=$lt_lt_prog_compiler_wl
24150 # Compiler flag to prevent dynamic linking.
24151 link_static_flag=$lt_lt_prog_compiler_static
24153 # Does compiler simultaneously support -c and -o options?
24154 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24156 # Whether or not to add -lc for building shared libraries.
24157 build_libtool_need_lc=$archive_cmds_need_lc
24159 # Whether or not to disallow shared libs when runtime libs are static.
24160 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24162 # Compiler flag to allow reflexive dlopens.
24163 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24165 # Compiler flag to generate shared objects directly from archives.
24166 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24168 # Whether the compiler copes with passing no objects directly.
24169 compiler_needs_object=$lt_compiler_needs_object
24171 # Create an old-style archive from a shared archive.
24172 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24174 # Create a temporary old-style archive to link instead of a shared archive.
24175 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24177 # Commands used to build a shared archive.
24178 archive_cmds=$lt_archive_cmds
24179 archive_expsym_cmds=$lt_archive_expsym_cmds
24181 # Commands used to build a loadable module if different from building
24182 # a shared archive.
24183 module_cmds=$lt_module_cmds
24184 module_expsym_cmds=$lt_module_expsym_cmds
24186 # Whether we are building with GNU ld or not.
24187 with_gnu_ld=$lt_with_gnu_ld
24189 # Flag that allows shared libraries with undefined symbols to be built.
24190 allow_undefined_flag=$lt_allow_undefined_flag
24192 # Flag that enforces no undefined symbols.
24193 no_undefined_flag=$lt_no_undefined_flag
24195 # Flag to hardcode \$libdir into a binary during linking.
24196 # This must work even if \$libdir does not exist
24197 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24199 # Whether we need a single "-rpath" flag with a separated argument.
24200 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24202 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24203 # DIR into the resulting binary.
24204 hardcode_direct=$hardcode_direct
24206 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24207 # DIR into the resulting binary and the resulting library dependency is
24208 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24209 # library is relocated.
24210 hardcode_direct_absolute=$hardcode_direct_absolute
24212 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24213 # into the resulting binary.
24214 hardcode_minus_L=$hardcode_minus_L
24216 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24217 # into the resulting binary.
24218 hardcode_shlibpath_var=$hardcode_shlibpath_var
24220 # Set to "yes" if building a shared library automatically hardcodes DIR
24221 # into the library and all subsequent libraries and executables linked
24223 hardcode_automatic=$hardcode_automatic
24225 # Set to yes if linker adds runtime paths of dependent libraries
24226 # to runtime path list.
24227 inherit_rpath=$inherit_rpath
24229 # Whether libtool must link a program against all its dependency libraries.
24230 link_all_deplibs=$link_all_deplibs
24232 # Set to "yes" if exported symbols are required.
24233 always_export_symbols=$always_export_symbols
24235 # The commands to list exported symbols.
24236 export_symbols_cmds=$lt_export_symbols_cmds
24238 # Symbols that should not be listed in the preloaded symbols.
24239 exclude_expsyms=$lt_exclude_expsyms
24241 # Symbols that must always be exported.
24242 include_expsyms=$lt_include_expsyms
24244 # Commands necessary for linking programs (against libraries) with templates.
24245 prelink_cmds=$lt_prelink_cmds
24247 # Commands necessary for finishing linking programs.
24248 postlink_cmds=$lt_postlink_cmds
24250 # Specify filename containing input files.
24251 file_list_spec=$lt_file_list_spec
24253 # How to hardcode a shared library path into an executable.
24254 hardcode_action=$hardcode_action
24256 # The directories searched by this compiler when creating a shared library.
24257 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
24259 # Dependencies to place before and after the objects being linked to
24260 # create a shared library.
24261 predep_objects=$lt_predep_objects
24262 postdep_objects=$lt_postdep_objects
24263 predeps=$lt_predeps
24264 postdeps=$lt_postdeps
24266 # The library search path used internally by the compiler when linking
24267 # a shared library.
24268 compiler_lib_search_path=$lt_compiler_lib_search_path
24270 # ### END LIBTOOL CONFIG
24274 cat <<'_LT_EOF' >> "$cfgfile"
24276 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
24278 # func_munge_path_list VARIABLE PATH
24279 # -----------------------------------
24280 # VARIABLE is name of variable containing _space_ separated list of
24281 # directories to be munged by the contents of PATH, which is string
24284 # string "DIR[ DIR]" will be prepended to VARIABLE
24286 # string "DIR[ DIR]" will be appended to VARIABLE
24287 # "DIRP[:DIRP]::[DIRA:]DIRA"
24288 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
24289 # "DIRA[ DIRA]" will be appended to VARIABLE
24291 # VARIABLE will be replaced by "DIR[ DIR]"
24292 func_munge_path_list ()
24298 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
24301 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
24304 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
24305 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
24308 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24314 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
24315 func_cc_basename ()
24317 for cc_temp in $*""; do
24319 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24320 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24325 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24329 # ### END FUNCTIONS SHARED WITH CONFIGURE
24335 cat <<\_LT_EOF
>> "$cfgfile"
24336 # AIX sometimes has problems with the GCC collect2 program. For some
24337 # reason, if we set the COLLECT_NAMES environment variable, the problems
24338 # vanish in a puff of smoke.
24339 if test set != "${COLLECT_NAMES+set}"; then
24341 export COLLECT_NAMES
24348 ltmain
=$ac_aux_dir/ltmain.sh
24351 # We use sed instead of cat because bash on DJGPP gets confused if
24352 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24353 # text mode, it properly converts lines to CR/LF. This bash problem
24354 # is reportedly fixed, but why not run on old versions too?
24355 sed '$q' "$ltmain" >> "$cfgfile" \
24356 || (rm -f "$cfgfile"; exit 1)
24358 mv -f "$cfgfile" "$ofile" ||
24359 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24363 cat <<_LT_EOF >> "$ofile"
24365 # ### BEGIN LIBTOOL TAG CONFIG: CXX
24367 # The linker used to build libraries.
24370 # How to create reloadable object files.
24371 reload_flag=$lt_reload_flag_CXX
24372 reload_cmds=$lt_reload_cmds_CXX
24374 # Commands used to build an old-style archive.
24375 old_archive_cmds=$lt_old_archive_cmds_CXX
24377 # A language specific compiler.
24378 CC=$lt_compiler_CXX
24380 # Is the compiler the GNU compiler?
24383 # Compiler flag to turn off builtin functions.
24384 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24386 # Additional compiler flags for building library objects.
24387 pic_flag=$lt_lt_prog_compiler_pic_CXX
24389 # How to pass a linker flag through the compiler.
24390 wl=$lt_lt_prog_compiler_wl_CXX
24392 # Compiler flag to prevent dynamic linking.
24393 link_static_flag=$lt_lt_prog_compiler_static_CXX
24395 # Does compiler simultaneously support -c and -o options?
24396 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24398 # Whether or not to add -lc for building shared libraries.
24399 build_libtool_need_lc=$archive_cmds_need_lc_CXX
24401 # Whether or not to disallow shared libs when runtime libs are static.
24402 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24404 # Compiler flag to allow reflexive dlopens.
24405 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24407 # Compiler flag to generate shared objects directly from archives.
24408 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24410 # Whether the compiler copes with passing no objects directly.
24411 compiler_needs_object=$lt_compiler_needs_object_CXX
24413 # Create an old-style archive from a shared archive.
24414 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24416 # Create a temporary old-style archive to link instead of a shared archive.
24417 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24419 # Commands used to build a shared archive.
24420 archive_cmds=$lt_archive_cmds_CXX
24421 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24423 # Commands used to build a loadable module if different from building
24424 # a shared archive.
24425 module_cmds=$lt_module_cmds_CXX
24426 module_expsym_cmds=$lt_module_expsym_cmds_CXX
24428 # Whether we are building with GNU ld or not.
24429 with_gnu_ld=$lt_with_gnu_ld_CXX
24431 # Flag that allows shared libraries with undefined symbols to be built.
24432 allow_undefined_flag=$lt_allow_undefined_flag_CXX
24434 # Flag that enforces no undefined symbols.
24435 no_undefined_flag=$lt_no_undefined_flag_CXX
24437 # Flag to hardcode \$libdir into a binary during linking.
24438 # This must work even if \$libdir does not exist
24439 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24441 # Whether we need a single "-rpath" flag with a separated argument.
24442 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24444 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24445 # DIR into the resulting binary.
24446 hardcode_direct=$hardcode_direct_CXX
24448 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24449 # DIR into the resulting binary and the resulting library dependency is
24450 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24451 # library is relocated.
24452 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24454 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24455 # into the resulting binary.
24456 hardcode_minus_L=$hardcode_minus_L_CXX
24458 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24459 # into the resulting binary.
24460 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24462 # Set to "yes" if building a shared library automatically hardcodes DIR
24463 # into the library and all subsequent libraries and executables linked
24465 hardcode_automatic=$hardcode_automatic_CXX
24467 # Set to yes if linker adds runtime paths of dependent libraries
24468 # to runtime path list.
24469 inherit_rpath=$inherit_rpath_CXX
24471 # Whether libtool must link a program against all its dependency libraries.
24472 link_all_deplibs=$link_all_deplibs_CXX
24474 # Set to "yes" if exported symbols are required.
24475 always_export_symbols=$always_export_symbols_CXX
24477 # The commands to list exported symbols.
24478 export_symbols_cmds=$lt_export_symbols_cmds_CXX
24480 # Symbols that should not be listed in the preloaded symbols.
24481 exclude_expsyms=$lt_exclude_expsyms_CXX
24483 # Symbols that must always be exported.
24484 include_expsyms=$lt_include_expsyms_CXX
24486 # Commands necessary for linking programs (against libraries) with templates.
24487 prelink_cmds=$lt_prelink_cmds_CXX
24489 # Commands necessary for finishing linking programs.
24490 postlink_cmds=$lt_postlink_cmds_CXX
24492 # Specify filename containing input files.
24493 file_list_spec=$lt_file_list_spec_CXX
24495 # How to hardcode a shared library path into an executable.
24496 hardcode_action=$hardcode_action_CXX
24498 # The directories searched by this compiler when creating a shared library.
24499 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24501 # Dependencies to place before and after the objects being linked to
24502 # create a shared library.
24503 predep_objects=$lt_predep_objects_CXX
24504 postdep_objects=$lt_postdep_objects_CXX
24505 predeps=$lt_predeps_CXX
24506 postdeps=$lt_postdeps_CXX
24508 # The library search path used internally by the compiler when linking
24509 # a shared library.
24510 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24512 # ### END LIBTOOL TAG CONFIG: CXX
24523 ac_clean_files
=$ac_clean_files_save
24525 test $ac_write_fail = 0 ||
24526 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24529 # configure is writing to config.log, and then calls config.status.
24530 # config.status does its own redirection, appending to config.log.
24531 # Unfortunately, on DOS this fails, as config.log is still kept open
24532 # by configure, so config.status won't be able to write to it; its
24533 # output is simply discarded. So we exec the FD to /dev/null,
24534 # effectively closing config.log, so it can be properly (re)opened and
24535 # appended to by config.status. When coming back to configure, we
24536 # need to make the FD available again.
24537 if test "$no_create" != yes; then
24539 ac_config_status_args
=
24540 test "$silent" = yes &&
24541 ac_config_status_args
="$ac_config_status_args --quiet"
24543 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24545 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24546 # would make configure fail if this is the last instruction.
24547 $ac_cs_success || as_fn_exit
1
24549 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24551 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}